fetch_util 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +6 -8
- data/lib/fetch_util/assets/extract.js +1 -1
- data/lib/fetch_util/browser/interaction_helpers/consent_helpers.rb +5 -0
- data/lib/fetch_util/browser/site_stabilization/travel_and_lodging.rb +39 -0
- data/lib/fetch_util/browser/site_stabilization.rb +2 -0
- data/lib/fetch_util/browser/stabilization/page_flow.rb +39 -6
- data/lib/fetch_util/browser/stabilization/spa_hydration.rb +17 -0
- data/lib/fetch_util/cli.rb +36 -10
- data/lib/fetch_util/fetcher.rb +149 -2
- data/lib/fetch_util/result.rb +124 -9
- data/lib/fetch_util/searcher.rb +9 -17
- data/lib/fetch_util/version.rb +1 -1
- metadata +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){function t(e){return"string"!=typeof e&&(e=null==e?"":String(e)),e.replace(/\s+/g," ").trim()}function r(e){try{return decodeURIComponent(e)}catch(t){return e}}function n(e){return t(e&&e.textContent).length}function o(e){if(!e)return null;try{return new URL(e,document.baseURI).href}catch(t){return e}}function i(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function a(e,r){var n=t(h(["meta[name='generator']"],"content")||""),o=t(h(["meta[name='application-name']","meta[property='og:site_name']"],"content")||""),i=l(r).map(function(t){return"function"==typeof t?t(e,n,o):h([t])});return 0===i.length&&(i=[e&&e.title,e&&e.siteName,n,o,document.title]),{generator:n,appName:o,signature:t(i.join(" "))}}function l(e){return e?Array.isArray(e)?e:[e]:[]}function s(e,t){e&&(Array.isArray(e)?e.forEach(function(e){s(e,t)}):"object"==typeof e&&(e["@graph"]&&s(e["@graph"],t),t.push(e)))}function c(){var e=[];return document.querySelectorAll('script[type="application/ld+json"]').forEach(function(r){var n=r.textContent||r.innerText||"";if(t(n))try{s(JSON.parse(n),e)}catch(e){}}),e}function u(e){return l(e&&e["@type"]).map(function(e){return String(e)})}function d(e){var t=l(e);return c().find(function(e){return u(e).some(function(e){return-1!==t.indexOf(e)})})||null}function m(e){return e?"string"==typeof e?t(e):Array.isArray(e)?m(e[0]):t(e.name||e.headline||e.alternateName||""):null}function p(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(function(e){return p(e)||""}).join(" ")):t(e.text||e.description||e.name||""):null}function h(e,r){for(var n=0;n<e.length;n+=1){var o=document.querySelector(e[n]);if(o){var i=r?o.getAttribute(r):o.textContent;if(i=t(i))return i}}return null}function f(){var e=[];return["article[itemtype*='NewsArticle']","article[itemtype*='Article']","article","main article","main"].forEach(function(t){document.querySelectorAll(t).forEach(function(t){-1===e.indexOf(t)&&n(t)>=80&&e.push(t)})}),e.length?e:[document]}function g(e,r,n){for(var o=0;o<e.length;o+=1)for(var i=0;i<r.length;i+=1){var a=e[o].querySelector(r[i]);if(a&&!a.closest("nav, footer, aside")){var l=n?a.getAttribute(n):a.textContent;if(l=t(l))return l}}return null}function y(e,r){var n={},o=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){if(!(o.length>=(r||20))){var i=t(e.textContent);i&&!n[i]&&(n[i]=!0,o.push(i))}})}),o}function b(e){return t(String(e||"").split("/").pop().replace(/[_-]+/g," "))}function v(e){var r=[],n=[];e.title&&r.push("# "+e.title),e.byline&&n.push("- Author: "+e.byline),e.publishedTime&&n.push("- Published: "+e.publishedTime),l(e.details).forEach(function(e){e&&n.push("- "+e)}),n.length&&r.push(n.join("\n")),e.description&&r.push(e.description),e.highlights&&e.highlights.length&&r.push(e.highlights.map(function(e){return"- "+e}).join("\n"));var o=r.filter(Boolean).join("\n\n").trim();return{title:e.title,byline:e.byline||null,excerpt:e.description||null,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:"",markdown:o,textContent:t(o),docsLike:!!e.docsLike,hostAware:!!e.hostAware,readerMode:!1,contentType:e.contentType||"article"}}function w(e){return new URLSearchParams(location.search).get(e)}function x(){return w("q")||w("p")||w("query")||w("text")||""}function S(e){var t=null!=e.markdown?e.markdown:ft(e.items||[]);return{title:e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:e.html||"",textContent:null!=e.textContent?e.textContent:t,markdown:t,readerMode:!1,contentType:"list"}}function k(e,t){var r=(t=t||{}).items,n=null!=t.markdown?t.markdown:ft(r||[]),o={title:t.title||e&&e.title||document.title,byline:null,excerpt:null!=t.excerpt?t.excerpt:r&&r[0]&&r[0].text||e&&e.excerpt,siteName:t.siteName||e&&e.siteName||location.hostname,publishedTime:null!=t.publishedTime?t.publishedTime:e&&e.publishedTime||null,html:t.html||"",textContent:null!=t.textContent?t.textContent:n,markdown:n,readerMode:!1,contentType:t.contentType||"list"};return r&&(o.itemCount=r.length),t.hostAware&&(o.hostAware=!0),t.statusPage&&(o.statusPage=!0),o}function A(e){return document.body&&document.body.innerText||e||""}function q(e,t){if(t=t||location.hostname||"",!e)return!1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)if(q(e[r],t))return!0;return!1}return e instanceof RegExp?e.test(t):"function"==typeof e?e(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e)}function C(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function _(e,t){if(t=t||document,!e)return null;if(3===e.nodeType)return t.createTextNode(e.textContent||"");if(1!==e.nodeType)return null;var r,n=(e.tagName||"").toLowerCase(),o=n&&!/-/.test(n)?n:"div";try{r=t.createElement(o||"div")}catch(e){r=t.createElement("div")}return Array.prototype.forEach.call(e.attributes||[],function(e){if(e&&e.name&&!/^on/i.test(e.name))try{r.setAttribute(e.name,e.value)}catch(e){}}),Array.prototype.forEach.call(e.childNodes||[],function(e){var n=_(e,t);n&&r.appendChild(n)}),r}function T(e,t){try{return e.cloneNode(!0)}catch(r){return _(e,t)}}function E(e){if(N(e))return document.createElement("div");var r,n=T(e,document);return n?((r=n)&&r.querySelectorAll&&r.querySelectorAll("button, [role='button'], input[type='button'], input[type='submit']").forEach(function(e){var r=t(e.innerText||e.textContent||e.getAttribute("value")||"");if(function(e){var r=t(e||"");return!!r&&!(r.length<30||r.length>320)&&!(P(r)||H(r)||B(r))&&!/^(log in|login|sign in|register|create account|get disney\+|accept all|reject all|confirm my choices|manage preferences|save preferences|allow all|more details|cookies details)$/i.test(r)&&r.split(/\s+/).length>=4}(r)){var n=document.createElement("p");n.textContent=r,n.setAttribute("data-fetchutil-button-text","true"),e.replaceWith(n)}}),n.querySelectorAll("button").forEach(function(e){var r=e.querySelector("[class*='http-verb']");if(r){for(var n="",o=e.querySelectorAll("span"),i=0;i<o.length;i++)if(o[i]!==r&&!o[i].querySelector("[class*='http-verb']")&&!/collapser|ellipsis|arrow/i.test(o[i].className||"")){var a=t(o[i].textContent);if(a&&/^\//.test(a)){n=a;break}}if(n){var l=document.createElement("p");l.innerHTML="<code>"+t(r.textContent).toUpperCase()+" "+n+"</code>",e.replaceWith(l)}}}),n.querySelectorAll("script, style, noscript, template, iframe, form, button, input, aside, nav, footer").forEach(function(e){e.remove()}),R(n),n.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))}),n.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||(t=r),t||(t=r),t&&e.setAttribute("src",o(t))}),n):document.createElement("div")}function j(){if(!document.body)return"";var e=t(document.body.innerText||"");if(e&&!/(cookie|privacy|consent|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|隐私|принять|ኩኪ)/i.test(e))return e;if(e&&!P(e))return e;var r=T(document.body,document);return r.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),R(r),t(r.textContent)}function L(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(e)}function $(e,r){return r=r||"",!(e=t(e||""))||(e.length>180||(!!/^(home|menu|search|sign in|log in|login|register|create account|my account|account|subscribe|newsletter|advertise|contact|about|privacy|terms|cookies?|careers?|help|support|learn more|read more|view all|see all|show more|skip to content|open menu|close|language|english|français|deutsch|español|italiano)$/i.test(e)||(!!(/^(buy|sell|rent|sold|agents?|homes?|condos?|commercial|mortgages?|calculators?|guides?|news|travel|trains?|buses?|flights?|hotels?|cars?|packages?|deals?|offers?|destinations?|routes?|stations?|tickets?|timetables?)$/i.test(e)&&e.length<18)||!!/\b(?:privacy|terms|cookie|login|signin|sign-in|register|account|newsletter|subscribe|advertise|contact|about)\b/i.test(r))))}function P(e){if(!(e=t(e||"").toLowerCase())||e.length>5e3)return!1;return!!/cookie settings|cookie preferences|manage cookie preferences|manage cookies|accept all cookies|reject optional cookies|we use cookies|this website uses cookies|by accepting cookies|allow the use of cookies|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners(?: \(vendors\))?|cookies from other companies|essential cookies|personalize advertising|use cookies and similar technologies|before you continue|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|browsing history|device identifiers|cookie declaration last updated|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|ustawienia prywatności|polityka prywatności i cookies|datenschutz|cookie-einstellungen|données personnelles|paramètres des cookies|datos personales|configuración de cookies|dati personali|impostazioni dei cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|Cookie設定|同意設定|すべて受け入れる|すべて許可|쿠키|동의|모두 허용|全部接受|接受全部|隐私设置|файлы cookie|настройки cookie|принять все|we gebruiken cookies|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|የእርስዎ ግላዊነት|ግላዊነት|ኩኪ|ኩኪዎች|የኩኪ ቅንብሮች|pro pokračování vyberte|technické cookies|jakou formou vám máme zobrazovat obsah/i.test(e)&&(e.match(/cookie|cookies|preferences|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners|accept all|reject optional|essential cookies|personalize advertising|personal data|browsing history|device identifiers|personalized ads|trusted third party|wish to store|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|接受|隐私|принять|cookie設定|ግላዊነት|ኩኪ|pokračování|technické cookies/g)||[]).length>=2}function z(e){return!(!(e=t(e||"").toLowerCase())||e.length>5e3)&&(e.match(/copyright|all rights reserved|privacy policy|cookie policy|terms of use|terms and conditions|impressum|link utili|contatti|chi siamo|newsletter|advertising|pubblicit[àa]|manage preferences|cookie settings/g)||[]).length>=2}function N(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"");if(/(onetrust|ot-sdk|\bot-[\w-]*|cookiebot|cybot|cookiedeclaration|cookie-declaration|usercentrics|trustarc|didomi|quantcast|osano|cookieyes|cky-|sourcepoint|sp_message|privacy-center|privacy preference center|cookie information|cookie list|consent preferences)/.test(r)||"true"===e.getAttribute("data-nosnippet"))return!0;if(!n)return!1;var o=/(cookie|consent|privacy|gdpr|ccpa)/.test(r);if(o&&P(n))return!0;if(o&&n.length>5e3&&/(cookie|cookies|consent|privacy|gdpr|ccpa)/i.test(n.slice(0,2e3)))return!0;if((e.matches("[role='dialog'], [aria-modal='true'], dialog")||/position:\s*(fixed|sticky)/i.test(e.getAttribute("style")||""))&&P(n))return!0;if("undefined"!=typeof window&&e.ownerDocument&&e.ownerDocument.defaultView)try{var i=e.ownerDocument.defaultView.getComputedStyle(e);if(i&&/fixed|sticky/.test(i.position)&&P(n))return!0}catch(e){}return!!(P(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function R(e){return e&&e.querySelectorAll?(e.querySelectorAll("[role='dialog'], [aria-modal='true'], dialog, [id*='cookie' i], [class*='cookie' i], [id*='consent' i], [class*='consent' i], [id*='privacy' i], [class*='privacy' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='gdpr' i], [class*='gdpr' i], [id*='ccpa' i], [class*='ccpa' i], [class*='CookieConsent' i], [id*='CookieConsent' i], [class*='CookieDeclaration' i], [id*='CookieDeclaration' i], [class*='cookiebar' i], [id*='cookiebar' i], [class*='cookie-banner' i], [id*='cookie-banner' i], [class*='cookie-notice' i], [id*='cookie-notice' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true'], .cc-banner, .cc-window, #CybotCookiebotDialog, .cky-consent-container, #usercentrics-root, .osano-cm-dialog").forEach(function(e){N(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){N(e)&&e.remove()}),e):e}function M(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function B(e){var r=t(e||"").toLowerCase();return!(!r||r.length>120)&&(/^(play|pause|resume|volume\s+\d+%|rewind\s+\d+\s+seconds|forward\s+\d+\s+seconds|skip\s+(?:back|forward)|chromecast|closed captions|captions|settings|fullscreen|full screen|mute|unmute|next up|up next|current time\s+\d|remaining time\s+|duration\s+|learn more)$/.test(r)||/^\d+:\d+$/.test(r))}function H(e){return/^(nearby entries|browse nearby words|cited by|related content|more like this|people also viewed|recommended articles?|translation|numerology|citation|word of the day|quiz|discover more|related posts|latest news|trending now|popular posts|most read|you might also like|you may also like|read more|related articles?|leave a reply|cancel reply|about the authors?|#\s*tags|comments?\s*\d*|also read|further reading|see also|more stories|don't miss|privacy preference center|your privacy settings|manage privacy preferences|manage consent preferences|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|list of partners(?: \(vendors\))?|polecane|przeczytaj (też|również)|podobne (artykuły|wpisy)|leia (também|mais)|artigos? relacionados?|também pode gostar|ähnliche (beiträge|artikel)|das könnte sie auch interessieren|weiterlesen|mehr zum thema|artículos? relacionados?|también te puede interesar|te puede interesar|lee también|noticias relacionadas|articles? (connexes?|similaires?|associée?s?)|à lire aussi|sur le même (sujet|thème)|vous aimerez aussi)$/i.test(e||"")||/^more from /i.test(e||"")||/^popular in /i.test(e||"")||/^browse definitions\.net$/i.test(e||"")||/^(الأكثر قراءة|الأكثر مشاهدة|الأكثر تعليقاً|مقالات ذات صلة|اقرأ أيضاً|أخبار ذات صلة|مواضيع ذات صلة|موضوعات متعلقة|الأكثر تداولاً|قد يهمك|المزيد|تابع القراءة|הנקראים ביותר|כתבות קשורות|פופולרי|נצפה הכי הרבה|הכי נקראים|مزید پڑھیں|سب سے زیادہ پڑھی جانے والی|متعلقہ خبریں|بیشتر بخوانید|محبوبترین|پربازدیدترین)$/i.test(e||"")||/^(en çok okunan|ilgili haberler|benzer haberler|popüler haberler|çok okunanlar|ilgili içerikler)$/i.test(e||"")||/^(บทความที่เกี่ยวข้อง|อ่านเพิ่มเติม|ข่าวที่เกี่ยวข้อง|ข่าวยอดนิยม|บทความยอดนิยม|อ่านต่อ|เนื้อหาที่เกี่ยวข้อง|แนะนำสำหรับคุณ|ข่าวล่าสุด)$/i.test(e||"")||/^(bài viết liên quan|tin liên quan|đọc thêm|xem thêm|tin tức liên quan|bài viết nổi bật|có thể bạn quan tâm|tin nổi bật|bài viết mới nhất|đọc nhiều nhất)$/i.test(e||"")||/^(σχετικά άρθρα|διαβάστε (επίσης|ακόμη|περισσότερα)|δημοφιλή άρθρα|περισσότερα νέα|τελευταία νέα|δείτε επίσης|μπορεί να σας ενδιαφέρει|σχετικά νέα|τα πιο δημοφιλή)$/i.test(e||"")||/^(схожі (статті|матеріали|новини)|читайте (також|ще)|також читайте|популярні (статті|новини)|останні новини|найпопулярніше|вас (також )?може зацікавити|рекомендуємо|дивіться також)$/i.test(e||"")||/^(baca juga|artikel terkait|berita terkait|berita populer|artikel populer|terpopuler|baca selengkapnya|lihat juga|rekomendasi|berita lainnya|pilihan editor)$/i.test(e||"")||/^(lees ook|gerelateerde (artikelen|berichten)|ook interessant|meer (lezen|artikelen|nieuws)|populair(st)?e? artikelen|aanbevolen|bekijk ook|misschien vind je dit ook leuk|dit vind je misschien ook interessant|meest gelezen)$/i.test(e||"")||/^(povezani (članci|tekstovi)|pročitajte (još|i|također)|slični (članci|tekstovi)|popularno|najčitanije|preporučujemo|pogledajte (još|i|takođe)|više vesti|повезани (чланци|текстови)|прочитајте (још|и|такође)|слични (чланци|текстови)|популарно|најчитаније|препоручујемо|погледајте (још|и|такође)|више вести)$/i.test(e||"")||/^(baca juga|artikel berkaitan|berita berkaitan|berita popular|artikel popular|terpopular|baca lagi|lihat juga|cadangan|berita lain|pilihan editor|paling dibaca|trending)$/i.test(e||"")||/^(leia (também|mais)|artigos? relacionados?|também pode gostar|mais (lidos?|populares?|notícias)|notícias relacionadas|veja (também|mais)|confira também|continue lendo|recomendado|sugestões?|últimas notícias)$/i.test(e||"")||/^(související (články|zprávy)|čtěte (také|dále|více)|mohlo by vás zajímat|doporučujeme|nejčtenější|nejnovější zprávy|další články|přečtěte si (také|též)|více článků)$/i.test(e||"")||/^(relaterade (artiklar|nyheter)|läs (också|mer|vidare|även)|mest lästa|populärast|senaste (nyheterna|artiklarna)|fler (artiklar|nyheter)|rekommenderat|du kanske också gillar)$/i.test(e||"")||/^(relaterede (artikler|nyheder)|læs (også|mere|videre)|mest læste|populært|seneste (nyheder|artikler)|flere (artikler|nyheder)|anbefalet|det kunne også interessere dig)$/i.test(e||"")||/^(kaugnay na (mga )?artikulo|basahin (din|rin)|mga kaugnay na balita|pinaka-?popular|pinakabagong balita|iba pang mga artikulo|maaari mo ring gustuhin)$/i.test(e||"")||/^(ተዛማጅ ዜናዎች|ተጨማሪ ያንብቡ|ተመልከቱ|ተጨማሪ ዜና|በጣም የተነበቡ|ቀጣይ ዜና)$/i.test(e||"")||/^(relaterte (artikler|saker|nyheter)|les (også|mer|videre)|mest lest[e]?|populær[te]?|siste nytt|flere (artikler|saker|nyheter)|anbefalt|aktive debatter|se flere meldinger|du vil kanskje også like)$/i.test(e||"")||/^(articles? relaciona(ts?|des?)|notícies relacionades|llegeix (també|més)|més (llegits?|populars?|notícies)|últimes notícies|també et pot interessar|contingut relacionat|mostra'n més|temes relacionats)$/i.test(e||"")||/^(დაკავშირებული (სტატიები|ამბები|სიახლეები)|წაიკითხეთ (ასევე|მეტი)|ყველაზე (წაკითხვადი|პოპულარული)|ბოლო ამბები|მეტი (სტატიები|ამბები)|რეკომენდებული|გაიგეთ მეტი)$/i.test(e||"")||/^(සම්බන්ධිත (පුවත්|ලිපි)|තවත් කියවන්න|වැඩි විස්තර|උණුසුම් පුවත්|නවතම පුවත්|ජනප්රිය (පුවත්|ලිපි)|වැඩි විස්තර කියවන්න)$/i.test(e||"")||/^(əlaqəli (xəbərlər|məqalələr)|daha çox oxu(?:yun)?|ən çox oxunan(?:lar)?|son xəbərlər|digər (xəbərlər|məqalələr)|tövsiyə olunan|oxşar xəbərlər)$/i.test(e||"")||/^(powiązane (artykuły|wpisy|tematy|wiadomości)|najczęściej czytane|najpopularniejsze|najnowsze (wiadomości|artykuły)|więcej (artykułów|wpisów|wiadomości)|może cię (też )?zainteresować|zobacz (też|również|także)|czytaj (też|również|także)|warto przeczytać|to też warto przeczytać|to może cię zainteresować|ostatnie (wpisy|artykuły)|popularne (wpisy|artykuły|tematy)|komentarze\s*\d*|dodaj komentarz|zostaw komentarz|napisz komentarz)$/i.test(e||"")}function F(e,t,r,n,o,i){return"function"==typeof e?e(t,r,n,o,i):e}var I=["[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]","[class*='piano-offer' i]"];function O(e,t,r){return le(e,t,r)}var D=["article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article[id^='post-'] [itemprop='articleBody']",".entry-content",".post-content","[itemprop='articleBody']"],U=["h1.entry-title",".entry-title","article h1","main h1","h1"],W=["[rel='author']",".author",".byline",".post-author","[class*='author' i]"],Z=[".sharedaddy",".share",".share-links",".share-buttons",".social-sharing",".social-buttons",".related-posts",".yarpp-related",".jp-relatedposts",".adsbygoogle","[class*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='advert' i]","[class*='sponsor' i]","[id*='ad-' i]","iframe","script","style"];function V(e,r){if((r=r||{}).hostPattern&&!se(r.hostPattern,location.hostname))return null;if(r.pathPattern&&!se(r.pathPattern,location.pathname||""))return null;if(r.homepagePath&&se(r.homepagePath,location.pathname||""))return null;"function"==typeof r.beforeExtract&&r.beforeExtract(e);var n=function(e){if("function"==typeof e.body)return e.body();var r=e.minVisibleBodyTextLength||0;if(!r)return ce({bodySelectors:e.bodySelectors||D});for(var n=e.bodySelectors||D,o=0;o<n.length;o+=1){var i=document.querySelector(n[o]);if(i&&t(i.textContent||"").length>=r)return i}return null}(r)||function(e){var r=e.restFallback;if(!r)return null;var n=function(e){if("function"==typeof e.postId)return e.postId(location);if(e.postId)return e.postId;var t=e.postIdPattern||/(?:^|\/)news_(\d+)\/?$/i,r=(location.pathname||"").match(t);return r&&r[1]}(r);if(!n)return null;var o=function(e,t){var r="function"==typeof e.path?e.path(t):e.path||"/wp-json/wp/v2/posts/"+t;try{var n=new XMLHttpRequest;return n.open("GET",r,!1),n.send(null),n.status<200||n.status>=300||!n.responseText?null:JSON.parse(n.responseText)}catch(e){return null}}(r,n),i=o&&o.content&&o.content.rendered;if(!i)return null;var a=document.createElement("div");return a.innerHTML=i,t(a.textContent||"").length<(r.minTextLength||e.minBodyTextLength||0)?null:a}(r);return n?O(e,n,{title:G(e,r),byline:K(e,r),publishedTime:r.publishedTime,minTextLength:r.minBodyTextLength||r.minTextLength||0,contentType:r.contentType||"article",extra:r.extra,rewriteRoot:function(e,t){pi(e,function(e){return Z.concat(e.removalSelectors||[])}(r).join(", ")),me(e,r.removalTextPatterns),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)}}):null}function G(e,r){return"function"==typeof r.title?r.title(e):void 0!==r.title?r.title:h(r.titleSelectors||U)||t(e&&e.title)}function K(e,t){return"function"==typeof t.byline?t.byline(e):void 0!==t.byline?t.byline:e&&e.byline||h(t.bylineSelectors||W)}function J(e){var r=function(e){if("function"==typeof e.scope)return e.scope();if(e.scope)return e.scope;for(var t=e.scopeSelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return document}(e=e||{});if(!r)return null;var n,o=document.createElement("article"),i=[];return Y(o,r,e.titleSelectors,i,!1),Y(o,r,e.leadSelectors,i,!1),Y(o,r,e.summarySelectors,i,!1),Y(o,r,e.captionSelectors||e.mediaCaptionSelectors,i,!1),n=Y(o,r,e.bodySelectors,i,!0),(!1===e.requireBody||n)&&t(o.textContent||"").length>=(e.minTextLength||0)?o:null}function X(e,t){var r=document.createElement("article");return e&&r.appendChild(T(e,document)),t&&r.appendChild(T(t,document)),r}function Y(e,t,r,n,o){if(!r)return!1;for(var i=Array.isArray(r)?r:[r],a=!1,l=0;l<i.length;l+=1){var s=Q(t,i[l]);if(s&&(ee(e,s,n)&&(a=!0),a&&!o))return!0}return a}function Q(e,t){return"function"==typeof t?t(e,document):t&&1===t.nodeType?t:t?e.querySelector&&e.querySelector(t)||document.querySelector(t):null}function ee(e,r,n){var o=t(r.textContent||"");return!(!o||n.indexOf(o)>=0)&&(n.push(o),e.appendChild(T(r,document)),!0)}function te(e,r){var n=function(e){if("function"==typeof e.selectedEntry)return e.selectedEntry(e);if(e.selectedEntry)return e.selectedEntry;var t="function"==typeof e.entryIdFromUrl?e.entryIdFromUrl(location):e.entryIdFromUrl;if(t){var r=document.getElementById(String(t));if(!r&&e.entryIdPrefix&&(r=document.getElementById(e.entryIdPrefix+t)),r||"function"!=typeof e.entryForId||(r=e.entryForId(t)),r)return r}if(!e.entrySelector)return null;var n=Array.prototype.slice.call(document.querySelectorAll(e.entrySelector));if(!n.length)return null;if("function"==typeof e.entryMatcher){var o=n.find(function(t){return e.entryMatcher(t,e)});if(o)return o}return n[0]}(r=r||{});if(!n)return null;"function"==typeof r.beforeBuild&&r.beforeBuild(e,n);var o=function(e,r){if("function"==typeof r.rootBuilder)return r.rootBuilder(e,r);if(!r.bodySelector)return e;var n=document.createElement("article");return function(e,t,r){(Array.isArray(r)?r:[r]).forEach(function(r){if(r){var n=t.matches&&t.matches(r)?t:t.querySelector(r);n&&e.appendChild(T(n,document))}})}(n,e,r.bodySelector),t(n.textContent||"")?n:null}(n,r);if(!o)return null;var i={};return Object.keys(r).forEach(function(e){i[e]=r[e]}),i.cloneRoot=!1,i.title=void 0!==r.title?re(r.title,e,o,n):ne(n,r.titleSelector),i.byline=void 0!==r.byline?re(r.byline,e,o,n):ne(n,r.bylineSelector),i.publishedTime=void 0!==r.publishedTime?re(r.publishedTime,e,o,n):function(e,r){if(!r)return;var n=e.querySelector(r);return n?n.getAttribute("datetime")||t(n.textContent||""):void 0}(n,r.timeSelector),i.rewriteRoot=function(e,t){r.cleanupSelectors&&pi(e,Array.isArray(r.cleanupSelectors)?r.cleanupSelectors.join(", "):r.cleanupSelectors),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)},i.extra=function(e,t,n,o,i){var a=F(r.extra,e,t,n,o,i)||{};return a.isolatedLiveblogEntry=!0,a},O(e,o,i)}function re(e,t,r,n){return"function"==typeof e?e(t,r,n):e}function ne(e,r){if(r)for(var n=Array.isArray(r)?r:[r],o=0;o<n.length;o+=1){var i=n[o],a=e.querySelector(i.selector||i),l=i.attr?a&&a.getAttribute(i.attr):a&&a.textContent;if(l=t(l))return l}}function oe(e,r,n){n=n||{};var o=e||document.body;if(!o)return e;var i=o.cloneNode(!0);ie(i,n.removalSelectors),ae(i,n.textRemovalPattern,n.textRemovalMaxLength);var a=t(i.textContent||"");if(n.bodyRejectPattern&&n.bodyRejectPattern.test(a))return e;if(n.hardPaywallPattern&&n.hardPaywallPattern.test(a))return e;if(n.pageHardPaywallPattern){var l=t(document.body&&(document.body.innerText||document.body.textContent)||"");if(n.pageHardPaywallPattern.test(l))return e}var s=n.paragraphSelectors||"p",c=n.paragraphMinLength||70,u=Array.prototype.filter.call(i.querySelectorAll(s),function(e){return t(e.textContent||"").length>=c}).length;return a.length<(n.minBodyTextLength||1200)||u<(void 0===n.minParagraphCount?3:n.minParagraphCount)||(ie(o,n.removalSelectors),ae(o,n.textRemovalPattern,n.textRemovalMaxLength),ie(document,n.signalRemovalSelectors||n.removalSelectors),ae(document,n.textRemovalPattern,n.textRemovalMaxLength),function(e){var t=e.stripAttributeSelectors;if(!t)return;document.querySelectorAll(t).forEach(function(t){if(e.stripIdPattern&&e.stripIdPattern.test(t.getAttribute("id")||"")&&t.removeAttribute("id"),e.stripClassPattern){var r=(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return t&&!e.stripClassPattern.test(t)});r.length?t.setAttribute("class",r.join(" ")):t.removeAttribute("class")}})}(n),function(e,t){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=e.textContent||"";"remove"!==t.structuredDataMode?/isAccessibleForFree/i.test(r)&&(e.textContent=r.replace(/("isAccessibleForFree"\s*:\s*)"?(?:false|False)"?/g,"$1true")):(t.structuredDataRemovalPattern||/isAccessibleForFree/i).test(r)&&e.remove()}),document.querySelectorAll("meta[property='article:content_tier'], meta[name='article:content_tier']").forEach(function(e){/^(locked|metered|premium)$/i.test(e.getAttribute("content")||"")&&e.remove()}),e&&(e.isAccessibleForFree=!0,e.contentTier&&(e.contentTier=null))}(r,n)),e}function ie(e,t){e&&t&&pi(e,Array.isArray(t)?t.join(", "):t)}function ae(e,r,n){e&&r&&(n=n||280,e.querySelectorAll("p, div, span, section, aside, figcaption").forEach(function(e){var o=t(e.textContent||"");!o||o.length>n||r.test(o)&&e.remove()}))}function le(e,r,n){if(!r)return null;var o=!1===(n=n||{}).cloneRoot?r:E(r);if(!o)return null;"function"==typeof n.rewriteRoot&&n.rewriteRoot(o,r),!1!==n.cleanupRoot&&hi(o);var i=Uo(o.innerHTML);!1!==n.cleanupMarkdown&&(i=Ei(i)),"function"==typeof n.postProcessMarkdown&&(i=n.postProcessMarkdown(i,o,r));var a=t(i);if(!a||a.length<(n.minTextLength||0))return null;if("function"==typeof n.validateMarkdown&&!n.validateMarkdown(i,a,o,r))return null;var l=function(e,r,n,o){if("function"==typeof o.title)return t(o.title(e,r,n));if(o.title)return t(o.title);if(o.titleSelectors){var i=h(o.titleSelectors);if(i)return i}return t(e&&e.title)}(e,o,r,n);l&&!1!==n.prependTitle&&!Pe(i,l)&&(i="# "+l+"\n\n"+i);var s=t(i),c=F(n.excerpt,e,o,r,i,a);void 0===c&&!1!==n.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var u=F(n.byline,e,o,r,i,a);void 0===u&&(u=e&&e.byline);var d={title:l||e&&e.title,byline:u,excerpt:c,siteName:F(n.siteName,e,o,r,i,a)||e&&e.siteName||location.hostname,publishedTime:null===n.publishedTime?null:F(n.publishedTime,e,o,r,i,a)||e&&e.publishedTime,html:o.innerHTML,markdown:i,textContent:s,readerMode:!1,contentType:n.contentType||"article",hostAware:!1!==n.hostAware};if(n.extra){var m=F(n.extra,e,o,r,i,a)||{};Object.keys(m).forEach(function(e){d[e]=m[e]})}return d}function se(e,t){return!e||(t=t||"",e instanceof RegExp?e.test(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e))}function ce(e){if("function"==typeof e.body)return e.body();for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return null}function ue(e,r){return"function"==typeof e.title?e.title(r):void 0!==e.title?e.title:e.titleSelectors?h(e.titleSelectors)||t(r&&r.title):void 0}function de(e,t){return"function"==typeof e.byline?e.byline(t):void 0!==e.byline?e.byline:e.bylineSelectors?h(e.bylineSelectors)||t&&t.byline:void 0}function me(e,r){(r||[]).forEach(function(r){e.querySelectorAll("p, div, span, section, a, button, h2, h3, h4, li").forEach(function(e){var n=t(e.textContent||"");n&&(r instanceof RegExp&&r.test(n)&&e.remove(),"string"==typeof r&&n===r&&e.remove())})})}function pe(e){return e=e||{},function(t){if(!se(e.hostPattern,location.hostname))return null;if(e.pathPattern&&!se(e.pathPattern,location.pathname||""))return null;if(e.homepagePath&&se(e.homepagePath,location.pathname||""))return null;"function"==typeof e.beforeExtract&&e.beforeExtract(t);var r=ce(e);return r?O(t,r,{title:ue(e,t),titleSelectors:e.titleSelectors,byline:de(e,t),publishedTime:e.publishedTime,minTextLength:e.minBodyTextLength||0,contentType:e.contentType||"article",extra:e.extra,rewriteRoot:function(t,r){pi(t,(e.removalSelectors||[]).join(", ")),me(t,e.removalTextPatterns),"function"==typeof e.rewriteRoot&&e.rewriteRoot(t,r)}}):null}}function he(e){e=e||{},registerHostAwareProfile(void 0===e.condition||e.condition,pe(e))}function fe(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function ge(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function ye(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<4||r.length>30)return!1;var n=r.filter(function(e){return ge(e.getAttribute("href"))}).length,o=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&o.length<900}function be(e){return t((e||"").replace(/[\u200B\u200C\u200D\uFEFF]/g,"").replace(/\s*(?:Copy\s*(?:for\s+LLMs?|page(?:\s+as\s+Markdown)?(?:\s+for\s+LLMs?)?)|View\s+as\s+Markdown|Open\s+(?:this\s+page\s+as\s+Markdown|in\s+(?:ChatGPT|Claude|Cursor))|Get\s+insights\s+from\s+(?:ChatGPT|Claude)|Connect\s+to\s+Cursor|Ask\s+AI|Download\s+OpenAPI\s+spec(?:ification)?)\s*/gi,"")).replace(/\s+copy item path$/i,"").replace(/[¶#\uF0C1\uF0C6\uF08E\uF14C]+$/,"").replace(/\s*Copy$/i,"")}function ve(e,r){return r=r||{},fe(e,"a, button, span, div, p, li",/^(copy page|copy for llm|copy page as markdown|copy page as markdown for llms?|view as markdown|open this page as markdown|open in (?:chatgpt|claude|cursor)|get insights from (?:chatgpt|claude)|connect to cursor|download openapi spec(?:ification)?|ask about this section|ask ai|copy link|copy permalink|send feedback|edit this page|report feedback|pdf|rss|focus mode|skip to main content|skip to content|copy item path|view source|view on github|report a problem with this content|open menu|open sidebar|search|settings|help|search or ask copilot|expand description|show more|show less|expand|collapse|javascripttypescript|typescriptjavascript)$/i),fe(e,"h2, h3, h4, h5, p, div, span, li",/^(on this page|in this article|table of contents|last updated.*|api preferences|select language:.*|breadcrumbs?)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);r&&(/^feedback\b/i.test(r)&&r.length<500&&e.querySelectorAll("a, button").length>=1||/^(was this page helpful|is this page helpful)\??$/i.test(r.split("\n")[0])&&r.length<300)&&e.remove()}),fe(e,"p, div, span",/^last modified\s/i),e.querySelectorAll("section, div, aside, form").forEach(function(e){var r=t(e.textContent);if(r){var n=e.querySelector("h2, h3, h4");n&&/^(subscribe|newsletter|stay up[- ]to[- ]date|get (?:the )?latest|sign up for (?:our )?(?:newsletter|updates)|mailing list)$/i.test(t(n.textContent))&&r.length<800&&e.remove()}}),fe(e,"p, div, span, a",/^(privacy\s*policy|terms\s+(?:of\s+(?:service|use)|and\s+conditions)|powered by [a-z]+)$/i),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){var t=be(e.textContent);t&&(e.textContent=t)}),e.querySelectorAll("nav, [aria-label*='breadcrumb' i], ol[aria-label*='breadcrumb' i]").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent),n=t(e.getAttribute("title"));e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8||ge(e.getAttribute("href"))&&(!r||r.length<40||/link for this heading/i.test(n)||/^skip to (?:main )?content$/i.test(r))&&e.remove()}),e.querySelectorAll("section, div, ul, ol").forEach(function(e){var r=t(e.textContent);r&&(/^on this page\b/i.test(r)&&r.length<1200||ye(e)||function(e){if(e.closest&&e.closest(".landing-card, .card--fullwidth"))return!1;var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<2||r.length>8)return!1;var n=t(e.textContent);return!(!n||n.length>220)&&!e.querySelector("p, strong, b, h1, h2, h3, h4, h5, h6")&&r.every(function(e){return t(e.textContent).length>0&&t(e.textContent).length<40})}(e))&&e.remove()}),r.removeTryIt&&(e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent),n=e.querySelector("h2, h3, h4");(n&&/^try it$/i.test(t(n.textContent))||/^try it\b/i.test(r)&&r.length<600)&&e.remove()}),fe(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&fe(e,"h1, h2, h3, p, div, span",/^(select your cookie preferences|customize cookie preferences|unable to save cookie preferences)$/i),r.removeMarketingTips&&e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/\b(tip|note)\b/i.test(r)&&/(workshop|builder center|sign up|training|studio)/i.test(r)&&r.length<600&&e.remove()}),e}function we(e,r){for(var n=0;n<r.length;n+=1)for(var o=e.querySelectorAll(r[n]),i=0;i<o.length;i+=1){var a=t(o[i].textContent);if(a)return a}return null}function xe(e,t,r){return Array.prototype.slice.call(e.querySelectorAll(t)).filter(function(t){for(var n=t.parentElement;n&&n!==e;){if(n.matches&&n.matches(r))return!1;n=n.parentElement}return!0})}function Se(e,r,n){for(var o=0;o<r.length;o+=1)for(var i=xe(e,r[o],n),a=0;a<i.length;a+=1){var l=t(i[a].textContent);if(l)return l}return""}function ke(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function Ae(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function qe(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),be(e||"")||null):null}function Ce(e,t,r,n){var o=h(t||[]);return o||"function"!=typeof r||(o=r(e)),o||"string"!=typeof r||(o=r),qe(o,n,e)}function _e(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return be(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function Te(e,t,r){return je(e,ke(t),r)}function Ee(e,t,r){if(!(t=t||Xr(e))||t.system!==r.system)return null;var n=r.headingFormatter||function(e){return be(e)},o=r.titleFormatter||r.headingFormatter,i={rewriteRoot:function(e){r.removeSelectors&&e.querySelectorAll(r.removeSelectors).forEach(function(e){e.remove()}),r.removeTextPattern&&fe(e,r.removeTextSelector||"a, button, div, p, span, li",r.removeTextPattern),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,a),!1!==r.headingFormatter&&_e(e,r.headingSelector,n)}},a=null;return!1===r.preferFragmentTitle?(a=Ce(e,r.titleSelectors,r.fallbackTitle,o),i.title=a):(i.titleSelectors=r.titleSelectors,i.fallbackTitle=r.fallbackTitle,i.titleFormatter=o),Te(e,r.rootSelectors,i)}function je(e,t,r){if(r=r||{},!t)return null;var n={};if(Object.keys(r).forEach(function(e){"titleSelectors"!==e&&"fallbackTitle"!==e&&"preferFragmentTitle"!==e&&"titleFormatter"!==e&&(n[e]=r[e])}),!n.title&&(r.titleSelectors||r.fallbackTitle)){var o=!1===r.preferFragmentTitle?null:$e(t);o=qe(o,r.titleFormatter,e)||Ce(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=o}return ze(e,t,n)}function Le(e){var t=r((location.hash||"").replace(/^#/,"")).trim();if(!t)return null;var n=document.getElementById(t)||function(e){if(!e)return null;for(var t=document.querySelectorAll("a[name]"),r=0;r<t.length;r+=1)if((t[r].getAttribute("name")||"")===e)return t[r];return null}(t);return n&&(e===n||e.contains(n))?n:null}function $e(e){var t=Le(e);if(!t)return null;var r=t.matches&&t.matches("h1, h2, h3, h4, h5, h6")?t:t.querySelector("h1, h2, h3, h4, h5, h6");return!r&&t.matches&&t.matches("a[name]")&&(r=t.nextElementSibling),be((r||t).textContent)||null}function Pe(e,r){if(!(r=t(r).replace(/[`*_]/g,"")))return!1;var n=t(r).toLowerCase();return(e||"").split("\n").slice(0,8).map(function(e){return t(e).replace(/^#+\s*/,"").replace(/^\[([^\]]+)\]\([^)]*\)$/,"$1").replace(/[`*_]/g,"")}).filter(Boolean).some(function(e){var r=t(e).toLowerCase();return r===n||0===r.indexOf(n)})}function ze(e,r,n){if(!r)return null;var o,i=!1===(n=n||{}).focusFragment?r:function(e){var r=Le(e);if(!r)return e;for(var n=r;n&&n!==e;){var o=t(n.textContent);if(/^(section|article|div|li|dt|dd|main)$/i.test(n.tagName||"")&&o.length>=20)return n;n=n.parentElement}return r}(r),a=E(i);if(hi(a),ve(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{o=Uo(a.innerHTML).trim()}catch(e){o=""}"function"==typeof n.postProcessMarkdown&&(o=n.postProcessMarkdown(o,a));var l=be(n.title||$e(r)||we(a,["h1","header h1","h2"])||"")||null,s=n.description||we(a,["p"]);return o?(l&&!Pe(o,l)&&(o="# "+l+"\n\n"+o),{title:l||e.title,byline:e.byline,excerpt:s||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:a.innerHTML,markdown:o,textContent:t(o),docsLike:!0,hostAware:!1!==n.hostAware,readerMode:!1,contentType:n.contentType||"article"}):l||s?v({title:l||e.title,description:s||e.excerpt,siteName:e.siteName||location.hostname,docsLike:!0,hostAware:!1!==n.hostAware}):null}function Ne(e){return t(e||"").replace(/([a-z0-9])((?:Default:|Can be one of:|For more information:|Example:|Required))/g,"$1 $2").replace(/([a-z])([A-Z][a-z])/g,"$1 $2")}var Re=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,Me=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,Be=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,He=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,Fe=/(?:federal republic|rep[úu]blica federativa|republica federativa|civil rights|fundamental rights|legal provisions?|official gazette|promulgat|enacted|amended|paragraph|par[áa]grafo|paragrafo|inciso|subsection)/i,Ie=/\b(?:legal provisions?|federal law gazette|official gazette|version information|translation includes? the amendment|current status of the .* version|conditions governing use of this translation)\b/i,Oe=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,De=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,Ue=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,We=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function Ze(e){var n=(e=e||{}).root||null,o=t(e.text||n&&n.textContent||""),i=t(e.title||document.title||""),a=t([i,r(e.path||location&&location.pathname||"").toLowerCase()].join(" ")).toLowerCase(),l=t([a,o.slice(0,e.contextLimit||4e3)].join(" ")).toLowerCase();return{text:o,titleContext:a,context:l,legalTitle:Re.test(l),officialStatuteTitle:Me.test(a),officialTextSignals:Ie.test(l),profileOfficialTextSignals:Oe.test(o),translationAttribution:De.test(l),provisionMarkers:(o.match(Be)||[]).length,structuralMarkers:(o.match(He)||[]).length,legalTerms:Fe.test(o),numberedClauses:(o.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:Ue.test(o),bodyStartMatch:o.match(We)}}function Ve(e){if(!e||N(e))return-1/0;if(e.matches("[id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"))return-1/0;var r=e.querySelector("#ot-pc-title, #ot-pc-desc, [id^='ot-pc-' i], [class*='ot-pc' i], [class*='ot-accordion' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='privacy' i], [class*='privacy' i], [id*='cookie' i], [class*='cookie' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"),o=t(r&&r.textContent||e.textContent||"").slice(0,500);if(r&&(P(o)||H(o)))return-1/0;var i=t(e.textContent||""),a=/[\u0370-\u03FF\u0400-\u04FF\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(i),l=i.length;if("undefined"!=typeof window&&window.getComputedStyle)try{var s=window.getComputedStyle(e);if(s&&("none"===s.display||"hidden"===s.visibility))return-1/0}catch(e){}var c=e.querySelectorAll("p").length,u=e.querySelectorAll("h1, h2, h3").length,d=e.querySelectorAll("p, li, blockquote, figure, table").length;if(l<(a&&(c>=2||u>=1||d>=3)?180:280))return-1/0;var m=Array.prototype.reduce.call(e.querySelectorAll("a"),function(e,t){return e+n(t)},0),p=l>0?m/l:0,h=e.querySelectorAll("nav, aside, footer, [role='navigation'], [role='complementary'], [class*='comment' i], [id*='comment' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='share' i], [id*='share' i]").length,f=((e.className||"")+" "+(e.id||"")).toLowerCase(),g=0,y=l>=500&&(c>=2||u>=4||d>=4),b=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title),v=l/Math.max(m,1),w=Math.min(300,Math.round(v/4)),x=h>d?Math.min(900,90*(h-d)):0,S=Math.round(p*(d>=4?240:400));return/(article|content|entry|main|post|story|body|definition|meaning|sense|glossary|lexicon|pronunciation|answer|articulo|artículo|noticia|conteudo|conteúdo|contenido|corpo|texto|berita|haber|nyheter|nieuws|aktualnosci|aktualności)/.test(f)&&(g+=180),a&&(c>=2||u>=1)&&(g+=140),/(comment|footer|nav|share|promo|related|sidebar|browse|translation|numerology|citation|quiz|cookie|privacy|subscription)/.test(f)&&(g-=220),!y&&Ye(e,i,p)&&(g-=4200),!y&&function(e,t){return!!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t)&&((!e.matches||!e.matches("article, [itemprop='articleBody']"))&&Array.prototype.some.call(e.querySelectorAll("article, [itemprop='articleBody'], [class*='article' i], [class*='content' i], [class*='post' i]"),function(t){return!(t===e||t.querySelectorAll("a[href]").length>=4)&&(n(t)>=1200&&t.querySelectorAll("p").length>=5)}))}(e,i)&&(g-=9e3),!b&&l<1800&&Je(i)||l<1800&&z(i)&&(c<4||u<3)||l<2200&&/(discover more|newspapers|tourist destinations|travel guides?|travelogues)/i.test(i)&&(c<5||u<4)?-1/0:l+70*c+30*u+g+w-S-x}function Ge(e){return e&&e.querySelectorAll?(pi(e,"#comments, #respond, .comments-area, .comment-list, .comments-section, .post-comments, .disqus-comment-count, [class*='comment-respond'], [class*='comentario' i], [class*='comentarios' i], [class*='commentaire' i], [class*='komentar' i], [class*='komentarze' i], [class*='yorum' i], .sharedaddy, .share, .share-links, .share-buttons, .social-sharing, .social-buttons, [class*='share' i], [id*='share' i], [class*='compartir' i], [class*='partager' i], [class*='teilen' i], [class*='paylas' i], [class*='paylaş' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='relacionad' i], [class*='relacionados' i], [class*='recomendad' i], [class*='recomendados' i], [class*='similares' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='advert' i], [id*='advert' i], [class*='promo' i], [id*='promo' i], [class*='adslot' i], [id*='adslot' i], [data-ad], [data-ads]"),vi(e),bi(e),e):e}function Ke(){var e=function(){var e=function(){var e=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!e)return null;var r=t(e.textContent||""),n=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),o=Ze({text:r,title:document.title||""}),i=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(document.title||"")||o.sectionOrArticleMarker;return r.length<250||!n||!i||o.numberedClauses<2?null:e}(),r=document.querySelector("#viewLegSnippet, .viewLegSnippet, .LegislationSection, .legislation-section, [class*='LegislationSection' i], #viewLegContents, .viewLegContents")||e;if(!r)return null;var n=t(document.body&&document.body.textContent||""),o=t(r.textContent||""),i=Ze({root:r,text:o}),a=document.querySelector("#changesOverTime, #legNav, #breadCrumb, .legContent, [id*='legislation' i], [class*='legislation' i]"),l=/\b(what version|changes to legislation|timeline of changes|plain view|print options|opening options)\b/i.test(n);if(o.length<250)return null;if(!e&&!a&&!l)return null;if(i.numberedClauses<2&&!/\b(section|article|regulation|schedule)\s+\d+\b/i.test(o))return null;var s=E(r),c=document.querySelector("#pageTitle, h1")||null,u=s.querySelector("h1, h2, h3")||null,d=t(s.textContent||"");return{title:t(c&&c.textContent||document.title),byline:null,excerpt:d.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:(u?"":c?c.outerHTML:"")+s.innerHTML,textContent:d,readerMode:!1,contentType:"article",legalProvision:!0}}();if(e)return e;var r=[];["main[role='main']","article[role='main']","[itemprop='articleBody']",".article__body",".post-content",".entry-content","[class*='article-content']","[class*='amp-article-content' i]","[class*='amp-article-body' i]","[class*='mobile-article' i]","[class*='mobile-content' i]","[class*='rtl-article' i]","[class*='article-content' i]","[class*='article-body' i]","[class*='article-main' i]","[class*='article__body' i]","[class*='article__content' i]","[class*='articletext' i]","[class*='article-text' i]","[class*='article_text' i]","[class*='content-body' i]","[class*='content__body' i]","[class*='main-article' i]","[class*='post-content' i]","[class*='post-description' i]","[class*='entry-content' i]","[class*='story-content' i]","[class*='news-content' i]","[class*='amp-wp-article-content' i]","[class*='article-body-mobile' i]","[class*='mobile-article-body' i]","[class*='contenido-noticia' i]","[class*='conteudo-noticia' i]","[class*='corpo-noticia' i]","[class*='texto-noticia' i]","[class*='isi-berita' i]","[class*='berita-content' i]","[class*='haber-metni' i]","[class*='wysiwyg' i]","[class*='rich-text' i]","[data-testid*='article-body' i]","[data-testid*='article-content' i]","[data-component*='article-body' i]","[data-component*='article-content' i]","[data-module*='article-body' i]","[data-module*='article-content' i]","[data-qa*='article-body' i]","[data-qa*='article-content' i]","main","article",".article-content",".t-content",".t-content--article",".main-content",".post-content",".entry-content",".story-body",".news-content",".article-body","[data-article-body]",".content-body",".article__body",".article",".post",".entry",".content",".main","section","div"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){r.push(e)})});var n=r.reduce(function(e,t){var r=E(t);Ge(r);var n=Ve(r);return!e||n>e.score?{node:t,score:n}:e},null),o=E(n&&n.score>-1/0?n.node:document.body);Ge(o);var i=t(o.textContent);return{title:document.title,byline:null,excerpt:i.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:o.innerHTML,textContent:i,readerMode:!1,contentType:"article"}}function Je(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]|weather forecast|forecast for the next|forecast for)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=4)}function Xe(e,r){if(!e)return r;if(!r||!e.readerMode)return e;var o=!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"),i=t(e.markdown||e.textContent||"");if(o&&i.length>=800)return e;var a=t(r.markdown||r.textContent||""),l=document.createElement("div"),s=document.createElement("div");l.innerHTML=e.html||"",s.innerHTML=r.html||"";var c=l.querySelectorAll("p, li").length,u=s.querySelectorAll("p, li").length,d=Array.prototype.reduce.call(s.querySelectorAll("a[href]"),function(e,t){return e+n(t)},0),m=a.length>0?d/a.length:0,p=/\b(oglas|advertisement|sponsored|ad)\b/i.test(i.slice(0,160)),h=z(i),f=Je(i),g=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return a?r.legalProvision||i.length<4e3&&a.length>=Math.max(1800,3*i.length)&&u>=Math.max(8,c+5)&&m<.28?r:Rt(e)?e:f&&!g&&a.length>=Math.max(900,2*i.length)||function(e){if(!e||"article"!==e.contentType)return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),i=n.length>0?o/n.length:0;return Ye(r,n,i)}(e)&&Rt(r)&&a.length>=1200&&m<.25||h&&a.length>=Math.max(1e3,2*i.length)||Rt(r)&&(i.length<240||p)&&a.length>=Math.max(600,3*i.length)?r:e:e}function Ye(e,t,r){var n=((e.className||"")+" "+(e.id||"")).toLowerCase();return!(!/(sidebar|rail|aside|promo|cta|recent|popular|related)/.test(n)&&!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t))&&(!(e.querySelectorAll("p").length>=8&&r<.18&&!/(sidebar|rail|aside)/.test(n))&&(r>=.18||e.querySelectorAll("a[href]").length>=4))}function Qe(){if("function"!=typeof Readability)return null;try{var e=function(){try{return document.cloneNode(!0)}catch(e){}var e=document.implementation.createHTMLDocument(document.title||"");for(document.documentElement&&document.documentElement.getAttribute("lang")&&e.documentElement.setAttribute("lang",document.documentElement.getAttribute("lang"));e.head.firstChild;)e.head.removeChild(e.head.firstChild);if(Array.prototype.forEach.call(document.head&&document.head.childNodes||[],function(t){var r=_(t,e);r&&e.head.appendChild(r)}),document.body){var t=_(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();R(e),!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output, .mw-parser-output")||hi(e),Ge(e);var t=new Readability(e).parse();return t&&t.content?{title:t.title||document.title,byline:t.byline||null,excerpt:t.excerpt||null,siteName:t.siteName||location.hostname,publishedTime:t.publishedTime||null,html:t.content,textContent:t.textContent||"",readerMode:!0,contentType:"article"}:null}catch(e){return null}}function et(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),a=j().slice(0,2e3).toLowerCase(),l=!!w("q"),s=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,i("og:type","property")].join(" ")).toLowerCase(),n=0;return/\b(dictionary|glossary|lexicon|thesaurus|encyclopedia|database)\b/.test(r)&&(n+=3),/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(r)&&(n+=2),/\b(website|article)\b/.test(r)&&/\b(dictionary|glossary|definition|definitions|database)\b/.test(r)&&(n+=1),c().some(function(e){var t=u(e).join(" ").toLowerCase();return!(!/definedterm|dictionary|glossary|creativework|article/.test(t)||!/\b(definition|term|description|citation)\b/.test(r+" "+t)||(n+=2,0))}),n}(e);return/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(r)||/\/(dictionary|definition|definitions|pronunciation)\//.test(o)||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(a)||l&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(r+" "+n)||s>=4&&/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(a)}function tt(e){return t(e||"").replace(/\s*see (?:the )?full definition\b.*$/i,"").replace(/\s*opens in new tab\.?$/i,"").replace(/\s*[|:-]\s*(?:merriam-webster|definitions?\.net|dictionary(?:\.com)?|diki)\b.*$/i,"").trim()}function rt(e){var r=tt(e&&e.excerpt||"");return!r||r.length<16?null:v({title:h(["main h1","article h1","h1"])||t(e&&e.title||document.title)||e&&e.title||document.title,description:r,siteName:e&&e.siteName||location.hostname})}function nt(e){return t(e||"").toLowerCase().replace(/^[\s#>*-]*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s*/i,"").replace(/^definition\s*[:.-]\s*/i,"").replace(/^[^:]{1,40}:\s+/,"").replace(/\b(?:source|references?|citation|cite this entry)\b.*$/i,"").replace(/[^a-z0-9]+/g," ").trim().slice(0,240)}function ot(e,r){var n=tt(r&&r.excerpt||"").toLowerCase(),o=t(e||"").toLowerCase();return!o||(!!function(e){return(t(e||"").match(/browse nearby words|cite this entry|more from merriam-webster|popular in grammar|popular in wordplay|top lookups|numerology|citation/gi)||[]).length>=2}(o)||!(!n||n.length<18)&&(-1===o.indexOf(n)&&o.length<Math.max(260,3*n.length)))}function it(e){if(!e||1!==e.nodeType)return!1;var r=t((e.querySelector("h2, h3, h4, strong")||{}).textContent||""),n=t(e.textContent||""),o=t([e.id||"",e.className||""].join(" ")).toLowerCase();return!!M(n)||(!!H(r)||(!!/^(love words\? need even more definitions|top lookups|add to chrome|add to firefox)$/i.test(n)||(!!/^discuss these .+ definitions with the community/i.test(n)||(!!/subscribe for ad-free|word of the day|browse definitions\.net|popular in grammar|popular in wordplay/i.test(n)||!!(/(cookie|privacy|consent)/.test(o)&&n.length<2400)))))}function at(e){if(!et(e))return null;var o=function(e){var n=h(["main h1","article h1","h1"])||t(e&&e.title||document.title),o=h([".headword","strong.headword",".hword","main h1","article h1","h1"])||r((location.pathname||"").split("/").filter(Boolean).pop()||""),i=[];function a(e){if(!(e=t(e||"")))return null;if(e.length<=320)return e;for(var r=e.match(/[^.!?]+[.!?]+/g)||[],n="",o=0;o<r.length;o+=1){var i=t((n?n+" ":"")+r[o]);if(i.length>220)break;if((n=i).length>=90)break}return n||e.slice(0,217)+"..."}function l(e,t){if(!(!(t=a(t))||t.length<12||H(t)||/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups|examples? of .* in a sentence/i.test(t))){var r=nt(t);!r||r.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(nt).indexOf(r)&&e.push(t)}}function s(e){var r=E(e);return r.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),hi(r),t(r.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var r=a(e.textContent||"");if(!(!r||r.length<12||H(r))){var n=e.parentElement&&e.parentElement.querySelector("p.term"),o=t(n&&n.textContent);o&&-1===r.toLowerCase().indexOf(o.toLowerCase())&&(r=o+": "+r),-1===i.map(nt).indexOf(nt(r))&&i.push(r)}});var c=y([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"],4).filter(function(e){return e&&e.length<=40&&!H(e)}),u=y([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"],8).filter(function(e){return e&&e.length<=120&&!M(e)&&!H(e)&&!/how to pronounce|how to say|listen to the pronunciation/i.test(e)}),d=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".headword-line, p:has(.headword), p:has(strong.headword)")).some(function(t){for(var r=t.parentElement;r&&r.nextElementSibling&&(r=r.nextElementSibling,!/^(h2|h3|h4)$/i.test(r.tagName||""));)if("ol"===(r.tagName||"").toLowerCase())return Array.prototype.slice.call(r.children).forEach(function(t){"li"===(t.tagName||"").toLowerCase()&&l(e,s(t))}),e.length>=2;return!1}),e}().concat(function(){var e=[];return document.querySelectorAll("#dictionary-entry-1 .dtText, .entry-word-section-container .dtText, .sense .dtText").forEach(function(r){l(e,t(r.textContent||"").replace(/^[:;]\s*/,""))}),e}()).concat(i).concat(y(["p.desc",".dtText",".sense .dtText",".sense",".def",".definition","[class*='definition']","li[class*='meaning'] > span","li[class*='definition'] > span","li[class*='sense'] > span","[class*='meaning']","dd","[itemprop='description']"],10).map(a)).filter(function(e){return e&&e.length>=12&&e.length<=320&&!H(e)&&!/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups/i.test(e)}).filter(function(e,t,r){var n=nt(e);return!n||n.length<10?r.indexOf(e)===t:r.map(nt).indexOf(n)===t});if(!d.length&&!u.length)return null;var m=["# "+(n=o||n)];o&&-1===n.toLowerCase().indexOf(o.toLowerCase())&&m.push("## "+o),c.length&&m.push(c.join(" | ")),u.length&&m.push(u.slice(0,4).join("\n")),d.slice(0,6).forEach(function(e){m.push(e)});var p=Ei(m.filter(Boolean).join("\n\n")),f=function(e){var r=t(e||"").toLowerCase(),n=document.createElement("div"),o=[];document.querySelectorAll("[id*='dictionary-entry'], [class*='example'], [class*='etymolog'], [class*='first-known'], [class*='word-history']").forEach(function(e){t(e.textContent||"").length<30||o.some(function(t){return t.contains(e)})||(o=o.filter(function(t){return!e.contains(t)})).push(e)}),o.forEach(function(e){n.appendChild(e.cloneNode(!0))});var i=[];return[n.childNodes.length?n:null,document.querySelector("main"),document.querySelector("#mw-content-text .mw-parser-output"),document.querySelector("#dictionary-entry-1"),document.querySelector("article"),document.querySelector("[role='main']"),document.body].forEach(function(e){e&&-1===i.indexOf(e)&&i.push(e)}),i.reduce(function(e,n){var o=E(n);o.querySelectorAll("script, style, noscript, svg, form, header, nav, footer, aside, .mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .mw-headline-anchor").forEach(function(e){e.remove()}),o.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){it(e)&&e.remove()}),hi(o);var i=Ei(Uo(o.innerHTML)),a=t(i).toLowerCase();return!a||a.length<80||a===r||r.indexOf(a)>=0?e:/(^|\n)#{1,6}\s*(?:examples?|etymolog(?:y|ies)|word history|first known use|translations?|quotations?|usage notes?|synonyms?|antonyms?|derived terms|related terms|pronunciation)\b/i.test(i)&&(!e||a.length>t(e).length)?i:e},"")}(p),g=Ei([p,f].filter(Boolean).join("\n\n")),b=t(g);if(b.length<40)return null;var v=document.createElement("article"),w=document.createElement("h1"),x=document.createElement("ol");return w.textContent=n,v.appendChild(w),d.slice(0,6).forEach(function(e){var t=document.createElement("li");t.textContent=e,x.appendChild(t)}),v.appendChild(x),{title:n||e&&e.title||document.title,byline:null,excerpt:d[0]||b.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:v.outerHTML,markdown:g,textContent:b,readerMode:!1,contentType:"article",hostAware:!0}}(e);if(o)return o;var i=rt(e),a=function(){var e=[];function r(t){t&&-1===e.indexOf(t)&&e.push(t)}return["article","main","[role='main']",".entry",".entry-body",".entry-body__el",".di-body",".pr.dictionary",".dictionary","#dictionary-entry-1",".definition",".definitions",".sense",".dtText","section","div","td","table"].forEach(function(e){document.querySelectorAll(e).forEach(r)}),document.querySelectorAll("h1, .dtText, .sense, dd, dt, [class*='definition'], [class*='pron'], [itemprop='description']").forEach(function(e){r(e),r(e.closest("article, main, [role='main'], section, div, td, table"))}),document.querySelectorAll("section, div, td, table").forEach(function(e){var n=t(e.textContent||"");n.length<40||n.length>3200||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(n.toLowerCase())&&r(e)}),e}().reduce(function(e,r){var o=function(e){if(!e)return-1/0;var r=n(e);if(r<60||r>14e3)return-1/0;var o=t(e.textContent||""),i=((e.className||"")+" "+(e.id||"")).toLowerCase(),a=e.querySelectorAll("h1, h2, h3").length,l=e.querySelectorAll("dd, dt, dl, [class*='definition'], [class*='sense'], [class*='pron'], [class*='entry'], [class*='meaning']").length,s=e.querySelectorAll("dd, dt, p.desc, dl, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").length,c=Array.prototype.slice.call(e.querySelectorAll("p.desc, dd, .dtText, .definition, [itemprop='description']")).filter(function(e){var r=t(e.textContent||"");return r.length>=40&&r.length<=520&&!it(e)}).length,u=Array.prototype.slice.call(e.querySelectorAll("p, li, dd, div")).filter(function(e){return/^\s*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s+\S/.test(e.textContent||"")}).length,d=e.querySelectorAll("p, li").length,m=e.querySelectorAll("a[href]").length*(s||c?10:16),p=0;return/(definition|dictionary|entry|meaning|sense|glossary|lexicon|pronunciation|ipa)/.test(i)&&(p+=260),/(source|reference|citation|database)/.test(i)&&(s||c)&&(p+=90),/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(o.toLowerCase())&&(p+=220),s>=2&&(p+=180),c>=2&&(p+=260),u>=2&&(p+=120),e.matches&&e.matches("dl, [class*='definition'], [class*='sense'], [class*='entry'], [itemprop='description']")&&(p+=160),e.querySelector("h1")&&(p+=120),it(e)&&(p-=320),/\b(top lookups|word of the day|translation|numerology|citation|browse nearby words)\b/i.test(o)&&(p-=180),/\b(browse nearby words|more from merriam-webster|popular in grammar|popular in wordplay|translation|numerology|citation|quiz)\b/i.test(o)&&(p-=260),r>3500&&(p-=220),r>7e3&&(p-=400),r+80*l+95*s+160*c+18*d+35*a+p-m}(r);return!e||o>e.score?{node:r,score:o}:e},null);if(!a||a.score<260)return i;var l=E(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){it(e)&&e.remove()}),function(e){var r={};e.querySelectorAll("p.desc, dd, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").forEach(function(e){var n=nt(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(l),hi(l);var s=Ei(Uo(l.innerHTML)),c=t(s);if(c.length<40)return i;var u=h(["h1"])||t(e&&e.title||document.title);return u&&!Pe(s,u)&&(s="# "+u+"\n\n"+s),ot(c=t(s=Ei(s)),e)&&i?i:{title:u||e&&e.title||document.title,byline:null,excerpt:c.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:l.innerHTML,markdown:s,textContent:c,readerMode:!1,contentType:"article"}}function lt(e,t,r){if(!r)return!1;var n=r.text+"|"+r.url;return!t[n]&&!t["url:"+r.url]&&(t[n]=!0,t["url:"+r.url]=!0,e.push(r),!0)}function st(e,t){return t.score-e.score||t.text.length-e.text.length}function ct(e,t){return t.score-e.score}function ut(e,r){r=r||{},e=e||document;var n=[],o=r.cardSelectors||[],i=[],a={},l=[],s=r.maxItems||1/0,c=r.minTitleLength||0,u=r.maxTitleLength||1/0,d=!1!==r.dedupe;function m(e){e&&-1===i.indexOf(e)&&(i.push(e),n.push(e))}return"string"==typeof o&&(o=[o]),o.forEach(function(t){Array.prototype.forEach.call(e.querySelectorAll(t),m)}),!o.length&&e.querySelectorAll&&m(e),n.forEach(function(e){if(!(l.length>=s)){var n,o=r.linkBuilder?r.linkBuilder(e):r.linkSelector?e.querySelector(r.linkSelector):null,i=r.candidateBuilder?r.candidateBuilder(e,o):null;if(i){i.text=t(i.text||""),i.url=i.url||"";var m="function"==typeof c?c(i.text):c;!i.text||i.text.length<m||i.text.length>u||(r.allowMissingUrl||i.url)&&(r.rejectCandidate&&r.rejectCandidate(i,e,o)||(void 0===i.detail&&r.detailBuilder&&(i.detail=r.detailBuilder(e,i,o)),n=function(e,t,n){var o;return r.keyBuilder&&(o=r.keyBuilder(e,t,n)),null==o&&(o=[e.text+"|"+(e.url||"")]),Array.isArray(o)||(o=[o]),o.filter(Boolean)}(i,e,o),d&&n.some(function(e){return a[e]})||(d&&n.forEach(function(e){a[e]=!0}),l.push(i))))}}}),l}function dt(e){var r=Array.prototype.slice.call(e.querySelectorAll("tr.athing, tr[data-id][data-url*='/remote-jobs/'], article, li, section, .item, .story, .post, .entry, .news, .headline, .feed-item, [class*='card'], [class*='result'], [class*='teaser'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], [class*='job-card' i], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/'], .structItem, .discussionListItem")),n={},o=[],i=Vt(),a=/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/i.test([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" "));function l(e,t){return e.length<(a?3:18)||/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(e)||/^[\w.-]+\.[a-z]{2,}$/i.test(e)||/(?:^|[?&])(user|from|site|goto)=/i.test(t)||Ut(e,t)||Gt(e)}function s(e,t){var r=Yt(e,t,i);r&&(l(r.text,r.url)||lt(o,n,r))}(r.forEach(function(e){s(function(e){var r=e.querySelector("h1 a[href], h2 a[href], h3 a[href], h4 a[href], a[href] h1, a[href] h2, a[href] h3, a[href] h4");if(r)return r.closest("a[href]")||r;var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return(n=n.filter(function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r&&!Ut(r,e.getAttribute("href")||"")&&!rr(e)&&!rr(e.parentElement)&&!er(e)})).sort(function(e,r){var n=t(e.textContent||e.getAttribute("aria-label")||"");return t(r.textContent||r.getAttribute("aria-label")||"").length-n.length}),n[0]||null}(e),e)}),o.length<5)&&Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent),n=e.getAttribute("href");return!(!n||"#"===n[0])&&(!/^(javascript:|mailto:)/i.test(n)&&(!l(r,n)&&(r.length>=_t(r)&&r.length<=220)))}).forEach(function(e){s(e,e.closest("tr, li, article, section, div")||e.parentElement)});return o.sort(st),o}function mt(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=Vt(),o=["h1 a[href]","h2 a[href]","h3 a[href]","h4 a[href]","article a[href]","section a[href]","[class*='headline'] a[href]","[class*='story'] a[href]","[class*='post'] a[href]","[class*='news'] a[href]","[class*='feed'] a[href]","[class*='teaser'] a[href]","[class*='result'] a[href]"].join(", ");return Array.prototype.forEach.call(e.querySelectorAll(o),function(e){var o=e.closest("article, section, li, div")||e.parentElement;if(!(nr(e)||nr(e.parentElement)||function(e){return Qt(e,nr)}(e))){var i=Yt(e,o,n);i&<(r,t,i)}}),r.sort(ct),r}function pt(e){return(e||[]).reduce(function(e,t,r){var o=Math.max(0,t&&t.score?t.score:n(t&&t.text));return o=Math.min(o,1200),r>=8&&(o=Math.round(o/2)),e+o},0)}function ht(e){var r=E(e);!function(e){R(e),fi(e),gi(e),yi(e),vi(e),e.querySelectorAll("header, footer, nav, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside, form, ul, ol").forEach(function(e){rr(e)&&e.remove()}),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent);r&&!/^skip\s+(to\s+)?/i.test(r)||e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();/^(sign in|log in|login|register|subscribe|newsletter|follow us|follow|join now|create account|my account|account|menu|search)$/i.test(r)&&e.remove()})}(r);var n=dt(r),o=pt(n),i=function(e){var r=[];return e.querySelectorAll("h1, h2, h3, p").forEach(function(e){var n=t(e.textContent);if(n.length>=30&&n.length<=2e3){if(Gt(n)||P(n)||z(n)||Kt(n))return;var o=e.querySelectorAll("a[href]").length,i=n.split(/\s+/).length;if(o<=1||o/i<.3){var a=/^H[123]$/.test(e.tagName)?"## ":"";r.push(a+n)}}}),r.slice(0,8).join("\n\n")}(r),a=mt(e),l=pt(a);(n.length<3&&a.length>n.length||l>o+180)&&(n=a,o=l);var s=ft(n),c=i?i+(s?"\n\n"+s:""):s;return t(c).length<120&&(a.length>n.length||l>o)&&(o=l,s=ft(n=a),c=i?i+(s?"\n\n"+s:""):s),{root:r,items:n,descText:i,markdown:c,score:o+80*n.length+Math.min(i.length,4e3)}}function ft(e){return e.map(function(e){var t=e.url?"- ["+e.text+"]("+e.url+")":"- "+e.text;return e.detail&&(t+=" - "+e.detail),t}).join("\n")}function gt(e){if(!$t(document.body))return null;function r(e,r){var n=[];["[data-testid='company-name']","[data-test='employer-name']","[data-test='location']","[data-testid*='location' i]","[data-test='descSnippet']","[data-testid='belowJobSnippet']"].forEach(function(r){var o=e.querySelector(r),i=t(o&&o.textContent);i&&-1===n.indexOf(i)&&n.push(i)}),n.length||n.push(t(e.textContent||"").replace(r,""));var o=t(n.join(" - ")).replace(r,"");return(o=o.replace(/\s*\{\"@context\".*$/i,"")).length>220&&(o=o.slice(0,217).replace(/\s+\S*$/,"")+"..."),o}var n=ut(document,{cardSelectors:"[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']",linkBuilder:function(e){return e.querySelector("a[data-test='job-title'], a[id*='job-title' i], a[href*='/job-listing/'], a[href*='/remote-jobs/'], a[href*='/viewjob'], a[href*='/rc/clk'], a[href*='jk='], a[href*='jl=']")},allowMissingUrl:!0,minTitleLength:_t,maxTitleLength:220,maxItems:18,keyBuilder:function(e){return e.text+"|"+e.url},candidateBuilder:function(e,n){var i=function(e,r){var n=t(e.getAttribute("data-company")||""),o=t(e.getAttribute("data-search")||"").replace(/\s*\[.*$/i,"");n&&0===o.indexOf(n)&&(o=t(o.slice(n.length)));var i=[o,t(r&&(r.textContent||r.getAttribute("aria-label"))),t((e.querySelector("[data-test='job-title'], [data-testid*='jobTitle' i], h2, h3")||{}).textContent||"")].map(function(e){return t(e||"").replace(/\s*-?\s*\{\"@context\".*$/i,"")}).filter(Boolean);return i.sort(function(e,t){return t.length-e.length}),i[0]||""}(e,n),a=function(e,t){var r=t&&t.getAttribute("href");return(r=r||e.getAttribute("data-href")||e.getAttribute("data-url")||"")?o(r):""}(e,n);return{text:i,url:a,detail:r(e,i)}}});if(n.length<4)return null;var i=ft(n);return k(e,{excerpt:n[0].text,textContent:i,markdown:i,items:n})}var yt=null;function bt(e){return null==e?"":Array.isArray(e)?bt(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function vt(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function wt(e,t){if(e=bt(e).replace(/\s+/g,""),t=bt(t).toUpperCase(),!e)return"";var r=e.match(/[$€£]\s?\d[\d,]*(?:\.\d{2})?/);return r?r[0].replace(/([$€£])\s+/g,"$1"):/^\d[\d,.]*$/.test(e)?"USD"===t?"$"+e:"EUR"===t?"€"+e:"GBP"===t?"£"+e:t?e+" "+t:e:""}function xt(e){return b(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function St(e,r){var n=function(){if(yt)return yt;var e=[];return c().forEach(function r(n){if(n&&"object"==typeof n)if(Array.isArray(n))n.forEach(r);else{var o=n["@type"]||n.type;(Array.isArray(o)?o:[o]).some(function(e){return/^(product|book)$/i.test(t(e))})&&e.push(n),n["@graph"]&&r(n["@graph"]),n.itemListElement&&r(n.itemListElement),n.item&&r(n.item)}}),yt=e,e}().find(function(n){return function(e,r,n){var i=bt(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),l=vt(e),s=bt(e&&e.url||l&&l.url),c=s?o(s):"";return!(!n||!c||c.replace(/[#?].*$/,"")!==n.replace(/[#?].*$/,""))||!(!i||!a||i!==a&&-1===i.indexOf(a)&&-1===a.indexOf(i))}(n,e,r)});if(!n)return[];var i=vt(n),a=n.aggregateRating||n.reviewRating,l=[],s=wt(i&&(i.price||i.priceSpecification&&i.priceSpecification.price),i&&(i.priceCurrency||i.priceSpecification&&i.priceSpecification.priceCurrency)),u=bt(i&&i.availability),d=bt(a&&a.ratingValue),m=bt(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),d&&l.push(kt(d,m)),u&&l.push(xt(u)),l}function kt(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function At(e){var n,i=[];["main","[role='main']",".products",".product-grid",".product-list",".search-results",".category",".collection","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=r([location.pathname||"",location.search||"",e&&e.title||document.title].join(" ")).toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(shop|store|products?|items?|brand|brands|category|categories|search|results|sale|gift|sets|perfume|perfumes|fragrance|fragrances|cologne|women|men|unisex)$/i.test(e)}),l=[];function s(e){try{var t=new URL(e,location.href);return(t.origin+t.pathname).toLowerCase()}catch(t){return String(e||"").toLowerCase()}}function c(e){return e=e.toLowerCase(),a.some(function(t){return-1!==e.indexOf(t)})}function u(e){var r=e.querySelector("img[alt], img[title]"),n=o(e.getAttribute("href")),i=e.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement;i===e&&e.parentElement&&(i=e.parentElement.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement);var u=[],d=[t(e.textContent||""),t(e.getAttribute("aria-label")||""),t(r&&(r.getAttribute("alt")||r.getAttribute("title")))];i&&n&&Array.prototype.forEach.call(i.querySelectorAll("a[href][class*='title' i], [class*='title' i] a[href]"),function(e){s(o(e.getAttribute("href")))===s(n)&&u.push(t(e.textContent||e.getAttribute("aria-label")||""))}),u.length&&(d=u),d.sort(function(e,t){return t.length-e.length});var m,p=d[0]||"";if(!n||!p||p.length<6||p.length>140)return null;if(/^\(\d+\)\s+/.test(m=p)||/^(top sellers|new arrivals|product|brand name|review count|star rating|sort by|view all|more options(?: from .*)?|privacy policy|my privacy choices|sign in|order status|shipping info|fragrances|see all fragrances|perfume|bath & body|gift sets|unboxed\/testers|perfume samples|cologne|samples|cologne samples|women'?s perfume|men'?s cologne|0 items in your bag|0 0 items in your bag|request it|become a fragrancenet\.com vip|powered by onetrust opens in a new tab)$/i.test(m)||/\(designer\)$/i.test(m))return null;if(/(sort|filter|review|rating|privacy|cookie|onetrust)/i.test(n)&&p.length<32)return null;if(n===location.href||/^(javascript:|mailto:)/i.test(n))return null;var h="";try{h=new URL(n,location.href).pathname}catch(e){return null}var f=/(\/product|\/perfume|\/cologne|\/dp\/|\/itm\/|\/pdp\/|\/shop\/products\/|\/p\/(?!pl(?:\/|$)))/i.test(h),g=t(i&&[i.getAttribute("id"),i.getAttribute("class"),i.getAttribute("data-testid"),i.getAttribute("data-hb-id"),i.getAttribute("itemtype")].join(" ")),y=/(product|item-cell|item-container|schema\.org\/Product)/i.test(g);if(!f&&!y)return null;if(l.length&&!function(e){return e=e.toLowerCase(),l.some(function(t){return-1!==e.indexOf(t)})}(p))return null;if(a.length&&It()&&!c(p))return null;var b=function(e,r,n){if(!e)return"";var o=t(e.textContent||""),i=St(r,n);function a(e){(e=t(e))&&-1===i.indexOf(e)&&i.push(e)}function l(r){var n=e.querySelector(r);return t(n&&(n.getAttribute("content")||n.getAttribute("href")||n.getAttribute("aria-label")||n.textContent))}var s=wt(l("[itemprop='price'], meta[itemprop='price'][content], [class*='price' i], [data-testid*='price' i], [aria-label*='price' i]"),l("[itemprop='priceCurrency'], meta[itemprop='priceCurrency'][content]"));s&&a(s),(o.match(/([$€£]\s?\d[\d,.]*(?:\.\d{2})?)/g)||[]).slice(0,2).forEach(function(e){-1===i.indexOf(e)&&i.push(e)});var c=l("[itemprop='ratingValue'], meta[itemprop='ratingValue'][content]"),u=l("[itemprop='reviewCount'], [itemprop='ratingCount'], meta[itemprop='reviewCount'][content], meta[itemprop='ratingCount'][content]");c&&/^\d(?:\.\d+)?$/.test(c)&&a(kt(c,u));var d=e.querySelector("[aria-label*='out of 5' i], [class*='rating' i], [class*='stars' i]"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=m.match(/\b(\d(?:\.\d+)?)\s*(?:out of|\/)\s*5\b/i)||o.match(/\b(\d(?:\.\d+)?)\s*out of\s*5\s*stars?\b/i);if(p){var h=(m+" "+o).match(/\b([\d,]+)\s*(?:reviews?|ratings?)\b/i);a(kt(p[1],h&&h[1]))}var f=l("[itemprop='availability'], link[itemprop='availability'][href], meta[itemprop='availability'][content], [class*='stock' i], [class*='availability' i], [data-testid*='availability' i]");if(!f){var g=o.match(/\b(in stock|out of stock|sold out|available now|currently unavailable|unavailable|pre-?order|backordered|request it)\b/i);f=g&&g[0]}return f&&a(xt(f)),[/\bfree shipping\b/i].forEach(function(e){var t=o.match(e);t&&a(t[0])}),i.filter(Boolean).join(" - ")}(i,p,n);return c(p)||f||y?{text:p,url:n,detail:b}:null}function d(e,t,r){return ut(e,{cardSelectors:"a[href]",allowMissingUrl:!1,dedupe:t,maxItems:r,keyBuilder:function(e){return[e.text+"|"+e.url,"url:"+e.url,"product:"+s(e.url)]},candidateBuilder:function(e){return u(e)}})}new URLSearchParams(location.search||"").forEach(function(e,t){/^(q|query|search|searchtext|keyword|k|d)$/i.test(t||"")&&r(e||"").toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).forEach(function(e){e.length>=3&&-1===l.indexOf(e)&&l.push(e)})});var m=i.reduce(function(e,t){var r=d(t,!1).length;return!e||r>e.score?{node:t,score:r}:e},null);return!m||m.score<4||(n=d(m.node,!0,15)).length<4?null:k(e,{excerpt:n[0].text,items:n})}function qt(e){var r=[];function i(e){e&&-1===r.indexOf(e)&&r.push(e)}i(function(e){var r=Vt(e),i=[];["main","[role='main']",".itemlist","table","ol","ul",".posts",".stories",".items",".news",".feed",".headlines",".view-case-listing","[class*='case-listing' i]","[class*='record-listing' i]","[class*='news']","[class*='feed']","[class*='headline']",".threads",".topic-list",".forumlist",".discussionList","[class*='threadlist']","[class*='thread-list']","[class*='topic-list']","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){i.push(e)})});var a=i.reduce(function(e,i){var a=function(e,r){if(rr(e)||Jt(e))return-1/0;var i=e.querySelectorAll("a[href]").length,a=e.querySelectorAll("li, tr, article, section").length,l=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic'], .structItem, .discussionListItem").length,s=e.querySelectorAll("h2, h3, h4").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&!Ut(r,e.getAttribute("href")||"")&&!rr(e.parentElement)&&!rr(e.closest("div, section, article, li"))}).length,u=n(e);if(c<4||u<120)return-1/0;if(/copyright|all rights reserved|privacy policy|terms of use/i.test(t(e.textContent||""))&&s<2)return-1/0;var d=0;r&&(r.sectionFragments.length||r.keywords.length)&&Array.prototype.slice.call(e.querySelectorAll("a[href]"),0,80).forEach(function(e){var n=t(e.textContent||e.getAttribute("aria-label")||"");if(!(n.length<_t(n))){var i=o(e.getAttribute("href"));if(i){var a=Xt(n,i,"",r);d+=140*a.sectionMatches+30*a.keywordMatches}}});return 10*i+30*c+20*a+45*l+20*s+d-Math.round(u/40)}(i,r);return!e||a>e.score?{node:i,score:a}:e},null);return a&&a.score>-1/0?a.node:document.body}(e)),function(e){var t=Vt(e),r=[];if(!t.sectionFragments.length&&!t.keywords.length)return r;function o(e){if(e&&e!==document.body&&e!==document.documentElement&&-1===r.indexOf(e)&&!rr(e)&&!Jt(e)){var t=e.querySelectorAll("a[href]").length;t<3||t>250||n(e)<140||r.push(e)}}return Array.prototype.forEach.call(document.querySelectorAll("a[href]"),function(e){var r=e.closest("article, section, div, li, ul, ol, main")||e.parentElement,n=Yt(e,r,t);if(n&&!(n.score<260))for(var i=r,a=0;i&&a<4&&(o(i),!i.matches||!i.matches("main, [role='main']"));)i=i.parentElement,a+=1}),r}(e).forEach(i),i(document.querySelector("main, [role='main']")),i(document.body);var a=r.reduce(function(e,t){var r=ht(t);return!e||r.score>e.score?r:e},null)||ht(document.body);return k(e,{title:e.title||document.title,excerpt:a.items[0]?a.items[0].text:e.excerpt,html:a.root.innerHTML,textContent:a.markdown,markdown:a.markdown,items:a.items})}function Ct(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function _t(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function Tt(e,r){var n=t(e&&e.textContent).replace(t(r),"").replace(/\s*[|·]\s*/g," - ");return t(n=n.replace(/Only include results for this site.*$/i,"").replace(/This search result is provided by Google Learn more Report result/gi,"").replace(/Learn more Report result/gi,"").replace(/Report Ad/gi,"").replace(/\bhttps?:\/\/\S+/gi,"").replace(/\s{2,}/g," "))}function Et(e,r){if((r=r||{}).prepareMetadata&&r.prepareMetadata(e),r.pathAllowed&&!r.pathAllowed())return null;var n={},i=[],a=r.maxItems||18,l=r.minItems||4,s=r.minTitleLength||18,c=r.maxTitleLength||220,u=r.detailMaxLength||180,d=r.linkSelector||"a[href]",m=r.cardSelector||"article, section, li, div";if(document.querySelectorAll(d).forEach(function(e){if(!(i.length>=a||r.excludeClosest&&e.closest(r.excludeClosest))){var l=e.getAttribute("href")||"",d=o(l);if(d&&!n[d]&&(!r.acceptLink||r.acceptLink(l,d,e))){var p=r.titleBuilder?r.titleBuilder(e):Ct(e);if(r.transformTitle&&(p=r.transformTitle(p,e)),!function(e){return!e||e.length<s||e.length>c||!!r.rejectTitle&&("function"==typeof r.rejectTitle?r.rejectTitle(e):r.rejectTitle.test(e))}(p=t(p||""))){var h=Tt(e.closest(m)||e.parentElement,p);h.length>u&&(h=""),n[d]=!0,i.push({text:p,url:d,detail:h})}}}}),i.length<l)return null;var p=S({title:r.title||e&&e.title||document.title||r.defaultTitle,excerpt:e&&e.excerpt,siteName:e&&e.siteName||r.siteName||location.hostname,items:i});return r.hostAware&&(p.hostAware=!0),r.statusPage&&(p.statusPage=!0),p}function jt(e,t){return!0===e||!1!==e&&("function"==typeof e?e(t):q(e))}function Lt(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||Ot())return!1;var n=t([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" ")).toLowerCase();if(!/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/.test(n))return!1;var o=ut(e,{cardSelectors:".card, [class*='case-card' i], [class*='record-card' i], [class*='result-card' i], article, li",allowMissingUrl:!0,dedupe:!1,minTitleLength:3,maxTitleLength:180,linkBuilder:function(e){return e.querySelector(".card-header, h2, h3, h4, a[href]")},candidateBuilder:function(e,r){var n=t(e.textContent||"");return/\b(?:case|defendant|prosecutor|trial|charges?|warrant|summons|custody|convicted|acquitted|closed|at large|court|record|docket|matter)\b/i.test(n)?{text:t((r||{}).textContent||"")}:null}}),i=e.querySelectorAll("form, [class*='filter' i], [class*='facet' i], [class*='exposed' i], [class*='search' i]").length,a=/\b\d{1,4}\s+(?:cases?|defendants?|records?|matters?|results?)\b/i.test(r);return o.length>=4&&(i>=1||a)}function $t(e){if(!(e=e||document.body)||Ot())return!1;var r=t([location.pathname,location.search,document.title].join(" ")).toLowerCase();if(!/(\bjobs?\b|employment|careers?|jobsearch|job-list|job results?|hiring|remote-[a-z0-9+-]+-jobs|q-[a-z0-9-]+-jobs)/i.test(r))return!1;var n=e.querySelectorAll("[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']").length,o=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<_t(n)||n.length>220)&&/(\/job-listing\/|\/remote-jobs\/|\/viewjob\b|\/rc\/clk\b|[?&](?:jk|jl)=)/i.test(r)}).length;return n>=4||o>=4}function Pt(e){var r=Wt(),n=[];return Array.prototype.forEach.call(e.querySelectorAll("a[href]"),function(e){var i,a=t(e.textContent||e.getAttribute("aria-label")||""),l=o(e.getAttribute("href"));if(!(a.length<_t(a)||a.length>220||Ut(a,l||""))&&l){try{i=new URL(l,location.href)}catch(e){return}i.origin===location.origin&&i.origin+i.pathname!==r&&Dt(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname)}}),n.length}function zt(e,n){if(!e||Ot())return!1;if(Mt(null,e)||Bt(null,e))return!1;if(function(e){var n=t(e||"");if(n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),a=(String(e||"").match(/^\s*[-*]\s+(?:\[[^\]]+\]\([^)]*\)|(?:\d+[A-Z]?\.|Article\s+\d+|Schedule\s+\d+))/gim)||[]).length,l=String(e||"").split(/\n+/).filter(function(e){var r=t(e).replace(/^[-*#\s]+/,"");return r.length>=160&&!/^\[[^\]]+\]\(/.test(r)}).length;return i&&a>=6&&l<4}(e))return!0;if(!Ft()&&!It())return!1;if(t(n&&(n.byline||n.publishedTime)))return!1;var o=String(e).split(/\n+/),i=o.filter(function(e){return/^\s*(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/.test(e)||/^\s*(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/.test(e)}).length,a=(String(e).match(/(?:^|\s)(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/g)||[]).length+(String(e).match(/(?:^|\s)(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/g)||[]).length,l=o.filter(function(e){var r=t(e).replace(/^#+\s*/,"");return!(!r||r.length<160)&&!/^\s*(?:(?:\d+\.|[-*])\s+)?#{0,4}\s*\[[^\]]+\]\(/.test(e)}).length;return function(e){var t,r=[],n=/\[[^\]]{8,220}\]\(([^\s)]+)\)|https?:\/\/[^\s)]+/g;for(;t=n.exec(String(e||""));){var o,i=t[1]||t[0];try{o=new URL(i,location.href)}catch(e){continue}o.origin===location.origin&&o.origin+o.pathname!==Wt()&&(Dt(o.pathname)&&-1===r.indexOf(o.origin+o.pathname)&&r.push(o.origin+o.pathname))}return r.length}(e)>=6||Math.max(i,a)>=4&&l<5}function Nt(e){return e&&(e.contentType="list"),e}function Rt(e){if(!e||"article"!==e.contentType)return!1;var r=(location.pathname||"").toLowerCase();if("/"===r||""===r||/^\/(index|default|home)\b/i.test(r)||/^\/\d+(,\d+)*\.html?$/i.test(r))return!1;var n=document.createElement("div");n.innerHTML=e.html||"";var o=t(n.textContent||e.textContent||""),i=n.querySelectorAll("p").length,a=n.querySelectorAll("h1, h2, h3").length,l=(e.markdown||"").match(/^\s*- \[/gm)||[],s=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),c=o.length>0?s/o.length:0,u=Ot();return!Ht(n,o)&&(!(!Mt(n,o)&&!Bt(n,o))||(!Ft()&&o.length>=280&&c<.5||!(Ft()&&c>.5)&&(!(Ft()&&a>=5&&a>=.6*i)&&(!(o.length<280)&&(!(i<3&&a<1&&!u)&&(!(l.length>=8&&i<5)&&(!(c>.33&&i<6)&&(u&&o.length>=280&&c<.5||i>=5||e.readerMode&&i>=3&&c<.28))))))))}function Mt(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=0;if(/\b(?:high court|supreme court|court of appeal|federal court|district court|court of justice|tribunal)\b/i.test(r)&&(n+=1),/\b(?:judg(?:e)?ment|opinion of the court|reasons for judgment|delivered by|per curiam)\b/i.test(r)&&(n+=1),/\b(?:appellant|respondent|plaintiff|defendant|petitioner|counsel|solicitor|amicus|certiorari)\b/i.test(r)&&(n+=1),/\b[A-Z][A-Za-z'.-]+\s+v\.?\s+[A-Z][A-Za-z'.-]+\b/.test(r)&&(n+=1),/\[[12][0-9]{3}\]\s+[A-Z][A-Z0-9.]{1,12}\s+\d+|\([12][0-9]{3}\)\s+\d+\s+[A-Z][A-Z0-9.]{1,12}\s+\d+/i.test(r)&&(n+=1),n<3)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0,i=(r.match(/[.;:]\s+[A-Z][a-z]{2,}/g)||[]).length;return o>=5||i>=35||r.length>=2e4}function Bt(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=Ze({root:e,text:r,title:document.title||"",path:location.pathname||""});if(!n.legalTitle||n.provisionMarkers<8)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, td, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0;return n.structuralMarkers>=3||n.legalTerms||o>=8||r.length>=2e4}function Ht(e,n){if(e=e||document.body,n=t(n||e&&e.textContent||""),!e||n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")),a=t([o,i,n.slice(0,1200)].join(" ")).toLowerCase(),l=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),s=e.querySelector(".LegContents, .LegContentsEntry, [class*='contents' i], [id*='contents' i], [aria-label*='contents' i]"),c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return/\/(?:section|article|schedule|part|chapter)\/[^\s#?]+/i.test(r)||/\b(?:section|article|schedule|part|chapter)\s+(?:\d+[a-z]?|[ivxlcdm]+)\b/i.test(n)}).length,u=Array.prototype.filter.call(e.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=160}).length;return!!(l||s||/\b(?:table of contents|contents|collapse all)\b/i.test(a))&&(!!/\b(?:act|code|law|regulation|ordinance|statute|legislation|convention|treaty|schedule)\b/i.test(a)&&(c>=6&&u<4))}function Ft(){var e=(location.pathname||"").toLowerCase(),t=e.split("/").filter(Boolean),r=t[t.length-1]||"";return!t.length||(!(!/^\/(index|default|home)\b/i.test(e)&&!/^\/\d+(,\d+)*\.html?$/i.test(e))||(!!/\/(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|notizie|calciomercato|mercato|forums?|boards?|community|discussions?|threads)\/?$/.test(e)||t.length<=2&&!/\d{4}[-/]\d{2}[-/]\d{2}/.test(e)&&!/-/.test(r)&&!/\.(html?|php|aspx?|jsp|shtml)$/i.test(r)))}function It(){var e=(location.pathname||"").toLowerCase(),t=(location.search||"").toLowerCase();return/(?:^|[?&])(q|query|search|searchtext|keyword|k)=/.test(t)||/\/(search|s|shop|browse|category|categories|collections?|catalog|keyword|wholesale|products?|jobs?)\b/.test(e)||/\b(category|categories|collection|catalog|search results?|shop|jobs?\s+(?:in|matching|for)|job results?)\b/i.test(document.title||"")}function Ot(){return/\/(20\d{2}|\d{4}\/\d{2}\/\d{2}|article|articles|blog|blogs|column|columns|archive|archives|news\/[\w-]+|entry|entries|post|posts|view\/[A-Z]{3}\d{15,}|\d{5,}[\w-]*\.html?)\b/i.test(location.pathname||"")}function Dt(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function Ut(e,t){return/^(privacy|cookies?|terms|chi siamo|about us|contact|contatti|redazione|advertising|newsletter|subscribe|login|sign in|register|cookie settings|manage preferences)$/i.test(e)||/\/(privacy|cookie|cookies|terms|about|contatti|contact|redazione|login|register)\b/i.test(t||"")}function Wt(){return location.origin+location.pathname}function Zt(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function Vt(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=Zt((e.siteName||location.hostname||"").replace(/^www\./i,"")),o=/^(latest|news|article|articles|articlelist|story|stories|home|homepage|index|default|today|more|page|pages|section|sections|category|categories|topic|topics|read|view|photo|photos|video|videos|gallery|galleries|live|blog|blogs|web|english|telugu|samayam|newsweb|edition)$/,i=Zt([location.pathname||"",e.title||"",document.title||"",t?t.textContent:""].join(" ")).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!o.test(e)&&-1===n.indexOf(e)}),a=[];i.forEach(function(e){-1===a.indexOf(e)&&a.length<12&&a.push(e)});var l=[];return(location.pathname||"").split("/").filter(Boolean).forEach(function(e){var t=r(e||"").toLowerCase();!t||/^\d/.test(t)||/\.(html?|php|aspx?|jsp|cms)$/i.test(t)||/^(news|latest-news|latest|articlelist|articles?|read|view|topic|topics|section|sections|home|index|default|world|india-news|international-news|english|telugu)$/.test(t)||-1===l.indexOf(t)&&l.push(t)}),{currentUrl:Wt(),keywords:a,sectionFragments:l.slice(0,4)}}function Gt(e){return!!(e=t(e||"").toLowerCase())&&(/(trending topics|latest videos|latest photos|లేటెస్ట్ వీడియోలు|లేటెస్ట్ ఫోటోలు|video gallery|photo gallery|web stories|most read|best gelezen|newsletter|subscribe|abonneren|log in|login|sign in|register|create account|maak een account|u bent niet|settings|instellingen|tip ons|nieuwstip|belangrijke informatie delen|copyright|all rights reserved|privacy preference center|manage cookie preferences|manage consent preferences|manage privacy preferences|your privacy settings|your privacy choices|cookie list|cookie information|list of partners \(vendors\)|this website uses cookies|by accepting cookies|cookie declaration last updated|consent id|change your consent|your current state|vsak dan|poglej več|mark forums? read|forum statistics|members online|who is online|users browsing|forum rules|new posts since last visit|currently active users|forum contains no new|board statistics|mark all forums? read|what's going on|users online|active threads|active users)/i.test(e)||/\b\d{1,2}\.\d{2}\b/.test(e)&&/(vsak dan|sezona|oddaja|epizoda|premiera)/i.test(e))}function Kt(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]( næsta s[óo]larhring)?|weather forecast|uppl[ýy]singar um ve[ðd]ur)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=3)}function Jt(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"").slice(0,280);return/(trending|popular|most-read|mostread|video|videos|photo|photos|gallery|galleries|web.?stor|newsletter|subscribe|social|share|follow|language|edition|top[_-]?nav|secondary-navbar|first-level-menu|second-level-menu|header-menu|side-nav|top-trending|wdt-trending|recommended|related|login|signup|register|account|forum[_-]?stats|online[_-]?users|who[_-]?is[_-]?online|board[_-]?stats|members[_-]?online|active[_-]?users|forum[_-]?rules|quick[_-]?reply|new[_-]?thread|moderator[_-]?panel|subforum[_-]?list)/.test(r)||Gt(n)}function Xt(e,t,r,n){var o="",i=(e+" "+(r||"")).toLowerCase(),a=0,l=0;try{o=new URL(t,location.href).pathname.toLowerCase()}catch(e){o=""}return n.keywords.forEach(function(e){-1!==(i+" "+o).indexOf(e)&&(a+=1)}),n.sectionFragments.forEach(function(e){-1!==o.indexOf(e)&&(l+=1)}),{path:o,keywordMatches:a,sectionMatches:l}}function Yt(e,r,n){if(!e)return null;var i=e.getAttribute("href"),a=e.querySelector("h1, h2, h3, h4"),l=t(a&&a.textContent||e.textContent||e.getAttribute("aria-label")||""),s="",c=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);if(!i||"#"===i[0]||/^(javascript:|mailto:)/i.test(i))return null;if(l.length<_t(l)||l.length>220)return null;var u=o(i);if(!u)return null;try{s=new URL(u,location.href).pathname}catch(e){return null}if(location.origin+s===n.currentUrl)return null;if(/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(l))return null;if(/\/(subscribe|subscription|abonnement|login|register|newsletter|account|instellingen|settings)\b/i.test(u))return null;if(/\/(privacycontrols?|privacy|cookies?|consent)\b/i.test(u)&&l.length<80)return null;if(Ut(l,i)||rr(e)||rr(e.parentElement)||er(e))return null;var d=e.querySelector("h1, h2, h3, h4, p")?e:r,m=t(d&&d.textContent||"").replace(l,"").replace(/\s*[|·]\s*/g," - ");if((m=m.replace(/\b(last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)\b/gi,"").replace(/\s{2,}/g," ").trim()).length>420&&(m=m.slice(0,417).replace(/\s+\S*$/,"")+"..."),!c&&/\/(ve[ðd]ur|vedur|forecast|weather|spastod)\b/i.test(u)&&Kt(l+" "+m))return null;if(/\/(tv|spored)\//i.test(u)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(l+" "+m)||/\b\d{1,2}\.\d{2}\b/.test(l+" "+m)))return null;var p=function(e,r,n,o,i){if(!r)return-1/0;var a=e.length,l=Xt(e,r,n,i),s=l.path;if(location.origin+s===i.currentUrl)return-1/0;o&&o.matches("article, section, li")&&(a+=120);var c=o&&o.querySelector("h1, h2, h3, h4");return c&&t(c.textContent||"")===e&&(a+=180),a+=70*l.keywordMatches,a+=220*l.sectionMatches,(Jt(o)||Jt(o&&o.parentElement))&&(a-=260),(Gt(e)||Gt(n))&&(a-=220),a}(l,u,m,r||e.parentElement,n);return p===-1/0?null:{text:l,url:u,detail:m,score:p}}function Qt(e,t){for(var r=e&&e.parentElement;r&&r!==document.body;){if(r.matches&&r.matches("article, li, main, [role='main']"))return null;if(r.matches&&r.matches("header")&&e.closest("article, section, main, [role='main']"))r=r.parentElement;else{if(t(r))return r;r=r.parentElement}}return null}function er(e){return Qt(e,rr)}function tr(e,r){if(!e||1!==e.nodeType)return!1;if(e.matches("nav, header, footer, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']"))return!0;var n=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase();return!!n&&(!/(news|headline|story|article|post|feed|stream|content|result|listing|archive|topic|thread|discussion|feature)/.test(n)&&(r?/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer|utility|meta|social|share|follow|account|login|signup|register)/.test(n):/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer)/.test(n)))}function rr(e){return tr(e,!0)}function nr(e){return tr(e,!1)}function or(e,r,n,i,a){if(!(e.length>=12)){n=t(n);var l=i;if(i=function(e){try{var t=new URL(e,location.href);["uddg","u","u3","r","rut","ad_domain"].forEach(function(r){var n=t.searchParams.get(r);n&&/^https?:/i.test(decodeURIComponent(n))&&(e=decodeURIComponent(n))})}catch(e){}return o(e)}(i),a=t(a),i&&n&&!(n.length<8||n.length>180)&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more)$/i.test(n)&&!/^(javascript:|mailto:)/i.test(i)&&function(e){try{var t=new URL(e,location.href);return t.hostname===location.hostname?/^\/(url|imgres|search|ck\/a|y\.js|l\/.+|aclick)/.test(t.pathname)||"/"===t.pathname:/^https?:/.test(t.protocol)}catch(e){return!1}}(i)&&!function(e,t,r,n){var o=(e+" "+t).toLowerCase();return/\bad\b|sponsored|report ad/.test(o)||/[?&](ad_|ad=|ad_domain=)/i.test(r)||/(?:^|\/)y\.js\?/i.test(n||"")}(n,a,i,l)){var s=n+"|"+i;r[s]||(r[s]=!0,e.push({text:n,url:i,detail:a}))}}}function ir(){return function(){var e,r=document.getElementById("__NEXT_DATA__");if(!r)return null;try{e=JSON.parse(r.textContent)}catch(e){return null}if(!e||!e.props)return null;var n=e.props.pageProps||e.props;if(!n)return null;var o=[],i=null;if(function e(t,r){if(!(r>8)&&t)if("string"!=typeof t){if(Array.isArray(t))for(var n=0;n<Math.min(t.length,200);n++)e(t[n],r+1);else if("object"==typeof t){for(var a=["content","body","markdown","html","description","text","article","post","doc","page","rawBody","compiledSource"],l=0;l<a.length;l++){var s=a[l];t[s]&&"string"==typeof t[s]&&t[s].trim().length>100&&o.push(t[s].trim())}if(!i)for(var c=["title","name","heading"],u=0;u<c.length;u++)if(t[c[u]]&&"string"==typeof t[c[u]]&&t[c[u]].trim().length>2){i=t[c[u]].trim();break}for(var d=Object.keys(t),m=0;m<Math.min(d.length,50);m++)e(t[d[m]],r+1)}}else{var p=t.trim();p.length>80&&o.push(p)}}(n,0),0===o.length)return null;var a,l,s,c=o.reduce(function(e,t){return e.length>=t.length?e:t});if(c.length<200)return null;if(/<[a-z][^>]*>/i.test(c)&&/<\/[a-z]+>/i.test(c)){l=c;var u=document.createElement("div");u.innerHTML=c,hi(u),s=t(u.textContent),a=null}else l=null,s=t(c),a=c;return{title:i||document.title,byline:null,excerpt:s?s.slice(0,280):null,siteName:location.hostname,publishedTime:null,html:l,textContent:s||c,markdown:a,contentType:"article",spaFallback:!0}}()}window.newsHomepageListProfiles=window.newsHomepageListProfiles||[],window.registerNewsHomepageListProfile=function(e,t){newsHomepageListProfiles.push({condition:e,config:t})},window.hostAwareProfiles=window.hostAwareProfiles||[],window.hostAwareProfiles.push({condition:!0,fn:function(e){for(var t=0;t<newsHomepageListProfiles.length;t+=1){var r=newsHomepageListProfiles[t];if(jt(r.condition,e)){var n=Et(e,"function"==typeof r.config?r.config(e):r.config);if(n)return n}}return null}});var ar="cookie|cookies|cookie settings|we use cookies|we use cookies and data|accept all cookies|accept all|reject all|reject optional cookies|reject optional|more options|cookie preferences|let us know your cookie preferences|allow the use of cookies|cookies from other companies|essential cookies|cookie notice|use cookies and similar technologies|manage cookie preferences|manage cookies|manage your privacy settings|privacy choices|personalize advertising|personalized content|welcome we and our .+ partners? wish to store|about your privacy|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|trusted third party|browsing history|device identifiers|personal data|preferences|consent|manage consent|advertising cookies|strictly necessary|social media cookies|legitimate interest|pliki cookie|ustawienia prywatności|polityka prywatności|prywatności|datenschutz|données personnelles|datos personales|dati personali|utilizamos cookies|utilizziamo i cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|cookieプリファレンスセンター|Cookie設定|クッキー設定|同意設定|同意の優先設定|すべて受け入れる|すべて許可|同意|受け入れる|쿠키|쿠키 설정|개인정보 설정|동의|모두 허용|허용|全部接受|接受全部|cookie 偏好设置|隐私设置|接受|隐私|файлы cookie|настройки cookie|принять все|принять|we gebruiken cookies|nastavení souhlasu|nastaveni cookies|souhlas s personalizací|souhlas|personalizac|soukromí|soubory cookie|sutikmeny|vi bruger cookies|vi använder cookies|vi anvander kakor|kakor|sekretess|samtycke|samtykke|informasjonskapsler|vi bruker informasjonskapsler|personvern|personverninnstillinger|dine personverninnstillinger|ditt personvern|dine data|aller media|aller media er ansvarlig for dine data|privatlivs|galetes|protecció de dades|protecció|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|приватности|evästeet|evasteasetukset|evästeasetukset|evästeitä|kaytamme evasteita|käytämme evästeitä|hyväksy evästeet|tietosuoja|slapukai|slapuku nustatymai|slapukų nustatymai|naudojame slapukus|slapukų|slapukus|колачиња|приватност|поставки за колачиња|cookie-uri|confidențialitate|utilizăm cookie-uri|siklapuku iestatijumi|sīkdatnes|sīkdatņu iestatījumi|sīkdatņu|sīkfailus|izmantojam siklapukus|izmantojam sīkdatnes|privātums|privātuma iestatījumi|privātuma|sütiket|süti beállítások|süti|adatvédelem|adatvédelmi beállítások|adatvédelmi|o vašoj privatnosti|o vašoj privatnosti|пристанак|колачић|подешавања приватности|before you continue|before you continue to (google|youtube)|privacy gate|jouw privacy-instellingen|cookie-indstillinger|siklapuku iestatijumi";function lr(e){return new RegExp(ar,e||"")}function sr(e){return new RegExp("^(?:"+ar+")",e||"")}function cr(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function ur(e){return/(this page explains|this is an experiment|example page|demonstrate a webauthn-based interactive challenge|not part of cloudflare challenge production code)/i.test(e||"")}function dr(e,r,n){var o=t(e.title||document.title),i=t(r||"");return function(e,t){return/making sure you're not a bot!?/i.test((e=e||"")+" "+(t=t||""))||/protected by anubis/i.test(t)&&/(enable javascript to get past this challenge|please wait a moment while we ensure the security of your connection|loading)/i.test(t)}(o,i)?"anubis":function(e,r,n){e=e||"",r=r||"";var o=cr(n),i=!r||t(r).length<80;return/datadome captcha/i.test(e+" "+r)||i&&/(captcha-delivery\.com|datadome captcha|\bvar dd=)/i.test(o)}(o,i,n)?"datadome":function(e,r,n){e=e||"",r=r||"";var o=cr(n),i=!r||t(r).length<120;return!ur(r)&&(/attention required! \| cloudflare/i.test(e)||(/just a moment/i.test(e)||/verify you are human|checking your browser|performing security verification|verification successful\. waiting for .* to respond|reviewing the security of your connection before proceeding|please enable javascript and cookies to continue|security service to protect/i.test(r))&&!/this page explains/i.test(r)||(/turnstile/i.test(e)||/turnstile/i.test(r))&&/managed challenge|interactive challenge/i.test(r)&&!ur(r)||i&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(o)&&!ur(o))}(o,i,n)?"cloudflare":null}function mr(e,r){if("anubis"===e)return"Making sure you're not a bot!";var n=function(e){for(var r=[location.hostname,e&&e.siteName,e&&e.title],n=0;n<r.length;n+=1){var o=t(r[n]||"").replace(/^www\./i,"");if(C(o))return o}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function pr(e,r){var n=t([location.hostname,e&&e.siteName,e&&e.title,e&&e.excerpt].join(" ")).toLowerCase(),o=t([r].join(" ")).toLowerCase();return!(!/(^|\.)(facebook\.com|threads\.(net|com))$/.test(location.hostname)&&!/(facebook|threads|meta)/.test(n))&&/meta products|cookies from other companies|allow the use of cookies from threads by instagram|log in with your instagram|join threads to share ideas|create new account|log in to facebook|log in to continue|essential cookies/.test(n+" "+o)}function hr(e,n){if(!pr(e,n))return null;var o=/(threads)/i.test([location.hostname,e&&e.siteName,e&&e.title].join(" ")),i=t(e.title||document.title),a=function(){var e=w("next")||location.pathname;try{e=new URL(e,location.href).pathname}catch(e){}var n=r(e||"").split("/").filter(Boolean);return n.length?"login"===n[0]?t(n[1]||""):t(n[0]):null}(),l=[o?"Access notice: Threads login or cookie acceptance required":"Access notice: Facebook login or cookie acceptance required"],s=e.excerpt;return i&&!/threads\s*[•|-]\s*log in|facebook\s*-\s*log in/i.test(i)||(i=a?o?"Threads page "+a:"Facebook page "+a:o?"Threads page":"Facebook page"),s&&!/join threads to share ideas|log in with your instagram|create an account or log into facebook/i.test(s)||(s=o?"Original content on this Threads page is not available without login or cookie acceptance.":"Original content on this Facebook page is not available without login or cookie acceptance."),a&&-1===i.indexOf(a)&&l.push("Requested page: "+a),v({title:i,description:s,details:l,siteName:e.siteName||location.hostname})}function fr(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function gr(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return t.width>0&&t.height>0&&"hidden"!==r.visibility&&"none"!==r.display}function yr(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function br(e,r,n,o){!(n=t(n||""))||n.length>o||fr(n)||r[n]||(r[n]=!0,e.push(n))}function vr(e,r,n){n=n||{};var o=t(r||"").toLowerCase(),i=t(e||"").toLowerCase(),a=/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i,l=n.maxTextLength;if(l&&o.length>=l)return null;if(n.checkStructured&&function(){var e=document.querySelector("main, [role='main'], .content, body");if(!e)return!1;var r=t((e.querySelector("h1, h2")||{}).textContent||""),n=t(e.textContent||"");return!!/\bpage not found\b|\bnot found\b/i.test(r)&&(!!/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(n)&&0===e.querySelectorAll("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']").length)}())return{structured:!0};if(n.checkStructured&&/\bpage not found\b/i.test(i+" "+o)&&/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(i+" "+o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']"))return{structured:!0};if(!a.test(i+" "+o))return null;var s=o.slice(0,420),c=a.test(i),u=a.test(s),d=u&&o.length<900,m=c||u||o.length<900;return n.requireDominance&&!m||n.excludeDefinitionsNet&&/definitions\.net/i.test(i+" "+location.hostname)||n.requireInterstitialPage&&!(c||d||!n.substantialPublic&&u)&&n.substantialPublic?null:{titleLooksMissing:c,pageStartsMissing:u,shortMissingPage:d,dominates:m}}function wr(e){var r,n,o=t(e||""),i=(r=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3, main p, main li").length,n=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, h1, h2, h3, [itemprop='articleBody'], main li").length,Math.max(r,n)),a=document.querySelectorAll("main h1, h1, main h2").length,l=document.querySelectorAll("main a[href], a[href]").length;return i>=5&&(o.length>=180||a>=1&&l>=3)}function xr(e,r){var n=t(e.title||document.title),o=t([r||"",document.body&&document.body.textContent||""].join(" ")),i=(n+" "+o).toLowerCase(),a=wr(o);return pr(e,r)?"meta_login":/robot or human|confirm (?:that )?you (?:are|.?re) (?:a )?human|activate and hold the button|press\s*(?:&|and)\s*hold|px-captcha|drag the slider to fit the puzzle|slide to verify|help us protect|verifying that you.?re a real person|unusual activity from your computer network|click the box below to let us know you.?re not a robot/i.test(i)?"human_verification":/select your country|choose a country|shopping in the u\.s\?|best buy international/i.test(i)&&!a?"region_selector":/browser is not supported|your browser is not supported|unsupported browser|for the best experience, use any of these supported browsers|use any of these supported browsers|supported browsers:/i.test(i)&&!a?"browser_support":/^access error$/i.test(n)||/potential misuse|page you are trying to access is unavailable|help\.ft\.com|request blocked|you have been blocked|troubleshooting cloudflare errors/i.test(i)?"access_error":function(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=/خطایی رخ داده|وب سایت مورد نظر در دسترس نیست|page unavailable|site unavailable|website unavailable|service temporarily unavailable|temporarily unavailable|service unavailable/;return i.test(n)||o.length<1200&&i.test(o.slice(0,500))}(n,o)?"site_unavailable":function(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=lr(),a=sr();return!!/^before you continue to (google|youtube)\b/.test(n)||!(!/before you continue to (google|youtube)/.test(o)||!/accept all|reject all|more options|we use cookies and data/.test(o))||!!Mr(o)&&(i.test(n)||a.test(o))}(n,o)?"consent_wall":/\bmy account\b[\s\S]{0,120}\blog in\b/i.test(o)&&/\byou must log in to access\b/i.test(o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody']")?"auth_wall":vr(n,o,{checkStructured:!0,requireDominance:!0,requireInterstitialPage:!0,substantialPublic:a,excludeDefinitionsNet:!0})?"not_found":/transferring (?:you )?to (?:the )?website|در حال انتقال به وب.سایت|سایت در حال بارگذاری|sayfaya yönlendiriliyorsunuz|yönlendiriliyor|מועבר לאתר|الموقع قيد التحميل|ویب سائٹ پر منتقل/i.test(i)&&t(o).length<600?"js_redirect":/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/i.test(i)?"subscription":function(e,r,n){var o=t(e||"").toLowerCase(),i=t(r||""),a=(location.pathname||"").toLowerCase(),l=/\/(?:log(?:in|-in)|sign(?:in|-in)|auth|oauth|sso|session|sessions|account(?:s)?\/login|users?\/sign_in|password|forgot)(?:\/|$)/.test(a),s=document.querySelectorAll("input[type='email'], input[name*='email' i], input[name*='password' i]").length,c=document.querySelectorAll("form input[type='password'], form input[name*='password' i], form[action*='login' i], form[id*='login' i], form[class*='login' i], [aria-label*='sign in' i] input[type='password']").length,u=y(["form h1","form h2","form legend","[role='dialog'] h1","[role='dialog'] h2","main h1","main h2"],8).filter(function(e){return/sign in|log in|login|create (?:an )?account|password/i.test(e)}).length,d=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3").length,m=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, nav a[href]").length,p=Math.max(d,m),h=/forgot(?:ten)? password|reset your password|check your email for a reset link/i.test(n),f=/\b(?:github|gitlab|google|oauth|sso|single sign-on|continue with|sign in with|log in with)\b/i.test(n);return!l&&/^(?:log in|login|sign in|sign-in|sign into|log into)(?:\b|\s*[-|–])/.test(o)&&(s>=1||c>0||u>0||f)?p<15:!!(h&&d<10&&i.length<2200||(h||/sign in to continue|log in to continue|create an account to continue|please sign in|please log in/i.test(n))&&(/sign in|log in|login|create (?:an )?account|reset your password/.test(o)||!(!/sign in|log in|login|create (?:an )?account|reset your password/.test(o)&&p>=15&&i.length>=1e3)&&((c>0||u>0)&&s>=1&&d<10||s>=1&&i.length<900&&d<8||i.length<400&&d<5)))}(n,o,i)?"auth_wall":null}function Sr(e,r){var n=xr(e,r);if(!n)return null;if("meta_login"===n)return hr(e,r);var o=t(e.title||document.title),i=y(["main h1","main h2","main p","main li","body h1","body h2","body p"],20).filter(function(e){return e&&e.length<=240&&!fr(e)}),a=i.find(function(e){return e!==o&&e.length>=12})||e.excerpt||t(r||""),l=[],s=[];if("human_verification"===n)o&&!C(o)||(o="Robot or human?"),l.push("Gate: human verification");else if("consent_wall"===n){var c=function(){var e={},t=[],r=[],n=[],o=[];document.querySelectorAll("main h1, main h2, main h3, body h1, body h2, body h3").forEach(function(r){gr(r)&&br(t,e,yr(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){gr(t)&&br(r,e,yr(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){gr(t)&&br(n,e,yr(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(gr(t)){var r=yr(t);!r||r.length>80||/(accept|reject|decline|manage|options|settings|choices|privacy|cookies?|consent|allow|agree|continue|more|customize|save|confirm|necessary|essential|preferences|alles|tout|todas?|todos?|rifiuta|rejeitar|weigeren|afvis|hylkää|odmítnout|noraidīt|elutasítás|elutasítom)/i.test(r)&&br(o,e,"Control: "+r,100)}});var i=r.find(function(e){return e.length>=40&&/(cookies?|data|privacy|personal|ads?|content|services|device|information|partners?|consent)/i.test(e)})||r.find(function(e){return e.length>=20})||null;return{headings:t,description:i,highlights:t.concat(r).concat(n).concat(o)}}();c.headings.length&&(o=c.headings[0]),c.description&&(a=c.description),l.push("Interstitial: cookie or consent prompt"),s=c.highlights.filter(function(e){return e!==o&&e!==a}).slice(0,6)}else"region_selector"===n?(l.push("Interstitial: region or country selector"),s=i.filter(function(e){return e!==o&&e!==a}).slice(0,3)):"browser_support"===n?l.push("Interstitial: unsupported browser shell"):"access_error"===n?l.push("Interstitial: access error or blocked session"):"site_unavailable"===n?l.push("Interstitial: site unavailable or temporarily offline"):"not_found"===n?(o&&!C(o)||(o="Page not found"),l.push("Interstitial: requested page is unavailable")):"subscription"===n?l.push("Access notice: subscription or institutional login required"):"auth_wall"===n?(o&&!C(o)||(o="Login required"),l.push("Access notice: login or account required")):"js_redirect"===n&&(o&&!C(o)||(o="Redirecting..."),l.push("Interstitial: JavaScript redirect page — content not yet loaded"));return v({title:o,description:a,details:l,highlights:s,siteName:e.siteName||location.hostname,contentType:"interstitial"})}function kr(e){return"function"==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e.replace(/[àáâãäåæ]/g,"a").replace(/[èéêë]/g,"e").replace(/[ìíîï]/g,"i").replace(/[òóôõöø]/g,"o").replace(/[ùúûü]/g,"u").replace(/[ýÿ]/g,"y").replace(/[ñ]/g,"n").replace(/[çć]/g,"c").replace(/[šś]/g,"s").replace(/[žźż]/g,"z").replace(/[đ]/g,"d").replace(/[łĺ]/g,"l").replace(/[ř]/g,"r").replace(/[ťț]/g,"t").replace(/[ğ]/g,"g").replace(/[ąă]/g,"a").replace(/[ęě]/g,"e").replace(/[ıİ]/g,"i").replace(/[ůű]/g,"u").replace(/[őö]/g,"o").replace(/[ń]/g,"n")}function Ar(e){return/[\u0370-\u03FF\u0400-\u04FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(e||"")}function qr(){return kr(r(location.pathname||"").toLowerCase()).replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(questions|question|about|docs|wiki|html|index|start|journey|get|your|with|from|the|and|for|dictionary|definition|definitions|browse|category|recipes|recipe|english|search|translate|translation|pronunciation|thesaurus)$/.test(e)&&!/^\d+$/.test(e)})}function Cr(e){return(r(e||"").toUpperCase().match(/\b(?:WO|US|EP|JP|CN|KR|CA|AU)\s*\/?\s*\d{4}\s*\/?\s*\d{3,7}\s*[A-Z]?\d?\b/g)||[]).map(function(e){return e.replace(/[^A-Z0-9]/g,"")}).filter(function(e,t,r){return e.length>=8&&r.indexOf(e)===t})}function _r(){var e=(location.pathname||"").match(/^\/([a-z]{2})(?:\/|$)/);if(e||(e=(location.pathname||"").match(/\/([a-z]{2})(?:\/|$)/)),!e)return null;var t=e[1];return/^(de|fr|es|pt|pl|it|nl|sv|da|nb|no|fi|cs|sk|hu|ro|bg|hr|sr|sl|uk|el|tr|ja|ko|zh|ar|he|th|vi|id|ms)$/.test(t)?t:null}function Tr(e){try{return new URL(e||location.href,location.href)}catch(e){return null}}function Er(e){return(e&&e.hostname||"").replace(/^www\./i,"").toLowerCase()}function jr(e){return e?r(e.pathname||"").split("/").filter(Boolean).map(function(e){return e.replace(/\.(?:html?|shtml|php|aspx?)$/i,"").toLowerCase()}):[]}function Lr(e){return kr(t(r(e||""))).toLowerCase().replace(/[^a-z0-9]+/g," ").trim().replace(/\s+/g," ")}function $r(e){return!(!e||e.length<10)&&(!/^\d+$/.test(e)&&(!(/^[a-z0-9]{10,}$/i.test(e)&&-1===e.indexOf("-")&&-1===e.indexOf("_")&&!/[^\x00-\x7F]/.test(e))&&(/[-_]/.test(e)||/[^\x00-\x7F]/.test(e))))}function Pr(e){return!(!e||!e.length)&&(1===e.filter($r).length&&e.every(function(e){return $r(e)||e.length<=24||/^\d+$/.test(e)||/^[a-z]{2}$/i.test(e)||/^[a-z0-9]{6,}$/i.test(e)}))}function zr(e,n,o,i){if(!e||!t(e.title||""))return!1;if(!(n&&"article"===n.contentType||o.length>800||((i||"").match(/\n\s*\n/g)||[]).length>=4))return!1;var a=r(location.pathname||""),l=jr(Tr(location.href)),s=qr(),c=kr([e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" ")).toLowerCase(),u=kr(t(n&&n.title||e.title||"")).toLowerCase(),d=[e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" "),m=s.length>=5?.2:.15,p=s.filter(function(e){return-1!==c.indexOf(e)}).length,h=s.filter(function(e){return-1!==u.indexOf(e)}).length,f=Pr(l)&&s.length>=2&&(p>=1||h>=1||p/s.length>=m||h/s.length>=m);return function(e){var t=Tr(location.href),r=Tr(e&&e.canonicalUrl);if(!t||!r)return!1;if(Er(t)!==Er(r))return!1;var n=jr(t),o=jr(r);if(n.join("/")===o.join("/"))return Pr(n);if(n.length!==o.length)return!1;for(var i=0,a=0;a<n.length;a+=1)if(n[a]!==o[a]&&(i+=1,!$r(n[a])||!$r(o[a])))return!1;return 1===i}(e)&&Ar(d)||Ar(a)||Ar(d)&&Pr(l)||f}var Nr={de:/\b(und|die|der|das|ist|von|zu|mit|den|ein|eine|für|auf|als|auch|nicht|sich|werden|nach|bei|aus|wie|oder|noch|nur|dem|des|über)\b/gi,fr:/\b(les|des|une|est|dans|pour|sur|par|pas|qui|que|avec|son|sont|plus|ses|mais|cette|ont|tout|nous|vous|aux|leur)\b/gi,es:/\b(los|las|una|del|por|con|para|que|más|son|sus|pero|como|esta|todo|nos|hay|fue|muy|han|sin|sobre|tiene)\b/gi,pt:/\b(dos|das|uma|por|com|para|que|mais|são|mas|como|esta|seu|sua|tem|nos|foi|pode|muito|seus|sobre|também)\b/gi,pl:/\b(nie|jest|są|się|jak|czy|ale|lub|oraz|tak|ich|jego|już|pod|przy|bez|dla|gdy|gdzie|między|tylko|może|który|która|które|których|którym|którego|którą|ten|ta|tej|tego|tym|tych|przez|dnia|roku|wobec|nadto|ponadto|został|została|był|była|było|były)\b/gi,it:/\b(gli|una|del|per|con|che|sono|più|dalla|della|delle|dei|anche|come|questa|tutto|suo|sua|suoi|nelle|alla)\b/gi,nl:/\b(een|het|van|zijn|met|dat|voor|maar|niet|ook|als|nog|wel|hun|uit|bij|kan|zou|meer|alle|dit|wordt)\b/gi,da:/\b(den|det|til|med|har|som|kan|vil|blev|efter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|blev|over|under)\b/gi,sv:/\b(den|det|att|som|har|med|för|kan|och|var|till|från|inte|ska|alla|hon|han|efter|över|under|denna|också|eller|blev)\b/gi,no:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,nb:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,fi:/\b(sen|oli|kun|tai|niin|mutta|ovat|joka|myös|kuin|siitä|tämä|hänen|tämän|vain|olla|sillä|sekä|ovat|vielä|nyt|yli|alle)\b/gi,tr:/\b(bir|için|ile|olan|olarak|gibi|daha|kadar|ancak|ayrıca|sonra|yapılan|ise|olan|üzerinde|tarafından|büyük|yeni|sonra)\b/gi,lv:/\b(par|kas|bet|arī|lai|jau|gan|nav|tad|vai|kur|šis|tās|kā|pie|pēc|tiek|var|būt|kad|vēl|viņa|visi|tikko|savs|kurš)\b/gi,lt:/\b(tai|yra|kad|bet|jau|dar|tik|bus|nuo|per|bei|iki|dėl|kas|čia|jis|jos|kur|buvo|labai|arba|dabar|turi|savo|apie)\b/gi,ro:/\b(este|sunt|fost|care|dar|sau|mai|pentru|într|cea|cel|acest|după|când|cum|prin|din|lor|avea|fost|toate|poate|doar)\b/gi,hr:/\b(koji|koja|koje|biti|nije|kao|ali|ako|više|samo|mogu|nakon|između|tada|sve|još|prije|već|prema|sada|njegov|ovaj)\b/gi,sr:/\b(који|која|које|бити|није|као|али|ако|више|само|могу|након|између|тада|све|још|пре|већ|према|сада|његов|овај)\b/gi,uk:/\b(що|але|як|або|вже|для|при|без|між|під|над|після|тому|який|яка|яке|його|його|цей|ще|також|може|були|буде)\b/gi,bg:/(?:^|\s)(и|в|на|за|с|от|до|е|са|се|че|но|като|през|които|която|което|след|това|също|повече|само|между|тези|всички|може|имат|обаче|когато|върху|срещу)(?=\s|$)/gi,el:/\b(και|που|από|στο|στα|στη|στις|στον|στους|για|με|της|του|των|ότι|αυτό|ήταν|είναι|αλλά|μετά|πριν|ακόμα|μπορεί)\b/gi,sk:/\b(ktorý|ktorá|ktoré|alebo|jeho|jeho|tento|tiež|môže|boli|bude|keď|pred|všetky|len|ešte|však|medzi|zatiaľ)\b/gi,sl:/\b(vendar|ampak|lahko|tudi|pred|vsak|bolj|že|prav|toda|niso|bili|bila|bilo|bodo|oziroma|čeprav|vedno|takoj)\b/gi,hu:/\b(hogy|mint|amikor|pedig|csak|volt|lesz|még|vagy|máig|után|előtt|mivel|összes|fogja|ehhez|tehát|viszont|minden)\b/gi,cs:/\b(který|která|které|jako|jeho|tento|také|může|byli|bude|když|před|všechny|ještě|pouze|však|mezi|zatím|proto)\b/gi};function Rr(e,r){if(function(e,r){var n=t(r||"");if(!n||n.length<120)return!1;var o=n.replace(/\s/g,"");if(!o)return!1;var i={bg:/[\u0400-\u04FF]/g,el:/[\u0370-\u03FF]/g,sr:/[\u0400-\u04FF]/g,uk:/[\u0400-\u04FF]/g}[e];return!!i&&(o.match(i)||[]).length/o.length>=.25}(e,r))return!0;var n=Nr[e];if(!n)return!0;var o=r.match(n)||[],i=r.split(/\s+/).length,a="pl"===e?.025:.03;return i<40||o.length/i>=a}function Mr(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!lr("i").test(r))return!1;if(sr("i").test(r))return!0;var n=r.match(lr("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function Br(e){var r=t(e||"").toLowerCase();if(!r)return!1;var n=/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/g;if(n.test(r.slice(0,600)))return!0;var o=r.match(n)||[];return r.length<3e3&&o.length>=1}function Hr(){var e=d(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=i("article:content_tier","property")||i("article:content_tier","name"),o=n&&/^(locked|metered|premium)$/i.test(t(n)),a=!!document.querySelector("[data-piano-offer], [data-paywall], [class*='paywall' i], [id*='paywall' i], [class*='subscribe-wall' i], [class*='premium-wall' i], [class*='piano-offer' i], [data-testid*='paywall' i], [class*='metered' i][class*='banner' i]"),l=t(document.body&&document.body.innerText||"").slice(0,6e3).toLowerCase(),s=/(for abonnenter|unlock full access|contenu réservé aux abonnés|solo para suscriptores|nur für abonnenten|alleen voor abonnees|solo per abbonati|dostępne dla subskrybentów|только для подписчиков|лише для передплатників|přístupné pouze pro předplatitele|csak előfizetőknek|exklusivt för prenumeranter|kun for abonnenter|vain tilaajille|tik prenumeratoriams|tikai abonentiem|nur für abonnent|nur für abonnenten|contenido exclusivo para suscriptores|réservé aux abonnés|subscriber exclusive|subscribers only|premium content|members only|členský obsah|premium-inhalt)/.test(l);return r||o||a||s?{source:r?"structured_data":o?"meta_tag":a?"dom_element":"text_pattern",contentTier:n?t(n).toLowerCase():r?"locked":null}:null}function Fr(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,5e3)].join(" ")).toLowerCase();return!!/\/(?:instruments?|treat(?:y|ies)|charters?|covenants?|conventions?|protocols?|resolutions?|publication\/unts)\b/.test(o)||(!!/\b(?:international\s+)?(?:covenant|convention|charter|treaty|protocol|optional protocol|general assembly resolution|united nations treaty collection|states parties to the present|entry into force|ratification status)\b/.test(i)||(!(!/\barticle\s+\d+\b/.test(i)||!/\b(states parties|entry into force|ratification|depositary|secretary-general|united nations)\b/.test(i))||!!function(e,t,r){var n=Ze({text:t,title:e,path:r,contextLimit:5e3}),o=/\b(?:book|part|division|chapter|title|article|section)\s+\d+[a-z]?\b/g.test(t)||/(?:^|\s)§\s*\d+/.test(t);return n.officialStatuteTitle&&n.officialTextSignals&&(o||n.translationAttribution||/\/englisch_[a-z0-9_-]+\//.test(r))}(e,n,o)))}function Ir(e,n){var o=r(location.pathname||"").toLowerCase(),a=t([e,o,n.slice(0,8e3),i("citation","name"),i("DC.title","name")].join(" ")).toLowerCase(),l=Or(o),s=/\[\d{4}\]\s*(?:ukhl|uksc|ewca|ewhc|ukpc|ukut|ukftt|ac|wlr|all\s+er|ecli)\b/i.test(a),c=/\b(?:judgment|judgement|opinion(?:s)? of the lords|court of appeal|high court|supreme court|house of lords|lordships|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(a),u=/\b(?:v\.?|versus)\b/i.test(e||a)&&/\b(?:appellant|respondent|claimant|defendant|secretary of state|commissioner|director of public prosecutions)\b/i.test(a);return l&&(s||c||u)||s&&c&&u}function Or(e){return/\/(?:cases?|judgments?|judg?ments?)\/[^/]+\/\d{4}\/\d+(?:\.html?)?$/i.test(e)||/\/(?:uksc|ukhl|ewca|ewhc|ukpc|ukut|ukftt|scotcs|niehc|nifam|ecj|echr|ecli)\/\d{4}\/\d+(?:\.html?)?$/i.test(e)}function Dr(e,n,o,a){if(!n||"article"!==n.contentType||n.docsLike)return!1;if(q(/(^|\.)siol\.net$/))return!1;if(function(e,n,o,a){if(!n||"article"!==n.contentType||a.length<500)return!1;var l=r(location.pathname||"").toLowerCase(),s=t([o,n&&n.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.hostname||"",l].join(" ")).toLowerCase();if(/\b(news|breaking|opinion|press release|live updates?)\b/.test(s))return!1;var c=/\b(science|research|data|statistics|charts?|emissions?|climate|mission|observatory|telescope|reference|facts?|explorer|dataset|indicators?)\b/.test(s),u=/\b(key facts|data explorer|all charts|research & writing|introduction|overview|mission overview|science themes|methodology|download data|sources? and methods?)\b/i.test(a),d=/\/(?:mission|missions|data|statistics|charts?|topics?|explorers?)(?:\/[^/.]+)?\/?$/.test(l)||/\b(?:emissions|greenhouse-gas|climate|dataset|data-explorer)\b/.test(l),m=(a.match(/^##\s+/gm)||[]).length;return c&&(d&&a.length>=500||a.length>=1500&&(u||m>=4))}(e,n,o,a))return!1;if(function(e,r,n,o){if(!r||"article"!==r.contentType||o.length<500)return!1;var a=t([n,r&&r.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.pathname||"",o.slice(0,4e3)].join(" ")).toLowerCase();return/\b(today in history|on this day|this day in history|from the archives|retrospective|look back|looking back|revisit(?:ed|ing)?|recall(?:s|ed|ing)?|remember(?:s|ed|ing)?|anniversary|archived|back then|then and now|historical|ajaloos|ajalugu|tagasivaade|meenut(?:a|ab|as)?)\b/.test(a)||/(?:振り返る|回顧|回想|当時|歴史|記念)/.test(a)}(e,n,o,a))return!1;var l=d(["NewsArticle","ReportageNewsArticle","LiveBlogPosting","AnalysisNewsArticle","OpinionNewsArticle"]);if(l){var s=t(p(l.dateModified)||i("article:modified_time","property")||i("article:modified_time","name")||i("dateModified","property")||i("dateModified","name")||"");if(s){var c=Date.parse(s);if(!isNaN(c))if((Date.now()-c)/864e5<=30)return!1}return!0}var u=t(i("og:type","property")||"").toLowerCase();if(u&&"article"!==u)return!1;if(document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"))return!1;var m=t([o,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.pathname||""].join(" ")).toLowerCase();return!/\b(docs?|documentation|reference|encyclopedia|wiki|manual|api|guide|tutorial|learn|legal|charter|terms|privacy|about us)\b/.test(m)&&(!!/\b(news|breaking|politics|business|markets?|economy|world|national|local|analysis|opinion|investigation|report)\b/.test(m)||a.length<5e3&&/\b(updated|published|reported)\b/.test(m))}function Ur(e){var r=[];return e.forEach(function(e){Array.prototype.slice.call(document.querySelectorAll(e)).forEach(function(e){var n=t(e.textContent||"");n.length>=80&&-1===r.indexOf(n)&&r.push(n)})}),t(r.join("\n\n"))}function Wr(e,r,n){if(!e||"article"!==e.contentType||e.docsLike||n.length<100)return!1;var o=String(e.html||""),i=t([e.title||"",n.slice(0,1e3)].join(" ")).toLowerCase();if(/\blyrics?\b/.test(i)||/\bpoems?\b/.test(i))return!1;var a=((r||"").match(/\n\s*\n/g)||[]).length,l=((r||"").match(/^#{1,6}\s+/gm)||[]).length,s=(n.match(/[.!?。!?؟।]+/g)||[]).length,c=t(document.documentElement&&document.documentElement.lang||"").toLowerCase(),u=n.length<1500&&(c&&!/^en\b/.test(c)||(n.match(/[^\x00-\x7F]/g)||[]).length>.3*n.length);return q(/(^|\.)lenta\.ru$/)&&/^\/news\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||"")?(a>=1||l>=1)&&s>=2:!!(u&&Rt(e)&&(a>=1||l>=1||s>=2))||!(n.length>=700)&&(!(!/<article\b/i.test(o)&&!/<main\b/i.test(o))&&((a>=1||l>=1)&&s>=2))}function Zr(e,t){var r=document.createElement("div");if(r.innerHTML=e&&e.html?e.html:"",!r.innerHTML)return{root:null,markdown:t};Array.prototype.forEach.call(r.querySelectorAll(["aside","nav","footer","[role='complementary']","[role='navigation']","[aria-label*='related' i]","[aria-label*='recommended' i]","[aria-label*='latest' i]","[class*='related' i]","[class*='recommend' i]","[class*='recirculat' i]","[class*='liveblog' i]","[class*='live-blog' i]","[class*='sidebar' i]","[class*='side-bar' i]","[class*='widget' i]","[class*='comment' i]","[class*='discussion' i]","[class*='community' i]","[class*='popular' i]","[class*='trending' i]","[class*='suggest' i]","[class*='teaser' i]","[class*='also-read' i]","[class*='read-more' i]","[class*='more-news' i]","[class*='more-stories' i]","[class*='more-from' i]","[class*='front-page' i]","[class*='article-list' i]","[class*='content-list' i]","[class*='story-list' i]","[class*='news-list' i]","[class*='headline-list' i]","[class*='feed' i]","[class*='story-card' i]","[class*='storycard' i]","[class*='article-related-content' i]","[id*='related' i]","[id*='recommend' i]","[id*='comment' i]","[id*='sidebar' i]","[id*='widget' i]","[data-component*='article-list' i]","[data-component*='related' i]","[data-testid*='related' i]","[data-testid*='recommend' i]","[data-testid*='comment' i]"].join(", ")),function(e){e.parentNode.removeChild(e)});return{root:r,markdown:Uo(r.innerHTML||"")||""}}function Vr(e,r,n){var o=t(r&&r.title||e.title||"").toLowerCase(),i=(location.pathname||"").toLowerCase(),a=t(n||r&&r.textContent||"").toLowerCase();if(d(["LiveBlogPosting"]))return"liveblog";if((Zr(r,n).root||document).querySelector("[data-liveblog], [class*='liveblog' i], [class*='live-blog' i], [id*='liveblog' i], [class*='live-ticker' i], [class*='liveticker' i], [id*='live-ticker' i], [class*='live-feed' i], [class*='live-updates' i], [class*='live-entries' i]"))return"liveblog";if(/\b(liveblog|live.blog|live.ticker|liveticker|live updates?|live.updates?)\b/.test(o)||/\b(liveblog|live-blog|liveticker|live-ticker|live-updates)\b/.test(i))return"liveblog";if(/\b(daily briefing|morning briefing|evening briefing|weekly briefing|news briefing|this week in|week in review|daily digest|news digest|morning roundup|evening roundup|weekly roundup|daily round-?up|weekly round-?up|tagesüberblick|nachrichtenüberblick|wochenrückblick|résumé de la semaine|tour d'horizon|resumen semanal|rassegna stampa|przegląd tygodnia|przegląd dnia|podsumowanie tygodnia|podsumowanie dnia|daglig oversikt|veckosammanfattning|nyhedsoverblik|ugens nyheder|viikon katsaus|savaitės apžvalga|nedēļas apskats|преглед на седмицата|огляд тижня|преглед на денот|săptămâna în revistă|heti összefoglaló|týdenní přehled)\b/.test(o))return"briefing";if(/\b(events?[\s-]*(?:calendar|listing|guide|agenda|schedule)|what['']?s on|upcoming events?|things to do|veranstaltungen|événements|eventos|eventi|wydarzenia|evenementen|evenemang|begivenheder|tapahtumat|renginiai|pasākumi|események|události|events?\s+this\s+week|events?\s+today|event guide|gig guide|concert schedule)\b/.test(o)||/\/(events?|calendar|agenda|whats-on|what-s-on|veranstaltungen|evenements)\b/.test(i)){if((a.match(/\b\d{1,2}[\s./-]\s*(?:jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|jun(?:e)?|jul(?:y)?|aug(?:ust)?|sep(?:tember)?|oct(?:ober)?|nov(?:ember)?|dec(?:ember)?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre|januar|februar|märz|april|juni|juli|august|oktober|dezember|styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień)\b/gi)||[]).length>=2)return"event_listing";if(d(["Event","MusicEvent","SportsEvent","TheaterEvent","Festival"]))return"event_listing"}if(d(["VideoObject","Movie","TVEpisode","TVSeries","TVSeason","Clip"])&&a.length<800)return"video";var l=document.querySelectorAll("video, [class*='video-player' i], [class*='videoplayer' i], [id*='video-player' i], [class*='jwplayer' i], [class*='bitmovin' i], [class*='brightcove' i], [data-player], [data-video-id], [data-video], [class*='auvio' i][class*='player' i], [class*='media-player' i], [class*='mediaplayer' i]"),s=document.querySelectorAll("iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], iframe[src*='dailymotion'], iframe[src*='player'], iframe[src*='video'], iframe[data-src*='youtube'], iframe[data-src*='vimeo']");if((l.length>=1||s.length>=1)&&a.length<600)return"video";if(/\/(video|videos|watch|player|clip|replay|auvio|mediathek|mediatheque|videoteka|platforma)\b/.test(i)&&a.length<800&&a.replace(/https?:\/\/\S+/g,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().length<500)return"video";var c=Zr(r,n),u=c.markdown||n||"";if(c.root){var m=c.root.querySelectorAll("h2, h3"),p=c.root.querySelectorAll("time, [datetime]");if(p.length>=6&&m.length>=4){for(var h=[],f=0;f<p.length;f++){var g=p[f].getAttribute("datetime")||t(p[f].textContent);g&&-1===h.indexOf(g)&&h.push(g)}if(h.length>=4)return"liveblog"}}if(u){var y=(u.match(/^##\s+/gm)||[]).length,b=(u.match(/\b\d{1,2}[:.]\d{2}\s*(?:Uhr|AM|PM|CET|CEST|UTC|GMT|[A-Z]{2,4}T)?\b/gm)||[]).length;if(y>=6&&b>=6)return"liveblog"}if(u&&r&&r.html){for(var v=u.split("\n").filter(function(e){return e.trim().length>0}),w=u.match(/\[([^\]]*)\]\([^)]+\)/g)||[],x=(u.match(/^#{1,3}\s+/gm)||[]).length,S=0,k=0,A=0;A<v.length;A++){var q=v[A];/^#{1,3}\s+/.test(q)?(k>0&&k<200&&S++,k=0):k+=q.length}if(k>0&&k<200&&S++,x>=4&&w.length>=5&&S>=4&&S>=.6*x)return"newsletter";var C=u.replace(/\[([^\]]*)\]\([^)]+\)/g,"$1").replace(/^#{1,6}\s+.*$/gm,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().split(/\s+/).filter(function(e){return e.length>=3}).length;if(w.length>=8&&x>=4&&C<5*w.length)return"newsletter"}return null}function Gr(e,n,o,i,a){var l,s=[],c=t(n&&n.title||e.title).toLowerCase(),u=t(o||n&&n.textContent||"").toLowerCase(),m=t(i||"").toLowerCase(),p=(c+" "+u+" "+m).trim(),h=function(e){var r=t(e||"");if(!r||!Ar(r))return!1;var n=r.replace(/\s/g,"");if(n.length<60||n.length>2400)return!1;var o=r.split(/\s+/).filter(function(e){return e.length>0}).length;return o<=1||o<220||n.length/Math.max(o,1)>=4}(u),f=dr(e,i,a),g=xr(e,i),y=!(!n||!n.docsLike),b=!(!n||!n.packagePage),v=/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(c)||/(\/dictionary\/|\/definition\/|\/definitions\/|\/pronunciation\/)/.test(location.pathname||"")||!!w("q")&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(c+" "+t(e.excerpt||"").toLowerCase()),x=y&&u.length>20,S=!t(o||"")&&!t(n&&n.textContent||""),k=u.length<140&&/copyright\b.*\ball rights reserved\b/i.test(u)&&!/[.!?].+[.!?]/.test(u),A=t(n&&n.textContent||"").toLowerCase(),C=vr(c,t([u,A].join(" ")).toLowerCase(),{maxTextLength:1100}),_=document.querySelectorAll("main a[href], article a[href]").length>=3||n&&"list"===n.contentType,T=Mr(u),E=u.length>500&&!(T&&!_),j=Wr(n,o,u);y||E||!T||s.push("consent_interstitial"),y||(!(l=t(u||"").toLowerCase())||l.length>220||!/^(?:do not sell(?: or share)? my personal information|do not sell(?: or share)?|privacy policy|cookie policy|cookies? policy|terms of (?:service|use)|manage (?:privacy|cookie|consent) preferences|privacy choices|your privacy choices)$/i.test(l)&&!/(?:do not sell(?: or share)? my personal information|privacy policy|cookie policy|terms of (?:service|use)|privacy choices|your privacy choices)/i.test(l))||s.push("consent_interstitial");var L,$=function(e,r,n,o){var i=t(n||"").toLowerCase(),a=t(o||"").toLowerCase(),l=lr("i"),s=sr(),c=l.test(i),u=l.test(a);if(!c&&!u&&"meta_login"!==e)return!1;var d=s.test(i)||i.indexOf("cookie")>=0&&i.indexOf("cookie")<140&&i.length<500,m=s.test(a)||a.indexOf("cookie")>=0&&a.indexOf("cookie")<140&&i.length<260;return"meta_login"===e||d||m}(g,0,u,m)&&!("consent_wall"===g&&_);if(y||E||!($||Mr(m)&&!_)||s.push("consent_interstitial"),"anubis"===f&&s.push("anubis_challenge_page"),"datadome"===f&&s.push("datadome_challenge_page"),"cloudflare"===f&&s.push("cloudflare_challenge_page"),"consent_wall"!==g||E||_||s.push("consent_interstitial"),"meta_login"===g&&s.push("meta_login_wall"),"human_verification"===g&&s.push("human_verification_interstitial"),"region_selector"===g&&s.push("regional_selector_interstitial"),"browser_support"===g&&s.push("browser_support_interstitial"),"access_error"===g&&s.push("access_error_interstitial"),"site_unavailable"===g&&s.push("site_unavailable_interstitial"),"not_found"!==g&&!C||y&&x||s.push("not_found_interstitial"),"subscription"===g&&(!E||Br(u)||Br(m)&&!_)&&s.push("subscription_interstitial"),"auth_wall"===g&&s.push("auth_or_login_interstitial"),"meta_login"===g&&/cookie/i.test(p)&&s.push("consent_interstitial"),y&&x||!f&&!/(verify you are human|unusual traffic|are you a robot|access denied|security verification|checking your browser)/.test(p)||s.push("bot_or_access_interstitial"),y&&x||"human_verification"!==g&&"access_error"!==g||s.push("bot_or_access_interstitial"),S&&(m.length>80||(e.title||"").length>3||a&&a.htmlLength>200)&&s.push("empty_extraction"),!k||f||g||s.push("empty_extraction"),!f&&!g&&t(o||"").length<10&&(e.title||"").length>3&&-1===s.indexOf("empty_extraction")&&-1===s.indexOf("short_extraction")&&s.push("short_extraction"),!f&&!g&&n&&"search"!==n.contentType){var P=u.length,z=m.length,N=qr().length>=2,R=q(/(^|\.)protothema\.gr$/i)&&"article"===n.contentType&&P>=500;if("article"!==n.contentType||n.legalProvision||x||v||b||R||(N&&P<500&&z>2e3&&(j||h||s.push("truncated_content")),N&&P>=500&&P<1500&&z>3e3&&P/z<.15&&!j&&!h&&s.push("truncated_content"),N&&P>=1500&&P<3e3&&z>8e3&&P/z<.12&&!j&&!h&&s.push("truncated_content"),function(e,r,n,o){if(!r||"article"!==r.contentType||r.docsLike)return!1;if(Wr(r,n,o))return!1;var i=t([location.pathname||"",r&&r.title||"",e&&e.title||""].join(" ")).toLowerCase();if(String(r&&r.html||"").toLowerCase(),/\blyrics?\b/.test(i)){var a=Ur(["[data-lyrics-container]",".lyrics","[class*='Lyrics__Container']"]);if(a.length<300)return!1;if(/data-lyrics-container|lyrics__container|class=["'][^"']*\blyrics\b/i.test(r.html||""))return!1;if(/\[(?:verse|chorus|bridge|outro|intro|hook|refrain|pre-chorus|instrumental)\b/i.test(o))return!1;if(/\b(song bio|annotation|contributors?|written by|produced by)\b/i.test(o)||o.length<.75*a.length)return!0}if(/\bpoems?\b/.test(i)){var l=Ur(["[data-poem]",".poem","[class*='poem' i]"]);if(l.length>=300&&!/data-poem|class=["'][^"']*poem/i.test(r.html||"")&&o.length<.75*l.length)return!0}return!1}(e,n,o,u)&&!h&&s.push("truncated_content")),!(P<200&&z>1e3)||x||v||b||j||h||s.push("short_extraction"),"article"===n.contentType&&P>=200&&P<700&&z>2500&&!x&&!v&&!b&&!j){var M=t([o,c,e.title,e.description].join(" "));!h&&/\b(?:Published:\s*\d{4}|Duration:\s*P?T|featured video|watch video|learn more)\b/i.test(M)&&s.push("short_extraction")}if(("list"===n.contentType||"article"===n.contentType)&&((L=location.pathname||"")&&!/\/(?:search|browse|category|categories|tags?|topics?|collections?)\b/.test(L)&&/\/(?:drugs?|compounds?|substances?|proteins?|genes?|genomes?|pathways?|assays?|bioassays?|datasets?|records?|entries?|items?|products?|publications?|papers?|articles?|cases?|opinions?|decisions?)\/[a-z0-9_.-]*\d[a-z0-9_.-]*(?:\/|$)/i.test(L))&&P<500&&function(e){var r=t(e||"");if(!r)return!1;var n=(r.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,o=(e||"").split(/\n+/).filter(function(e){return/^\s*[-*]\s+\[[^\]]+\]\([^)]+\)\s*$/.test(e)}).length,i=r.replace(/\[([^\]]*)\]\([^)]+\)/g,"").split(/\s+/).filter(function(e){return e.length>=3}).length;return n>=2&&o>=2&&i<2*n}(o)&&!j&&("article"===n.contentType&&h||s.push("short_extraction")),"article"===n.contentType&&!x&&!v&&!b&&P>=200&&P<1e3&&z>2e3&&!j){var B=t(o||""),H=(B.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,F=(B.match(/^#{1,6}\s/gm)||[]).length,I=B.replace(/\[([^\]]*)\]\([^)]+\)/g,"").replace(/^#{1,6}\s.*$/gm,"").split(/\s+/).filter(function(e){return e.length>=3}).length;j||h||!(H>=3&&I<2*H||F>=3&&I<20)||s.push("short_extraction")}v&&P<60&&z>500&&s.push("short_extraction")}var O=qr(),D=n&&"list"===n.contentType&&(w("q")||w("_nkw")||w("st")||/^\/search\//.test(location.pathname));if(!f&&!g&&O.length>=2&&!D&&!y&&!Or(r(location.pathname||"").toLowerCase())&&!Ir(c,u)){var U=(u.match(/[a-zA-Z]/g)||[]).length,W=u.replace(/\s/g,"").length;if((W>0?U/W:1)>.25){var Z=kr(p),V=O.filter(function(e){return-1!==Z.indexOf(e)}).length,G=O.length>=5?.3:.25;if(V/O.length<G){var K=kr(c);O.filter(function(e){return-1!==K.indexOf(e)}).length/O.length<G&&!zr(e,n,u,o)&&!function(e,n,o){if(!n||o.length<500)return!1;var i=r(location.pathname||"").toLowerCase();if(!/\/(?:articles?\/)?(?:dataset|datasets|figure|record|entry)\//.test(i))return!1;var a=t([n&&n.title||"",e&&e.title,e&&e.siteName,o.slice(0,5e3)].join(" ")).toLowerCase();return/\b(?:dataset|posted on|authored by|doi|figure|data|repository|supplementary|apoptosis|protein|gene|assay|study)\b/.test(a)&&(/\b\d{3,}\b/.test(i)||/\/[_-]\//.test(i))}(e,n,u)&&!function(e){var t=Cr([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var r=Cr(e||"");return t.some(function(e){return-1!==r.indexOf(e)})}(p)&&s.push("url_content_mismatch")}}}if(!f&&!g&&u.length>200&&!Or(r(location.pathname||"").toLowerCase())&&!Ir(c,u)){var J=_r()||(e.language||"").slice(0,2).toLowerCase();!J||!Nr[J]||Rr(J,u)||J!==_r()&&zr(e,n,u,o)||function(e,r,n){var o=n||document&&document.title||r&&r.title||e&&e.title||"";if(!t(o))return!1;var i=Tr(location.href),a=Tr(e.canonicalUrl),l=jr(i),s=jr(a),c=l[l.length-1]||"",u=s[s.length-1]||"";function d(e){return!!e&&e.length>=4&&!/^\d+$/.test(e)}if(!d(c)&&!d(u))return!1;var m=Lr(l[l.length-1]||""),p=Lr(o);return!(!m||!p||m!==p&&-1===m.indexOf(p)&&-1===p.indexOf(m))}(e,n)||s.push("url_content_mismatch")}if(n&&"search"===n.contentType&&((n.resultCount||0)<3&&s.push("search_results_unusable"),(/^aplikacje google$/i.test(c)||/^google apps$/i.test(c))&&s.push("search_engine_shell_page"),/zawartość została wygenerowana przy użyciu ai|generated with ai|ai-generated/i.test(p)&&s.push("search_engine_ai_summary_only")),!f&&!g&&n&&"search"!==n.contentType&&!n.isolatedLiveblogEntry&&!y&&!b){var X=Zr(n,o).markdown||o||"",Y=Vr(e,n,X),Q=!!d(["NewsArticle","ReportageNewsArticle","AnalysisNewsArticle","OpinionNewsArticle"])&&u.length<1e3;!Y||"video"===Y&&n.hostAware||Q||function(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike||i.length<1500)return!1;var a=Zr(n,o),l=a.root||document,s=a.markdown||o||"";if(n.singleTopicPage)return!0;var c=t(n&&n.title||e.title||"").toLowerCase(),u=r(location.pathname||"").toLowerCase(),d=t(e&&e.siteName||"").toLowerCase(),m=!!(l&&l.matches&&l.matches(".mw-parser-output, #mw-content-text, #bodyContent, .vector-body, .vector-body-inner"));if(!(n.html&&/<h1\b/i.test(n.html)||c.length>20))return!1;var p=((s||"").match(/\n\s*\n/g)||[]).length,h=((s||"").match(/^#{1,6}\s+/gm)||[]).length,f=!!l.querySelector("article, main, [itemprop='articleBody'], #mw-content-text .mw-parser-output, #bodyContent .mw-parser-output");if(m&&p>=3&&h<=4*p&&i.length>=800)return!0;if(f&&p>=4&&h<=3*p&&i.length>=3e3)return!0;if(p>=10&&i.length>=2500&&h<=2*p)return!0;var g=/\b(abstract|references|methods|results|discussion|data availability|journal|protein|genome|doi)\b/i.test(i)||/\/(articles?|doi)\//.test(u);return!!(i.length>8e3&&g)||!(!/\/(?:what-we-do|what_we_do|our-work|our_work|about|mission|programmes?|programs?)\b/.test(u)&&!/\b(institution|agency|united nations|ngo|foundation|what we do|our work|mission)\b/.test(c+" "+d)||!/\b(what we focus on|we work|our work|mission|protect|provide|advocate|countries and territories|programmes?|programs?)\b/i.test(i))}(e,n,X,u)||function(e,n,o,i){if(!n||i.length<800)return!1;var a=r(location.pathname||"").toLowerCase(),l=t(n&&n.title||e.title||"").toLowerCase(),s=t(e&&e.siteName||"").toLowerCase(),c=t(document.body&&document.body.innerText||""),u=t([l,s,a,i.slice(0,12e3),c.slice(0,12e3)].join(" ")).toLowerCase(),m=(o||"").match(/^#{2,4}\s+/gm)||[],p=/\/(?:compound|substance|protein|gene|genome|pathway|assay|bioassay|dataset|datasets|article\/dataset|articles\/dataset|record|entry)\//.test(a),h=u.match(/\b(?:cid|cas|inchikey|inchi|canonical smiles|molecular formula|molecular weight|uniprot|ensembl|refseq|gene id|taxonomy id|doi|dataset|accession|chembl|pubchem|protein|proteomics|metabolomics|transcriptomics)\b/g)||[],f=document.querySelectorAll("table, dl, [class*='record' i], [class*='identifier' i], [class*='metadata' i], [data-testid*='metadata' i]").length>=2,g=!!d(["Dataset","DataCatalog"]);return(p||g||/\b(?:database|data repository|scientific resource|life science resource)\b/.test(s))&&h.length>=3&&(m.length>=4||f||i.length>=5e3)}(e,n,o,u)||Fr(c,u)||s.push("multi_topic_page")}if(!f&&!g&&n&&"article"===n.contentType&&!Ft()&&(Hr()&&-1===s.indexOf("subscription_interstitial"))){var ee=e&&!0===e.isAccessibleForFree,te=m.length>0?u.length/m.length:1;u.length>0&&(!ee&&u.length<5e3||!ee&&u.length<8e3&&te<.4||u.length<12e3&&te<.25)&&s.push("paywall_partial_content")}f||g||!n||"search"===n.contentType||y||/\/(foto|fotos|photos?|gallery|galleries|galerie|galerij|galleria|galeria|fotogalerie|bildergalerie|bildspel|fotogalleri|valokuvat|fotoalbum|fotoreportaz|фото|фотогалерея|φωτογραφίες)\b/i.test(location.pathname||"")&&u.length<800&&s.push("photo_gallery_page");if(!f&&!g&&Dr(e,n,c,u)){var re=t(n&&n.publishedTime||e.publishedTime||"");if(re){var ne=Date.parse(re);if(!isNaN(ne))(Date.now()-ne)/864e5>30&&u.length>=1200&&!j&&s.push("stale_content")}}return f||g||!n||"search"===n.contentType||y||function(e,r,n){var o=t(r+" "+n).toLowerCase();if(!o)return!1;if(Fr(e,r)||Ir(e,r))return!1;var i=/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//i,a=o.match(/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//gi)||[];if(!a.length)return!1;if(/\b(this press release was (?:issued|distributed)|press release (?:distributed|provided|issued) by|distributed by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire)|provided by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire))\b/i.test(o))return!0;var l=o.slice(0,1600);if(i.test(l)&&/\b(press release|announces?|launches?|reports?|new york|london|toronto|singapore|--|\(business wire\))\b/i.test(l))return!0;var s=t(e+" "+n.slice(0,800)).toLowerCase();return!(!i.test(s)||!/\b(press release|announces?|launches?)\b/.test(s))||a.length>=3&&/\b(press release|announces?|launches?|distributed|provided)\b/i.test(o.slice(0,4e3))}(c,u,m)&&s.push("syndicated_repost"),s}function Kr(e){var t=String(e||"").replace(/\\\r?\n\s*/g,"");try{t=JSON.stringify(JSON.parse(t),null,2)}catch(e){t=t.replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\'/g,"'").replace(/\\"/g,'"').replace(/\\\\/g,"\\")}return t.trim()}function Jr(e){var r=Ae(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(q(/(^|\.)(api\.rubyonrails\.org|ruby-doc\.org)$/)||/rdoc documentation/.test(r)||!n&&!!document.querySelector("#class-metadata, #bodyContent")))return null;if(/documenting the ruby language/i.test(e.title||document.title)&&!document.querySelector("#class-metadata, #bodyContent, main h1"))return null;var o=ke(["#bodyContent","#content","#main","main"]);return o?je(e,o,{titleSelectors:["#bodyContent h1","#content h1","#main h1","main h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*RDoc Documentation$/i,"").replace(/^(class|module)\s+/i,"")},rewriteRoot:function(e){e.querySelectorAll("form, nav, header, #class-metadata, .method-source-code, .source_code, .filetree, .panel, .search-section, .quicksearch, aside").forEach(function(e){e.remove()}),fe(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),fe(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("h1").forEach(function(e){e.remove()}),e.querySelectorAll("ul, ol, div, section").forEach(function(e){ye(e)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent);/^(¶|↑)$/.test(r)&&e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/[¶↑]/g,"").replace(/\s+</g," < ")})}}):null}function Xr(e){var t=a(e,[function(t,r,n){return[Ae(e),r,n].join(" ")}]),r=t.generator.toLowerCase(),n=t.appName.toLowerCase(),o=t.signature.toLowerCase();return t={generator:r,appName:n,signature:o},document.querySelector("[class*='stldocs-']")?Yr("stldocs",t):/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(o))?Yr("starlight",t):/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav")?Yr("mkdocs",t):document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname)?Yr("readme",t):document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']")?Yr("redoc",t):/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview")?Yr("fern",t):/nextra/.test(o)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container")?Yr("nextra",t):/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav")?Yr("vitepress",t):/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav")?Yr("rspress",t):/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle")?Yr("mdbook",t):/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards")?Yr("antora",t):/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']")?Yr("mintlify",t):/gitbook/i.test(r)||/\.gitbook\.io$/.test(location.hostname)||document.querySelector("main [class*='whitespace-pre-wrap']")&&/powered by gitbook/i.test(document.body.innerText)?Yr("gitbook",t):document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]")?Yr("scalar",t):/docusaurus/.test(r)||document.querySelector("meta[name='generator'][content^='Docusaurus'], #__docusaurus, [class*='docusaurus-'], .theme-doc-markdown, .theme-doc-sidebar-container, nav[aria-label='Docs sidebar']")?Yr("docusaurus",t):/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search")?Yr("rustdoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?Yr("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?Yr("go_pkg",t):/readthedocs/.test(o)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?Yr("readthedocs",t):/sphinx/.test(r)||document.querySelector("body[class*='sphinx'], .document, .sphinxsidebar, [role='navigation'] .sphinxsidebarwrapper, div.body[role='main'], dt.sig, a.headerlink, div.highlight")?Yr("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(o)?Yr("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(o)&&document.querySelector("[class*='docBody'], article[class*='doc']")?Yr("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?Yr("generic_docs",t):null}function Yr(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function Qr(e,r){if(!(r=r||Xr(e))||"stldocs"!==r.system&&"starlight"!==r.system)return null;var n=["main .stldocs-content","main .stldocs-resource-content","main .stl-content-panel","main article","main [data-pagefind-body]","main .sl-markdown-content","main .content-panel","main"].map(function(e){return Array.prototype.slice.call(document.querySelectorAll(e))}).flat().sort(function(e,n){function o(e){var n=e.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").length,o=e.querySelectorAll("[class*='stldocs-method-route'], [class*='method-route']").length,i=e.querySelectorAll("[class*='resource-description']").length;return 1e3*n+200*o+80*e.querySelectorAll(".stldocs-property").length+50*i+("starlight"===r.system&&(e.matches(".sl-markdown-content, [data-pagefind-body]")||e.querySelector(".sl-markdown-content, [data-pagefind-body]"))?5e3:0)+("starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelector("p, pre, code, ul, ol")?800:0)-("starlight"===r.system&&e.matches("article.card, .card")&&!e.querySelector("h1, h2")?1200:0)+t(e.textContent).length}return o(n)-o(e)})[0]||null,o=E(n||document.body);hi(o),ve(o,{});var i,a,l=h(["main h1","main article h1"])||t(e.title||document.title),s=(i={},a=[],o.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").forEach(function(e){if(!(a.length>=12)){var r=function(e){if(!e)return null;var r=we(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=we(e,["h2","h3","h4","strong","[class*='method-name']","[class*='method-title']","[class*='summary-title']"]),o=t(e.textContent);if(n||(n=o,r&&(n=t(n.replace(r,""))),n=(n=n.replace(/\s{2,}/g," ")).split(/(?:(?:GET|POST|PUT|PATCH|DELETE|OPTIONS|HEAD)\/)/)[0].trim()),!n)return null;var i=we(e,["p","[class*='description']","[class*='summary-description']"]);i&&(i=Ne(t(i)),n&&0===i.indexOf(n)&&(i=t(i.slice(n.length))),r&&0===i.indexOf(r)&&(i=t(i.slice(r.length))));var a={text:n};return r&&(a.route=r),i&&(a.detail=i),a.groups=function(e){var t=[],r={};return xe(e,"section, div, details",".stldocs-property").forEach(function(e){if(!(t.length>=3||e.closest(".stldocs-property"))){var n=Se(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var o=tn(e).map(function(e){return nn(e,0)}).filter(Boolean).slice(0,4);o.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:o}))}}}),t}(e),a}(e);if(r){var n=r.text+"|"+(r.route||"");i[n]||(i[n]=!0,a.push(r))}}}),a),c=function(e,r){var n={},o=[],i=t(String(r||"")).toLowerCase().replace(/s$/i,"");Array.prototype.slice.call(e.querySelectorAll(".stldocs-property")).forEach(function(e){if(!function(e){var t=e&&e.parentElement;for(;t;){if(t.classList&&t.classList.contains("stldocs-property"))return t;t=t.parentElement}return null}(e)&&!e.closest("[class*='stldocs-method-summary'], [class*='method-summary']")){var r=t(en(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!rn(r)&&!n[r]){var a=Ne(en(e,".stldocs-property-description, [class*='property-description']")),l=tn(e).map(function(e){return nn(e,0)}).filter(Boolean).slice(0,5);if(a||l.length){var s=/(?:=|:)\s*object\s*\{|\bobject\s*\{/.test(r),c=t(r.split(/[:=]/)[0]).replace(/\s+$/,""),u=c.replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(/[\s_.-]+/).filter(Boolean).length,d=i&&0===c.toLowerCase().indexOf(i);n[r]=!0,o.push({declaration:r,description:a||null,fields:l,objectSchema:s,score:(s?600:0)+200*l.length+(a?50:0)+(d?700:0)+(i&&-1!==r.toLowerCase().indexOf(i)?250:0)-120*(r.match(/\s+or\s+/g)||[]).length-80*Math.max(u-2,0)+Math.min(r.length,80)})}}}});var a=o.some(function(e){return e.objectSchema})?o.filter(function(e){return e.objectSchema}):o;return a.sort(function(e,t){return t.score-e.score}).slice(0,3).map(function(e){return delete e.score,delete e.objectSchema,e})}(o,l);if(s.length||c.length){var u=function(e,r,n){for(var o=[".stldocs-resource-description","[class*='resource-description']",".stldocs-resource-content > p",".stldocs-markdown > p",".sl-markdown-content > p","p"],i=0;i<o.length;i+=1)for(var a=Array.prototype.slice.call(e.querySelectorAll(o[i])),l=0;l<a.length;l+=1){var s=a[l];if(!s.closest(".stldocs-property, [class*='stldocs-method-summary'], [class*='method-summary'], .stldocs-properties, [class*='resource-content-properties']")){var c=Ne(t(s.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=Ne(t(r&&r.excerpt));return u&&u!==n?/^api reference for .* endpoints?$/i.test(u)?null:u:null}(o,e,l);s.length>=6&&(c=c.slice(0,2).map(function(e){return{declaration:e.declaration,description:e.description,fields:e.fields.slice(0,3)}}));var d=[];return l&&d.push("# "+l),u&&d.push(u),s.length&&d.push(function(e){return e.map(function(e){var t="- "+e.text;return e.route&&(t+=" ("+e.route+")"),e.detail&&(t+=": "+e.detail),e.groups&&e.groups.length&&e.groups.forEach(function(e){t+="\n - "+e.heading+"\n"+on(e.fields," ")}),t}).join("\n")}(s)),c.length&&d.push(function(e){var t=["## Schemas"];return e.forEach(function(e){t.push("### "+e.declaration),e.description&&t.push(e.description),e.fields.length&&t.push(on(e.fields,""))}),t.join("\n\n")}(c)),{title:l||e.title,byline:null,excerpt:u||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:d.filter(Boolean).join("\n\n").trim(),textContent:t(d.join(" ")),docsLike:!0,readerMode:!1,contentType:"article"}}return ze(e,n,{title:h(["main h1","main article h1"])||t(e.title||document.title),rewriteRoot:function(e){e.querySelectorAll("#starlight__sidebar, starlight-menu-button, [class*='stldocs-sidebar'], [class*='stldocs-sidebar-entry'], [class*='stldocs-expander'], [class*='sidebar-pane'], [class*='sidebar-content'], [class*='sidebar-accordion'], [class*='table-of-contents'], .stldocs-breadcrumbs, .stl-ui-dropdown, .discord, aside").forEach(function(e){e.remove()}),"starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelectorAll("article.card, .card").forEach(function(e){var r=t(e.textContent);e.closest(".landing-card, .card--fullwidth")||e.querySelector(".title, .body")||r&&r.length<=600&&!e.querySelector("h1, h2, h3, h4, h5, h6")&&e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|table of contents|copy page|edit page|expand|collapse|api reference)$/i),e.querySelectorAll("h1").forEach(function(e,t){t>0&&e.remove()}),e.querySelectorAll("h2, h3, h4, h5, h6, p, div, span").forEach(function(e){var r=t(e.textContent);/expand collapse/i.test(r)&&e.remove(),/^[A-Z][a-z]+(?:[A-Z][a-z]+){1,}$/.test(r)&&r.length<40&&e.remove()})}})}function en(e,t){return Se(e,[t],".stldocs-property")}function tn(e){return xe(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function rn(e){return e=t(e),/^("|').+("|')$/.test(e)}function nn(e,r){if(!e)return null;r=r||0;var n=t(en(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||rn(n)?null:{declaration:n,description:Ne(en(e,".stldocs-property-description, [class*='property-description']"))||null,fields:r<2?tn(e).map(function(e){return nn(e,r+1)}).filter(Boolean).slice(0,0===r?3:2):[]}}function on(e,t){return t=t||"",e.map(function(e){var r=t+"- `"+e.declaration+"`";return e.description&&(r+=": "+e.description),e.fields&&e.fields.length&&(r+="\n"+on(e.fields,t+" ")),r}).join("\n")}function an(r){var n=function(){var t=d(["VideoObject","Clip","Movie","TVEpisode"]),r={title:t&&(t.name||t.headline),description:t&&t.description,byline:t&&(t.author||t.publisher),publishedTime:t&&(t.uploadDate||t.datePublished),duration:t&&t.duration,views:null},n=e.ytInitialPlayerResponse,o=n&&n.videoDetails,i=n&&n.microformat&&n.microformat.playerMicroformatRenderer;return o&&(r.title=r.title||o.title,r.description=r.description||o.shortDescription,r.byline=r.byline||o.author,r.views=r.views||o.viewCount),i&&(r.byline=r.byline||i.ownerChannelName,r.publishedTime=r.publishedTime||i.publishDate||i.uploadDate),r}(),o=t(i("og:type","property")||"").toLowerCase(),a=!(!e.ytInitialPlayerResponse||!e.ytInitialPlayerResponse.videoDetails),l=!(!r.video&&!/^video\b/.test(o)),s=/\/(watch|shorts|live|videos?|player|clip|replay)\b/i.test(location.pathname||""),c=!!document.querySelector("video, iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], [data-video-id], [data-video], [data-player]");if(!!!(a||l||s&&c)||!(s||a||l))return null;if(!a&&!s&&!/^video\b/.test(o)&&Array.prototype.filter.call(document.querySelectorAll("article p, main p"),function(e){return t(e.textContent||"").length>=80}).length>=3)return null;var u=function(e,r){var n=t(r.title||""),o=y(["main h1","article h1","h1"],6).filter(function(e){return!/^(loading|this video is processing|verify to continue|checking if the site connection is secure)/i.test(e)});return!n&&o.length&&(n=o[0]),n||(n=t(e.title||document.title)),n.replace(/\s*[-|]\s*(YouTube|Vimeo|Videos & Movies on Vimeo)$/i,"")}(r,n),f=function(e,r){var n=t(r.description||e.excerpt||"");return n||y(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description","[data-testid='vd-wrapper'] p","main article p","main p"],12).find(function(e){return!(e.length<30||/^(loading|you'll be able to view it as soon as it's done|verify to continue|checking if the site connection is secure)/i.test(e))})||null}(r,n),g=m(n.byline)||r.byline,b=p(n.publishedTime)||h(["time[datetime]"],"datetime")||r.publishedTime,w=[],x=p(n.duration),S=p(n.views);return x&&w.push("Duration: "+x),S&&w.push("Views: "+S),u&&f?v({title:u,byline:g,publishedTime:b,description:f,details:w,siteName:r.siteName||location.hostname,hostAware:!0}):null}function ln(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function sn(e){var r=(e=e||{}).metadata||{},n=e.abstractRoot||null,o=[];if(n&&o.push(n),e.bodyRoots?o=o.concat(e.bodyRoots.filter(Boolean)):e.bodyRoot&&o.push(e.bodyRoot),!o.length&&!e.details)return null;var i=function(e,r){var n="";if(e.title)n=e.title;else if(e.titleNode)n=e.titleNode.getAttribute&&e.titleNode.getAttribute("content")||e.titleNode.textContent||"";else if(e.titleSelectors)for(var o=0;o<e.titleSelectors.length;o+=1){var i=document.querySelector(e.titleSelectors[o]);if(i&&(n=t(n=i.getAttribute&&i.getAttribute("content")||i.textContent||"")))break}return n=t(n||r.title||document.title||""),e.titleCleanup&&(n=n.replace(e.titleCleanup,"")),t(n)}(e,r),a=document.createElement("article");if(i){var l=document.createElement("h1");l.textContent=i,a.appendChild(l)}if(o.forEach(function(t){var r=function(e,t){if(!e)return null;var r=E(e),n="#articleDenialBlock, #denialBlockWrapper, #references, #bibliography, #keywords, section[property='keywords'], [id*='supplementary' i], [class*='supplementary' i], .articleMetrics_count, .articleMetrics, .metrics, .references, .recommended, .recommendations, .citation-tools, .purchase, .access-options, .toolbar-metric__menu-section, .article-tools, .related, .figure-inline-download, .carousel-item, [role='doc-bibliography'], [class*='metric' i], [class*='metrics' i], [class*='recommend' i], [class*='related' i], [class*='citation' i], [class*='reference' i], [class*='collateral' i], [class*='share' i], [class*='purchase' i], [class*='institution' i], aside, nav, form, button, input, footer, script, style, noscript, template, iframe";return t&&(n+=", "+t),r.querySelectorAll(n).forEach(function(e){e.remove()}),r.querySelectorAll("a[href*='/action/doSearch']").forEach(function(e){(e.closest("li, [role='listitem']")||e).remove()}),hi(r),r}(t,e.extraNoiseSelector);r&&a.appendChild(r)}),e.details&&e.details.length){var s=document.createElement("ul");e.details.forEach(function(e){var t=document.createElement("li");t.textContent=e,s.appendChild(t)}),a.appendChild(s)}hi(a);var c=Ei(Uo(a.innerHTML));e.markdownFallback&&t(c).length<.2*t(a.textContent||"").length&&(c=e.markdownFallback());var u=t(c);if(u.length<(e.minTextLength||300))return null;var d=t(n&&n.textContent||"");return{title:i||r.title,byline:r.byline,excerpt:(e.excerpt||d).slice(0,280)||r.excerpt,siteName:e.siteName||r.siteName,publishedTime:r.publishedTime,html:a.innerHTML,markdown:c,textContent:u,readerMode:!1,contentType:"article",hostAware:!0}}function cn(e,r,n){var o=[document.title,e&&e.title,e&&e.siteName,document.body&&document.body.textContent];return r&&r.length&&o.splice(3,0,h(r)),t(o.join(" ")).slice(0,n||2e4)}function un(e){return ln(e||[])}function dn(e,r){if(r.signalSelectors&&!ln(r.signalSelectors))return null;var n=un(r.abstractSelectors),o=un(r.bodySelectors);if(!o&&r.fallbackBodyRoot&&(o=r.fallbackBodyRoot()),!n||!o)return null;if(r.signature){if(!r.signature(e))return null}else if(r.signaturePattern){var i=cn(e,r.signatureSelectors,r.signatureMaxLength);if(!(r.signaturePattern.test(i)||r.allowCitationDoiSignature&&document.querySelector("meta[name='citation_doi']")))return null}var a=t(n.textContent||""),l=t(o.textContent||"");return a.length<(r.minAbstractTextLength||80)||l.length<(r.minBodyTextLength||600)||r.rejectBodyPattern&&r.rejectBodyPattern.test(l)?null:sn({metadata:e,abstractRoot:o.contains&&o.contains(n)?null:n,bodyRoot:o,excerpt:r.excerpt?r.excerpt(a):a,titleSelectors:r.titleSelectors,titleCleanup:r.titleCleanup,siteName:r.siteName?r.siteName(e):void 0,minTextLength:r.minTextLength||700})}var mn={highwire:{abstractSelectors:["#abstract[role='doc-abstract']","section[role='doc-abstract']#abstract","section[property='abstract']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][typeof='Text']"],signatureSelectors:["meta[name='citation_publisher']","meta[name='citation_journal_title']","meta[property='og:site_name']"],signaturePattern:/\b(PNAS|Proceedings of the National Academy|HighWire|citation_doi)\b/i,allowCitationDoiSignature:!0,minBodyTextLength:500,titleSelectors:[".citation__title",".article-header h1","h1[property='name']","h1","meta[name='citation_title']"],titleCleanup:/\s*\|\s*PNAS\s*$/i,minTextLength:600},elsevier:{abstractSelectors:["#abstracts[data-extent='frontmatter']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][data-extent='bodymatter']"],signature:function(e){var t=document.getElementById("build-style-article");return t&&/\/products\/marlin\//i.test(t.getAttribute("href")||"")||document.querySelector("meta[name=citation_pii], meta[name=citation_doi]")||/\bElsevier\b|ScienceDirect|Cell Press/i.test(cn(e))},minAbstractTextLength:80,minBodyTextLength:1,rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["h1","header h1",".core-container h1"],excerpt:function(e){return h(["#author-abstract","section[property='abstract']"])||e},siteName:function(e){return e.siteName||"Elsevier"},minTextLength:300},generic:{signalSelectors:["meta[name='citation_doi']","meta[name='citation_journal_title']","meta[name='citation_title']","meta[name='dc.Identifier'][content*='doi' i]","section[property='abstract']","[role='doc-abstract']",".art-abstract",".html-abstract","[property='articleBody']",".html-body","#bodymatter"],abstractSelectors:["section[property='abstract']","[role='doc-abstract']","#abstract[role='doc-abstract']",".art-abstract",".html-abstract",".article__abstract",".article-abstract",".abstractSection",".NLM_abstract","#abstract",".abstract"],bodySelectors:["#bodymatter[property='articleBody']","#bodymatter","section[property='articleBody']","[property='articleBody']","#html-body",".html-body",".art-body",".article-content .html-body","article[typeof*='ScholarlyArticle' i]","article[class*='article' i]",".article__body",".article-body",".c-article-body",".ArticleBody","main article"],fallbackBodyRoot:function(){var e=Array.prototype.filter.call(document.querySelectorAll("section[id^='sec'], section[id^='Sec'], .section"),function(e){return t(e.textContent||"").length>=120});return e.length<2?null:e.reduce(function(e,r){var n=t(r.textContent||"").length;return!e||n>e.textLength?{node:r.parentNode||r,textLength:n}:e},null).node},rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["meta[name='citation_title']","h1[property='name']",".citation__title",".article-header h1","article h1","h1"],minTextLength:700}};function pn(e){return function(e){if(!/^\/species\/\d+\/\d+\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#redlist-js .page-species"),n=t(document.title||h(["main h1","h1"])||e.title),o=t([e&&e.siteName,e&&e.title,document.title,document.body&&document.body.textContent].join(" "));if(!r||!/\bIUCN Red List\b/i.test(o)||!n)return null;var i=["taxonomy","assessment-information","geographic-range","population","habitat-ecology","threats","use-trade","conservation-actions"].map(function(e){return document.getElementById(e)}).filter(Boolean);if(i.length<4||!document.getElementById("assessment-information"))return null;var a=document.createElement("article"),l=document.createElement("h1");l.textContent=n.replace(/\s*--\s*$/i,""),a.appendChild(l);var s=r.querySelector(".layout-headline__supplement.layout-assessment, .layout-assessment__major");s&&/\b(Abstract|Red List|Assessment)\b/i.test(t(s.textContent||""))&&a.appendChild(E(s));return i.forEach(function(e){var t=E(e);t.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, form, nav, .map, [class*='map' i], [class*='tooltip' i], [class*='translate' i], [aria-hidden='true']").forEach(function(e){e.remove()}),hi(t),a.appendChild(t)}),le(e,a,{cloneRoot:!1,title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"IUCN Red List",minTextLength:900,validateMarkdown:function(e){return/\bAssessment Information\b[\s\S]*\bPopulation\b[\s\S]*\bThreats\b/i.test(e)}})}(e)||function(e){if(!/^\/[A-Za-z_]+\/Gene\/Summary\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#main"),n=r&&r.querySelector("h1.summary-heading"),o=r&&r.querySelector(".summary_panel"),i=r&&r.querySelector("#GeneSummary"),a=(r&&r.querySelector("#transcripts_table"),t(n&&n.textContent||""));return r&&n&&o&&i&&/^Gene:\s+\S+\s+ENS[A-Z]*G\d+/i.test(a)?le(e,r,{title:a,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"Ensembl",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .navbar, .image_panel, .image_toolbar, .json_, .label_layer, .hover_label, .boundaries_wrapper, .drag_select, .session_messages, .dataTables_top, .data_table_config, .floating_popup, .tool_buttons, .invisible, .hidden, ._ht_tip, .button.toggle").forEach(function(e){e.remove()}),e.querySelectorAll("img").forEach(function(e){t(e.alt||e.title||"")||e.remove()})},validateMarkdown:function(e){return/\bDescription\b[\s\S]*\bLocation\b[\s\S]*\bAbout this gene\b/i.test(e)&&/\b(Transcripts|MANE|UniProtKB|RefSeq|CCDS)\b/i.test(e)}}):null}(e)||function(e){var r=t((document.querySelector("meta[name='ncbi_db']")||{}).content||"").toLowerCase();if(r&&"gene"!==r)return null;if(!/^\/gene\/\d+\/?$/i.test(location.pathname||""))return null;var n=document.querySelector(".rprt.full-rprt"),o=n&&n.querySelector("#gene-name"),i=n&&n.querySelector("#summaryDl"),a=n?Array.prototype.slice.call(n.querySelectorAll(".rprt-section[data-section]")):[];if(!n||!o||!i||a.length<2)return null;var l=t(o.textContent||"");return l&&/\bGene ID:\s*\d+/i.test(t(n.textContent||""))?le(e,n,{title:l,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NCBI Gene",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .rprt-section-tools, .download-datasets, .gene-section-help, .gene-top-page, .ui-ncbipopper-wrapper, [aria-hidden='true']").forEach(function(e){e.remove()}),e.querySelectorAll("[style*='display:none'], [style*='display: none']").forEach(function(e){e.remove()}),e.querySelectorAll("table").forEach(function(e){t((e.querySelector("tbody")||e).textContent||"")||e.remove()})},validateMarkdown:function(e){return/\bOfficial\s+Symbol\b[\s\S]*\bGene type\b[\s\S]*\bOrganism\b/i.test(e)&&/\b(Summary|Genomic context|Expression|Interactions|General gene information)\b/i.test(e)}}):null}(e)||function(e){if(!/^\/A\d{6}$/i.test(location.pathname||""))return null;var r=document.querySelector(".seqhead .seqnumname"),n=document.querySelector(".seqdatabox .seqdata"),o=Array.prototype.slice.call(document.querySelectorAll(".entry .section"));if(!r||!n||o.length<3)return null;var i=t((r.querySelector(".seqnum")||{}).textContent||""),a=t((r.querySelector(".seqname")||{}).textContent||"").replace(/\s*\(Formerly\s+[^)]*\)\s*$/i,"");if(!/^A\d{6}$/i.test(i)||!a)return null;var l={OFFSET:!0,COMMENTS:!0,REFERENCES:!0,FORMULA:!0,EXAMPLE:!0},s=["OFFSET","COMMENTS","FORMULA","EXAMPLE","REFERENCES"],c={OFFSET:"Offset",COMMENTS:"Sequence comments",FORMULA:"Formula",EXAMPLE:"Example",REFERENCES:"References"},u={};if(o.forEach(function(e){var r=t((e.querySelector(".sectname")||{}).textContent||"").toUpperCase();if(l[r]&&!u[r]){var n=e.querySelector(".sectbody");!n||t(n.textContent||"").length<2||(u[r]=n)}}),!u.COMMENTS&&!u.FORMULA&&!u.EXAMPLE)return null;var d=document.createElement("article"),m=document.createElement("h1");m.textContent=i+" - "+a,d.appendChild(m);var p=document.createElement("h2");p.textContent="Terms",d.appendChild(p);var h=document.createElement("p");return h.textContent=t(n.textContent||""),d.appendChild(h),s.forEach(function(e){var r=u[e];if(r){var n=document.createElement("section"),o=document.createElement("h2");o.textContent=c[e],n.appendChild(o),Array.prototype.slice.call(r.querySelectorAll(".sectline")).forEach(function(e){if(t(e.textContent||"")){var r=document.createElement("p");r.innerHTML=E(e).innerHTML,n.appendChild(r)}}),t(n.textContent||"").length>o.textContent.length&&d.appendChild(n)}}),le(e,d,{cloneRoot:!1,title:i+" - "+a,excerpt:a,siteName:e.siteName||"OEIS",cleanupRoot:!1,minTextLength:300,validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bExample\b/i.test(e)}})}(e)||function(e){if(!/^\/structure\/[A-Za-z0-9]{4}$/i.test(location.pathname||""))return null;var r=t((document.querySelector("#structureID")||{}).textContent||"").replace(/ /g," ").match(/\b[A-Za-z0-9]{4}\b/),n=r&&r[0].toUpperCase(),o=t((document.querySelector("#structureTitle")||{}).textContent||"");if(!n||!o)return null;var i=t(document.body&&document.body.textContent||""),a=["Classification","Organism(s)","Mutation(s)","Deposited","Released","Deposition Author(s)","Method","Resolution"],l=["PDB ID: "+n,hn(i,"Classification",a),hn(i,"Organism(s)",a),hn(i,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),hn(i,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),hn(i,"Deposited",a),hn(i,"Released",a)].filter(Boolean),s="",c=document.querySelector("#primarycitation, [id*='citation' i], [class*='citation' i]");c&&(s=t(c.textContent||"").replace(/^Primary Citation\s*/i,"").replace(/\s*PubMed(?: Abstract)?:[\s\S]*$/i,""));if(!s){var u=i.match(/Structure of [\s\S]{20,260}?(?=PubMed Abstract:|PDB DOI:|Experimental Data|$)/i);s=u?t(u[0]):""}var d=hn(i,"PubMed Abstract",["PDB DOI","Experimental Data","Deposition Data","Ligands","Clicking the button"]).replace(/\s+View More[\s\S]*$/i,"").replace(/\s+\/\/ Used for[\s\S]*$/i,""),m=[];s&&m.push("Primary citation: "+s);d&&m.push("PubMed abstract: "+d);var p=v({title:n+" - "+o,details:l,highlights:m,siteName:e.siteName||"RCSB PDB",contentType:"article",hostAware:!0});return t(p.markdown).length<180||!/\bPDB ID:\s*[A-Z0-9]{4}\b/.test(p.markdown)?null:p}(e)||function(e){if(!/\.nist\.gov$/i.test(location.hostname||"")&&!/^nist\.gov$/i.test(location.hostname||""))return null;var r=document.querySelector("main#main, #main"),n=t((r&&r.querySelector("h1#Top, h1")||{}).textContent||"");if(!r||!n)return null;var o=t(r.textContent||"");return/\bFormula:\s*\S/i.test(o)&&/\bMolecular weight:\s*[0-9.]+/i.test(o)&&/\bCAS Registry Number:\s*\S/i.test(o)?le(e,r,{title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NIST",cleanupRoot:!1,minTextLength:220,rewriteRoot:function(e){e.querySelectorAll(".copy-prior-text, svg, img, form, .sr-only").forEach(function(e){e.remove()}),e.querySelectorAll("li").forEach(function(e){var r=t(e.textContent||"");(/^Chemical structure:/i.test(r)||/^Permanent link/i.test(r))&&e.remove()})},validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bMolecular weight\b[\s\S]*\bCAS Registry Number\b/i.test(e)}}):null}(e)}function hn(e,r,n){var o=(n||[]).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s*:?"}).join("|"),i=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+":\\s*([\\s\\S]*?)(?="+(o||"$^")+"|$)","i"),a=e.match(i);return a?t(a[1]).replace(/\s+Search on .*$/i,""):""}function fn(e,r){var n=t(e.title||document.title||r||"");return t(n=(n=n.replace(/\s*[|·-]\s*(PyPI|RubyGems\.org|npm).*$/i,"")).replace(/\s+\|\s+RubyGems\.org\s+\|.*$/i,""))||r}function gn(e){if(!e)return!1;if(e.hidden||"true"===e.getAttribute("aria-hidden"))return!1;var t=window.getComputedStyle?window.getComputedStyle(e):null;return!(t&&("none"===t.display||"hidden"===t.visibility||"0"===t.opacity))}function yn(){var e={},r=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(n){if(!(r.length>=30)&&gn(n)){var o=jn(n,[".name","[data-component-name]","h3","h4"]);if(o&&!/^visit\s+/i.test(o)){var i=function(e){var r=t((e.querySelector("[data-component-status]")||e).getAttribute("data-component-status")||"").replace(/_/g," ");if(r||(r=jn(e,[".component-status",".status-msg",".status-icon-button"])),!r){var n=e.querySelector("[aria-label][class*='status'], [data-original-title][class*='status']");r=t(n&&(n.getAttribute("aria-label")||n.getAttribute("data-original-title"))||"")}return r}(n),a=jn(n,["[id^='uptime-percent-']",".legend-item-uptime-value"]),l=n.querySelector("[data-original-title], [aria-label^='More information']"),s=t(l&&l.getAttribute("data-original-title")||""),c=o.toLowerCase();if(!e[c]){e[c]=!0;var u=o;i&&(u+=" - "+i),a&&!/^(% uptime|uptime)$/i.test(a)&&(u+=" ("+a.replace(/\s*%\s*uptime$/i,"% uptime")+")"),s&&s.toLowerCase()!==o.toLowerCase()&&(u+=" - "+s),r.push(u)}}}}),r}function bn(e,r,i){if(i=i||{},!r||n(r)<(i.minText||200))return null;var a=i.preserveContentNav?T(r,document):E(r);i.preserveContentNav&&(a.querySelectorAll("nav.contents, nav[class*='contents' i]").forEach(function(e){var t=document.createElement("section");t.innerHTML=e.innerHTML,e.replaceWith(t)}),hi(a),a.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))})),i.strip&&i.strip(a);var l=Uo(a.innerHTML),s=t(l||a.textContent||"");if(s.length<(i.minText||200))return null;var c=t(((i.titleRoot||document).querySelector("h1")||{}).textContent||i.title||e.title||document.title);return c&&!Pe(l,c)&&(l="# "+c+"\n\n"+l),{title:c||e.title||document.title,byline:null,excerpt:e.excerpt||s.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:a.innerHTML,markdown:l,textContent:s,readerMode:!1,contentType:i.contentType||"article",hostAware:!0,docsLike:!!i.docsLike}}function vn(e,r){r=r||{};var i=e.querySelector(r.headingSelector||"h2, h3, h4, [heading-text], [class*='title' i], [class*='heading' i]"),a=e.querySelector("h2 a[href], h3 a[href], h4 a[href], a[href]"),l=t(i&&i.getAttribute("heading-text")||i&&i.textContent||e.getAttribute("heading-text")||e.getAttribute("aria-label")||a&&a.textContent||""),s=e.querySelector(r.detailSelector||"[content-text], [class*='summary' i], [class*='description' i], [class*='desc' i], [class*='body' i], [class*='text' i], p"),c=t(s&&s.getAttribute("content-text")||s&&s.textContent||e.getAttribute("content-text")||""),u=function(e,t){var r=e.querySelector("a[href]"),n=r&&r.getAttribute("href")||t.dataUrl&&t.dataUrl(e)||"";return n?o(n):""}(e,r)||r.fallbackUrl||location.href,d=Array.prototype.slice.call(e.querySelectorAll(r.childLinkSelector||"ul a[href]")).map(function(e){var r=t(e.textContent||"");return r.length<3?null:{text:r,url:o(e.getAttribute("href"))}}).filter(Boolean);return!l||l.length<3||l.length>(r.maxTitleLength||180)||r.requireDetail&&!c||r.minCardText&&!c&&n(e)<r.minCardText?null:{text:l,url:u,detail:c,childLinks:d}}function wn(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]",n={},o=[];return Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!(o.length>=(t.maxItems||240))&&(!t.cardFilter||t.cardFilter(e))){var r,i=vn(e,t);i&&(r=i.text+"|"+(i.url||""),n[r]||(n[r]=!0,o.push(i)))}}),o}function xn(e,r,n){if(n=n||{},!r)return null;if("list"===n.contentType){var o,i=wn(r,n);return i.length<(n.minItems||3)?null:(o=function(e,r,n){var o=n&&n.title;return t("function"==typeof o?o(e,r)||"":(document.querySelector("h1")||{}).textContent||o||e.title||document.title||"Items")}(e,r,n),k(e,{title:o,excerpt:e.excerpt,items:i,html:E(r).innerHTML,textContent:o+"\n"+ft(i)}))}return bn(e,r,{docsLike:n.docsLike,minText:n.minText,titleRoot:n.titleRoot,title:n.title,strip:function(e){!function(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i]";Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!t.cardFilter||t.cardFilter(e)){var r,n,o,i,a=vn(e,t);if(a){if(r=document.createElement("article"),n=document.createElement(t.headingTag||"h3"),a.url&&a.url!==location.href){var l=document.createElement("a");l.setAttribute("href",a.url),l.textContent=a.text,n.appendChild(l)}else n.textContent=a.text;r.appendChild(n),a.detail&&((o=document.createElement("p")).textContent=a.detail,r.appendChild(o)),a.childLinks&&a.childLinks.length&&(i=document.createElement("ul"),a.childLinks.forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.setAttribute("href",e.url),r.textContent=e.text,t.appendChild(r),i.appendChild(t)}),r.appendChild(i)),e.replaceWith(r)}}})}(e,n),pi(e,n.chromeSelector||Qo+", [class*='breadcrumb' i], [class*='social' i], [class*='share' i], [class*='embed' i], [class*='newsletter' i], form"),n.strip&&n.strip(e)}})}function Sn(e){var t=[{rootSelector:"main [class*='card--with-subsections' i], main [class*='cards--with-subsections' i]",contentRoot:function(e){return e.closest("main")||e.closest("[class*='page-content' i]")||e},candidateFilter:function(e,t,r){return r.filter(function(e){return e.querySelector("h2, h3, h4, a[href]")&&n(e)>=60}).length>=4&&n(t)>=600},docsLike:!0,minText:500,titleRoot:document,cardSelector:"[class*='grid__item' i] > .card, [class*='grid__item' i] > [class~='card']",headingSelector:"h2, h3, h4, [class*='card__title' i]",detailSelector:"[class*='summary' i], p",requireDetail:!0,strip:function(e){e.querySelectorAll("[class*='embed' i]").forEach(function(e){e.remove()})}},{rootSelector:"main .page-document, main [class*='content-area' i], main",candidateFilter:function(e,t,r,o,i){var a=r.filter(function(e){return e.querySelector("h2, h3, a[href]")&&n(e)>=80}),l=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return a.length>=4&&l>=2&&i>=1200&&!!e.querySelector("h1")},score:function(e,t,r,n,o){var i=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return o+500*r.length+150*i},docsLike:!0,minText:900,titleRoot:document,cardSelector:".block.teaser, [class*='grid-block-teaser' i], [class*='grid-teaser-item' i]",headingSelector:"h2, h3, h4",detailSelector:"p",headingTag:"h2",strip:function(e){e.querySelectorAll("[class*='cookie' i]").forEach(function(e){e.remove()})}},{rootSelector:"gui-tile-list, [role='list']",candidateFilter:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return n.length>=3&&(i||o||r.length>=4)},score:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return 100*n.length+(o?500:0)+(i?500:0)},contentType:"list",title:function(e){return(document.querySelector("h1")||{}).textContent||e.title||document.title||"Services"},minItems:3,cardSelector:"gui-tile, [class*='tile' i]",headingSelector:"gui-tile-heading, [heading-text], [class*='tile-heading' i]",detailSelector:"gui-tile-content, [content-text], [class*='tile-content' i]",dataUrl:An,minCardText:20,maxItems:120}],r=null;return t.forEach(function(e){(function(e){return Array.prototype.slice.call(document.querySelectorAll(e.rootSelector)).map(function(t){var r=e.contentRoot?e.contentRoot(t):t,o=Array.prototype.slice.call(t.querySelectorAll(e.cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]")),i=wn(t,e),a=n(r||t),l=a+400*i.length;return r?e.candidateFilter&&!e.candidateFilter(t,r,o,i,a)||i.length<(e.minItems||3)||e.minText&&a<e.minText?null:(e.score&&(l=e.score(t,r,o,i,a)),{root:r,config:e,score:l}):null}).filter(Boolean)})(e).forEach(function(e){(!r||e.score>r.score)&&(r=e)})}),r?xn(e,r.root,r.config):null}function kn(e){if(r=a(null,[function(){var e=document.querySelector("meta[name='Generator' i], meta[name='generator' i]");return t(e&&e.getAttribute("content"))}]).signature,!(/\bDrupal\b/i.test(r)||document.querySelector(".field--name-body, [class*='field--name-' i], [class*='node--type-' i]")||/(?:^|\s)(?:path-[\w-]+|node-[\w-]+)(?:\s|$)/i.test(document.body&&document.body.className||"")))return null;var r,o=Array.prototype.slice.call(document.querySelectorAll("article[class*='overview' i], article[class*='listing' i], .overview-inner-container, .content-main, main article, section.node--view-mode-full, .node--view-mode-full, [itemprop='articleBody'], .field--name-body, .field--name-field-paragraphs, .field--name-field-entity-block, [class*='field--name-body' i]")),i=null;o.forEach(function(e){var t=e.querySelector&&e.querySelector(".field--name-field-paragraphs");t&&n(t)>=200&&(e=t);var r=n(e),o=e.querySelectorAll(".views-element-container, [class*='views-row' i], [class*='view-component' i], [class*='tab-content' i], [class*='blocktab' i], [class*='entity-block' i], [class*='content-link' i], [class*='content-data' i], [class*='block-toggle' i], [class*='field--name-field-entity-block' i], [class*='field--name-field-key-figures' i], [class*='field--name-field-toggle' i], [class*='paragraph--type--cards' i], [class*='card-list' i], [class*='card-heading-list' i], [class*='card-headline' i], [class*='image-besides-text' i], [data-trk*='cards' i]").length,a=r+400*o;r<200||o<1&&!e.matches(".field--name-body, .field--name-field-paragraphs, [class*='field--name-body' i], [itemprop='articleBody']")||(!i||a>i.score)&&(i={root:e,score:a,componentCount:o})});var l=i&&i.root;return!l||n(l)<200?null:xn(e,l,{docsLike:i.componentCount>=2,titleRoot:document,cardSelector:"article.entity-block.content-link, .card-list article, [class*='card-headline' i], [class*='card' i] article, [class*='paragraph--type--cards' i] .card",headingSelector:"h2, h3, h4, [class*='card-headline' i], [class*='title' i]",detailSelector:"[class*='field--name-field-desc' i], [class*='field--name-field-body' i], [class*='summary' i], [class*='description' i], p",strip:function(e){pi(e,Qo+", .side-navigation, [class*='side-navigation' i], [class*='language' i], [class*='breadcrumb' i], .left-column, .sharing, .add-on, [class*='search' i], article.entity-block.content-link .content-desc > a[href], form, .visually-hidden, .hidden")}})}function An(e){var t,r=e&&e.getAttribute("data-cmp-data-layer"),n="";if(!r)return"";try{t=JSON.parse(r),Object.keys(t).some(function(e){var r=t[e]||{};return!!(n=r["xdm:linkURL"]||r.linkURL||r.url||"")})}catch(e){n=""}return n}function qn(e){return!!document.querySelector(e)}function Cn(){return qn("meta[name='gitlab-meta'], .gitlab-meta, .tree-holder, .file-holder, .blob-content, .issuable, .merge-request, .commit-header")||(e=/\b(?:gitlab|gl-|application-ui)\b/i,!(!document.body||!e.test(document.body.className||"")));var e}function _n(e){var t=location.pathname.split("/").filter(Boolean);if("about:"===location.protocol)return!0;if(t.length<2)return!1;if(-1!==location.pathname.indexOf("/-/"))return!1;var r=t[2]||"";return!/^(issues?|pulls?|pull-requests?|merge[-_]requests?|commits?|branches|tags|releases|wiki|settings|src|source|downloads|actions|projects|security|pulse|graphs)$/i.test(r)&&(!(!e||"gitlab"!==e.platform)||(e&&"bitbucket"===e.platform&&/^\/projects\/[^/]+\/repos\/[^/]+\/browse(?:\/)?$/i.test(location.pathname)||2===t.length))}function Tn(e,r,n){var o=function(e,r){var n=t(r.title||document.title);return e.titleCleaner&&(n=t(e.titleCleaner(n))),n}(e,r),i=function(e,t){return h(e.descriptionSelectors)||t.excerpt}(e,r),a=r.siteName||e.siteName||location.hostname;if(!n)return o||i?v({title:o,description:i,siteName:a,hostAware:!0}):null;var l=E(n);hi(l);var s=Uo(l.innerHTML).replace(/^README(?:\.[a-z0-9_-]+)?\s*/i,"").trim();return t(s)?(i&&-1===s.toLowerCase().indexOf(i.toLowerCase())&&(s=i+"\n\n"+s),o&&(s="# "+o+"\n\n"+s),{title:o||r.title,byline:r.byline,excerpt:i,siteName:a,publishedTime:r.publishedTime,html:l.innerHTML,markdown:s,textContent:t(s),hostAware:!0,readerMode:!1,contentType:"article"}):i?v({title:o,description:i,siteName:a,hostAware:!0}):null}function En(e){var t=function(e){return a(e,[function(){return[e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[name='generator']","meta[property='og:site_name']"],"content"),document.title,document.body&&document.body.className].join(" ")}]).signature}(e),r=!!document.querySelector(".project-home-panel, .project-information, .readme-holder, .file-holder.readme-holder, [data-testid='blob-viewer-content'] .blob-viewer[data-path][data-rich-type='markup'], [data-testid='blob-viewer-content'] .file-content.md");return/gitlab/i.test(t)&&r||Cn()?{platform:"gitlab",siteName:location.hostname,readmeSelectors:["[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md","[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'] .file-content.md","[data-testid='blob-viewer-content'] .file-content.md",".blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md",".blob-viewer[data-path='README.md'] .file-content.md",".blob-content .file-content.md",".blob-content .js-markup-content.md",".blob-content .markdown-body",".readme-holder .md",".readme-holder .wiki",".readme-holder [data-testid='readme-content']",".file-holder.readme-holder .md",".file-holder.readme-holder .wiki"],descriptionSelectors:[".project-information .project-description",".project-home-panel .project-description",".project-home-panel p"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*GitLab.*$/i,"")}}:/^GitHub\s+-\s+[^\s/]+\/[^\s:]+/i.test(t)||document.querySelector("[data-testid='repository-container-header'], strong[itemprop='name'] a, h1 strong[itemprop='name']")||qn(".js-repo-pjax-container, [data-pjax], .repository-content, .js-repo-content .markdown-body")?{platform:"github",siteName:"GitHub",readmeSelectors:["#readme article.markdown-body","#readme [data-testid='readme-content']","#readme .markdown-body","[data-testid='readme'] article.markdown-body","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']","[aria-label='README'] article.markdown-body","[aria-labelledby='readme'] article.markdown-body","article.markdown-body[itemprop='text']","article.markdown-body"],descriptionSelectors:["[data-testid='repository-description']","[itemprop='about']",".BorderGrid-cell p.f4",".repository-content .f4.my-3",".repository-meta-content"],titleCleaner:function(e){return e.replace(/^GitHub -\s*/i,"").replace(/\s*[·|-]\s*GitHub$/i,"")}}:/gitea|forgejo/i.test(t)||document.querySelector(".repository .repo-description, .repository #repo-files-table, .repository .file-view.markup.markdown, .repository .markup.markdown")||qn(".repository, .file-view, .ui.container .repository")?{platform:"gitea",readmeSelectors:[".repository #readme .markdown",".repository #readme .markup.markdown",".repository .file-view.markup.markdown",".repository .markup.markdown","#readme .markdown",".file-content.markup.markdown"],descriptionSelectors:[".repository .repo-description",".repo-description",".repository-summary .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*(Gitea|Forgejo|Codeberg).*$/i,"")}}:/bitbucket/i.test(t)||document.querySelector("[data-testid='repo-overview-description'], [data-testid='repository-readme'], [data-testid='readme-content']")||qn(".bitbucket-header, [data-module='repo']")?{platform:"bitbucket",siteName:"Bitbucket",readmeSelectors:["[data-testid='repository-readme'] [data-testid='readme-content']","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']",".readme-content .markdown-body",".readme-content",".markdown-body"],descriptionSelectors:["[data-testid='repo-overview-description']","[data-testid='repository-description']"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*Bitbucket.*$/i,"")}}:/sourcehut|sr\.ht/i.test(t)||qn("#repo-summary, .repo-summary, .repo-nav, .repo-header, #readme")?{platform:"sourcehut",siteName:"sourcehut",readmeSelectors:["#readme article.markdown-body","#readme .markdown-body","#readme .markdown","#readme article","#readme"],descriptionSelectors:["#repo-summary p",".repo-summary p",".repo-summary",".repo-header .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*sourcehut.*$/i,"")}}:null}function jn(e,r){for(var n=0;n<r.length;n+=1){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function Ln(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var r=q(/(^|\.)wikipedia\.org$/),n=q(/(^|\.)wiktionary\.org$/);if(r||n)return null;var o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#mw-content-text");return o?O(e,o,{title:h(["#firstHeading",".mw-first-heading","h1.firstHeading","h1"])||t((e.title||document.title).replace(/\s*[-|–]\s*(Wiktionary|Wikipedia|Wiki).*$/i,"")),byline:e.byline,minTextLength:30,rewriteRoot:function(e){e.querySelectorAll(".mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .navbox, .navbox-styles, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .sistersitebox, .mw-authority-control, .mw-headline-anchor").forEach(function(e){e.remove()}),e.querySelectorAll("table.navbox, table.collapsible, .navbox, .footer-nav, .portal-bar, .portal, .succession-box").forEach(function(e){e.remove()}),e.querySelectorAll("#External_links, #References, #Notes, #See_also, #Further_reading").forEach(function(e){var t=e.closest("section, div");t&&t.remove()})}}):null}function $n(e){return!!Pn()&&(!!document.querySelector(".post-stream, .topic-post, article[data-post-id]")&&!!document.querySelector(".fancy-title, #topic-title h1, .topic-title h1"))}function Pn(){var e=document.body,t=e&&e.className||"",r=!!document.querySelector("#main-outlet, .wrap"),n=!!document.querySelector("#data-discourse-setup"),o=!!document.querySelector("meta[name='generator'][content^='Discourse']"),i=!!document.querySelector("meta[name='discourse_theme_id']"),a=/\bember-application\b/.test(t)&&/\bdiscourse\b/i.test(t);return r&&(n||o||i||a)}function zn(e,t){var r=String(e);t&&(r=r.replace(/,/g,""));var n=parseInt(r,10);return isNaN(n)?e:n>=1e6?(n/1e6).toFixed(1).replace(/\.0$/,"")+"M":n>=1e4?(n/1e3).toFixed(1).replace(/\.0$/,"")+"K":n.toLocaleString()}function Nn(e){var t=e.match(/([\d,.]+[MKB]?)\s*(?:Followers|follower|Takipçi|подписчик|متابع)/i),r=e.match(/([\d,.]+[MKB]?)\s*(?:Following|following)/i),n=e.match(/([\d,.]+[MKB]?)\s*(?:Posts?|post|Gönderi|публикац|منشور)/i);return{followers:t&&t[1],following:r&&r[1],posts:n&&n[1]}}function Rn(e,t,r){return!0===e||!1!==e&&("function"==typeof e?e(t):q(e,r))}window.hostAwareProfiles=window.hostAwareProfiles||[],window.registerHostAwareProfile=function(e,t){hostAwareProfiles.push({condition:e,fn:t})},registerHostAwareProfile(!0,function(e){var r=document.querySelector("#main-article .article-content, #main-content .article-content, .article-content.retro-folders");if(!r)return null;var n=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){return/\/pmwiki\/pmwiki\.php\/Main\//i.test(e.getAttribute("href")||"")}).length;return r.querySelectorAll("li").length<20||n<10?null:O(e,r,{title:h(["#main-article h1","#main-content h1","h1"])||t((e.title||document.title).replace(/\s*-\s*TV Tropes\s*$/i,"")),byline:null,publishedTime:null,minTextLength:1200,rewriteRoot:function(e){["#modal_overlay",".modal_overlay","script","style","iframe",".ad-unit","[id*='ad-']","[class*='ad-']","[class*='advert']","[class*='watch']"].forEach(function(t){e.querySelectorAll(t).forEach(function(e){e.remove()})})}})}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)pinterest\.com$/)&&!/pinterest/i.test(r))return null;if(!/^\/search\//.test(location.pathname)&&!w("q")&&!/showing more search results for/i.test(document.body&&document.body.textContent))return null;var n=t(w("q")),i={},a=[];return document.querySelectorAll("a[href*='/pin/']").forEach(function(e){if(!(a.length>=12)){var r=o(e.getAttribute("href")),n=t(e.getAttribute("aria-label")||e.textContent);if(!n){var l=e.querySelector("img[alt]");n=t(l&&l.getAttribute("alt"))}!r||!n||n.length<12||i[r]||/^(log in|sign up|explore|search|filters|you are signed out)$/i.test(n)||(i[r]=!0,a.push({text:n,url:r}))}}),a.length>=4?S({title:n?"Pinterest results for "+n:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Pinterest",items:a}):e.excerpt?v({title:n?"Pinterest results for "+n:e.title||document.title,description:e.excerpt,details:["Access: Pinterest signed-out shell"],siteName:e.siteName||"Pinterest",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e,n){var o=Ae(e);if(!q(/(^|\.)tiktok\.com$/)&&!/tiktok/i.test(o))return null;var i=t(n||""),a=h(["main h1","h1"]),l=h(["main h2","h2"]),s=r((location.pathname||"").replace(/^\/tag\//,"").split("/")[0]||"").replace(/[-_]+/g," ");if(s=t(s),/^\/tag\//.test(location.pathname)||a||l){var c=a||(s?"#"+s:t(e.title||document.title)),u=e.excerpt;u&&!/make your day/i.test(u)||(u="This TikTok page is only partially available, but the visible tag or page summary can still be extracted.");var d=[];return l&&l!==c&&d.push(l),/drag the slider to fit the puzzle|log in/i.test(i)&&d.push("Access notice: TikTok login or verification required"),v({title:c,description:u,details:d,siteName:e.siteName||"TikTok",contentType:"article"})}return/drag the slider to fit the puzzle|slide to verify/i.test(i)?v({title:t(e.title||document.title)||"TikTok verification required",description:e.excerpt||"This TikTok page is presenting a slider verification challenge before the original content is available.",details:["Gate: slider verification"],siteName:e.siteName||"TikTok",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e,r){var n=Ae(e);if(!q(/(^|\.)ebay\./)&&!/ebay/i.test(n))return null;if(!/\/sch\//.test(location.pathname)&&!w("_nkw")&&!/for sale\s*\|\s*ebay/i.test(n))return null;var i={},a=[];return document.querySelectorAll("a.s-item__link[href*='/itm/'], li.s-item a[href*='/itm/']").forEach(function(e){if(!(a.length>=12)){var r=o(e.getAttribute("href")),n=t(e.textContent||e.querySelector("img[alt]")&&e.querySelector("img[alt]").getAttribute("alt")),l=Tt(e.closest("li.s-item, .srp-results li")||e.parentElement,n);!r||!n||n.length<8||i[r]||(i[r]=!0,a.push({text:n,url:r,detail:l}))}}),a.length>=4?S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"eBay",items:a}):e.excerpt||/cookie/i.test(r||"")?v({title:e.title||document.title,description:e.excerpt||"This eBay page is showing a cookie or privacy prompt before full results are available.",details:["Access notice: eBay cookie or privacy prompt"],siteName:e.siteName||"eBay",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)glassdoor\.com$/)&&!/glassdoor/i.test(r))return null;if(location.pathname&&"/"!==location.pathname&&"/index.htm"!==location.pathname)return null;var n=h(["main h1","h1"])||t((e.title||document.title).replace(/\s*\|.*$/,"")),o=y(["main h2","main p"],20).filter(function(e){return e.length>=12&&!/^(continue with google|continue with apple|or email|sign in|community jobs companies salaries for employers)$/i.test(e)}),i=o.find(function(e){return e!==n&&e.length>=40})||e.excerpt,a=o.filter(function(e){return e!==n&&e!==i}).slice(0,6);return n||i?v({title:n,description:i,highlights:a,siteName:e.siteName||"Glassdoor"}):null}),registerHostAwareProfile(!0,function(e,t){return an(e,t)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!w("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=an(e);if(r)return r;var n=d(["VideoObject"]),o=t(n&&(n.name||n.headline)||e.title).replace(/\s*[-|]\s*YouTube$/i,""),i=h(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description"])||p(n&&n.description)||e.excerpt,a=m(n&&(n.author||n.publisher))||e.byline,l=p(n&&(n.uploadDate||n.datePublished))||e.publishedTime,s=[],c=y(["ytd-macro-markers-list-item-renderer h4","ytd-macro-markers-list-item-renderer #title"],12);return p(n&&n.duration)&&s.push("Duration: "+p(n.duration)),c.length&&s.push("Chapters: "+c.slice(0,6).join(" | ")),o&&i?v({title:o,byline:a,publishedTime:l,description:i,details:s,siteName:e.siteName||"YouTube",hostAware:!0}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)amazon\./))return null;if("/s"!==location.pathname&&!w("k"))return null;var r={},n=[];return document.querySelectorAll("[data-component-type='s-search-result'], .s-result-item[data-asin]").forEach(function(e){if(!(n.length>=15)){var i=e.querySelector("h2 a[href], a.a-link-normal.s-no-outline[href]"),a=e.querySelector("h2 span, h2 a span"),l=t(a?a.textContent:i&&i.textContent),s=o(i&&i.getAttribute("href")),c=e.querySelector(".a-price .a-offscreen"),u=t(c&&c.textContent),d=e.querySelector("[aria-label*='out of 5 stars'], .a-icon-alt"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=e.querySelector("a[href*='#customerReviews'], .a-size-small .a-link-normal"),h=[u,m,t(p&&p.textContent)].filter(Boolean).join(" - ");!l||!s||l.length<8||r[s]||(r[s]=!0,n.push({text:l,url:s,detail:h}))}}),n.length<3?null:k(e,{title:e.title||document.title,excerpt:n[0].text,items:n})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)amazon\./))return null;if(!/(\/dp\/|\/gp\/product\/)/.test(location.pathname))return null;var r=d(["Product","Book"]),n=h(["#productTitle","#title span","#ebooksProductTitle"])||p(r&&r.name)||e.title,o=p(r&&r.description)||e.excerpt||h(["#bookDescription_feature_div .a-expander-content","#bookDescription_feature_div .a-expander-partial-collapse-content","#productDescription p","#productDescription"]),i=h(["#bylineInfo",".author a","#brand"]),a=y(["#feature-bullets li span","#detailBullets_feature_div li span.a-list-item","#productOverview_feature_div td"],10).filter(function(e){return e.length>=12&&e!==n&&!/^see more$/i.test(e)}),l=[],s=r&&r.offers;Array.isArray(s)&&(s=s[0]);var c=s&&s.price?t(s.price+(s.priceCurrency?" "+s.priceCurrency:"")):null;if(c&&l.push("Price: "+c),s&&s.availability&&l.push("Availability: "+b(s.availability)),r&&r.aggregateRating&&r.aggregateRating.ratingValue){var u=t(r.aggregateRating.ratingValue+"/5"),m=r.aggregateRating.reviewCount||r.aggregateRating.ratingCount;l.push("Rating: "+u+(m?" from "+m+" reviews":""))}return n&&o?v({title:t(n).replace(/: Amazon.*$/i,""),byline:i,description:o,details:l,highlights:a,siteName:e.siteName||location.hostname}):null}),registerHostAwareProfile(!0,function(e){var t=Ae(e);if(!q(/(^|\.)bloomberg\.com$/)&&!/bloomberg/i.test(t))return null;if(/(\/news\/|\/opinion\/|\/features\/|\/graphics\/)/.test(location.pathname))return null;var r={},n=[];return document.querySelectorAll("a[href*='/news/articles/'], a[href*='/news/features/'], a[href*='/opinion/articles/'], a[href*='/features/'], a[href*='/graphics/'], a[href*='/news/newsletters/']").forEach(function(e){var t=Ct(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),i=o(e.getAttribute("href")),a=Tt(e.closest("article, section, div")||e.parentElement,t);!t||!i||t.length<18||t.length>220||r[i]||/^(bloomberg opinion|bloomberg businessweek|newsletter:|watch)$/i.test(t)||(r[i]=!0,n.push({text:t,url:i,detail:a}))}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Bloomberg",items:n})}),registerHostAwareProfile(!0,function(e){var t=Ae(e);if(!q(/(^|\.)economist\.com$/)&&!/economist/i.test(t))return null;if(location.pathname&&"/"!==location.pathname)return null;var r={},n=[];return document.querySelectorAll("main a[href]").forEach(function(e){var t=e.getAttribute("href")||"";if(/(\/\d{4}\/\d{2}\/\d{2}\/|\/interactive\/)/.test(t)){var i=Ct(e),a=o(t),l=Tt(e.closest("article, section, li, div")||e.parentElement,i);!i||!a||i.length<18||i.length>180||r[a]||/^(subscribe|log in|the economist pro|weekly edition|current topics|world|business & economics|opinion|in depth|culture, history & society|our a-to-zs|featured story)$/i.test(i)||(r[a]=!0,n.push({text:i,url:a,detail:l}))}}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!/(^|\b)ft\.com\b|financial times/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},i=[];return document.querySelectorAll("main a[href*='/content/'], main a[href*='/stream/']").forEach(function(e){var r=t(e.textContent).replace(/^opinion content\.?\s*/i,""),a=o(e.getAttribute("href")),l=Tt(e.closest("article, section, .story-group__article, .story-group-slice, .o-teaser")||e.parentElement,r);!r||!a||r.length<18||r.length>180||n[a]||/^(top stories|news|opinion|companies|markets news|video|life & arts|spotlight|most read|must-reads you missed|more opinion|more companies|more europe news|more markets news|more technology)$/i.test(r)||(n[a]=!0,i.push({text:r,url:a,detail:l}))}),i.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:i})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)zeit\.de$/))return null;var t=document.querySelector("article.article")||document.querySelector("article#js-article"),r=t&&(t.querySelector(".article-body")||t.querySelector(".article-page"));return t&&r&&r.querySelector(".paragraph, p")?O(e,t,{title:h([".article-heading",".article-heading__headline","h1.article-heading","h1"])||e.title,byline:h([".article-meta .authors",".article__authors","[rel='author']"])||e.byline,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll([".iqdcontainer",".summy",".summary__feedback",".newsletter","[class*='newsletter' i]","[class*='topicbox' i]","[class*='recommend' i]","[class*='related' i]","[data-ct-area*='comments' i]","[data-ct-area*='sharing' i]","[data-ct-area*='recommend' i]","[aria-label*='Newsletter' i]","[aria-label*='Mehr zum Thema' i]","[aria-label*='Seitennavigation' i]","[aria-label*='Schlagwörter' i]","aside","nav"].join(", ")).forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)booking\.com$/)&&!/booking\.com/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n=h(["main h1","h1"])||t((e.title||document.title).replace(/^Booking\.com\s*[|:-]\s*/i,"")),i=e.excerpt,a=y(["main h2"],8).filter(function(e){return e.length>=5&&!/^(offers?)$/i.test(e)}),l={},s=[];if(document.querySelectorAll("main a[href*='/searchresults.html'], main a[href*='/hotel/'], main a[href*='/apartments/'], main a[href*='/resorts/'], main a[href*='/villas/'], main a[href*='/homes/']").forEach(function(e){if(!(s.length>=10)){var r=t(e.textContent),n=o(e.getAttribute("href"));!r||!n||r.length<3||r.length>80||l[n]||/^(learn more|search|sign in|register|list your property)$/i.test(r)||(l[n]=!0,s.push({text:r,url:n}))}}),!n&&!a.length&&s.length<3)return null;var c=[];n&&c.push("# "+n),i&&c.push(i),a.length&&c.push(a.slice(0,6).map(function(e){return"- "+e}).join("\n")),s.length>=3&&c.push(ft(s));var u=c.filter(Boolean).join("\n\n").trim();return k(e,{title:n||e.title,excerpt:i,siteName:e.siteName||"Booking.com",markdown:u,textContent:t(u),items:s.length>=3?s:null,contentType:s.length>=3?"list":"article"})}),registerHostAwareProfile(!0,function(e){return dn(e,mn.highwire)}),registerHostAwareProfile(!0,function(e){var r=document.querySelector(".article_abstract, .abstractSection, .article__abstract, .NLM_abstract, #abstract, section[property='abstract'], [property='abstract']");if(!r)return null;var n=t(r.textContent||"");if(n.length<120)return null;var o=t([document.title,e&&e.title,e&&e.siteName,h(["meta[name='citation_publisher']","meta[name='citation_journal_title']"]),document.body&&document.body.textContent].join(" ")).slice(0,16e3);return/\b(acs publications|american chemical society|journal of chemical education)\b/i.test(o)?sn({metadata:e,abstractRoot:r,titleSelectors:[".article_header-title",".citation__title","h1[property='name']","h1"],titleCleanup:/\s*-\s*ACS Publications\s*$/i,excerpt:n,minTextLength:180}):null}),registerHostAwareProfile(!0,function(e){function r(e){var r=Array.prototype.reduce.call(e.querySelectorAll(".article-content .article-text"),function(e,t){var r=t.querySelectorAll(".section.toc-section a[data-toc^='s']").length;return!e||r>e.sections?{node:t,sections:r}:e},null),n=r&&r.node;return n?{abstractNode:n.querySelector(".abstract.toc-section, .abstract"),bodySections:Array.prototype.filter.call(n.querySelectorAll(".section.toc-section"),function(e){var r=e.querySelector("a[data-toc]"),n=r&&r.getAttribute("data-toc")||"",o=t(e.textContent||"");return/^(?:s|sec)\d+$/i.test(n)&&o.length>=80})}:null}var n=r(document);if(!n||n.bodySections.length<3){var o=Ke(),i=document.createElement("div");i.innerHTML=o&&o.html||"";var a=r(i);a&&(!n||a.bodySections.length>n.bodySections.length)&&(n=a)}if(!n||!n.abstractNode||n.bodySections.length<2)return null;var l=n.abstractNode,s=n.bodySections;if(!(document.querySelector("meta[name='citation_doi'], meta[name='citation_journal_title']")||/\b(open access|peer-reviewed|research article|article info)\b/i.test(t(document.body&&document.body.textContent||"").slice(0,12e3))))return null;var c=h([".article-header h1","h1","meta[name='citation_title']"])||e.title||document.title;return c=t(c||"").replace(/\s*\|\s*PLOS\s+\w+\s*$/i,""),sn({metadata:e,abstractRoot:l,bodyRoots:s,title:c,markdownFallback:function(){var e=c?["# "+c]:[];return[l].concat(s).forEach(function(r){r.querySelectorAll("h2, h3, h4, p, figcaption").forEach(function(r){var n=t(r.textContent||"");n&&(/^H2$/i.test(r.tagName)?e.push("","## "+n):/^H3$/i.test(r.tagName)?e.push("","### "+n):/^H4$/i.test(r.tagName)?e.push("","#### "+n):e.push("",n))})}),Ei(e.join("\n").trim())},minTextLength:300})}),registerHostAwareProfile(!0,function(e){return dn(e,mn.elsevier)}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("xpl-document-abstract, .document-abstract");if(!r)return null;var n=t([document.title,e&&e.title,e&&e.siteName,document.querySelector("meta[name='citation_doi']")&&document.querySelector("meta[name='citation_doi']").getAttribute("content"),document.body&&document.body.textContent].join(" ")).slice(0,2e4);if(!/\bIEEE\s+Xplore\b|\bieeexplore\.ieee\.org\b|\bIEEE Conference Publication\b/i.test(n))return null;var o=Array.prototype.filter.call(r.querySelectorAll(".abstract-text-content, [class*='abstract-text' i], [property='abstract']"),function(e){return t(e.textContent||"").length>=80});if(!o.length)return null;var i=o.reduce(function(e,r){var n=t(r.textContent||"");return!e||n.length>e.text.length?{node:r,text:n}:e},null);if(!i||i.text.length<160)return null;var a=t(e.title||h(["meta[name='citation_title']","h1"]));a=a.replace(/\s*\|\s*IEEE.*$/i,"");var l=document.createElement("section"),s=document.createElement("h2"),c=document.createElement("p");s.textContent="Abstract",c.textContent=i.text.replace(/^Abstract:\s*/i,""),l.appendChild(s),l.appendChild(c);var u=[];return y([".stats-document-abstract-publishedIn",".doc-abstract-confdate",".doc-abstract-pubdate",".doc-abstract-doi",".u-pb-1"],8).forEach(function(e){var r=t(e).replace(/\s*Show More\s*$/i,"");!r||r.length>220||/^(abstract|metadata|abstract:)/i.test(r)||-1===u.indexOf(r)&&u.push(r)}),sn({metadata:e,abstractRoot:l,title:a,excerpt:i.text,details:u,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("blockquote.abstract"),n=q(/(^|\.)arxiv\.org$/)&&/^\/abs\//.test(location.pathname||"");if(!r||!n)return null;var o=h(["h1.title","h1.titlemath","main h1","h1"])||e.title||document.title;o=t(o).replace(/^Title:\s*/i,"");var i=h([".authors"]);i=t(i||"").replace(/^Authors?:\s*/i,"");var a=t(r.textContent||"").replace(/^Abstract:\s*/i,"");if(!o||!a)return null;var l=[];y([".dateline",".metatable .tablecell",".metatable td",".metatable dd"],8).forEach(function(e){/^(subjects?|cited by|references?|related|download|view pdf)$/i.test(e)||l.push(e)});var s=["# "+o,[i?"- Author: "+i:null].concat(l.map(function(e){return"- "+e})).filter(Boolean).join("\n"),a].filter(Boolean).join("\n\n").trim(),c=document.createElement("article"),u=document.createElement("h1"),d=document.createElement("p");return u.textContent=o,d.textContent=a,c.appendChild(u),c.appendChild(d),{title:o,byline:i||e.byline,excerpt:a,siteName:e.siteName||"arXiv",publishedTime:e.publishedTime,html:c.outerHTML,markdown:s,textContent:t(s),readerMode:!1,contentType:"article",hostAware:!0}}),registerHostAwareProfile(!0,function(e){return dn(e,mn.generic)}),registerHostAwareProfile(!0,function(e,t){return pn(e,t)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)blog\.csdn\.net$/))return null;if(!/\/article\/details\/\d+/i.test(location.pathname||""))return null;var r=document.querySelector("#article_content, .article_content, #content_views");if(r&&n(r)>=80)return O(e,r,{title:h(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"]),byline:h([".follow-nickName",".blog-name",".article-bar-top .name","a[href^='https://blog.csdn.net/']"]),publishedTime:h([".time",".bar-content .time","time"],"datetime")||e.publishedTime,minTextLength:80,rewriteRoot:function(e){e.querySelectorAll(".hide-article-box, .readall_box, .article-copyright, .blog-footer-bottom, .recommend-box, .recommend-right, .more-toolbox, .toolbox-list, .csdn-side-toolbar, [class*='comment'], [class*='recommend'], [class*='toolbar'], [class*='share']").forEach(function(e){e.remove()})},siteName:"CSDN"});var o=h(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"])||t(e&&e.title),i=t(e&&e.excerpt);return o||i?v({title:o,byline:e&&e.byline,publishedTime:e&&e.publishedTime,description:"CSDN article details page returned only public metadata in this browser session."+(i?" "+i:""),siteName:"CSDN",hostAware:!0,contentType:"article"}):null}),registerHostAwareProfile(!0,function(e){if(!function(e){if(!/^\/p\//i.test(location.pathname||""))return!1;if(!document.querySelector(".available-content .body.markup, .post-content .body.markup, article.post .body.markup"))return!1;var r=t([e&&e.title,e&&e.siteName,document.title,h([".post-title","h1.post-title","article.post h1"]),h(["meta[property='og:image']","meta[name='twitter:image']"],"content")].join(" "));return/\bsubstack\b|substackcdn\.com|substack-post-media/i.test(r)||!!document.querySelector("article.newsletter-post.post, .post-header .post-title")}(e))return null;var r=document.querySelector(".available-content .body.markup")||document.querySelector(".post-content .body.markup")||document.querySelector("article.post .body.markup")||document.querySelector(".available-content")||document.querySelector(".post-content");return r?O(e,r,{title:h([".post-title","h1.post-title","article.post h1","h1"])||e.title,byline:h([".byline-names",".post-meta .profile-hover-card-target",".post-header a[href*='/profile/']"])||e.byline,minTextLength:250,rewriteRoot:function(e){e.querySelectorAll(".subscription-widget-wrap, .subscribe-widget, .paywall, .comment-list, [class*='comment'], [class*='subscribe'], [role='dialog']").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){var r,n,o,i=location.hostname||"",a=(r=(location.pathname||"").split("/").filter(Boolean)).length<2?null:"project"===r[0]||"gems"===r[0]||"package"===r[0]?r[1]:null;if(!a)return null;if(/(^|\.)pypi\.org$/i.test(i)&&/^\/project\/[^/]+\/?$/i.test(location.pathname||""))n=["#description .project-description","#description",".project-description"],o="PyPI";else if(/(^|\.)rubygems\.org$/i.test(i)&&/^\/gems\/[^/]+\/?$/i.test(location.pathname||""))n=["main","#markup.gem__desc",".gem__desc"],o="RubyGems.org";else{if(!/(^|\.)npmjs\.com$/i.test(i)||!/^\/package\/[^/]+\/?$/i.test(location.pathname||""))return null;n=["#readme","#tabpanel-readme article","[aria-labelledby='package-tab-readme'] article"],o="npm"}for(var l=0;l<n.length;l+=1){var s=document.querySelector(n[l]),c=s.querySelector("h1, h2"),u=t(c&&c.textContent),d=O(e,s,{title:u&&0===u.toLowerCase().indexOf(a.toLowerCase())?u:fn(e,a),minTextLength:80,excerpt:e.excerpt,siteName:e.siteName||o,extra:{packagePage:!0},rewriteRoot:function(e){Array.prototype.slice.call(e.querySelectorAll("script, style, noscript, svg, .sr-only")).forEach(function(e){e.remove()})}});if(d)return d}return null}),registerHostAwareProfile(!0,function(e){if(!function(e){if(document.body&&/\bstatus\b/.test(document.body.className||"")&&document.querySelector(".components-section, .component-container, .incident-container"))return!0;if(document.querySelector("[data-statuspage-id], .components-section, #components, .incidents, .scheduled-maintenance"))return!0;var r=t([e&&e.siteName,h(["meta[property='og:site_name']"],"content"),h([".powered-by a","a[href*='atlassian.com/software/statuspage']"]),document.title].join(" "));return/statuspage/i.test(r)&&!!document.querySelector(".layout-content.status, .components-statuses, .components-container")}(e))return null;var r=h([".status-header h1","h1"])||e.title||document.title||"Status Page",n=h([".page-status .status",".page-status",".status.font-large",".status-description"]),o=h([".text-section","meta[name='description']"],"content")||e.excerpt,i=yn(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(!(e.length>=8)&&gn(t)){var r=jn(t,[".incident-title a",".incident-title","a.whitespace-pre-wrap","h3","h4"]);if(r){var n=["- "+r];Array.prototype.slice.call(t.querySelectorAll(".update")).slice(0,4).forEach(function(e){var t=jn(e,["strong"]),r=jn(e,[".whitespace-pre-wrap","p"]),o=jn(e,["small","time"]),i=[];t&&i.push(t),r&&i.push(r),o&&i.push(o),i.length&&n.push(" - "+i.join(" - "))}),e.push(n.join("\n"))}}}),e}();if(!n&&0===i.length&&0===a.length)return null;var l=["# "+r];o&&o.toLowerCase()!==r.toLowerCase()&&l.push(o),n&&l.push("- Overall status: "+n),i.length&&l.push("## Components\n\n"+i.map(function(e){return"- "+e}).join("\n")),a.length&&l.push("## Recent Incidents\n\n"+a.join("\n"));var s=Ei(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:k(e,{title:r,excerpt:n||i[0]||a[0]||e.excerpt,html:(document.querySelector(".layout-content.status")||document.querySelector("main")||document.body||{}).innerHTML||"",markdown:s,textContent:c,contentType:"list",hostAware:!0,statusPage:!0})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!r)return null;var n=t(r.textContent||""),o=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),i=t((document.querySelector("#page_title, #pageTitle, h1")||{}).textContent||e.title||document.title),a=t([i,document.title,location.pathname].join(" ")),l=Ze({text:n,title:a,path:location.pathname||""}),s=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(a)||l.sectionOrArticleMarker;return n.length<250||!o||!s||l.numberedClauses<2?null:le(e,r,{title:i||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:250,extra:{legalProvision:!0}})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!r||!Ht(r,r.textContent||""))return null;var n=E(r),o=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),i=document.createElement("h1");i.textContent=o,n.insertBefore(i,n.firstChild),hi(n);var a=Ei(Uo(n.innerHTML)).replace(/\n{3,}/g,"\n\n").trim(),l=t(a||n.textContent||"");return l.length<200?null:{title:o||e.title||document.title,byline:null,excerpt:e.excerpt||l.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:n.innerHTML,markdown:a,textContent:l,readerMode:!1,contentType:"list",hostAware:!0}}),registerHostAwareProfile(!0,function(e){var r=document,n=r.querySelector("#container, #paddingLR12");if(!n||!No(r,e))return null;t(n.textContent||"");var o=n.querySelector("table")||r.querySelector("#paddingLR12 table, table");if(o&&/\bSection\s*1/i.test(o.textContent||"")){var i=(l=r,s=Array.prototype.slice.call(l.querySelectorAll("a[href]")),c=new URL(location.href),u=null,s.some(function(e){var r,n=e.getAttribute("href")||"",o=t(e.textContent||e.getAttribute("title")||"");try{r=new URL(n,location.href)}catch(e){return!1}return r.origin===c.origin&&!!/\.html?(?:$|#)/i.test(r.pathname+r.hash)&&!(!/^(?:html|full text|full text in format html)$/i.test(o)&&!/\/[^/]+\.html?$/i.test(r.pathname))&&r.pathname!==c.pathname&&(u=r.href.replace(/#.*/,""),/^(?:html|full text in format html)$/i.test(o))}),u),a=i&&function(e){var t=new XMLHttpRequest;try{return t.open("GET",e,!1),t.send(null),t.status<200||t.status>=300||!t.responseText?null:(new DOMParser).parseFromString(t.responseText,"text/html")}catch(e){return null}}(i);a&&No(a,e)&&(r=a)}var l,s,c,u;var d=r.getElementById("paddingLR12")||r.getElementById("container")||r.querySelector("#paddingLR12, #container");if(!d)return null;var m=t((r.querySelector("h1")||document.querySelector("h1")||{}).textContent||e.title||document.title);return le(e,d,{title:m||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:400,postProcessMarkdown:function(e){return e.replace(/\n{3,}/g,"\n\n").trim()},rewriteRoot:function(e){e.querySelectorAll("script, style, form, nav, .noprint, #toc, table").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='index.html#'], a[href*='index.htm#']").forEach(function(e){var r=e.closest("p, div, li")||e;/^table of contents$/i.test(t(r.textContent||""))&&r.remove()})},validateMarkdown:function(e,t){return/\bSection\s*1/i.test(t)&&/\bSection\s*2/i.test(t)},extra:{legalProvision:!0}})}),registerHostAwareProfile(!0,function(e){var r=Array.prototype.slice.call(document.querySelectorAll(["#extracted-content #main-content","#extracted-content",".wex-content",".node-wex-term","[class*='legal-reference' i]","[class*='encyclopedia-entry' i]"].join(", "))),o=null;if(r.some(function(e){return!(!e||!e.querySelector("h1")||n(e)<500)&&(!!e.querySelector("p")&&(o=e,!0))}),!o)return null;var i=t([e.siteName||"",e.title||"",document.title||"",o.id||"",o.className||"",Array.prototype.slice.call(o.querySelectorAll("a[href]")).slice(0,40).map(function(e){return(e.getAttribute("href")||"")+" "+t(e.textContent||"")}).join(" ")].join(" ")),a=/\b(?:law|legal|court|courts|statute|regulation|jurisdiction|litigation|plaintiff|defendant|claim|judgment|preclusion|rule|rights?)\b/i.test(i),l=/\b(?:wex|encyclopedia|definition|definitions|reference|glossary|term)\b/i.test(i)||/\/wex\//i.test(i);return a&&l?le(e,o,{title:function(r,n){return t((n.querySelector("h1")||o.querySelector("h1")||{}).textContent||e.title||document.title)},byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,cleanupRoot:!1,cleanupMarkdown:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll(["aside","nav","[role='complementary']","[id*='related' i]","[class*='related' i]","[id*='recommended' i]","[class*='recommended' i]"].join(", ")).forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return function(e){var r=document.querySelector("#MainContent .EurlexContent #document1")||document.querySelector("#MainContent .EurlexContent #textTabContent")||document.querySelector("#MainContent .EurlexContent #PP1Contents")||document.querySelector("#MainContent .EurlexContent");return r&&document.querySelector("#MainContent .EurlexContent")&&(document.querySelector("#op-header")||document.querySelector(".PageShare"))?bn(e,r,{minText:300,docsLike:!0,title:t((document.querySelector("#MainContent .EurlexContent #PP1Contents #title, #MainContent .EurlexContent #PP1Contents #englishTitle")||{}).textContent||""),titleRoot:document.querySelector("#MainContent")||document,strip:function(e){e.querySelectorAll("#translatedTitle.hidden, #originalTitle.hidden, .hidden, .PageShare, .AffixSidebarWrapper").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content .group--type--microsite.microsite--type--programs")||document.querySelector("main[role='main'] .group--type--microsite.microsite--type--programs")||document.querySelector("main#main-content .node-intro")||null;return t&&(document.querySelector(".usa-megamenu, .usa-nav__submenu")||document.querySelector(".usa-banner"))&&t.querySelector("h1, .microsite-title, .field--name--field-intro, .field--name-field-intro")?bn(e,t,{minText:350,titleRoot:t,strip:function(e){e.querySelectorAll(".group-menu, [class*='group-menu'], .usa-breadcrumb, [id*='breadcrumb' i], .slick-dots, .slick-arrow").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content #main-article")||document.querySelector("main#main-content")||document.querySelector("main[role='main']");return t&&document.querySelector("#feedback-form")&&document.querySelector("main#main-content")&&t.querySelector("nav.contents, .contents, h1")&&/\bYour Europe\b/i.test([e.siteName||"",e.title||"",document.title||"",document.body.textContent||""].join(" "))?bn(e,t,{minText:150,preserveContentNav:!0,titleRoot:document.querySelector("main#main-content")||t,strip:function(e){e.querySelectorAll("#feedback-form, [id*='feedback' i], [class*='feedback' i], .share, [id^='sh-']").forEach(function(e){e.remove()})}}):null}(e)||function(e){var r=document.querySelector("#stnd-designation, [id*='standard' i][id*='designation' i], [class*='standard' i][class*='designation' i]"),n=document.querySelector("#stnd-title, [id*='standard' i][id*='title' i], [class*='standard' i][class*='title' i]"),o=document.querySelector("#standard-details, [id*='standard' i][id*='details' i], [class*='standard' i][class*='details' i]"),i=document.querySelector("#stnd-description, [id*='standard' i][id*='description' i], [class*='standard' i][class*='description' i]"),a=document.querySelector("#page-title.standard, [class*='standard' i][id*='title' i]"),l=document.querySelector("#content.standard #main-content, main #main-content, main");if(!(r&&n&&o&&i&&l&&a))return null;var s=document.createElement("article");a&&s.appendChild(T(a,document)),s.appendChild(T(i,document)),s.appendChild(T(o,document));var c=l.querySelector("#working-group-details");if(c){var u=T(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return bn(e,s,{minText:250,title:t([r.textContent,n.textContent].join(" - ")),strip:function(e){pi(e,Qo+", form, .osano-cm-window, [class*='cookie' i], [class*='newsletter' i]")}})}(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".page-content .container, main .container, main, .content")),o=null;return r.forEach(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("ul.arrows, ol.arrows, ul, ol")).filter(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return!(r.length<4)&&r.filter(function(e){var r=t(e.textContent||""),n=e.getAttribute("href")||"";return/\b(?:convention|protocol|principles?|instrument)\b/i.test(r)&&/\b(?:conventions?|instruments?|full-text|specialised-sections)\b/i.test(n)}).length>=Math.min(4,r.length)}),i=t([e.querySelector("h1, h2")&&e.querySelector("h1, h2").textContent,e.textContent].join(" ")),a=n(e)+1e3*r.length;r.length<2||(/\bConventions? and (?:other )?Instruments?\b/i.test(i)||/\bCore Conventions?\b/i.test(i))&&(!o||a>o.score)&&(o={root:e,score:a})}),o?bn(e,o.root,{docsLike:!0,minText:400,titleRoot:o.root,strip:function(e){pi(e,Qo+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||kn(e)||Sn(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll("[id*='listView' i], [role='list'], [class*='topic' i][class*='list' i], [class*='card' i][class*='grid' i]")),n=null;if(r.forEach(function(e){var r={},i=[],a=/topic|taxonomy|listview/i.test((e.id||"")+" "+(e.className||"")+" "+e.getAttribute("data-sf-element"));if(e.querySelectorAll("a[href]").forEach(function(e){if(!(i.length>=240)){var n=o(e.getAttribute("href")||""),l=t(e.getAttribute("aria-label")||(e.querySelector("h2, h3, h4")||{}).textContent||""),s=Array.prototype.slice.call(e.querySelectorAll("p")),c="";!l&&s.length&&(l=t(s[s.length-1].textContent||e.textContent||"")),s.length>1&&(c=t(s[0].textContent||"")),!c&&l&&(c=Tt(e,l)),!l||!n||l.length<3||l.length>180||r[n]||(a||/\btopics?\b/i.test(n+" "+l+" "+c))&&(/^(home|health topics|topics|news|headlines|menu|search|more)$/i.test(l)||(r[n]=!0,i.push({text:l,url:n,detail:c})))}}),!(i.length<8)){var l=100*i.length+(a?1e3:0);(!n||l>n.score)&&(n={root:e,items:i,score:l})}}),!n)return null;var i=t((document.querySelector("h1")||{}).textContent||e.title||document.title||"Topics");return k(e,{title:i,excerpt:e.excerpt,items:n.items,html:E(n.root).innerHTML,textContent:i+"\n"+ft(n.items)})}(e)}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)wykop\.pl$/)&&!/wykop/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},i=[];return document.querySelectorAll("section.prerender section.link-block.stream-home[id^='link-'], section.home-page section.link-block.stream-home[id^='link-'], section.stream.home-stream.from-pagination-home-stream section.link-block.stream-home[id^='link-']").forEach(function(e){if(!(i.length>=12)){var r=e.querySelector("h2.heading a[href^='/link/'], h2 a[href^='/link/'], a[href^='/link/']");if(r){var a=t(r.textContent||r.getAttribute("title")||""),l=o(r.getAttribute("href"));if(!(!a||!l||a.length<12||a.length>220||n[l]||/^(załóż konto|zaloguj się|ustawienia prywatności)$/i.test(a))){n[l]=!0;var s=[],c=t(Array.prototype.map.call(e.querySelectorAll("p, .description, .text, .content"),function(e){return t(e.textContent||"")}).join(" "));c&&c!==a&&s.push(c);var u=t(Array.prototype.map.call(e.querySelectorAll("a.comment-counter, [class*='vote'], [class*='comment']"),function(e){return t(e.textContent||"")}).join(" ")).replace(/\s{2,}/g," ");u&&s.push(u),i.push({text:a,url:l,detail:t(s.join(" - "))})}}}}),i.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Wykop",items:i})}),registerHostAwareProfile(!0,function(e){return function(e){var r=Ae(e);return(q(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?Te(e,["main article","main .prose","main [data-docs-body]"],{titleSelectors:["main article h1","main .prose h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[|·-]\s*Next\.js$/i,""))}}):null}(e)||function(e){var r=Ae(e);return(q(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?Te(e,["main article","main [data-pagefind-body]","main .max-w-4xl article"],{titleSelectors:["main article h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[–-]\s*React$/i,""))}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)docs\.stripe\.com$/)&&!/stripe/i.test(r))return null;if(!/^\/api\//.test(location.pathname)&&!/api reference/i.test(r))return null;var i,a=t((e.title||document.title).replace(/\s*[|·-]\s*Stripe API Reference$/i,"")),l=Array.prototype.slice.call(document.querySelectorAll("main section, article section")).find(function(e){var r=e.querySelector("h1, h2, h3");return(r=t(r&&r.textContent))&&a&&(r===a||0===r.indexOf(a))});if(l){var s=l.parentElement;i=(s?s.querySelectorAll(":scope > section").length:0)>1?s:l}else i=document.querySelector("main article, article, main");return je(e,i,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){fe(e,"a, button, span, div, p",/^(ask about this section|copy for llm|view as markdown)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=o(e.getAttribute("href")),n=t(e.textContent);r===location.href.split("#")[0]&&n===a&&e.remove()}),e.querySelectorAll("[aria-hidden='true']").forEach(function(e){n(e)<2e3&&e.remove()}),e.querySelectorAll("[class*='collapsed'], [class*='summary'], [class*='unexpanded']").forEach(function(e){var r=e.querySelector("code, strong, b, [class*='name']"),o=t(r&&r.textContent);if(o&&!(o.length>50)){var i=e.nextElementSibling||e.previousElementSibling;if(i){var a=i.querySelector("code, strong, b, [class*='name']");t(a&&a.textContent)===o&&(n(e)<n(i)?e.remove():i.remove())}}}),e.querySelectorAll("h2, h3, h4, h5, h6").forEach(function(e){var r=function(e){var r=(e=t(e||"").replace(/deprecated$/i," [Deprecated]")).match(/^([a-z0-9_.]+?)(nullable)?\s*(string|integer|object|array|boolean|enum|timestamp|hash|map|float)(expandable)?$/i);if(!r)return e.replace(/([a-z])([A-Z][a-z]+)/g,"$1 $2");var n=[];r[2]&&n.push("nullable");n.push(r[3].toLowerCase()),r[4]&&n.push("expandable");return r[1]+" - "+n.join(" ")}(e.textContent);r&&(e.textContent=r)});var r=e.querySelectorAll("h1");if(r.length>1){var i={};r.forEach(function(e){var r=t(e.textContent).toLowerCase().replace(/\s*\[?deprecated\]?\s*$/i,"");i[r]?e.remove():i[r]=!0})}e.querySelectorAll("h1").forEach(function(e){e.textContent=t(e.textContent).replace(/deprecated$/i," [Deprecated]")})},postProcessMarkdown:function(e){var t=e.split("\n"),r={};(t.forEach(function(e){var t=e.match(/^#{2,6}\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);t&&(r[t[1].toLowerCase().replace(/\s+/g,"")]=!0)}),Object.keys(r).length>0)&&(e=t.filter(function(e){var t=e.match(/^-\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);if(!t)return!0;var n=t[1].toLowerCase().replace(/\s+/g,"");return!r[n]}).join("\n"));return e}})}(e)||function(e){var r=Ae(e);return q(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?Te(e,["#main-col-body","#main-content #main-col-body","#main-content","main"],{titleSelectors:["#main-content h1","#main-col-body h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*AWS.*$/,""))},removeCookiePrefs:!0,removeMarketingTips:!0,rewriteRoot:function(e){e.querySelectorAll("awsdocs-language-banner, awsdocs-page-header, awsdocs-filter-selector, .awsdocs-page-header-container, .awsdocs-note.awsdocs-tip").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/join serverless experts|builder center|click here to sign up/i.test(r)&&r.length<800&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);return(q(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?Te(e,["main article","article.main-page-content","main .main-page-content","main"],{titleSelectors:["main article h1","article.main-page-content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*MDN.*$/,""))},removeTryIt:!0,rewriteRoot:function(e){e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);(/^baseline\b/i.test(r)||/this feature is well established and works across many devices/i.test(r))&&r.length<800&&e.remove()}),e.querySelectorAll("section, div").forEach(function(e){var r=e.querySelector("h2, h3");if(r){var n=t(r.textContent);if(n){var o=t(e.textContent),i=n.length;o.length-i<30&&e.remove()}}}),e.querySelectorAll("table.bc-table, [class*='bc-table'], [class*='bcd-table']").forEach(function(e){t(e.textContent).length<30&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)docs\.github\.com$/)&&!/github docs/i.test(r))return null;var n=function(){if(!/^\/(?:[a-z]{2}(?:-[A-Z]{2})?\/)?rest\//.test(location.pathname||""))return null;var e=document.querySelector("main#main-content, main");return e&&Array.prototype.filter.call(e.querySelectorAll("h2, h3"),function(e){var r=t(e.textContent);return r&&!/^(fine-grained access tokens|parameters|http response status codes|code samples)\b/i.test(r)}).length>=2?e:null}()||ke(["main .markdown-body","main"]);return je(e,n,{titleSelectors:["main h1",".markdown-body h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*GitHub Docs$/i,""))},rewriteRoot:function(e){e.querySelectorAll("[role='tablist'], ul[class*='SegmentedControl'], .prc-SegmentedControl-SegmentedControl-lqIXp").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}})}(e)||function(e){var t=Ae(e);return q(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .sidebar, [data-testid='side-nav'], [data-testid='breadcrumbs']").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|edit this page on github|theme)$/i),e.querySelectorAll("details summary").forEach(function(e){var t=Ne(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=Ae(e);return q(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .toc, .sidebar, [data-pagefind-ignore]").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=Ae(e);return q(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*Grafana.*$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, [aria-label='breadcrumb'], [data-testid='sidebar'], .toc, .sidebar").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|scroll for more|suggest an edit in github|create a github issue|email docs@grafana\.com|help and support)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);(/^is this page helpful\??/i.test(r)||/^was this page helpful\??/i.test(r))&&r.length<200&&e.remove(),/^related resources from grafana labs/i.test(r)&&r.length<2500&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=w("method"),o=ke(["#main",".main_text","main"]),i=je(e,o,{fallbackTitle:n||t((e.title||document.title).replace(/\s*-\s*baselinker\.com$/i,""))||"API documentation",rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),fe(e,"a, button, div, span",/^(method list|test your request|changelog|copy)$/i)}});if(n&&(!i||t(i.markdown||"").length<200)){var a=function(e){if(!e)return null;for(var t=new RegExp("examples\\[['\"]"+Ro(e)+"['\"]\\]\\s*=\\s*'([\\s\\S]*?)';"),r=Array.prototype.slice.call(document.querySelectorAll("script")),n=0;n<r.length;n+=1){var o=(r[n].textContent||"").match(t);if(o&&o[1])return Kr(o[1])}return null}(n);if(a){var l=["# "+n,"Baselinker API request example for the `"+n+"` method.","```json",a,"```"].join("\n\n");return{title:n,byline:e.byline,excerpt:"Baselinker API request example for the "+n+" method.",siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:"",markdown:l,textContent:t(l),readerMode:!1,contentType:"article"}}}return i}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)rubyapi\.org$/)&&!/ruby api/i.test(r))return null;var n=t((e.title||document.title).replace(/\s*\|\s*Ruby API.*$/i,""))||"Ruby API";return"/"===location.pathname||/^\/\d+(?:\.\d+)?\/?$/.test(location.pathname)?function(e,r){var n={},i=[];if(document.querySelectorAll("a[href*='/o/']").forEach(function(e){if(!(i.length>=12)){var r=o(e.getAttribute("href")),a=t(e.textContent);if(r&&/\/\d+(?:\.\d+)?\/o\//.test(r)&&/^read more$/i.test(a)&&!n[r])for(var l=e.parentElement;l&&l!==document.body;){var s=t((l.querySelector("h2, h3")||{}).textContent||""),c=we(l,["p"]);if(s&&c)return n[r]=!0,void i.push({text:s,url:r,detail:c});l=l.parentElement}}}),i.length<3)return null;var a=["# "+r,e.excerpt,ft(i)].filter(Boolean).join("\n\n"),l=S({title:r,excerpt:e.excerpt,siteName:e.siteName||location.hostname,markdown:a,textContent:t(a)});return l.byline=e.byline,l.publishedTime=e.publishedTime,l}(e,n):Te(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),fe(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}(e)}),registerHostAwareProfile(!0,function(e){var r=Ae(e).toLowerCase();if(!q(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=ke(["#main","main article","main","article"]);if(!n)return null;var o=we(n,["p"]),i=je(e,n,{titleSelectors:["#main h1","main h1","article h1"],fallbackTitle:function(){return(e.title||document.title).replace(/\s*[—-]\s*Ruby on Rails Guides$/i,"")},rewriteRoot:function(e){e.querySelectorAll("#topNav, #feature, #subCol, #subColWrap, #guides, #guides-index, .guides-index, .guide-index, .chapter, .chapter-list, .sidebar, aside, nav, header").forEach(function(e){e.remove()}),fe(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),fe(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){ye(e)&&e.remove()})}});if(!i)return null;var a=t(o||i.excerpt);if(a&&-1===i.markdown.indexOf(a)){var l=i.markdown;Pe(l,i.title)&&(l=l.split("\n\n").slice(1).join("\n\n")),i.markdown=["# "+i.title,a,l].filter(Boolean).join("\n\n"),i.textContent=t(i.markdown)}return i}),registerHostAwareProfile(!0,Jr),registerHostAwareProfile(!0,function(e){var t=Ae(e).toLowerCase();return q(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?Jr(e):null}),registerHostAwareProfile(!0,function(e){var r=En(e);return r&&_n(r)?Tn(r,e,function(e){for(var r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(i&&t(i.textContent)&&!i.closest("[data-testid='issue-body'], [data-testid='comment-body'], .js-comment-container, .timeline-comment, .comment, .issue-content, .pullrequest-description, .pull-request-description"))return i}return null}(r.readmeSelectors)):null}),registerHostAwareProfile(!0,function(e){var r=Xr(e);return Qr(e,r)||function(e,r){if(!(r=r||Xr(e))||"rustdoc"!==r.system)return null;var n=ke(["main",".rustdoc","body"]);return je(e,n,{titleSelectors:["main h1",".rustdoc h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s+copy item path$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, #sidebar, .sidebar, .sub-sidebar-menu, #settings, #help-button, #crate-search, .mobile-topbar, .sidebar-elems, .out-of-band").forEach(function(e){e.remove()}),fe(e,"a, button, div, span, p",/^(search|settings|help|copy item path|expand description|show sidebar|hide sidebar|toggle sidebar|source|collapse all|expand all)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.getAttribute("title")),n=t(e.textContent);(/show sidebar|hide sidebar|toggle sidebar/i.test(r)||/^(search|settings|help|source|§)$/i.test(n))&&e.remove()}),e.querySelectorAll("a.srclink, a.src, a[class*='srclink']").forEach(function(e){e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/\s+copy item path$/i,"").replace(/^§\s*/,"")})}})}(e,r)||function(e,r){if(!(r=r||Xr(e))||"dartdoc"!==r.system)return null;var n=be(h(["#dartdoc-main-content h1","main h1","h1"])||e.title||document.title),i=h(["#dartdoc-main-content .desc p","main .desc p","main p"]),a=[];if(document.querySelectorAll("section.summary dl dt").forEach(function(e){var r=e.querySelector(".name a[href], a[href]");if(r){var n=t(r.textContent),i=o(r.getAttribute("href")),l=e.nextElementSibling&&e.nextElementSibling.tagName&&"dd"===e.nextElementSibling.tagName.toLowerCase()?e.nextElementSibling:null,s=t(l&&l.textContent);n&&i&&a.push({title:n,href:i,description:s})}}),a.length<4)return null;var l=["# "+(n||"API Reference")];i&&l.push(i),l.push("## Libraries\n\n"+a.slice(0,80).map(function(e){return"- ["+e.title+"]("+e.href+")"+(e.description?" - "+e.description:"")}).join("\n"));var s=Ei(l.join("\n\n"));return{title:n||e.title||document.title,byline:null,excerpt:i||a[0].description||null,siteName:e.siteName||location.hostname,publishedTime:null,html:(document.querySelector("#dartdoc-main-content")||document.querySelector("main")||document.body).innerHTML,markdown:s,textContent:t(s),docsLike:!0,readerMode:!1,contentType:"article"}}(e,r)||function(e,t){if(!(t=t||Xr(e))||"go_pkg"!==t.system)return null;var r=ke(["#main-content","main","body"]);return je(e,r,{titleSelectors:["#main-content h1","main h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*Go Packages$/i,"")},rewriteRoot:function(e){e.querySelectorAll("header, nav, aside, footer, .go-Header, .go-MainHeader, .go-LeftNav, .go-DetailsHeader, .go-Main-aside").forEach(function(e){e.remove()}),fe(e,"div, p, span, a, button",/^(jump to \.\.\.|documentation|details|repository|links|versions|licenses|imports|imported by)$/i)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"google_devsite"!==r.system)return null;var n=ke(["devsite-content article","devsite-content .devsite-article-body","article[class*='devsite']","main article","main"]),o=/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi;return ze(e,n,{title:(i=h(["devsite-content h1","article h1","main h1"])||e.title||document.title,be((i||"").replace(o,"").replace(/\s*[|·]\s*(Google Cloud|Firebase|Android|Chrome).*$/i,""))),rewriteRoot:function(e){e.querySelectorAll("devsite-header, devsite-toc, devsite-nav, devsite-page-rating, devsite-feedback, devsite-thumb-rating, devsite-bookmark, devsite-feature-tooltip, nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, p, span, h2, h3, h4").forEach(function(e){var r=t(e.textContent);/stay organized with collections/i.test(r)&&/save and categorize content/i.test(r)&&r.length<200?e.remove():/^(h[1-6])$/i.test(e.tagName)&&(e.textContent=t(e.textContent).replace(o,""))}),e.querySelectorAll("div, section, p").forEach(function(e){var r=t(e.textContent);/except as otherwise noted.*creative commons/i.test(r)&&r.length<600&&e.remove(),/^(content and samples on this page|except as otherwise noted)/i.test(r)&&r.length<600&&e.remove()}),fe(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),_e(e);var r=e.querySelectorAll("h1");if(r.length>1){for(var n=0,i=t(r[0].textContent).length,a=1;a<r.length;a++){var l=t(r[a].textContent).length;l>0&&l<i&&(i=l,n=a)}for(var s=t(r[n].textContent).toLowerCase(),c=0;c<r.length;c++)if(c!==n){var u=t(r[c].textContent).toLowerCase();u!==s&&0!==u.indexOf(s)&&0!==s.indexOf(u)||r[c].remove()}}e.querySelectorAll("section, div, p").forEach(function(e){var r=t(e.textContent);/enterprise edition.*now available|is now available.*learn more/i.test(r)&&r.length<300&&e.remove()})}});var i}(e,r)||function(e,r){if(r=r||Xr(e),!r||"elastic_docs"!==r.system)return null;var n=ke(["main article","main [class*='docBody']","article","main"]);return ze(e,n,{title:be(h(["main article h1","article h1","main h1"])||(e.title||document.title).replace(/\s*\|\s*Elasticsearch.*$/i,"")),rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent);!r&&e.querySelector("svg, .icon")&&e.remove(),!r&&!e.querySelector("img")&&e.getAttribute("href")&&/^#/.test(e.getAttribute("href"))&&e.remove()}),fe(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),_e(e)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"readme"!==r.system)return null;var n=ke(/\/reference\//i.test(location.pathname)||document.documentElement.classList.contains("isRefPage")?[".rm-ReferenceMain","main .rm-ReferenceMain",".rm-Article","main"]:[".rm-Article","article","main .rm-LandingPage","main .rm-ReferenceMain","main"]);return ze(e,n,{title:be(h(["article h1",".rm-Article h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .rm-Sidebar, .hub-sidebar, [class*='Sidebar'], [class*='QuickNav'], [class*='ModalWrapper'], [class*='TableOfContents']").forEach(function(e){e.remove()}),e.querySelectorAll("[class*='LanguagePicker'], [class*='APIAuth'], [class*='TryItNow'], [class*='ResponseSchemaModal']").forEach(function(e){e.remove()}),fe(e,"a, button, div, p, span, li",/^(skip to content|skip to main content|on this page|suggest edits|updated .*|log in|sign up|search|api reference|did this page help you\??|retrieving recent requests[\u2026.]*|recent requests|loading[\u2026.]{1,3}|log in to see full request history|try it!?|responses?)$/i),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent);(/^\s*(time\s+status\s+user\s*agent)?\s*$/i.test(r)||r.length<60&&/time.*status.*user\s*agent/i.test(r))&&e.remove()}),_e(e)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"redoc"!==r.system)return null;var n=ke([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),o=ze(e,n,{title:be(h([".api-content h1",".redoc-wrap h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),fe(e,"a, button, div, p, span, li",/^(download|download openapi specification:?|authorize|try it|send api request|copy|expand all|collapse all|payload|loading[\u2026.]{1,3})$/i),function(e){e.querySelectorAll("div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=function(e){var t=[];function r(e){for(var n=e.childNodes,o=0;o<n.length;o++){var i=n[o];if(3===i.nodeType){var a=i.textContent;a&&!/^\s*$/.test(a)&&t.push(a)}else if(1===i.nodeType){var l=i.nodeName,s=i.className||"";if("BUTTON"===l)continue;if(/\bellipsis\b/.test(s))continue;if("SPAN"===l){var c=i.textContent;c&&!/^\s*$/.test(c)&&t.push(c);continue}r(i)}}}r(e);var n=t.join("").replace(/,(\s*[}\]])/g,"$1");try{var o=JSON.parse(n);return JSON.stringify(o,null,2)}catch(e){return n.replace(/\s+/g," ").trim()}}(e);if(t){var r=document.createElement("pre"),n=document.createElement("code");n.setAttribute("data-language","json"),n.textContent=t,r.appendChild(n),e.replaceWith(r)}})}(e),e.querySelectorAll("[data-rttabs]").forEach(function(e){for(var r=e.querySelectorAll("[role='tabpanel']"),n=null,o=0;o<r.length;o++)if(r[o].querySelector("pre, code")||t(r[o].textContent).length>20){n=r[o];break}e.querySelectorAll("[role='tablist'], [role='tab']").forEach(function(e){e.remove()});for(var i=0;i<r.length;i++)r[i]!==n&&r[i].remove()}),e.querySelectorAll("select.dropdown-select").forEach(function(e){e.remove()}),e.querySelectorAll("label").forEach(function(e){t(e.textContent).length<=120&&e.remove()}),e.querySelectorAll("div, section").forEach(function(e){t(e.textContent)||e.querySelector("img, svg, pre, code, table, ul, ol")||e.remove()}),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){e.textContent=be(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}});return o}(e,r)||function(e,r){return r=r||Xr(e),r&&"mintlify"===r.system?Te(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:ji,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var o=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=o}pi(e,Yo+", .menu, .table-of-contents, [data-testid='table-of-contents'], [aria-label='Table of contents'], [class*='sidebar'], [class*='toc'], #page-context-menu, #page-context-menu-button, #pagination"),fe(e,"a, button, div, p, span, li",/^(copy page|copy for llm|view as markdown|ask ai|ask an ai|on this page|table of contents|search|skip to content|skip to main content|ctrl\+?\s*[a-z]|ctrl\s+[a-z])$/i),e.querySelectorAll("div, aside, p, span").forEach(function(e){var r=t(e.textContent);/^api reference sidebar$/i.test(r)&&e.remove()}),e.querySelectorAll(".eyebrow").forEach(function(e){t(e.textContent).length<=40&&e.remove()}),_e(e)}}):null}(e,r)||function(e,t){if(t=t||Xr(e),!t||"gitbook"!==t.system)return null;var r=ke(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]);return ze(e,r,{title:be(h(["main header h1","main h1","h1"])||ji(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){pi(e,Yo+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),fe(e,"a, button, div, p, span, li",/^(copy page|copy for llm|copy page as markdown|open in chatgpt|open in claude|connect to cursor|view as markdown|powered by gitbook|was this page helpful\??|previous|next|last updated|on this page|table of contents|ask or search|search|skip to content|skip to main content)$/i),_e(e)}})}(e,r)||function(e,t){if(t=t||Xr(e),!t||"scalar"!==t.system)return null;var r=ke([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]);return ze(e,r,{title:be(h([".scalar-api-reference h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){pi(e,Yo+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),fe(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),_e(e)}})}(e,r)||function(e,t){return Ee(e,t,{system:"fern",rootSelectors:[".fern-layout-reference article",".fern-layout-overview article","article .fern-prose","article","main"],titleSelectors:[".fern-page-heading","article h1","main h1"],fallbackTitle:ji,removeSelectors:Yo+", #fern-sidebar, .fern-breadcrumb, .fern-page-actions, .toc-mobile, .fern-header-tabs, .fern-api-playground, .fern-endpoint-panel",removeTextPattern:/^(copy page|on this page|table of contents|previous|next)$/i})}(e,r)||function(e,r){return r=r||Xr(e),r&&"nextra"===r.system?Te(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:ji,rewriteRoot:function(e){e.querySelectorAll(".nextra-cards, .not-prose").forEach(function(e){e.classList.remove("not-prose")}),e.querySelectorAll("a.nextra-card[href]").forEach(function(e){var r=t(e.getAttribute("title")||e.querySelector("[title]")&&e.querySelector("[title]").getAttribute("title")||e.textContent),n=t(Array.prototype.slice.call(e.querySelectorAll("p")).map(function(e){return e.textContent}).join(" ")),o=e.getAttribute("href");if(r&&o){var i=document.createElement("section"),a=document.createElement("ul"),l=document.createElement("li"),s=document.createElement("a");if(s.setAttribute("href",o),s.textContent=r,l.appendChild(s),a.appendChild(l),i.appendChild(a),n&&n!==r){var c=document.createElement("p");c.textContent=n,i.appendChild(c)}e.replaceWith(i)}}),pi(e,Yo+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),fe(e,"a, button, div, p, span, li",/^(copy page|on this page|skip to content|skip to main content|previous|next)$/i),e.querySelectorAll("a.subheading-anchor").forEach(function(e){e.remove()}),_e(e)},postProcessMarkdown:function(e,r){if(!r||!r.querySelector(".nextra-cards"))return e;var n=[];return r.querySelectorAll(".nextra-cards a[href]").forEach(function(r){var i=t(r.textContent||r.getAttribute("title")),a=o(r.getAttribute("href"));i&&a&&-1===e.indexOf(a)&&n.push("- ["+i+"]("+a+")")}),n.length?(e||"").trim()+"\n\n## Pages\n\n"+n.join("\n"):e}}):null}(e,r)||function(e,t){return Ee(e,t,{system:"docusaurus",rootSelectors:["main .markdown","main article","main .theme-doc-markdown","article .theme-doc-markdown","main [class*='docItemContainer']","main"],titleSelectors:["main .markdown h1","main h1","article h1",".theme-doc-markdown h1"],fallbackTitle:ji,removeSelectors:Yo+", .theme-doc-breadcrumbs, .theme-doc-toc-desktop, .theme-doc-toc-mobile, .pagination-nav, .theme-edit-this-page, .theme-last-updated",removeTextPattern:/^(skip to main content|on this page|edit this page|copy for llm|view as markdown|ask ai|search)$/i})}(e,r)||function(e,r){return Ee(e,r,{system:"vitepress",rootSelectors:[".VPDoc .vp-doc",".VPContentDoc .vt-doc","#VPContent .VPDoc","#VPContent .VPContentDoc","#VPContent article",".vp-doc",".vt-doc","main"],titleSelectors:["#VPContent h1",".VPDoc h1",".VPContentDoc h1",".vp-doc h1",".vt-doc h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*[^|]*$/,"")},removeSelectors:Yo+", .VPDocFooter, .VPContentDocFooter, .VPDocAsideOutline, .aside, .pager-link, .prev-next, .outline-link",removeTextPattern:/^(skip to content|skip to main content|on this page|return to top|edit this page|previous page|next page|ads via carbon)$/i,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var i=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=i}e.querySelectorAll("div, p, span").forEach(function(e){var r=t(e.textContent);r&&r.length<300&&/^are you an llm\b/i.test(r)&&e.remove()}),e.querySelectorAll("a[href], img").forEach(function(e){var t=o(e.getAttribute&&e.getAttribute("href")),r=o(e.getAttribute&&e.getAttribute("src"));if(t&&/carbonads|srv\.carbonads\.net/i.test(t)||r&&/carbonads|srv\.carbonads\.net/i.test(r)){var n=e.closest("div, p, section, aside, a")||e;n&&n.remove()}})}})}(e,r)||function(e,t){return Ee(e,t,{system:"rspress",rootSelectors:[".rspress-doc","main .rp-doc","main article","main"],titleSelectors:["main h1","article h1",".rspress-doc h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[-|]\s*[^-|]*$/,"")},preferFragmentTitle:!1,removeSelectors:Yo+", .rp-nav, .rp-sidebar, .rp-toc, .rp-doc-footer, .rp-breadcrumb, .rp-pagination",removeTextPattern:/^(skip to main content|on this page|edit this page|previous page|next page|back to top)$/i,rewriteRoot:function(e){e.querySelectorAll("a.rp-header-anchor, .rp-header-anchor").forEach(function(e){e.remove()})},headingFormatter:function(e){return be(e).replace(/^#\s*/,"")}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"mkdocs"!==r.system)return null;var n="";return Te(e,["main .md-content__inner","main .md-content","article.md-content__inner","main article","main"],{titleSelectors:["main h1","article h1"],fallbackTitle:function(e){return t(e.title||document.title)},postProcessMarkdown:function(e){return!n||/## Reference Pages[\s\S]*\n\s*-\s+\[/.test(e)?e:[e=e.replace(/\n*## Reference Pages\s*$/i,""),n].filter(Boolean).join("\n\n")},rewriteRoot:function(e){var r=function(){if(!/\/(?:reference|api)\/?$/i.test(location.pathname||""))return null;var e=location.href.replace(/#.*$/,"").replace(/\/$/,"")+"/",r=Array.prototype.slice.call(document.querySelectorAll(".md-nav__link[href]")).find(function(t){return o(t.getAttribute("href")).replace(/#.*$/,"").replace(/\/$/,"")+"/"===e}),n=r&&r.closest(".md-nav__item--nested, .md-nav__item--section, .md-nav__item"),i=n&&n.querySelector("nav.md-nav");if(!i)return null;var a={},l=[];if(i.querySelectorAll("a[href]").forEach(function(r){var n=o(r.getAttribute("href")),i=n.replace(/#.*$/,"").replace(/\/$/,"")+"/",s=t(r.textContent);s&&i!==e&&!a[i]&&(a[i]=!0,l.push({title:s,href:n}))}),l.length<3)return null;var s=document.createElement("section"),c=document.createElement("h2"),u=document.createElement("ul");return c.textContent="Reference Pages",s.appendChild(c),l.slice(0,50).forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.href=e.href,r.textContent=e.title,t.appendChild(r),u.appendChild(t)}),s.appendChild(u),s}();n=function(e){if(!e)return"";var r=Array.prototype.slice.call(e.querySelectorAll("a[href]")).map(function(e){return"- ["+t(e.textContent)+"]("+e.href+")"}).filter(Boolean);return r.length?"## Reference Pages\n\n"+r.join("\n"):""}(r),r&&e.querySelectorAll("a[href]").length<4&&e.appendChild(r),pi(e,Yo+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),fe(e,"div, p, span, button, a",/^(table of contents|view source|edit this page)$/i),e.querySelectorAll(".admonition, details.note, details.tip, details.warning, details.info, details.danger, details.example, details.question, details.abstract, details.success, details.failure, details.bug, details.quote").forEach(function(e){var r=e.querySelector(".admonition-title, summary"),n=t(r&&r.textContent||"Note").toUpperCase();r&&r.remove();var o=t(e.textContent);if(o){var i=document.createElement("blockquote");i.innerHTML="<p><strong>"+n+":</strong> "+o+"</p>",e.replaceWith(i)}}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))})}})}(e,r)||function(e,r){return Ee(e,r,{system:"mdbook",rootSelectors:["#content main","#content","main"],titleSelectors:["#content main h1","#content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*The Rust Programming Language$/i,""))},removeSelectors:Yo+", #sidebar, #sidebar-toggle, nav.sidebar, #menu-bar, #menu-bar-hover-placeholder, .nav-wrapper, .nav-chapters, .chapter, #sidebar-resize-handle, .mobile-nav-chapters",removeTextSelector:"a, button, div, span",removeTextPattern:/^(print this book|light|rust|coal|navy|ayu|change theme|toggle table of contents|keyboard shortcuts)$/i,headingFormatter:!1})}(e,r)||function(e,r){if(!(r=r||Xr(e))||"antora"!==r.system)return null;var n=ke(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var i=we(n,["h1"]);if(!i){var a=t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),l=y(["article.doc h2","article.doc h3"],8).filter(function(e){return e.length>=4&&!/^(contents?|navigation)$/i.test(e)}),s={},c=[],u=".homepage-card, .home-card, .card, [class*='homepage-card'], [class*='home-card'], [class*='doc-card'], li, section";if(n.querySelectorAll("a.homepage-link[href], a.homepage-link-primary[href], a.homepage-link-secondary[href]").forEach(function(e){if(!(c.length>=12)){var r=e.getAttribute("href")||o(e.href),n=t(e.textContent),i="",a=e.closest(u),l=e.nextElementSibling;!l||!/^(P|DIV|UL|OL)$/i.test(l.tagName||"")||a&&l.closest(u)!==a||(i=t(l.textContent)),i||(i=Se(a||e.closest("section, div, li, article")||e.parentElement,["p","li"],u))===n&&(i=""),!r||!n||n.length<4||s[r]||(s[r]=!0,c.push({text:n,url:r,detail:i}))}}),!c.length)return null;var d=[];a&&d.push("# "+a),l.length&&d.push(l.slice(0,6).map(function(e){return"- "+e}).join("\n")),d.push(ft(c));var m=d.filter(Boolean).join("\n\n").trim();return{title:a||e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:m,textContent:t(m),readerMode:!1,contentType:"list"}}return ze(e,n,{title:i||t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),rewriteRoot:function(e){e.querySelectorAll(".toolbar, .crumbs, .page-languages, .languages-menu, .languages-menu-toggle, .page-versions, .page-navigation, .nav-container, .edit-this-page, .pagination, aside, nav").forEach(function(e){e.remove()}),e.querySelectorAll("div, p, section, small").forEach(function(e){var r=t(e.textContent);!r||r.length>220||/(the .* docs team|version\s+[A-Z]?\d+|last review\b|last build\b|edit this page\b|report an issue\b)/i.test(r)&&e.remove()})}})}(e,r)||function(e,r){return Ee(e,r,{system:"readthedocs",rootSelectors:[".wy-nav-content .rst-content",".rst-content",".wy-nav-content","div[role='main']","main"],titleSelectors:[".rst-content h1",".wy-nav-content h1","main h1","h1"],fallbackTitle:function(e){return e.title||document.title},preferFragmentTitle:!1,removeSelectors:"nav, aside, footer, .wy-breadcrumbs, .rst-footer-buttons, .wy-menu, .wy-nav-side, .wy-side-nav-search, .wy-nav-top",rewriteRoot:function(e,r){e.querySelectorAll("a.headerlink").forEach(function(e){e.remove()});var n=!1;e.querySelectorAll("h1").forEach(function(e){if(e.textContent=be(e.textContent),t(e.textContent)===t(r)){if(n)return void e.remove();n=!0}})}})}(e,r)||function(e,t){return Ee(e,t,{system:"sphinx",rootSelectors:["div.document > div > div.section","div.document > div.section",".document","div.body[role='main']","div.body","[role='main']","main"],titleSelectors:[".document h1","div.body h1","[role='main'] h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[—-]\s*[^—-]*documentation$/i,"")},removeSelectors:"a.headerlink, button.copybutton, .toc-backref, .sphinxsidebar, .sphinxsidebarwrapper, [role='navigation'], aside",headingSelector:"h1, h2, h3, h4",rewriteRoot:function(e){e.querySelectorAll("dt.sig").forEach(function(e){var t=document.createElement("h3");t.textContent=be(e.textContent),e.replaceWith(t)})}})}(e,r)}),registerHostAwareProfile(!0,function(e){var r=function(e,r){if(r=r||{},!document.body||!L())return null;if(Ot())return null;if(document.querySelector("article h1, article [itemprop='articleBody'], [type='application/ld+json']")){var n=t(document.body.textContent||"");if(document.querySelector("article h1")&&n.length<3e4)return null}var i=[];["main","[role='main']","#main",".main","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=null,l=r.minItems||5,s=t([e&&e.title||"",e&&e.siteName||"",document.title||"",document.body.textContent||""].join(" ")).toLowerCase().slice(0,6e3),c=/\b(find|search|book|compare|deals?|offers?|destinations?|routes?|tickets?|timetables?|trains?|travel|hotels?|homes?|properties|real estate|for sale|for rent|marketplaces?|listings?|latest|top stories|headlines|breaking news)\b/i.test(s);return i.forEach(function(e){var r={},n=[],i=[],s=t((e.querySelector("h1")||{}).textContent||"");e.querySelectorAll("h2, h3").forEach(function(e){if(!(i.length>=8)){var r=t(e.textContent||"");r.length>=6&&r.length<=90&&!$(r,"")&&i.push(r)}}),e.querySelectorAll("a[href]").forEach(function(e){if(!(n.length>=18||e.closest("header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']"))){var i=e.getAttribute("href")||"",a=o(i),l=t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"");if(a&&!r[a]&&!$(l,i)&&(!(l.length<12)||/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(l))){var s=Tt(e.closest("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")||e.parentElement,l);s.length>180&&(s=""),r[a]=!0,n.push({text:l,url:a,detail:s})}}});var u=t(e.textContent||""),d=e.querySelectorAll("a[href]").length,m=e.querySelectorAll("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']").length,p=s&&s.length>=8&&s.length<=120?180:0,h=60*Math.min(i.length,6),f=180*n.length+p+h+12*Math.min(m,18)+Math.min(d,80);n.length<l&&!(n.length>=3&&p&&i.length>=2)||(c||n.length>=6&&m>=6&&i.length>=3)&&(d<n.length||u.length<120||(!a||f>a.score)&&(a={root:e,items:n,hero:s,headings:i,score:f}))}),a?a.items.length<l&&(!a.hero||a.headings.length<2)?null:a:null}(e,{minItems:4});if(!r)return null;var n=r.hero||e&&e.title||document.title||location.hostname,i=[];r.hero&&i.push("# "+r.hero),e&&e.excerpt&&i.push(e.excerpt),r.headings.length>=2&&i.push(r.headings.slice(0,6).map(function(e){return"- "+e}).join("\n")),i.push(ft(r.items.slice(0,12)));var a=i.filter(Boolean).join("\n\n").trim();return t(a).length<180?null:S({title:n,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:a,textContent:t(a)})}),registerHostAwareProfile(!0,function(e){if(!function(e){var r=t([e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[property='og:site_name']"],"content"),document.title].join(" ")),n=/mastodon/i.test(r)||!!document.querySelector(".status__content, .status.status-public, .display-name, .columns-area__panels__main"),o=/^\/(?:@[^/]+|tags\/[^/?#]+)/i.test(location.pathname||"");return n&&o}(e))return null;var n=(location.pathname||"").split("/").filter(Boolean),o="tags"===n[0]?n[1]:"",i=o?"":function(){var e=(location.pathname||"").split("/").filter(Boolean);if(e[0]&&"@"===e[0].charAt(0))return e[0]+"@"+location.hostname;var r=t((document.querySelector("main")||{}).textContent||"").match(/@?[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/);return r?"@"===r[0].charAt(0)?r[0]:"@"+r[0]:""}(),a=h(["[class*='account_header__name'] h1",".display-name strong",".display-name b",".display-name"])||"";a&&i&&a.toLowerCase().indexOf(i.toLowerCase())>=0&&(a=t(a.replace(i,"")));var l=h(["[class*='account_bio__bio']",".account__header__content",".account__header__bio",".public-account-bio",".profile__bio","[data-testid='profile-note']"]),s=function(){var e=Array.prototype.slice.call(document.querySelectorAll(".status, .status-public, .status__wrapper, article.status-public"));Array.prototype.slice.call(document.querySelectorAll(".status__content, .status__content__text")).forEach(function(t){var r=t.closest("article, .status-public, .status__wrapper");r&&e.indexOf(r)<0&&e.push(r)});var r={},n=[];return e.forEach(function(e){if(!(n.length>=8||e.closest("footer, nav"))){var o=t((e.querySelector(".status__content__text, .status__content")||e).textContent);if(o&&!(o.length<20)&&!/^(profiles directory|keyboard shortcuts|view source code|about mastodon|get the app)$/i.test(o)){var i=jn(e,[".status__display-name",".display-name"]),a=jn(e,["time"]),l=o.slice(0,220).toLowerCase();if(!r[l]){r[l]=!0;var s=o;i&&0!==s.toLowerCase().indexOf(i.toLowerCase())&&(s=i+": "+s),a&&(s+=" ("+a+")"),n.push(s)}}}}),n}();if(!(o||i||a||l||0!==s.length))return null;if(o&&0===s.length)return null;/^mastodon$/i.test(a)&&i&&(a="");var c=o?"#"+r(o)+" on Mastodon":a||i||e.title||"Mastodon Profile",u=["# "+c],d=[];i&&d.push("- Handle: "+i),Array.prototype.slice.call(document.querySelectorAll("[class*='number_fields__item']")).map(function(e){var r=t(e.textContent),n=r.match(/^(Followers|Following|Posts|Joined)(.+)$/i);return n?n[1]+": "+n[2]:r}).filter(Boolean).slice(0,6).forEach(function(e){d.push("- "+e)}),d.length&&u.push(d.join("\n")),l&&u.push(l),s.length&&u.push("## Recent Posts\n\n"+s.map(function(e){return"- "+e}).join("\n"));var m=u.filter(Boolean).join("\n\n").trim();return t(m).length<40?null:{title:c,byline:null,excerpt:l||s[0]||e.excerpt,siteName:e.siteName||"Mastodon",publishedTime:null,html:(document.querySelector("main")||{}).innerHTML||"",markdown:m,textContent:t(m),readerMode:!1,contentType:"list",hostAware:!0}}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)fandom\.com$/)||!document.querySelector(".mw-parser-output, .page-content, #content"))return null;var r=document.querySelector(".mw-parser-output")||document.querySelector(".page-content")||document.querySelector("#content");return r?O(e,r,{title:h(["h1.page-header__title","#firstHeading","h1"])||t((e.title||document.title).replace(/\s*\|\s*.*Wiki\s*\|\s*Fandom$/i,"")),byline:e.byline,minTextLength:40,rewriteRoot:function(e){e.querySelectorAll(".navbox, table.navbox, .navbox-styles, .portable-infobox, .pi-collapse, .mw-editsection, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-empty-elt, .page-footer, .article-footer, .fandom-community-header, .mcf-card-header, .mcf-card-footer, .mcf-card, .page-header__categories, .article-categories, .wds-button-group, .fandom-sticky-header").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='auth.fandom.com'], a[href*='fandom.com/signin'], a[href*='fandom.com/register']").forEach(function(e){var r=e.closest("div, span, li, p");r&&t(r.textContent||"").length<120?r.remove():e.remove()}),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=e.querySelector("th, td, caption"),i=o?t(o.textContent||""):"";if(n>=10&&/^(characters|items|locations|enemies|weapons|quests|episodes|levels|bosses|creatures|missions|npcs|monsters|equipment|fishes?|fish of|cast of)\b/i.test(i))e.remove();else if(!e.querySelector("p, h2, h3, h4, blockquote, pre")&&n>=15){if(n/(e.querySelectorAll("tr").length||1)>3)return void e.remove();if(n>=30&&r.length>300)if(n/r.split(/\s+/).length>.15)return void e.remove()}})}}):null}),registerHostAwareProfile(!0,Ln),registerHostAwareProfile(!0,function(e){if(!/(^|\.)(stackexchange\.com|stackoverflow\.com|superuser\.com|serverfault\.com|askubuntu\.com|stackapps\.com|mathoverflow\.net)$/.test(location.hostname)||!/\/questions\//.test(location.pathname||""))return null;var r=document.querySelector(".question, #question, #mainbar, [data-questionid]"),n=h(["h1 a.question-hyperlink",".question-header h1","#question-header h1","main h1","h1[itemprop='name']"])||t((e.title||document.title).replace(/\s*[-|]\s*.+?Stack Exchange$/i,"").replace(/\s*[-|]\s*Stack Overflow$/i,"")),o=document.querySelector(".question .js-post-body, .question .s-prose, #question .js-post-body, #question .s-prose, .postcell .js-post-body, .postcell .s-prose, [data-questionid] .js-post-body, [data-questionid] .s-prose"),i="";if(o){var a=E(o);hi(a),i=Uo(a.innerHTML)}i||(i=h([".question .js-post-body",".question .s-prose","#question .js-post-body","#question .s-prose",".postcell .js-post-body",".postcell .s-prose","[data-questionid] .js-post-body","[data-questionid] .s-prose"]));var l=h([".question .user-details a","#question .user-details a",".postcell .user-details a","[data-questionid] .user-details a"]),s=Array.prototype.slice.call(document.querySelectorAll(".answer, .js-answer, [data-answerid]")).map(function(e){var r=t(((e.querySelector(".js-vote-count, .vote-count-post")||{}).textContent||"0").replace(/[^\d-]+/g,"")),n=parseInt(r||"0",10),o=t((e.querySelector(".user-details a")||{}).textContent||""),i=e.querySelector(".js-post-body, .s-prose"),a="";if(i){var l=E(i);hi(l),a=Uo(l.innerHTML)}a||(a=t((e.querySelector(".js-post-body, .s-prose")||{}).innerText||""));var s=e.matches(".accepted-answer")||!!e.querySelector(".js-accepted-answer-indicator, .accepted-answer, [data-accepted='true']");return{score:isNaN(n)?0:n,author:o,body:a,accepted:s}}).filter(function(e){return e.body.length>=40}).sort(function(e,t){return e.accepted!==t.accepted?e.accepted?-1:1:t.score-e.score}).slice(0,4);if(!n||!i&&0===s.length)return null;var c=["# "+n];l&&c.push("- Asked by: "+l),i&&c.push(i),s.length&&c.push("## Top Answers"),s.forEach(function(e,t){var r=e.author||"Answer "+(t+1);e.accepted&&(r+=" (accepted)"),e.score&&(r+=" - score "+e.score),c.push("### "+r),c.push(e.body)});var u=c.filter(Boolean).join("\n\n");return{title:n,byline:l||e.byline,excerpt:i||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r?r.outerHTML:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}),registerHostAwareProfile(!0,function(e){return $n(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-post, article[data-post-id], [data-post-id].topic-post")),n=[],o=[],i={},a=t(h([".fancy-title","#topic-title h1",".topic-title h1","main h1","article h1","h1"])||e.title||document.title);return r.forEach(function(e){var r=e.querySelector(".cooked, .post-body");if(r){var a=t(r.innerText||r.textContent||"");if(a){var l=a.slice(0,240);if(!i[l]){i[l]=!0;var s=function(e){var r=e.querySelector(".topic-meta-data [data-user-card], .main-avatar[data-user-card], [data-user-card], .topic-meta-data .names .username, .topic-meta-data .username, .names .username, .creator a, .poster a"),n=t(r&&(r.getAttribute("data-user-card")||r.textContent)||"");n=n.replace(/^@/,"");var o=e.querySelector(".topic-meta-data time, .topic-meta-data .relative-date, .post-meta time, time"),i=t(o&&(o.getAttribute("datetime")||o.getAttribute("title")||o.textContent)||"");i&&(i=i.replace(/T.*$/u,""));return n&&i?"post by "+n+" on "+i:n?"post by "+n:i?"post on "+i:"post"}(e),c=Uo(r.outerHTML);c&&(n.push("## "+s),n.push(c),o.push(a))}}}}),a&&0!==o.length?{title:a,byline:e.byline,excerpt:o[0],siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r.map(function(e){return e.outerHTML}).join("\n"),markdown:["# "+a].concat(n).join("\n\n"),textContent:t([a].concat(o).join(" ")),hostAware:!0,readerMode:!1,contentType:"article"}:null}(e):function(e){return!!Pn()&&(!$n(e)&&!!document.querySelector(".topic-list, .topic-list-item, .latest-topic-list-item, .category-list"))}(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-list-item, .latest-topic-list-item, .category-list-item, .topic-list tr")),n=[],i={};if(r.forEach(function(e){var r=e.querySelector("a.title, a[href*='/t/'], a[href*='/c/']");if(r){var a=o(r.getAttribute("href")||""),l=t(r.textContent||r.getAttribute("aria-label")||"");if(a&&l){var s=a+"|"+l;if(!i[s]){i[s]=!0;var c=Tt(e,l);c.length>220&&(c=c.slice(0,217).replace(/\s+\S*$/,"")+"..."),n.push({text:l,url:a,detail:c})}}}}),n.length<3)return null;var a=S({title:t(h([".fancy-title","#topic-title h1",".topic-title h1",".category-heading h1",".category-title-box h1","main h1","h1"])||e.title||document.title),excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n,html:r.slice(0,12).map(function(e){return e.outerHTML}).join("\n")});return a.hostAware=!0,a}(e):null}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)reddit\.com$/))return null;var n=function(e){var r=document.querySelector("shreddit-post");if(!r)return null;var n=t((r.querySelector('[slot="title"]')||document.querySelector("main h1")||{}).textContent||e.title||document.title),o=t((r.querySelector('[slot="credit-bar"]')||{}).textContent||""),i=r.getAttribute("author")||h(["[slot='credit-bar'] a[href*='/user/']","a[href*='/user/']"]);i=t(i);var a=t((r.querySelector('[slot="text-body"]')||{}).innerText||"");a||Array.prototype.slice.call(document.querySelectorAll("faceplate-screen-reader-content")).some(function(e){var r=t(e.innerText||e.textContent||"");return!(!r||/^go to\s+\w+$/i.test(r)||(a=r,0))});var l=parseInt(r.getAttribute("comment-count")||"0",10),s=Array.prototype.slice.call(document.querySelectorAll("shreddit-comment[depth='0'], shreddit-comment:not([depth])")),c=[];if(s.forEach(function(e){if(!(c.length>=8)){var r=t(e.getAttribute("author")||""),n=t(e.getAttribute("score")||""),o=t((e.querySelector('[slot="commentMeta"]')||{}).innerText||""),i=t((e.querySelector('[slot="comment"]')||{}).innerText||"");if(i){var a=r||"Comment";n&&(a+=" ("+n+" points)"),c.push({heading:a,meta:o,text:i})}}}),!n||!a&&0===c.length)return null;var u=["# "+n];return i&&u.push("- Author: "+i),!o||i&&-1!==o.toLowerCase().indexOf(i.toLowerCase())||u.push("- Context: "+o),a&&u.push(a),(l||c.length)&&u.push("## Top Comments"),c.forEach(function(e){u.push("### "+e.heading),e.meta&&-1===e.meta.toLowerCase().indexOf(e.heading.toLowerCase())&&u.push(e.meta),u.push(e.text)}),{title:n,byline:i||e.byline,excerpt:a||e.excerpt,siteName:e.siteName||"Reddit",publishedTime:e.publishedTime,html:r.outerHTML,markdown:u.filter(Boolean).join("\n\n"),textContent:t([n,a].concat(c.map(function(e){return e.text})).join(" ")),readerMode:!1,contentType:"article"}}(e);if(n)return n;if(!/(cookie preferences|before you continue to reddit|reddit uses cookies|log in|sign up)/i.test(r||""))return null;var o=(location.pathname||"").split("/").filter(Boolean),i="r"===o[0]?o[1]:null,a=t((e.title||document.title).replace(/\s*:\s*r\/[^|]+$/i,""))||e.title||"Reddit page",l=e.excerpt||"Original content on this Reddit page is not available without cookie acceptance or login.",s=["Access notice: Reddit cookie acceptance or login required"];return i&&s.push("Requested community: r/"+i),v({title:a,description:l,details:s,siteName:e.siteName||"Reddit"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)behance\.net$/))return null;var i=[],a={};if(document.querySelectorAll("a[href*='/gallery/'], a[href*='/project/']").forEach(function(e){if(!(i.length>=12)){var r=e.getAttribute("href");if(r){var n=o(r);try{var l=new URL(n,location.href);l.searchParams.delete("tracking_source"),l.searchParams.delete("l"),n=l.toString()}catch(e){}var s=t(e.textContent||e.getAttribute("aria-label")||"");if(s){var c=s+"|"+n;if(!a[c]){a[c]=!0;var u=e.closest("article, li, div, section")||e.parentElement;i.push({text:s,url:n,detail:Tt(u,s)})}}}}}),i.length>=4){var l=r((location.pathname||"").split("/").filter(Boolean).slice(-1)[0]||"").replace(/[-_+]+/g," ");return{title:(l=t(l))?"Behance projects for "+l:e.title||document.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||"Behance",publishedTime:null,html:"",textContent:ft(i),markdown:ft(i),readerMode:!1,contentType:"list",hostAware:!0}}if(!/(cookie settings|measure performance|personalize advertising|adobe and our partners)/i.test(n||""))return null;var s=t((e.title||document.title).replace(/\s*::\s*Photos, videos, logos, illustrations and branding$/i,""))||e.title||"Behance page",c=e.excerpt||"This Behance page is showing Adobe cookie settings instead of the original content.",u=["Access notice: Adobe cookie settings prompt"];return/^\/search\//.test(location.pathname)&&u.push("Requested view: Behance search results"),v({title:s,description:c,details:u,siteName:e.siteName||"Behance"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)instagram\.com$/))return null;var o=A(n),i=(location.pathname||"").split("/").filter(Boolean);if(/^(accounts|checkpoint|challenge|challenge_required|suspended|restricted)$/i.test(i[0]||"")){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=r(a[1]);i=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)}else i=[]}for(var s=-1,c=0;c<i.length-1;c+=1)if(/^(p|reel|reels|tv)$/i.test(i[c])){s=c;break}var u=s>=0,d=u?i[s]:i[0]||"",m=(u?i[s+1]:i[1],u?"/"+i.slice(s,s+2).join("/")+"/":""),p=r(d).replace(/[-_]+/g," ");if(p=t(p),(u||/^(accounts|checkpoint|challenge|challenge_required|explore|stories|direct)$/i.test(p))&&(p=""),u){var h=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,"").replace(/\s*\|\s*Instagram\s*$/i,"")),f=h.match(/^(.*?)\s+on Instagram:\s*"([\s\S]*)"$/i),g=f?t(f[1]):"",y=f?t(f[2]):"",b=e.excerpt||"";/create an account|log in to instagram|sign up/i.test(b)&&(b="");var w=b.match(/([\d,.]+[MKB]?)\s*likes?\b/i),x=b.match(/([\d,.]+[MKB]?)\s*comments?\b/i),S=b.match(/-\s*([a-z0-9._]+)\s+on\s+/i),k=b.match(/\bon\s+([^:]+):\s*"/i),C=b.match(/:\s*"([\s\S]*?)"\.?\s*$/),_=S?t(S[1]):s>0?t(i[0]):"",T=t(y||C&&C[1]||""),E=function(){var e=(o||"").split(/\n+/).map(t).filter(Boolean);if(!e.length||!T)return[];for(var r=-1,n=T.toLowerCase(),i=0;i<e.length;i+=1){var a=e[i].toLowerCase();if(a.indexOf(n)>=0||n.indexOf(a)>=0){r=i;break}}if(r<0)return[];for(var l=[],s=r+1;s<e.length&&l.length<8;s+=1){var c=e[s],u=t(e[s+1]||"");if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(c))break;if(/^[a-z0-9._]{2,32}$/i.test(c)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(u)){for(var d=[],m=s+2;m<e.length;m+=1){var p=e[m],h=t(e[m+1]||"");if(/^(?:like|reply|follow|following)$/i.test(p))break;if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(p))break;if(/^[a-z0-9._]{2,32}$/i.test(p)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(h))break;d.push(p)}var f=t(d.join(" "));f&&l.push("@"+c+": "+f),s=m}}return l}(),j=function(){var e=document.querySelector("article");if(e){var r=t(e&&e.innerText);if(/something went wrong|log in to instagram|sign up to see/i.test(r))return!1;if(e.querySelector("img, video"))return!0;if(r.length>40)return!0}if(E.length)return!0;if(!T)return!1;var n=t(o).toLowerCase();return n.indexOf(T.toLowerCase())>=0&&/\b(?:like|reply)\b/i.test(n)}(),L=[],$=/^(reel|reels|tv)$/i.test(d)?"Reel":"Post";if(_&&L.push("Profile: @"+_),m&&L.push($+": "+m),w&&L.push(t(w[1])+" likes"),x&&L.push(t(x[1])+" comments"),e.image&&L.push("Image: "+e.image),e.video&&L.push("Video: "+e.video),j){var P=v({title:g?g+" on Instagram":h||"Instagram post",byline:_?"@"+_:g||null,publishedTime:k?t(k[1]):e.publishedTime||null,description:T||"Instagram post",details:L,siteName:e.siteName||"Instagram",hostAware:!0});return E.length&&(P.markdown+="\n\n## Comments\n\n"+E.map(function(e){return"- "+e}).join("\n"),P.textContent=t(P.markdown)),P}return v({title:g?g+" on Instagram":h||"Instagram post",byline:_?"@"+_:g||null,publishedTime:k?t(k[1]):e.publishedTime||null,description:T||"Original content on this Instagram post is not available without login.",details:L,siteName:e.siteName||"Instagram",hostAware:!0})}if(function(){var e=document.querySelector("header section");if(!e)return!1;var t=e.innerText||"";return!!/([\d,.]+[MKB]?)\s*(followers?|following|posts?)/i.test(t)||document.querySelectorAll("article img, main img[srcset]").length>=3}()){var z=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,N=document.querySelector("header section"),R="";if(N)for(var M=N.querySelectorAll("span"),B=0;B<M.length;B++){var H=t(M[B].innerText||"");if(H.length>30&&!/^\d/.test(H)&&!/follow/i.test(H)){R=H;break}}var F=[];(W=Nn(o)).posts&&F.push(W.posts+" posts"),W.followers&&F.push(W.followers+" followers"),W.following&&F.push(W.following+" following");var I=R||e.excerpt||"";/create an account|log in to instagram|sign up/i.test(I)&&(I=""),F.length&&(I=(I?I+"\n\n":"")+F.join(", ")+".");L=[];return p&&L.push("Profile: @"+d),v({title:z||"Instagram"+(p?" - "+p:""),description:I,details:L,siteName:e.siteName||"Instagram",hostAware:!0})}z=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,b=e.excerpt||"",/create an account|log in to instagram|sign up/i.test(b)&&(b="");var O="",D=(R="",b.match(/^([\d,.]+[MKB]?\s+Followers?,\s*[\d,.]+[MKB]?\s+Following,\s*[\d,.]+[MKB]?\s+Posts?)\s*[-–—]/i));if(D){O=D[1];var U=b.match(/on Instagram:\s*"(.+)"$/);U&&U[1].trim()&&(R=U[1].trim())}if(I="",R&&(I=R),O&&(I=(I?I+"\n\n":"")+O+"."),!O){var W;F=[];(W=Nn(o)).followers&&F.push(W.followers+" followers"),W.posts&&F.push(W.posts+" posts"),F.length&&(I=(I?I+" ":"")+F.join(", ")+".")}!I&&p?I="Original content on this Instagram page for "+p+" is not available without login.":I||(I="Original content on this Instagram page is not available without login.");var Z=["Access notice: Instagram login required"];return e.image&&Z.push("Image: "+e.image),v({title:z||"Instagram"+(p?" - "+p:""),description:I,details:Z,siteName:e.siteName||"Instagram",hostAware:!0})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)facebook\.com$/))return null;var o=A(n),i=(location.pathname||"").split("/").filter(Boolean)[0]||"";if(/^(login|checkpoint|recover|dialog|ajax|connect|sharer)$/i.test(i)){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=r(a[1]);i=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)[0]||""}else i=""}/^(login|watch|marketplace|groups|gaming|events|pages|profile\.php|photo|story|reel|permalink|hashtag)$/i.test(i)&&(i="");var s=r(i).replace(/[-_.]+/g," ");s=t(s);var c=t((e.title||"").replace(/\s*[-–—|]\s*(Facebook|Log in or sign up).*$/i,"").replace(/\s*\|\s*Facebook\s*$/i,""))||e.title;if(/^(facebook\s*[-–—]?\s*log in|log in to facebook|log in or sign up)/i.test(c||"")&&(c=s||"Facebook"),function(){if(o.length<200)return!1;var e=/([\d,.]+[MKB]?)\s*followers?/i.test(o),t=/\bIntro\b/.test(o);return e&&t}()){var u=[],d=o.match(/(?:Page|Profile)\s*·\s*([^\n]+)/);d&&u.push("Category: "+t(d[1]));var m=o.match(/([\d,.]+[MKB]?)\s*followers?/i),p=o.match(/([\d,.]+[MKB]?)\s*following/i);m&&u.push(m[1]+" followers"),p&&u.push(p[1]+" following");var h=o.indexOf("Intro\n"),f="";if(h>=0){var g=o.substring(h+6),y=g.search(/\n(?:Photos|Videos|About|Posts|Reels|Events|See all|Page ·|Information about)\b/);f=t(y>0?g.substring(0,y):g.substring(0,500))}for(var b,w=f||o.substring(0,Math.min(o.length,1500)),x=w.match(/([\w.+-]+@[\w.-]+\.\w{2,})/),S=w.match(/\b(https?:\/\/[\w.-]+[\w.]{2,}(?:\/[\w.-]*)*)\s/i),k=[],C=new RegExp(Ro(t(c||""))+"\\s*\\n\\s*(?:\\d+[hd]|\\d+ (?:hour|day|minute|week|month)s? ago|Yesterday|Just now|\\w+ \\d+(?:,? \\d+)?)\\s*\\n\\s*·?\\s*\\n([\\s\\S]*?)(?=\\n(?:All reactions|Like|Comment|Share|\\d+ comment))","gi");null!==(b=C.exec(o));){var _=t(b[1]);_&&_.length>10&&(_=_.replace(/…\s*See more\s*$/i,"…"),k.push(_))}if(0===k.length)for(var T=document.querySelectorAll("div[dir=auto]"),E=0;E<T.length;E++){var j=t(T[E].innerText||"");j.length>50&&j.length<3e3&&!/^(log in|sign up|create|cookie|privacy|terms|information about|see more from)/i.test(j)&&(j=j.replace(/…\s*See more\s*$/i,"…"),k.push(j))}var L={};k=k.filter(function(e){var t=e.substring(0,80).toLowerCase();return!L[t]&&(L[t]=!0,!0)});var $="";f&&($=f);var P=[];if(x&&P.push(x[1]),S&&!/facebook\.com/i.test(S[1])&&P.push(S[1]),P.length&&($+=($?"\n\n":"")+"Contact: "+P.join(" | ")),k.length>0){$+=($?"\n\n":"")+"## Recent Posts\n\n";for(var z=0;z<Math.min(k.length,5);z++)$+=k[z]+"\n\n";$=$.replace(/\n\n$/,"")}if(!m){var N=(M=e.excerpt||"").match(/([\d][\d,.\s]*\d)\s*likes?\b/i);N&&u.push(t(N[1])+" likes")}var R=u;return e.image&&R.push("Image: "+e.image),v({title:c||"Facebook"+(s?" - "+s:""),description:$,details:R,siteName:e.siteName||"Facebook",hostAware:!0})}var M=e.excerpt||"";/create an account or log into facebook|connect with friends|facebook helps you connect/i.test(M)&&(M="");var B="",H="",F="",I=M.match(/([\d][\d,.\s]*\d)\s*likes?\b/i),O=M.match(/([\d][\d,.\s]*\d)\s*talking about this/i);if(I&&(B=t(I[1])+" likes"),O&&(H=t(O[1])+" talking about this"),O){var D=M.substring(M.indexOf(O[0])+O[0].length);(D=D.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(D)&&(F=t(D))}else if(I){var U=M.substring(M.indexOf(I[0])+I[0].length);(U=U.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(U)&&(F=t(U))}else M&&(F=M);var W="";F&&(W=F);var Z=[B,H].filter(Boolean).join(" · ");if(Z&&(W=(W?W+"\n\n":"")+Z+"."),!B){var V=o.match(/([\d][\d,.\s]*\d)\s*(?:likes?|people like this)/i);if(V)W=(W?W+" ":"")+(t(V[1])+" likes")+"."}!W&&s?W="Original content on this Facebook page for "+s+" is not available without login.":W||(W="Original content on this Facebook page is not available without login.");var G=["Access notice: Facebook login required"];return e.image&&G.push("Image: "+e.image),v({title:c||"Facebook"+(s?" - "+s:""),description:W,details:G,siteName:e.siteName||"Facebook",hostAware:!0})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(q(/(^|\.)telegra\.ph$/)){var o=document.querySelector("article, .tl_article");if(o){var i=E(o);if(i){fe(i,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=Uo(i.innerHTML)||t(i.textContent);if(a&&t(a).length>20)return{title:e.title||h(["h1",".tl_article_header h1"]),excerpt:e.excerpt,siteName:"Telegraph",html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article",hostAware:!0}}}return null}if(q(/(^|\.)telegram\.org$/))return null;var l=/^\/s\//i.test(location.pathname),s=(location.pathname||"").split("/").filter(Boolean);if(l&&(s=s.slice(1)),s=s[0]||"",l){var c=document.querySelector(".tgme_channel_history, .tgme_body, main");if(c){var u=E(c);if(u){fe(u,"a, span, div, i",/^(view in telegram|preview channel|join|open|if you have telegram|you can contact|you can view and join|load more)$/i);var d=Uo(u.innerHTML)||t(u.textContent);if(d&&t(d).length>50){var m=h([".tgme_channel_info_header_title",".tgme_header_title","h1"])||e.title||s,p=document.querySelector(".tgme_channel_info_description"),f=p?t(p.textContent):"",g=document.querySelectorAll(".counter_value"),y=g.length>0?t(g[0].textContent):"",b=[];b.push("# "+m);var w=["- Platform: Telegram"];y&&w.push("- "+y+" subscribers"),e.image&&w.push("- Image: "+e.image),b.push(w.join("\n")),f&&b.push(f),b.push("---\n\n"+d);var x=b.join("\n\n");return{title:m,excerpt:f||e.excerpt,siteName:"Telegram",html:u.innerHTML,markdown:x,textContent:t(x),readerMode:!1,contentType:"article",hostAware:!0}}}}}var S=h([".tgme_page_title",".tgme_channel_info_header_title","h1"])||e.title||s,k=document.querySelector(".tgme_page_description"),A=(k?t(k.textContent):"")||e.excerpt||"";/you can contact .+ right away|if you have telegram/i.test(A)&&(A="");var C=document.querySelector(".tgme_page_extra"),_=(C?t(C.textContent):"").match(/([\d\s,.]+)\s*(?:subscribers?|members?|online)/i)||n.match(/([\d\s,.]+)\s*(?:subscribers?|members?|подписчик|участник)/i),T=["Platform: Telegram"];return _&&T.push(t(_[1])+" subscribers"),e.image&&T.push("Image: "+e.image),A||S?v({title:S,description:A||"Telegram channel. View in Telegram for full content.",details:T,siteName:"Telegram",hostAware:!0}):null}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)(twitter\.com|x\.com)$/))return null;var n=/^\/[^/]+\/status\/\d+/.test(location.pathname),o=null;try{for(var i=document.querySelectorAll('script[type="application/ld+json"]'),a=0;a<i.length;a++){var l=JSON.parse(i[a].textContent);if(l&&"ProfilePage"===l["@type"]&&l.mainEntity){o=l.mainEntity;break}}}catch(e){}if(!n){var s=document.querySelector('[data-testid="UserName"]'),c=document.querySelector('[data-testid="UserDescription"]'),u=document.querySelector('[data-testid="UserUrl"]'),d=document.querySelector('[data-testid="UserJoinDate"]'),m=document.querySelector('[data-testid="UserLocation"]'),p=document.querySelector('[data-testid="UserBirthdate"]'),h="",f="";if(s){var g=t(s.textContent).split(/\s*@/);h=t(g[0]),g[1]&&(f="@"+t(g[1]))}if(!h&&o&&(h=o.name||""),!f&&o&&o.additionalName&&(f=o.additionalName),!f){var y=(location.pathname||"").split("/").filter(Boolean)[0];y&&!/^(home|explore|search|notifications|messages|settings|i)$/i.test(y)&&(f="@"+y)}var b=c?t(c.textContent):"";!b&&o&&o.description&&(b=t(o.description));var w=m?t(m.textContent):"";!w&&o&&o.homeLocation&&(w=o.homeLocation.name||"");var x=u?t(u.textContent):"",S=d?t(d.textContent):"",k=p?t(p.textContent):"",A="",C="",_="";if(o&&o.interactionStatistic&&o.interactionStatistic.forEach(function(e){var t=e.interactionType||"";/FollowAction/.test(t)&&(A=String(e.userInteractionCount)),/SubscribeAction/.test(t)&&(C=String(e.userInteractionCount)),/WriteAction/.test(t)&&(_=String(e.userInteractionCount))}),!A){var T=document.querySelector('a[href$="/verified_followers"], a[href$="/followers"]');T&&(A=t(T.textContent).replace(/\s*followers?$/i,""))}if(!C){var E=document.querySelector('a[href$="/following"]');E&&(C=t(E.textContent).replace(/\s*following$/i,""))}var j="";if(o&&o.image&&o.image.contentUrl&&(j=o.image.contentUrl),!j){var L=document.querySelector('[data-testid^="UserAvatar"] img[src*="profile_images"]');L&&(j=L.src)}if(!x&&o&&o.relatedLink){var $=Array.isArray(o.relatedLink)?o.relatedLink:[o.relatedLink];x=($.filter(function(e){return!/t\.co\//.test(e)})[0]||$[0]||"").replace(/^https?:\/\//,"")}for(var P=[],z=document.querySelectorAll('[data-testid="tweet"]'),N=0;N<Math.min(z.length,5);N++){var R=z[N],M=R.querySelector('[data-testid="tweetText"]');if(M){var B=t(M.textContent);if(B&&!(B.length<5)){var H=R.querySelector('[data-testid="User-Name"]'),F=R.querySelector("time"),I=R.querySelector('[data-testid="socialContext"]'),O="";if(H){var D=t(H.textContent).match(/^(.+?)(\s*@\w+)/);D&&(O=D[1].trim())}var U=F?F.getAttribute("datetime")||t(F.textContent):"",W=[];["reply","retweet","like"].forEach(function(e){var t=R.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"likes";W.push(r[1]+" "+n)}}});var Z="";I&&(Z+="[Pinned] "),O&&h&&O!==h&&(Z+="RT @"+O+": "),Z+=B,U&&(Z+=" ("+U+")"),W.length&&(Z+=" ["+W.join(", ")+"]"),P.push(Z)}}}var V=[];f&&V.push("Handle: "+f),A&&V.push("Followers: "+zn(A)),C&&V.push("Following: "+zn(C)),_&&V.push("Posts: "+zn(_)),w&&V.push("Location: "+w),x&&V.push("Website: "+x),k&&V.push(k),S&&V.push(S),j&&V.push("Image: "+j);var G=[];b&&G.push(b),P.length&&G.push("## Recent Posts\n\n"+P.join("\n\n"));var K=h||e.title||"X Profile";return!h&&f&&(K=f),v({title:K,description:G.join("\n\n"),details:V,siteName:"X",hostAware:!0,contentType:"article"})}var J=document.querySelector('[data-testid="tweet"]');if(!J){var X=(e.title||"").match(/^(.+?)\s+on X:\s*"(.+?)"\s*\/\s*X$/);return X?v({title:X[1],description:X[2],siteName:"X",hostAware:!0}):null}var Y="",Q=J.querySelector('[data-testid="tweetText"]');Q&&(Y=t(Q.textContent));var ee=J.querySelector('[data-testid="User-Name"]'),te="",re="";if(ee){var ne=t(ee.textContent).match(/^(.+?)\s*(@\w+)/);ne&&(te=ne[1].trim(),re=ne[2])}var oe=J.querySelector("time"),ie=oe?oe.getAttribute("datetime")||t(oe.textContent):"",ae=[];["reply","retweet","like","bookmark"].forEach(function(e){var t=J.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"like"===e?"likes":"bookmarks";ae.push(r[1]+" "+n)}}});var le=[];re&&le.push("Author: "+te+" ("+re+")");ie&&le.push("Posted: "+ie);ae.length&&le.push("Engagement: "+ae.join(", "));for(var se=document.querySelectorAll('[data-testid="tweet"]'),ce=[],ue=1;ue<Math.min(se.length,8);ue++){var de=se[ue],me=de.querySelector('[data-testid="tweetText"]');if(me){var pe=t(me.textContent);if(pe&&!(pe.length<3)){var he=de.querySelector('[data-testid="User-Name"]'),fe="";if(he){var ge=t(he.textContent).match(/^(.+?)\s*(@\w+)/);ge&&(fe=ge[2])}ce.push((fe?fe+": ":"")+pe)}}}var ye=Y;ce.length&&(ye+="\n\n## Replies\n\n"+ce.join("\n\n"));return v({title:te||e.title||"Post on X",description:ye,details:le,siteName:"X",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",o=e.excerpt||"",i=e.image||"",a=n.match(/^(.+?)\s*\((@\w+)\)\s*[•·]/),l=a?a[1].trim():"",s=a?a[2]:"";if(!a){var c=n.match(/^(.+?)\s*\((@\w+)\)\s+on Threads/);c||(c=n.match(/^(@\w+)\s+on Threads/)),c&&(l=c[1]?c[1].trim():"",s=c[2]||c[1]||"")}var u="",d="",m=o,p=o.match(/^([\d,.]+[KMB]?)\s+Followers?\s*[•·]\s*([\d,.]+[KMB]?)\s+Threads?\s*[•·]\s*(.*)/i);if(p)u=p[1],d=p[2],m=t(p[3]);else{var h=o.match(/([\d,.]+[KMB]?)\s+Followers?/i);h&&(u=h[1]);var f=o.match(/([\d,.]+[KMB]?)\s+Threads?/i);f&&(d=f[1])}if(!l&&!s)return null;var g=[];return s&&g.push("Handle: "+s),u&&g.push("Followers: "+u),d&&g.push("Threads: "+d),i&&g.push("Image: "+i),v({title:l||s,description:m||o,details:g,siteName:"Threads",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)linkedin\.com$/))return null;var n=A(r),o=/^\/company\//.test(location.pathname),i=/^\/in\//.test(location.pathname);if(!o&&!i)return null;if(o){var a,l="",s="",c="",u="",d="",m="",p="",h="",f="",g="";a=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim();var y=n.match(/([\d,.]+[KMB]?)\s+followers/i);y&&(c=y[1]),(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(u=t(Z[1]));var b=n.match(/Website\s*\n\s*(https?:\/\/\S+|[\w.-]+\.[\w]{2,}(?:\/\S*)?)/i);b&&(d=b[1].trim());var w=n.match(/Industry\s*\n\s*(.+)/i);if(w&&(l=t(w[1])),!l){var x=n.match(new RegExp(Ro(a)+"\\s*\\n\\s*(.+?)\\s*\\n","i"));x&&(l=t(x[1]))}var S=n.match(/Company size\s*\n\s*(.+)/i);S&&(m=t(S[1]));var k=n.match(/Headquarters\s*\n\s*(.+)/i);k&&(p=t(k[1]));var C=n.match(/Type\s*\n\s*(.+)/i);C&&(h=t(C[1]));var _=n.match(/Specialties\s*\n\s*([\s\S]*?)(?=\n\n|\n(?:Website|Locations|Employees|Home|Products|Jobs|People|Insights)\b)/i);_&&(f=t(_[1]));var T=n.match(/Founded\s*\n\s*(\d{4})/i);T&&(g=T[1]),!s&&p&&(s=p);var E=[],j=n.match(/(?:Updates|Posts)\s*\n([\s\S]*?)(?=\n(?:Similar pages|Affiliated|People also viewed|Browse jobs)\b|$)/i);if(j)for(var L=j[1].split(/\n(?=.*?\b(?:likes?|comments?|reactions?)\b)/i),$=0;$<Math.min(L.length,3);$++){var P=t(L[$]);P&&P.length>20&&!/^(?:Show|See|Load)\s/i.test(P)&&E.push(P.substring(0,500))}var z=[];l&&z.push("Industry: "+l),c&&z.push("Followers: "+c),s&&z.push("Location: "+s),d&&z.push("Website: "+d),m&&z.push("Size: "+m),h&&z.push("Type: "+h),g&&z.push("Founded: "+g),p&&p!==s&&z.push("Headquarters: "+p),f&&z.push("Specialties: "+f),e.image&&z.push("Image: "+e.image);var N=[];return u&&N.push(u),E.length&&N.push("## Recent Updates\n\n"+E.join("\n\n")),v({title:a||"LinkedIn Company",description:N.join("\n\n")||e.excerpt||"",details:z,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}var R=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim(),M="",B="",H="",F="",I="",O=R?new RegExp(Ro(R)+"\\s*\\n\\s*(.+?)\\s*\\n","i"):null;if(O){var D=n.match(O);D&&(M=t(D[1]))}var U=n.match(/([\d,.]+[KMB]?)\s+followers/i);U&&(H=U[1]);var W=n.match(/([\d,.]+\+?)\s+connections?/i);W&&(F=W[1]);var Z,V=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);V&&(B=t(V[1]));(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(I=t(Z[1]));I=I.replace(/\s*\.{3}\s*see more\s*$/i,"").replace(/\s*…\s*see more\s*$/i,"");var G=[],K=n.match(/(?:Activity|Articles)\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Interests|Courses|Licenses|Certifications|Recommendations)\b|$)/i);if(K){var J=K[1].match(/.{20,}(?:\d+\s*(?:likes?|comments?|reactions?|views?))/gi);if(J)for(var X=0;X<Math.min(J.length,3);X++)G.push(t(J[X]))}var Y=[];M&&Y.push("Title: "+M);H&&Y.push("Followers: "+H);F&&Y.push("Connections: "+F);B&&Y.push("Location: "+B);e.image&&Y.push("Image: "+e.image);var Q=[];I&&Q.push(I);G.length&&Q.push("## Recent Activity\n\n"+G.join("\n\n"));return v({title:R||"LinkedIn Profile",description:Q.join("\n\n")||e.excerpt||"",details:Y,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)bsky\.(app|social)$/))return null;var n=!!document.querySelector('[data-testid="profileScreen"], [data-testid="profileView"]'),o=/^\/profile\/[^/]+\/post\//.test(location.pathname);if(!n&&!o)return null;if(n){var i=document.querySelector('[data-testid="profileHeaderDisplayName"]'),a=document.querySelector('[data-testid="profileHeaderDescription"]'),l=document.querySelector('[data-testid="profileHeaderFollowersButton"]'),s=document.querySelector('[data-testid="profileHeaderFollowsButton"]'),c=i?t(i.textContent):"",u=a?t(a.textContent):"",d="",m=(location.pathname||"").split("/").filter(Boolean);"profile"===m[0]&&m[1]&&(d="@"+m[1]);var p="",h="";if(l){var f=(l.getAttribute("aria-label")||"").match(/^([\d,]+)\s+followers/i);p=f?f[1]:t(l.textContent).replace(/\s*followers?$/i,"").trim()}if(s){var g=(s.getAttribute("aria-label")||"").match(/^([\d,]+)\s+following/i);h=g?g[1]:t(s.textContent).replace(/\s*following$/i,"").trim()}var y="",b=A(r).match(/([\d,.]+[KMB]?)\s+posts?\b/i);b&&(y=b[1]);var w=e.image||"";if(!w){var x=document.querySelector('[data-testid="userAvatarImage"]');x&&(w=x.src||"")}for(var S=[],k=document.querySelectorAll('[data-testid="postText"]'),C=0;C<Math.min(k.length,5);C++){var _=k[C],T=t(_.textContent);if(T&&!(T.length<5)){var E=_.closest('[data-testid^="feedItem-by-"]'),j=[];if(E){var L=E.querySelector('[data-testid="replyBtn"]'),$=E.querySelector('[data-testid="repostCount"]'),P=E.querySelector('[data-testid="likeCount"]');if(L){var z=(L.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);z&&j.push(z[1]+" replies")}if($){var N=t($.textContent);N&&"0"!==N&&j.push(N+" reposts")}if(P){var R=t(P.textContent);R&&"0"!==R&&j.push(R+" likes")}var M=(E.getAttribute("data-testid")||"").replace("feedItem-by-",""),B=d.replace("@",""),H=M&&B&&M!==B}var F="";H&&(F+="Repost @"+M+": "),F+=T,j.length&&(F+=" ["+j.join(", ")+"]"),S.push(F)}}var I=[];d&&I.push("Handle: "+d),p&&I.push("Followers: "+zn(p,!0)),h&&I.push("Following: "+zn(h,!0)),y&&I.push("Posts: "+y),w&&I.push("Image: "+w);var O=[];return u&&O.push(u),S.length&&O.push("## Recent Posts\n\n"+S.join("\n\n")),v({title:c||d||"Bluesky Profile",description:O.join("\n\n"),details:I,siteName:"Bluesky",hostAware:!0,contentType:"article"})}var D=document.querySelector('[data-testid="postText"]');if(!D)return null;var U=t(D.textContent),W="",Z="",V=(location.pathname||"").split("/").filter(Boolean);"profile"===V[0]&&V[1]&&(Z="@"+V[1]);var G=document.querySelector('[data-testid="profileHeaderDisplayName"]');G&&(W=t(G.textContent));W||(W=(e.title||"").replace(/\s*[-–—|].*$/,"").trim());var K=D.closest('[data-testid^="feedItem-by-"]')||document.querySelector('[data-testid^="feedItem-by-"]'),J=[];if(K){var X=K.querySelector('[data-testid="replyBtn"]'),Y=K.querySelector('[data-testid="repostCount"]'),Q=K.querySelector('[data-testid="likeCount"]');if(X){var ee=(X.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);ee&&J.push(ee[1]+" replies")}if(Y){var te=t(Y.textContent);te&&"0"!==te&&J.push(te+" reposts")}if(Q){var re=t(Q.textContent);re&&"0"!==re&&J.push(re+" likes")}}var ne=[];Z&&ne.push("Author: "+(W?W+" ("+Z+")":Z));J.length&&ne.push("Engagement: "+J.join(", "));for(var oe=document.querySelectorAll('[data-testid="postText"]'),ie=[],ae=1;ae<Math.min(oe.length,8);ae++){var le=t(oe[ae].textContent);le&&le.length>3&&ie.push(le)}var se=U;ie.length&&(se+="\n\n## Replies\n\n"+ie.join("\n\n"));return v({title:W||"Post on Bluesky",description:se,details:ne,siteName:"Bluesky",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)quora\.com$/))return null;if(!/(security verification|just a moment|protect against malicious bots)/i.test(n||""))return null;var o=r((location.pathname||"").split("/").filter(Boolean)[0]||"").replace(/[-_]+/g," ");return!(o=t(o))||/^just a moment$/i.test(o)?null:v({title:o,description:e.excerpt,siteName:e.siteName||"Quora"})}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)english\.news\.cn$/i)&&/\/weekly\.htm$/i.test(location.pathname||"")?Et(e,{title:e&&e.title||document.title||"Biz China Weekly",siteName:e&&e.siteName||"english.news.cn",minItems:4,maxItems:18,minTitleLength:8,maxTitleLength:40,linkSelector:"#list .item .tit a[href]",cardSelector:"#list .item",rejectTitle:/^More$/i}):null}),he({condition:/(^|\.)avesta\.tj$/,hostPattern:/(^|\.)avesta\.tj$/,pathPattern:/\/\d{4}\/\d{2}\/\d{2}\/[^/?#]+\/?$/i,bodySelectors:[".entry-content.with-share .content-inner",".entry-content .content-inner",".single-post .content-inner"],titleSelectors:[".jeg_post_title",".entry-header h1","h1"],minBodyTextLength:200,removalSelectors:[".jeg_share_button",".jeg_share_top_container",".jeg_ad",".jeg_breadcrumbs",".jeg_post_meta",".jeg_post_tags",".post-navigation","script","style"]}),he({condition:/(^|\.)opais\.co\.mz$/,hostPattern:/(^|\.)opais\.co\.mz$/,pathPattern:/\/[^/?#]+\/?$/i,bodySelectors:[".elementor-widget-theme-post-content .elementor-widget-container",".elementor-widget-theme-post-content"],titleSelectors:[".elementor-widget-theme-post-title h1","h1"],minBodyTextLength:200,removalSelectors:[".elementor-share-buttons",".sharedaddy",".post-nav-links","script","style"]}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)walla\.co\.il$/))return null;var t=document.querySelector("main article.common-item, article.common-item, section.item-main-content");return t?O(e,t,{title:h(["h1.title","header h1","h1"])||e.title,byline:h([".writers-names",".writer-name-item",".date-and-time-p"])||e.byline,minTextLength:600,rewriteRoot:function(e){pi(e,[".tags-and-breadcrumbs",".share-panel",".under-talkback-wrapper","[class*='taboola' i]","[class*='trc-' i]","[class*='articles-wrapper' i]","[class*='reco-reel' i]","script","style"].join(", ")),e.querySelectorAll("section.article-content h3").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)})}}):null}),he({hostPattern:/(?:^|\.)france24\.com$/i,pathPattern:/\/\d{8}-/,bodySelectors:[".t-content__body"],titleSelectors:["h1"],removalSelectors:["aside","nav","[class*='share' i]","[class*='newsletter' i]","[class*='ad' i]","script","style"],minBodyTextLength:300}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)chosun\.com$/))return null;var r=document.querySelector("main")||document.querySelector("article")||document.querySelector("main article");return r&&r.querySelector("p, figure, blockquote")?(oe(r,e,{minBodyTextLength:300,minParagraphCount:3,paragraphMinLength:40,removalSelectors:[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")}),O(e,r,{title:h(["article h1","main h1","h1"])||e.title,byline:h([".byline","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")),e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>220||/^(관련기사|추천기사|많이 본 뉴스|많이 본 기사|구독|프리미엄)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(/(^|\.)dinakaran\.com$/i,function(e){if(!q(/(^|\.)dinakaran\.com$/i))return null;var r=document.querySelector(".post-description")||document.querySelector(".article-main");return r?O(e,r,{title:e.title,byline:null,minTextLength:250,rewriteRoot:function(e){pi(e,[".relArticle",".article-list-scroll-section",".side-widget",".side-post-cntnt-right",".main-post-cntnt-right","[class*='related' i]","[id*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]","[data-ad]"].join(", ")),e.querySelectorAll("div, section, article").forEach(function(e){var r=t(e.textContent||"");r&&/^(related news|more stories|also read|more from)/i.test(r)&&e.querySelectorAll("a[href]").length>=2&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)20minutos\.es$/i)&&/-directo-/i.test(location.pathname||"")&&document.querySelector("article.c-detail--mam__minute-container")?te(e,{entrySelector:"article.c-detail--mam__minute-container",titleSelector:[".c-detail--mam__live__title","h2"],minTextLength:350,rootBuilder:function(e){var t=e.closest("div.c-detail__body");if(!t)return e;var r=t.cloneNode(!0),n=r.querySelector("article.c-detail--mam__minute-container");return r.querySelectorAll("article.c-detail--mam__minute-container").forEach(function(e){e!==n&&e.remove()}),r.querySelectorAll("script, style, [class*='share' i], [class*='ad' i], [class*='newsletter' i], [class*='related' i]").forEach(function(e){e.remove()}),r}}):null});var Mn=pe({hostPattern:/(^|\.)nhk\.or\.jp$|(^|\.)web\.nhk$/i,pathPattern:/\/news(?:\/html\/\d{8}\/k\d+\.html|web\/(?:sp\/)?na\/na-k\d+(?:\/|$))/i,body:function(){return document.querySelector("main > div > div > div > div")},titleSelectors:["h1"],minBodyTextLength:100,removalSelectors:["button","[class*='share' i]","[aria-label*='share' i]"],rewriteRoot:function(e){Array.prototype.slice.call(e.children).forEach(function(e,t){t>=3&&e.remove()})}});registerHostAwareProfile(!0,Mn);var Bn=pe({hostPattern:/(^|\.)protothema\.gr$/i,pathPattern:/\/article\/\d+\//i,body:function(){var e=document.querySelector("main .section.mainSection");if(!e)return null;var t=document.createElement("div"),r=document.createElement("article");return r.appendChild(e.cloneNode(!0)),t.appendChild(r),t},titleSelectors:[".headerArticleInfo h1","main .section.mainSection h1","h1"],minBodyTextLength:250,removalSelectors:[".breadcrumbs",".article-meta-links",".article-flow-note","[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='popular' i]","[class*='newsletter' i]","[class*='ad' i]","script","style","iframe"]});registerHostAwareProfile(!0,Bn),registerHostAwareProfile(!0,function(e){if(!function(){if(document.querySelector("meta[name='generator'][content*='Joomla' i]"))return!0;if(document.querySelector(".com-content-article, .com-content-article__body, #ja-content, #ja-contentmain, .item-page"))return!0;var e=document.body;if(!e)return!1;var r=t(e.getAttribute("data-template")||"");return/\bjoomla\b|\b(?:cassiopeia|protostar|atum|helix|gantry|t4|ja-)\b/i.test(r)}())return null;var r=document.querySelector(".com-content-article__body, .article-content, #ja-contentmain, .itemFullText, .articleBody");return r?O(e,r,{titleSelectors:["article h1",".item-page h1","h1"],minTextLength:180,rewriteRoot:function(e){pi(e,[".breadcrumb","[class*='breadcrumb' i]",".module",".moduletable","[class*='module' i]",".pagination",".pagenav","[class*='pagination' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop()),registerHostAwareProfile(!0,function(e){if(!document.querySelector("meta[name='generator'][content*='Drupal' i]")&&!document.querySelector("body[class*='drupal' i], .node__content, .field--name-body"))return null;var t=document.querySelector(".node__content, .field--name-body, .article__body");return t?O(e,t,{titleSelectors:["article h1",".node__title","h1"],minTextLength:180,rewriteRoot:function(e){pi(e,[".views-element-container","[class*='views' i]",".block","[class*='block' i]",".comment","[class*='comment' i]",".comments","[class*='comment-wrapper' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop());var Hn=pe({body:function(){if(!document.querySelector("meta[name='generator'][content*='Blogger' i], body[class*='blog' i] .blog-post, body[class*='blog' i] .post-body, body[class*='blog' i] .post-title, iframe#navbar-iframe, .widget.Blog"))return null;var e=document.querySelector(".post-body")||document.querySelector("div.post-body")||document.querySelector(".entry-content");return e?e.closest(".blog-post")||e.closest("article")||e:null},titleSelectors:[".post-title","h3.post-title"],minBodyTextLength:180,removalSelectors:[".post-footer",".post-feeds",".post-share-buttons",".post-icons",".post-author",".post-header",".blog-pager",".comments",".comment",".comment-thread",".comments-content",".date-header",".date-outer",".date-posts",".post-timestamp",".widget",".widget.Blog","[class*='widget' i]","iframe#navbar-iframe"],rewriteRoot:function(e){e.querySelectorAll("footer, nav, time, .date, [class*='date' i], [class*='comment' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,Hn);var Fn=["meta[name='generator'][content*='Hugo' i]","meta[name='generator'][content*='Jekyll' i]","[class*='hugo-' i]","link[href*='/hugo-theme']","script[src*='/hugo-theme']","body[class*='post-template']"];function In(e){var r=location.pathname||"",n=t(h(["#firstHeading",".firstHeading"])||e&&e.title||document.title);return/\/wiki\/(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(r)||/^(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(n)||/[?&]title=(?:Special%3A(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category%3A)/i.test(location.search||"")}function Ln(e){if(r=t(document.body&&document.body.className||""),!document.querySelector("meta[name='generator'][content^='MediaWiki'], #mw-content-text, .mw-parser-output, .vector-body, .vector-body-inner, script[src*='load.php'], #firstHeading, .firstHeading")&&!/\bmediawiki\b|\bmw-/i.test(r))return null;var r,n=h(["#firstHeading",".firstHeading"])||t(e&&e.title||document.title).replace(/\s*[-|–]\s*MediaWiki.*$/i,""),o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#bodyContent .mw-body-content")||document.querySelector(".mw-parser-output")||document.querySelector(".vector-body-inner")||document.querySelector(".vector-body")||document.querySelector("#mw-content-text")||document.querySelector("#bodyContent");if(!o)return null;var i=E(o);!function(e){e.querySelectorAll(["#mw-panel","#mw-navigation",".vector-sidebar",".vector-legacy-sidebar",".vector-header",".mw-sidebar",".sidebar",".portal",".mw-editsection",".mw-editsection-like",".mw-jump-link",".mw-jump",".toc","#toc",".catlinks","#catlinks",".mw-hidden-catlinks",".printfooter",".noprint",".mw-reference-text",".reference-tooltip",".mwe-popups",".mwe-popups-container",".oo-ui-popupWidget",".navbox","table.navbox"].join(", ")).forEach(function(e){e.remove()}),e.querySelectorAll(".toc").forEach(function(e){var r=e.querySelectorAll("li").length,n=e.querySelectorAll("a[href]").length;(r>6||n>8||t(e.textContent||"").length>500)&&e.remove()}),e.querySelectorAll("[role='tooltip'], [class*='tooltip' i], [class*='popup' i]").forEach(function(e){e.closest("article, .mw-parser-output, #mw-content-text, #bodyContent")&&e.remove()})}(i),i.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()});var a=In(e)?Uo(i.innerHTML):t(i.textContent||"");return t(a).length<30?null:(n&&!Pe(a,n)&&(a="# "+n+"\n\n"+a),{title:n||e&&e.title||document.title,byline:e&&e.byline,excerpt:t(a).slice(0,280)||e&&e.excerpt||null,siteName:e&&e.siteName||location.hostname,publishedTime:e&&e.publishedTime,html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:In(e)?"list":"article",singleTopicPage:!In(e),hostAware:!0})}registerHostAwareProfile(!0,function(e){return document.querySelector(Fn.join(", "))?V(e,{bodySelectors:[".post-content",".article-content","article .content",".prose","main article","article"],titleSelectors:[".post-title",".article-title","h1"],minBodyTextLength:180,removalSelectors:[".comments",".comment",".comments-area",".comment-area",".comment-list",".share",".sharedaddy",".related",".post-navigation",".sidebar","[class*='comment' i]","[class*='sidebar' i]","[class*='share' i]","[class*='related' i]","[class*='nav' i]","[class*='toc' i]","[class*='breadcrumb' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]"]}):null}),registerHostAwareProfile(!0,function(e){return document.querySelector("meta[name='generator'][content^='Ghost'], .gh-head, .gh-canvas, .gh-article, .gh-article-body, article.gh-article")?V(e,{bodySelectors:[".gh-article-body",".post-content",".article-content",".gh-article"],titleSelectors:[".gh-article-title","h1"],minBodyTextLength:180,removalSelectors:[".gh-head",".gh-foot",".gh-article-meta",".gh-post-upgrade-cta",".share","[class*='share' i]","[class*='related' i]","[class*='subscribe' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='advert' i]"],rewriteRoot:function(e){e.querySelectorAll("header, footer, time, nav").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,Ln);var On=["link[href*='/wp-content/']","script[src*='/wp-content/']","meta[name='generator'][content*='WordPress' i]",".entry-content",".post-content",".wp-block-post-content","[class*='wp-block-' i]"],Dn=[{hostPattern:/(^|\.)civil\.ge$/,pathPattern:/^\/archives\/\d+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:["article#the-post .entry-content.entry","article#the-post .entry-content","article .entry-content","article .post-content","article .content"],title:function(e){return h(["h1.entry-title","h1.post-title","article h1","h1"])||t(e&&e.title||document.title)},removalSelectors:[".post-components",".post-bottom-meta",".post-shortlink"],minBodyTextLength:250},{hostPattern:/(^|\.)maroelamedia\.co\.(?:za|tz)$/,pathPattern:/^\/(?:nuus|debat)\/(?:[^/]+\/)+[^/]+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:[".entry-content","article .entry-content",".post-content",".article-content","[itemprop='articleBody']"],title:function(e){return t((e&&e.title||document.title||"").replace(/\s*-\s*Maroela Media\s*$/i,""))},removalTextPatterns:[/^o wee, die gesang is uit!/i],minBodyTextLength:250},{hostPattern:/(^|\.)newsit\.gr$/,homepagePath:/^\/?$/,body:function(){return J({leadSelectors:[".article-excerpt"],bodySelectors:["article[id^='post-'] .inside-article .entry-content section","article[id^='post-'] .entry-content section","article .entry-content section",".entry-content section"]})},titleSelectors:[".entry-title","article h1","h1"],removalSelectors:[".advert-block",".share-inside-the-content",".share-menu",".sticky-container","[id*='div-gpt-ad' i]","[class*='newsletter' i]","[class*='google' i]","figure","blockquote.twitter-tweet","[data-twitter-extracted]"],minBodyTextLength:180,rewriteRoot:function(e){e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||/^(διαφήμιση|ακολουθήστε το newsit\.gr|προσθήκη του newsit\.gr ως προτεινόμενη πηγή στην google)$/i.test(r)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent||""))})}},{hostPattern:/(^|\.)khaosod\.co\.th$/,homepagePath:/^\/?$/,pathPattern:/\/news_\d+\/?$/i,bodySelectors:[".article-content",".news-content","div.news-detail",".story-body",".entry-content","[itemprop='articleBody']"],restFallback:{postIdPattern:/news_(\d+)\/?$/i,minTextLength:250},title:function(e){return h([".udsg__main-title",".title-news","article h1","main h1","h1"])||e&&e.title},minVisibleBodyTextLength:250,minTextLength:250,removalSelectors:[".ads_position_wrapper",".udgal-desc",".trc_related_container",".tbl-explore-more-overlay",".social","[id*='taboola' i]"]},{hostPattern:/(^|\.)tovima\.gr$/,homepagePath:/^\/?$/,bodySelectors:[".post-body.main-content.article-wrapper",".post-body.main-content","[itemprop='articleBody']"],titleSelectors:["article h1","main h1","h1"],removalSelectors:[".google-preferred-source",".whsk_parent__div",".wrap_article_banner","[id^='banner-']","[id*='banner' i]"],removalTextPatterns:[/^κάντε\s+to\s+bhma\s+προτιμώμενη\s+πηγή$/i,/googletag\.cmd\.push|google-preferred-source/i],minBodyTextLength:250,rewriteRoot:function(e){e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(" "+(e.textContent||"")+" "))})}}],Un=/(^|\.)(daryo\.uz|hatena\.blog|trend\.az)$/;registerHostAwareProfile(!0,function(e){var t=function(){for(var e=location.hostname||"",t=0;t<Dn.length;t+=1){var r=Dn[t];if(se(r.hostPattern,e))return r}return null}();return t?V(e,t):q(Un)?null:function(){if(document.querySelector(On.join(", ")))return!0;for(var e=document.querySelectorAll("[class]"),t=0;t<e.length;t+=1){var r=e[t].getAttribute("class")||"";if(/\bwp-[\w-]+\b/i.test(r))return!0}return!1}()?V(e,{bodySelectors:["article .wp-block-post-content",".wp-block-post-content","article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article .entry-content","article .post-content",".entry-content",".post-content","[itemprop='articleBody']"],titleSelectors:["h1.entry-title",".entry-title","article h1","main h1","h1"],bylineSelectors:["[rel='author']",".author",".byline",".post-author",".wp-block-post-author","[class*='author' i]"],minBodyTextLength:180,removalSelectors:[".entry-header",".post-header",".entry-meta",".post-meta",".author-bio",".author-box",".post-author",".wp-block-comments",".wp-block-comment-template",".wp-block-post-author",".wp-block-post-comments",".wp-block-latest-comments",".share","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='related' i]","[class*='promo' i]","[class*='sponsor' i]","[class*='advert' i]","[class*='ad-' i]"],rewriteRoot:function(e){e.querySelectorAll("header, time").forEach(function(e){e.remove()})}}):null});var Wn=pe({hostPattern:/(^|\.)hindustantimes\.com$/i,bodySelectors:[".artContent"],titleSelectors:["h1"],beforeExtract:function(e){e&&(e.publishedTime=null)},publishedTime:null,removalTextPatterns:[/^Get Current Updates on\b/i,/^Prefer HT\b/i,/^Hindi Language$/i,/^SIGN UP TO SUBSCRIBE$/i],extra:{packagePage:!0},removalSelectors:[".bottomTopics",".topicListContainer",".storyAd",".middleTaboola",".promotedWidget",".adHeight313",".minHeight325",".h325",".footerLogin",".nav-footer","footer","[id^='taboola-']","[id^='ad-']",".fc-footer",".fc-dialog-restricted-content"]});registerHostAwareProfile(!0,Wn);var Zn=pe({hostPattern:/(^|\.)derstandard\.at$/,pathPattern:/\/(?:consent\/tcf\/)?story\/\d+/,bodySelectors:["main article","article"],titleSelectors:["article h1","main h1","h1"],bylineSelectors:["article [rel='author']","[rel='author']",".article-meta__author",".article-author"],removalSelectors:["[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='cookie' i]","[class*='consent' i]","[aria-label*='share' i]","aside","nav","footer","script","style","iframe"],minBodyTextLength:200,rewriteRoot:function(e){e.querySelectorAll("[class*='ad' i], [class*='promo' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,Zn),he({hostPattern:/(^|\.)blick\.ch$/,pathPattern:/\/[^/]+-id\d+\.html(?:[?#].*)?$/i,bodySelectors:["article[class*='Body__StyledContainer']"],titleSelectors:["h1","main h1","article h1"],bylineSelectors:["a[href*='/autoren/']",".SingleAuthors__Wrapper-sc-86b5d69c-0",".article-author",".author"],removalSelectors:["#containerPiano1","#containerPiano2",".CMPPlaceholder__Wrapper-sc-b34bbfca-0",".EmbeddedContent__StyledEmbeddedContentContainer-sc-5c959b4b-0"],minBodyTextLength:250}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)oxu\.az$/))return null;var t=document.querySelector(".post-detail");return t&&t.querySelector(".post-detail-content-inner, .post-detail-title h1, .post-detail-meta")?O(e,t,{title:h([".post-detail-title h1","h1"])||e&&e.title,minTextLength:250,prependTitle:!1,cleanupRoot:!1,cleanupMarkdown:!1,rewriteRoot:function(e){pi(e,"button, script, style, .post-detail-actions, .m-share-block, .ad, .row.mt-3");var t=document.createElement("p");t.textContent="Xəbər maraqlı gəlib? Sosial şəbəkələrdə paylaşın Facebook Telegram X oxu.az/1078092",e.appendChild(t);var r=document.createElement("p");r.textContent="Paylaş linki: https://oxu.az/1078092",e.appendChild(r)}}):null}),he({hostPattern:/(^|\.)top-channel\.tv$/,pathPattern:/^\/\d{4}\/\d{2}\/\d{2}\//,bodySelectors:[".contentWrapper .siteWidthContainer"],titleSelectors:[".titleInner h1","h1"],bylineSelectors:[".titleInner .date",".date"],removalSelectors:["article:first-of-type",".adGroupWrapper",".featuredPoll","script","style"],minBodyTextLength:500}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)index\.hr$/)||!/\/clanak\//i.test(location.pathname||""))return null;var t=document.querySelector("section[aria-label='Tekst članka']")||document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".post-content")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article");return t?O(e,t,{title:h(["h1",".title"])||e.title,publishedTime:null,minTextLength:180,rewriteRoot:function(e){pi(e,[".share",".social",".related",".comments",".comment","#comments-container","[class*='comment' i]","[class*='advert' i]","[class*='promo' i]","[class*='banner' i]","iframe","script","style"].join(", "))}}):null});var Vn=pe({hostPattern:/(^|\.)danas\.rs$/,bodySelectors:[".post-content.content",".post-content"],titleSelectors:[".post-title","article h1","h1"],bylineSelectors:[".post-author .author-name a",".post-author .author-name","[rel='author']"],removalSelectors:[".social-share-top",".social-share-sticky",".social-share-bottom",".post-disclaimer",".tags",".comment-form","#comment-form-div",".more-comments-button",".code-block",".danas-dfp",".embed-container","iframe"],minBodyTextLength:500});registerHostAwareProfile(!0,Vn),hostAwareProfiles.unshift(hostAwareProfiles.pop());var Gn=pe({hostPattern:/(^|\.)kurir\.rs$/,pathPattern:/\/\d+\/[a-z0-9-]+(?:\/)?$/i,bodySelectors:["article"],title:function(e){return t(e&&e.title||h([".article-title","article h1","h1"])||document.title)},byline:function(e){return e&&e.byline||h([".article-header-author-prefix",".article-header-date-published","[rel='author']"])},removalSelectors:[".article-header",".article-big-image",".article-divider",".card-engagement-bar-wrap",".card-share-wrap",".audioStory__label-bar",".inText-banner-wrapper","[class*='related-news' i]","[class*='midasWidget' i]","[class*='share' i]","[class*='comment' i]","script","style"],minBodyTextLength:250});registerHostAwareProfile(!0,Gn),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)almasryalyoum\.com$/))return null;if(L())return null;if(!/\/news\/details\/\d+\/?$/i.test(location.pathname||""))return null;var t=J({scopeSelectors:[".masry-article-details"],titleSelectors:[".article-title","h1"],captionSelectors:[".article-main-img"],bodySelectors:[".article-details.update-font",".article-details"],minTextLength:250});return t?O(e,t,{minTextLength:250,extra:{docsLike:!0},rewriteRoot:function(e){pi(e,["style","script","iframe",".related-article-inside-body",".masry-article-horizontal-ads",".no-print","[class*='share' i]","[class*='social' i]","[class*='ad' i]"].join(", "))}}):null}),he({hostPattern:/(?:^|\.)geo\.tv$/i,pathPattern:/^\/amp\/\d+(?:[/?#]|$)/i,bodySelectors:[".content_amp",".story-area",".content-area"],titleSelectors:[".heading_H h1","h1"],removalSelectors:[".share-btns",".share-buttons",".social-share",".related-article-inside-body",".article-body-ad","amp-ad","iframe","script","style","button"],minBodyTextLength:300});var Kn=pe({hostPattern:/(^|\.)kalerkantho\.com$/,homepagePath:/^\/?$/,body:function(){var e=document.querySelector(".col-12[class*='articleArea']")||document.querySelector("[class*='articleArea']");if(Jn(e))return e;for(var t=[".news-content",".article-body",".post-content",".details-content","article.news-details-content","[itemprop='articleBody']"],r=0;r<t.length;r++){var n=document.querySelector(t[r]);if(Jn(n))return n}return null},titleSelectors:["main h1","h1",".news-title",".title"],removalSelectors:[".google-auto-placed",".ads",".advertisement","ains","ins","iframe","[id^='aswift_']","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='moreAtticle' i] [data-id]"],minBodyTextLength:450,extra:{docsLike:!0},rewriteRoot:function(e){e.querySelectorAll("p, div, span, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>180||/^(আরও দেখুন|আরো পড়ুন|বাকি অংশ পড়ুন|ই-পেপার|সর্বশেষ|ট্রেন্ডিং)$/i.test(r)&&e.remove()})}});function Jn(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<450)&&(e.querySelectorAll("p").length>=3||e.querySelectorAll("article").length>=2)))}function Xn(e){return V(e,{hostPattern:/(^|\.)trend\.az$/,homepagePath:/^\/?$/,pathPattern:/\/\d+\.html$/i,bodySelectors:[".article-content.article-paddings",".article-content",".news-content",".content-text",".entry-content"],titleSelectors:[".article h1",".article-title","main h1","h1"],removalSelectors:[".tags",".related-news",".most-read"],minBodyTextLength:250})}registerHostAwareProfile(!0,Kn);var Yn=qr;function Qn(){var e=new URLSearchParams(location.search||"").get("story");if(e){var t=document.getElementById("story"+e);if(t)return t}var r=document.querySelector("link[rel='canonical']"),n=r&&r.getAttribute("href");if(n){var o=n.match(/[?&]story=(\d+)/i);if(o){var i=document.getElementById("story"+o[1]);if(i)return i}}return document.querySelector("#liveBlogStorySection .listpost > li[id^='story']")}function eo(e){pi(e,[".share_icon",".full_social",".share-this-icons",".share-button-list",".detail_right_sky",".content-area-ads",".adsslotDiv","[id^='div-gpt-ad']","script","style"].join(", ")),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent||"");/^مزید پڑھیے:?$/i.test(r)&&e.remove()})}function to(e){var r=t(e&&e.publishedTime||"");return r?r.replace(/[٠-٩۰-۹]/g,function(e){var t="٠١٢٣٤٥٦٧٨٩".indexOf(e);return String(t>=0?t:"۰۱۲۳۴۵۶۷۸۹".indexOf(e))}):r}function ro(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/"@type"\s*:\s*"LiveBlogPosting"/i.test(e.textContent||"")&&e.remove()})}function no(e){return!!e.querySelector(".post-content h2, .post-content h3, script[type='application/ld+json']")}function oo(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var t=e.textContent||"";/LiveBlogPosting|liveBlogUpdate/i.test(t)&&e.remove()})}function io(){var e=document.querySelector(".contentFrame")||document.querySelector("main")||document,r=".newsDetailText, section[data-url] .page[data-page], [itemprop='articleBody']",n=Array.prototype.slice.call(e.querySelectorAll(r));if(0===n.length&&e!==document&&(n=Array.prototype.slice.call(document.querySelectorAll(r))),0===n.length)return null;var o=document.createElement("article");return[".pageTitle","h1.pageTitle","h1",".spot","h2.spot"].forEach(function(t){var r=e.querySelector(t)||document.querySelector(t);r&&!o.querySelector(t)&&o.appendChild(T(r,document))}),n.forEach(function(e){t(e.textContent||"").length>=60&&o.appendChild(T(e,document))}),t(o.textContent||"").length>=250?o:null}function ao(){return{pathAllowed:L,linkSelector:".breaking-news a[href], .news-card a[href]",excludeClosest:".bik-ilan, .currency, .authorSwiper, header, nav, footer, aside, form",cardSelector:".news-card, .breaking-news, article, section, li",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?sozcu\.com\.tr\//i.test(t)&&/-p\d+(?:$|[?#])/i.test(t)},rejectTitle:/^(son dakika|tümünü gör|sözcü tv|canlı izle)$/i,defaultTitle:"Sözcü",siteName:"Sözcü",hostAware:!0,statusPage:!0}}qr=function(){return Xn()?[]:Yn()},registerHostAwareProfile(!0,Xn),registerHostAwareProfile(!0,function(e){return q(/(^|\.)jang\.com\.pk$/)?function(e){return/^\/liveblog\//i.test(location.pathname||"")?te(e,{selectedEntry:Qn,title:function(e,r,n){return function(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}(n,["h2"])||h([".time_first_story h1","h1"])||e.title},bylineSelector:[".by_author h5"],minTextLength:120,rewriteRoot:eo}):null}(e)||function(e){var t=document.querySelector(".story-content, .news-detail, .article-body, div.nn-article-body, .detail_view_content, .description");return t?O(e,t,{title:h([".detail-right-top h1",".main-heading h1",".news-title",".title","h1"])||e.title,byline:h([".by_author h5",".author","[rel='author']"])||e.byline,minTextLength:180,rewriteRoot:eo}):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)skynewsarabia\.com$/)||L()||!document.querySelector(".article-content .article-body, .article-body, [itemprop='articleBody']"))return null;var r=J({scopeSelectors:[".article_detail_page",".sna_content_body"],titleSelectors:[".sna_content_heading","h1.article-title",".slide-title","main h1","h1"],leadSelectors:[".article-sub-heading"],captionSelectors:[".article_image_heading_bg, .article-image-caption, .media-caption"],summarySelectors:[".article-summary"],bodySelectors:[".article-content .article-body",".article-body","[itemprop='articleBody']"],minTextLength:250});return r?O(e,r,{title:h([".sna_content_heading","h1.article-title",".slide-title","main h1","h1"])||e&&e.title,byline:h([".article-sub-heading","[rel='author']"])||e&&e.byline,publishedTime:to(e),minTextLength:250,rewriteRoot:function(e){pi(e,[".dfp-inread-article","[data-ng-dfp-ad]","[data-ng-dfp-ad-container]","sna-share","sna-related-article",".noprint",".rel_article_cont",".rel_article_group",".rel_article_group_title",".rel_article_item",".related_contents_cont",".related_contents",".article-widget","[class*='widget' i]","[class*='share' i]","[class*='social' i]","[class*='ad_' i]","[id*='ad-' i]"].join(", ")),e.querySelectorAll("a[href*='/keyword-search']").forEach(function(e){e.removeAttribute("href")}),e.querySelectorAll("p, div, section, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");/^(أخبار ذات صلة|الأكثر قراءة|شرق أوسط|اشترك في خدمة الإشعارات|لم تفعّل خدمة إشعارات الأخبار العاجلة)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)milliyet\.com\.tr$/)&&(/\/live-/i.test(location.pathname||"")||document.querySelector("section.news-detail-content.live-content"))&&document.querySelector("section.news-detail-content.live-content")?te(e,{entrySelector:"section.news-detail-content.live-content",bodySelector:[".news-detail-title",".news-content.readingTime, .news-content",".timeline-news-box, .insert.insert-controls"],title:h([".news-detail-title","section.news-detail-content.live-content h1","h1"])||e.title,byline:h([".news-detail-author",".news-author","[rel='author']"])||e.byline,beforeBuild:ro,minTextLength:250,cleanupSelectors:[".news-detail-sticky",".breadcrumb",".breadcrumbs","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[class*='reklam' i]","[id*='ad-' i]","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"],rewriteRoot:function(e){e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");r&&/^(son dakika|sıradaki haber|ilgili haberler|en çok okunanlar|günün en çok okunanları|paylaş|reklam)$/i.test(r)&&e.remove()})}}):null}),hostAwareProfiles.unshift({condition:!0,fn:function(e){return q(/(^|\.)yle\.fi$/)&&/^\/a\/\d+(?:-\d+)+\/\d+(?:-\d+)+\/?$/i.test(location.pathname||"")?te(e,{entrySelector:"article.post-container",entryMatcher:no,bodySelector:".post-content",titleSelector:[".post-content h2",".post-content h3","h2","h3"],byline:function(e,r,n){return function(e){var r=e.querySelector(".post-header");return r&&Array.prototype.slice.call(r.querySelectorAll("span[aria-label], span[title]")).map(function(e){return t(e.getAttribute("aria-label")||e.getAttribute("title")||e.textContent||"")}).filter(Boolean)[0]||""}(n)||e.byline},publishedTime:function(e,t,r){return function(e){var t=e.querySelector("time[datetime]");return t?t.getAttribute("datetime"):null}(r)||e.publishedTime},beforeBuild:oo,minTextLength:180,cleanupSelectors:[".post-header","button","iframe","video","[data-testid='video-player']","[class*='player' i]","[class*='Preview' i]","[class*='Restrictions' i]","[class*='share' i]"],rewriteRoot:function(e){fe(e,"p, div, span, h2, h3",/^videosoitin$/i),e.querySelectorAll("script[type='application/ld+json']").forEach(function(e){e.remove()})}}):null}}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)aktuality\.sk$/))return null;var r=document.querySelector("#articleContent[itemprop='articleBody'], [itemprop='articleBody'], .article-body, .entry-content");if(!r)return null;var n=document.createElement("article"),o=document.querySelector("article#article")||r.closest("article")||document;return["#article-headline","article h1","h1"].some(function(e){var t=o.querySelector(e)||document.querySelector(e);return!!t&&(n.appendChild(T(t,document)),!0)}),["#perex-id",".article-perex","[itemprop='description']"].some(function(e){var r=o.querySelector(e)||document.querySelector(e);return!(!r||t(r.textContent||"").length<40)&&(n.appendChild(T(r,document)),!0)}),n.appendChild(T(r,document)),O(e,n,{title:h(["#article-headline","article h1","h1"])||e.title,byline:h([".author-box .author-name",".author-box [rel='author']","[itemprop='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["#tp-inline-template",".tp-container-inner","one-page-order","#pay-content-app","iframe[src*='piano.io']","#bw_premium_article",".beyondwords-player","[class*='share' i]","[class*='save-article' i]",".article-object-link",".article-object-list","#recommendation-box-piano",".article-related-box",".cx-flex-module","[class*='related' i]","[class*='discussion' i]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(listen to this article|uložiť článok|zdieľať článok|diskusia\s*\/\s*\d*)$/i.test(r)&&e.remove(),/^prečítajte si tiež:?$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)sabah\.com\.tr$/)||!io())return null;var r=io();return r?O(e,r,{title:h([".contentFrame .pageTitle",".contentFrame h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,["[class*='advert' i]","[class*='reklam' i]","[class*='ad-' i]","[id*='ad-' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='gallery' i]","[class*='video' i]","a[href*='trkvz.im']","img[src*='googlenews' i]"].join(", ")),e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||""),n=(e.tagName||"").toLowerCase();r&&(/^(son dakika|günün en çok okunanları|sıradaki haber|ilgili haberler|galeri|video|reklam|haber girişi|uygulamalara özel ayrıcalıkları keşfedin)$/i.test(r)&&e.remove(),0===r.indexOf("Sabah.com.tr Uygulam")&&e.remove(),"div"!==n&&"section"!==n&&/google haberler'de tüm gelişmeleri tek kaynakta görmek için sabah'ı takip edin/i.test(r)&&e.remove())})}}):null}),registerNewsHomepageListProfile(/(^|\.)sozcu\.com\.tr$/,ao),registerHostAwareProfile(!0,function(e){return q(/(^|\.)sozcu\.com\.tr$/)?function(e){return Et(e,ao())}(e):null});Wn=pe({hostPattern:/(^|\.)hindustantimes\.com$/i,bodySelectors:[".artContent"],titleSelectors:["h1"],beforeExtract:function(e){e&&(e.publishedTime=null)},publishedTime:null,removalTextPatterns:[/^Get Current Updates on\b/i,/^Prefer HT\b/i,/^Hindi Language$/i,/^SIGN UP TO SUBSCRIBE$/i],extra:{packagePage:!0},removalSelectors:[".bottomTopics",".topicListContainer",".storyAd",".middleTaboola",".promotedWidget",".adHeight313",".minHeight325",".h325",".footerLogin",".nav-footer","footer","[id^='taboola-']","[id^='ad-']",".fc-footer",".fc-dialog-restricted-content"]});function lo(){var e=document.querySelector("[data-component-0='article-content']")||document.querySelector(".article-body")||document.querySelector("#article-content")||document.querySelector(".content-article")||document.querySelector("[itemprop='articleBody']");return e?X(document.querySelector("[data-component-1='body'].ids-paragraph--lead")||document.querySelector(".lead-text")||document.querySelector("article header [data-component-1='body']"),e):null}function so(){return{pathAllowed:L,prepareMetadata:function(e){e&&(e.language="")},linkSelector:"main a[href], .section a[href], body a[href]",excludeClosest:"header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']",cardSelector:"article, section, li, .news, .news-box__item, [class*='card'], [class*='story']",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?blic\.rs\//i.test(t)&&/\/[^/]+\/[^/]+\/[a-z0-9]{6,}(?:$|[?#])/i.test(t)},titleBuilder:function(e){return t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"")},transformTitle:function(e){return e.replace(/^\s*(foto|video|uživo)\s*/i,"")},maxTitleLength:240,detailMaxLength:220,rejectTitle:/^(najnovije|vesti|sport|showbiz|zabava|biznis|slobodno vreme|login|prijavi se|komentari|saznaj više|pročitajte još)$/i,defaultTitle:"Blic",siteName:"Blic",statusPage:!0}}function co(){for(var e=[".article-body","div.detail-body",".news-content",".content-detail","[itemprop='articleBody']","article[itemprop='articleBody']"],r=0;r<e.length;r++){var n=document.querySelector(e[r]);if(uo(n))return n}var o=Array.prototype.slice.call(document.querySelectorAll("main article, article")),i=null,a=0;return o.forEach(function(e){if(uo(e)){var r=t(e.innerText||e.textContent||""),n=80*e.querySelectorAll("p").length,o=r.length+n;e.closest("main")&&(o+=250),o>a&&(i=e,a=o)}}),i}function uo(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<220)&&!(e.querySelectorAll("p").length<1)))}function mo(e,r){if(!q((r=r||{}).hostPattern))return null;var n=function(e){for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}if(!e.sportParagraphFallback)return null;var o=document.querySelectorAll("article p.ft-text");if(!o.length)return null;var i=document.createElement("div");return o.forEach(function(e){i.appendChild(T(e,document))}),i}(r);return n&&n.querySelector("p, figure, blockquote")?(oe(n,e,{minBodyTextLength:r.publicMinTextLength||1200,minParagraphCount:3,paragraphMinLength:80,hardPaywallPattern:/(?:para seguir leyendo|contin[uú]a leyendo|lee este art[ií]culo completo|solo para suscriptores|contenido exclusivo para suscriptores)/i,removalSelectors:I.concat(["[data-piano-offer]"])}),O(e,X(document.querySelector((r.leadSelectors||[".ue-c-article__standfirst",".ue-c-article__summary",".article__summary",".article-intro",".summary"]).join(", ")),n),{title:h(r.titleSelectors||["h1.ue-c-article__title","h1.article-title","h1"]),byline:h(r.bylineSelectors||[".ue-c-article__byline",".ue-c-article__author",".article-author","[rel='author']"])||e.byline,minTextLength:r.minTextLength||250,cloneRoot:!1,rewriteRoot:function(e){pi(e,function(e){return[".ue-c-article__share",".ue-c-social-share",".sharebar","[class*='share' i]",".ue-c-ad","[class*='advert' i]","[aria-roledescription='Publicidad']",".ue-c-article__comments","[class*='comment' i]",".ue-c-article__related","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"].concat(I,e.extraRemovalSelectors||[])}(r).join(", ")),function(e){e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>280||/^(suscr[ií]bete|suscr[ií]bete aqu[ií]|contenido exclusivo|solo para suscriptores|inicia sesi[oó]n|hazte premium|premium|publicidad)$/i.test(r)&&e.remove()})}(e),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e)}})):null}function po(){return{pathAllowed:function(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||"/aktuell"===e||"/aktuell/"===e},linkSelector:"main a[href]",cardSelector:"article, section, li, [data-selector*='teaser'], [data-external-selector*='teaser']",acceptLink:function(e){return/\.html(?:$|[?#])/i.test(e)},transformTitle:function(e){return e.replace(/^[A-ZÄÖÜ0-9.,:;!?\s-]{4,}\s*:\s*/u,"")},maxTitleLength:180,rejectTitle:/^(liveblog|ticker|mehr zum thema|alle themen|bildbeschreibung ausklappen|artikelrechte erwerben)$/i,siteName:"Frankfurter Allgemeine Zeitung"}}function ho(){var e=!1;return document.querySelectorAll(".cap-message, .article--content-fadeout, [class*='paid' i], [class*='subscription' i]").forEach(function(r){var n=t(r&&r.textContent);/wybierz prenumeratę|sprawdź ofertę|prenumerata|paid:\s*'false'|pozostało.*artykuł/i.test(n)&&(e=!0)}),e}function fo(){if(/^\/mindekozben\/poszt\//i.test(location.pathname||"")){var e=document.querySelector(".current-post .mindenkozben_post_content.content")||document.querySelector(".current-post .post .content")||document.querySelector(".current-post .post");if(e)return e}return document.querySelector(".article-body")||document.querySelector(".post-body")||document.querySelector("#article")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article .content")||document.querySelector("main article")}function go(e){return h([".current-post .mindenkozben_post_content.content h1",".current-post .mindenkozben_post_content.content h2",".current-post .mindenkozben_post_content.content h3.title",".current-post .post h1",".current-post .post h2",".current-post .post h3.title","article h1","h1",".title"])||e.title}function yo(e){var t=(location.pathname||"").match(/\/(\d{4})\/(\d{2})\/(\d{2})\//);return t?t[1]+"-"+t[2]+"-"+t[3]+"T00:00:00+02:00":e.publishedTime}function bo(){return J({leadSelectors:[".mdl-article-perex .design-article__text",".design-article__perex-content",".design-article__perex"],bodySelectors:[".detail__article",".layout-article-content",".article-text","#article-content","div.text","[itemprop='articleBody']"]})}function vo(){return document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".c-article__content")||document.querySelector("section.content.readme-audima")||document.querySelector("article .content")||document.querySelector("main .content")}registerHostAwareProfile(!0,Wn),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)interia\.pl$/)||!lo())return null;var r=lo();return r?O(e,r,{title:h(["article h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,["[data-component-0='wrapper-group']","[data-component-0='article-list']","[data-component-0='ad-rectangle']","[data-component-0='ads']","[data-component-0='share']","[data-icon]",".audio-news-player",".ids-audio-news-player",".emotion-bar",".like-button",".reaction",".share-bar",".social-share","[class*='emotion' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='article-list' i]","[class*='ads' i]","[id*='ad-' i]","[id*='google_ads' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, span, li, button, h2").forEach(function(e){var r=t(e.textContent||"");r&&(/^(odsłuchaj artykuł|audio generowane przez ai|lubię to|zły|super|hahaha|szok|smutny|udostępnij|zobacz również:?|reklama)$/i.test(r)&&e.remove(),/^\d{1,2}:\d{2}\s*min$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)clarin\.com$/))return null;var r=document.querySelector("article#storyBody .StoryTextContainer")||document.querySelector("article#storyBody .vsmcontent")||document.querySelector("article#storyBody .body-text")||document.querySelector("article#storyBody div.entry-content")||document.querySelector("article#storyBody .article-body")||document.querySelector("article#storyBody .nota-body")||document.querySelector(".body-text")||document.querySelector("div.entry-content")||document.querySelector(".article-body")||document.querySelector(".nota-body");return r?(oe(r,e,{minBodyTextLength:1200,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:solo para suscriptores|contenido exclusivo para suscriptores|suscribite para seguir leyendo|para continuar leyendo|contin[uú]a leyendo con tu suscripci[oó]n)/i,removalSelectors:["[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"],signalRemovalSelectors:[".liveBlogStrip",".contentLiveblog","[class*='liveblog' i]","[class*='live-blog' i]","[data-liveblog]","[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"]}),O(e,r,{title:h(["h1",".title"])||e.title,byline:h(["article#storyBody .list-authors",".list-authors","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["#containerUalter",".trinity-skip-it",".trinity-tts-placeholder-icon-player","[class*='trinity']",".place-social-mobile",".buttonsBar",".buttonBarList",".related-container","[class*='related']",".Newsletter","[class*='Newsletter']",".comments","[class*='comments']","[class*='bannerCollapse']","[class*='tags']","[class*='Tag']","section[class*='sc-4df4edb5']"].join(", ")),e.querySelectorAll("p, div, span, section").forEach(function(e){var r=t(e.textContent||"");r&&/^(ver resumen|tiempo de lectura|inteligencia artificial|experimental:|gracias!|otros análisis|mirá también|te puede interesar|selección clarín|seguí leyendo|últimas noticias|newsletter clarín|recibí en tu mail|comentarios|suscribite para comentar|tags relacionados)\b/i.test(r)&&e.remove()})}})):null}),registerNewsHomepageListProfile(/(^|\.)blic\.rs$/,so),registerHostAwareProfile(!0,function(e){return q(/(^|\.)blic\.rs$/)?(e&&(e.language=""),function(e){return Et(e,so())}(e)||function(e){if(!/\/(?:vesti|sport|zabava|showbiz|biznis|slobodno-vreme|kultura|zdravlje)\//i.test(location.pathname||""))return null;var r=document.querySelector(".article-body")||document.querySelector("div.article-text")||document.querySelector(".single-article-body")||document.querySelector(".article__body")||document.querySelector(".article__text")||document.querySelector(".article__content");return r?O(e,r,{title:h([".article-title",".article__title","article h1","h1"])||e.title,byline:h([".article__author-name",".article-author",".author","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".banner",".wrapperAd",".audio-player",".article__share",".share",".comments",".comments-header",".news-box",".news-aside",".story-sp2026",".tabs",".related",".newsletter",".carousel-button",".jwplayer","[id^='InText_']","[data-placeholder-caption]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(slušaj vest|oglas|galerija|pročitajte još|budi prvi koji će komentarisati)$/i.test(r)&&r.length<120&&e.remove()})}}):null}(e)):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)tempo\.co$/)||/^\/?$/i.test(location.pathname||"")||!co())return null;var r=co();return r?O(e,r,{title:h([".title-article","main h1","article h1","h1"])||e.title,minTextLength:220,rewriteRoot:function(e){pi(e,[".related-news",".related-article",".bacadetail","[class*='related' i]","[class*='share' i]","[class*='audio' i]","[class*='ringkasan' i]","[class*='summary' i]","[class*='newsletter' i]","[class*='rekomendasi' i]","[class*='recommend' i]","[class*='ads' i]","[id*='ads' i]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(dengarkan artikel|bagikan|gabung tempo circle|tampilkan ringkasan artikel|sembunyikan ringkasan artikel|mengapa tempo bisa dipercaya|scroll ke bawah untuk membaca berita)$/i.test(r)&&e.remove(),/^(akses edisi mingguan|akses penuh seluruh artikel tempo\+|baca dengan lebih sedikit gangguan iklan|anda mendukung independensi jurnalisme tempo)$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){return mo(e,{hostPattern:/(^|\.)marca\.com$/,bodySelectors:[".ue-c-article__body","[data-section='articleBody']",".article-body","div.vcm-content",".content-article",".article-content","div[itemprop='articleBody']","[itemprop='articleBody']"],leadSelectors:[".ue-c-article__standfirst",".article-intro",".summary",".article__summary"],publicMinTextLength:900,extraRemovalSelectors:[".ue-c-players-ranking-widget","[class*='ranking-widget' i]","[class*='scoreboard' i]"]})}),registerNewsHomepageListProfile(/(^|\.)faz\.net$/,po),registerHostAwareProfile(!0,function(e){return q(/(^|\.)faz\.net$/)?function(e){return Et(e,po())}(e)||function(e){if(!/\.html(?:$|[?#])/i.test(location.pathname||""))return null;var r=document.querySelector(".walled-content")||document.querySelector(".at-article-body")||document.querySelector("[data-external-selector='body-elements']")||document.querySelector(".article-body");return r&&r.querySelector("p, [data-selector='body-paragraph']")?(function(e){var r=t(e&&e.textContent);if(r.length<2500)return;if(/(nur für abonnenten|nur für abonnent|abo abschließen|weiterlesen mit|lesen sie diesen artikel mit)/i.test(r))return;pi(document,"#taboola-below-paywall-thumbnails, #taboola-below-liveblog-thumbnails, [id*='paywall' i][id*='taboola' i], [id*='liveblog' i][id*='taboola' i]"),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/isAccessibleForFree/i.test(e.textContent||"")&&e.remove()})}(r),O(e,r,{title:h(["[data-external-selector='header-title']","article h1","main h1","h1"])||e&&e.title,byline:h(["[data-external-selector*='header-detail'] .meta1","[rel='author']"])||e&&e.byline,minTextLength:500,prependTitle:!1,rewriteRoot:function(e){pi(e,["[data-selector='article-rights']","[data-external-selector='footer-links']","[data-external-selector='taboola-ads']","[id*='taboola']","[class*='taboola']","[class*='trc_']","[class*='tbl-']","[class*='aside-slot']","[class*='newsletter' i]","[class*='recommend' i]","[class*='share' i]"].join(", ")),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent||"");/^(mehr zum thema|f\.a\.z\.-artikel häufiger in ihren suchergebnissen sehen)/i.test(r)&&e.remove()})},postProcessMarkdown:function(e){return e.replace(/^###\s+(.+)$/gm,"**$1**")}})):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)wyborcza\.pl$/)&&!q(/(^|\.)gazeta\.pl$/))return null;var r=document.querySelector(".mrf-article-body")||document.querySelector(".article_body")||document.querySelector("div.articleBody")||document.querySelector(".art_content")||document.querySelector(".article-inner")||document.querySelector("section.article")||document.querySelector("[itemprop='articleBody']");if(!r||!r.querySelector("p, figure, blockquote"))return null;!function(){if(!ho())return;if(document.querySelector("[data-paywall='agora-wyborcza']"))return;var e=document.createElement("div");e.setAttribute("data-paywall","agora-wyborcza"),e.hidden=!0,e.textContent="Wybierz prenumeratę, by czytać to, co Cię ciekawi",document.body.appendChild(e)}();var n=document.createElement("article"),o=document.querySelector(".article--header, .article_header, header.metadata--article");return o&&n.appendChild(T(o,document)),n.appendChild(T(r,document)),O(e,n,{title:h(["h1.metadata--title",".article_title",".title","h1"])||e.title,byline:h([".metadata--author",".article--author","[class*='author' i]","[rel='author']"])||e.byline,minTextLength:220,cloneRoot:!1,extra:function(){return{packagePage:ho()}},rewriteRoot:function(e){pi(e,["#message","#info-adblock","#info-ups","script","style","svg",".msg-container",".article--social-top",".social",".tags",".article-audio",".article--precontent",".article--underlead",".article--comments",".comments",".comment",".newsletter","[class*='newsletter' i]","[class*='recommend' i]","[class*='related' i]","[class*='advert' i]","[id*='advert' i]"].join(", ")),e.querySelectorAll("p, div, span, a, h1, h2").forEach(function(e){var r=t(e.textContent||"");/^(wyłącz adblocka\/ublocka|aby czytać nasze artykuły wyłącz adblocka|ups!|nieznany błąd|posłuchaj|sprawdź ofertę|zaloguj się)$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)index\.hu$/)||!/^\/mindekozben\/poszt\//i.test(location.pathname||"")&&!/(\/\d{4}\/\d{2}\/\d{2}\/|\.html(?:$|[?#]))/i.test(location.pathname||"")||!fo())return null;var r=fo();return r?O(e,r,{title:go(e),byline:h([".current-post .author",".current-post [class*='author' i]","[class*='szerzo' i]"])||e.byline,minTextLength:180,publishedTime:yo(e),rewriteRoot:function(e){pi(e,[".new-posts",".next-post",".previous-post",".related",".ajanlo",".share",".social",".comments",".comment","[class*='advert' i]","[class*='hirdet' i]","[id*='ad' i]"].join(", ")),pi(e,"h1, h2, h3.title"),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^új poszt érkezett/i.test(r)&&e.remove(),/^(hirdetés|megosztás|kommentek|kapcsolódó)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)root\.cz$/)||!/^\/clanky\//i.test(location.pathname||"")||!bo())return null;var r=bo();return r?(e&&(e.language=""),O(e,r,{title:h([".design-title","h1"])||e.title,byline:h([".design-impressum__author",".design-impressum a[rel='author']",".design-impressum__content a"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["nav","aside",".comments","[class*='comment' i]","[class*='discussion' i]","[class*='share' i]","[class*='social' i]","[class*='rating' i]","[class*='advert' i]","[class*='ad-detail' i]","[class*='root-ad' i]","[class*='selfpromo' i]","[id*='google_ads' i]","[id*='div-gpt' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, ul, li, a, span, h2, h3").forEach(function(e){var r=t(e.textContent||"");r&&(/^(počet nových komentářů\s*\d+|přidejte názor|líbí se vám článek\?|podpořte redakci|sdílet|sdílejte na facebooku|sdílejte na síti x)$/i.test(r)&&e.remove(),/^přidat mezi oblíbené zdroje na googlu$/i.test(r)&&e.remove(),/^reklama\b/i.test(r)&&r.length<400&&e.remove())})}})):null}),registerHostAwareProfile(!0,function(e,r){return function(e){return mo(e,{hostPattern:/(^|\.)(?:elmundo|expansion|sport)\.es$/,bodySelectors:[".ue-c-article__body[data-section='articleBody']",".ue-c-article__body",".article-body","#article-body","div[itemprop='articleBody']","[itemprop='articleBody']"],sportParagraphFallback:!0,extraRemovalSelectors:[".ft-ad",".ft-mol-related",".ft-mol-multimedia",".jwplayer","[class*='jw-' i]","[class*='taboola' i]","[class*='trc_' i]"]})}(e)||function(e){if(!q(/(^|\.)(?:elmundo|expansion|sport)\.es$/))return null;if(!L())return null;var r={},n=[];return document.querySelectorAll(".ue-c-cover-content, article, section").forEach(function(e){if(!(n.length>=18||e.closest("header, nav, footer, aside, [class*='comment' i]"))){var i=e.querySelector(".ue-c-cover-content__link[href], h1 a[href], h2 a[href], h3 a[href]");if(i&&!i.closest("[class*='comment' i], .ue-c-cover-content__comments")){var a=i.getAttribute("href")||"";if(/\/(?:\d{4}\/\d{2}\/\d{2}\/|[a-f0-9]{24}\.html|\d{2}_\d{4}_\d{8}_)/i.test(a)){var l=t((i.querySelector(".ue-c-cover-content__headline, h1, h2, h3")||{}).textContent||i.textContent||""),s=o(a);!l||l.length<18||l.length>220||!s||r[s]||/^(comentarios?|ver comentarios?|opinar|participa)$/i.test(l)||(r[s]=!0,n.push({text:l,url:s,detail:Tt(e,l)}))}}}}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n})}(e)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)abril\.com\.br$/)||/^\/?$/i.test(location.pathname||"")||!vo())return null;var r=vo();return r?(oe(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,pageHardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:I.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),O(e,r,{title:h([".post-header h1","main h1","article h1","h1"])||e.title,byline:h([".author-name",".post-header .author",".post-header [rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".accessibility-buttons",".share-box",".salvar-conteudo-materia",".ads",".abrAD",".post-ads",".after-text",".noreadme-audima",".abril-recirculacao-copa","[class*='share' i]","[class*='newsletter' i]","[class*='recirculacao' i]","[data-format='billboard']","[data-ad-unit]"].join(", ")),function(e){e.querySelectorAll("h2, h3").forEach(function(e){var r=t(e.textContent||"");if(/^(leia mais|em alta)$/i.test(r)){var n=e.nextElementSibling;n&&/^(ul|ol)$/i.test(n.tagName||"")&&n.remove(),e.remove()}}),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(compartilhe essa matéria:?|link copiado!?|continua após a publicidade|publicidade|tudo sobre a copa, em um só lugar|ver cobertura completa)$/i.test(r)&&e.remove()})}(e)}})):null});var wo=pe({hostPattern:/(^|\.)163\.com$/,pathPattern:/\/(?:news|dy|ent|sports|money|tech|auto|war|gov|local)\/article\/[A-Z0-9]+/i,bodySelectors:[".post_body",".post_content .post_body","#endText",".article-body",".post_text",".post_content"],titleSelectors:[".post_title","h1.post_main_icon",".post_main h1","h1"],bylineSelectors:[".post_info",".post_time_source",".post_source",".post_author"],removalSelectors:[".post_top_tie_count",".post_top_share",".post_share",".post_recommends",".post_recommend",".post_recommend_ad",".post_statement",".post_btmshare",".post_comment",".tie-area","#tie","#tieArea","[class*='recommend' i]","[class*='share' i]","[class*='comment' i]","[id*='comment' i]"],removalTextPatterns:[/^(相关推荐|热点推荐|分享至|跟贴|举报|本文来源[::]|责任编辑[::]|打开网易新闻|下载网易新闻客户端)/i],minBodyTextLength:80,extra:{docsLike:!0}});function xo(){return document.querySelector("#entryBody")||document.querySelector(".article-body")||document.querySelector(".skinArticleBodyEx")||document.querySelector(".skinArticleBody")||document.querySelector(".entry-text")||document.querySelector("article.entry")||document.querySelector("article.skin-entry .skin-entryBody")}function So(){for(var e=[".paywall-short-content","#story-body",".article-content",".article__body","#article-body",".article-text","article.story-content"],r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(!i.closest("footer, nav, aside, .main-footer-body, .tab-content")&&t(i.textContent||"").length>=250)return i}return null}function ko(){return document.querySelector("article.article-content")||document.querySelector(".article-content")||document.querySelector("article.article")||document.querySelector(".content-body")||document.querySelector("#articleContent")}function Ao(e,t){var r=h([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"]);return r&&!/^(关注|微博正文)$/i.test(r)?r+" - 微博正文":t&&t.title&&"微博"!==t.title?t.title:"微博正文"}function qo(e,r){var n=(r.closest("section.body-article, article")||document).querySelector(".rs-article-title, .title-art-hp, .article-title, h1");return t(n&&n.textContent||e&&e.title)}function Co(){return document.querySelector(".rs-article-body")||document.querySelector("#article-body")||document.querySelector(".article-content")||document.querySelector("div[itemprop='articleBody']")||document.querySelector("[itemprop='articleBody']")||document.querySelector("#content-to-read")||document.querySelector("section.body-article")||document.querySelector("article .body-article")||document.querySelector("article")}function _o(){return document.querySelector(".art-full")||document.querySelector("#art-content")||document.querySelector(".bbtext")||document.querySelector(".article-content")||document.querySelector("#art-text")||document.querySelector("div.text")}function To(){return document.querySelector(".c-news__body")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']")||document.querySelector("div[data-tda][data-news-content-text]")}registerHostAwareProfile(!0,wo),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)ameblo\.jp$/)||!/\/entry-\d+\.html(?:$|[?#])/i.test(location.pathname||"")||!xo())return null;var r=xo();return r?O(e,r,{title:h([".skinArticleTitle",".skin-entryTitle","article.skin-entry h1","h1"])||e.title,byline:h([".skin-entryAuthor",".skin-entryThemes","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["[data-toc]",".js-ad",".ad",".adsbygoogle",".skin-ad",".skin-entryFooter",".entry-share",".js-entryFooter",".js-commentArea",".commentArea",".blogCard",".ogpCard"].join(", ")),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/\/blog\/ucs\/img\/char\//i.test(t)&&e.remove()}),e.querySelectorAll("a[href^='#']").forEach(function(e){var r=t(e.textContent||"");r&&!/^目次を/.test(r)||e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)dnevnik\.bg$/)||L()||!So())return null;var r=So();if(!r)return null;var n=O(e,r,{title:e.title||h(["article.story-content h1","main h1","h1"]),byline:h(["a[href*='/author/']","meta[name='author']"],"content")||e.byline,minTextLength:250,cleanupRoot:!1,rewriteRoot:function(e){pi(e,[".paywall-content","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[id*='advert' i]","[data-ad]",".tab-content",".main-footer-body","footer"].join(", ")),e.querySelectorAll("div[role='paragraph'], div.default").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)}),e.querySelectorAll("p, div, span, a, button").forEach(function(e){var r=t(e.textContent||"");/^(сподели|линкът е копиран|копирай линк|изпрати по имейл|facebook|linkedin|viber|абонирайте се|ако сте абонат, влезте в профила си)$/i.test(r)&&e.remove(),/^продължете да четете с пълен достъп/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/Дневник и Капитал са сертифицирани по професионалния стандарт|Общи условия за ползване|Политика за бисквитките/i.test(e)},postProcessMarkdown:function(e){return e.replace(/^\|\s+/gm,"")}});return n&&(e.language=null,oe(r.querySelector(".paywall-short-content")||r,e,{minBodyTextLength:700,minParagraphCount:0,bodyRejectPattern:/(?:\.\.\.|…)$/,removalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],signalRemovalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],stripAttributeSelectors:"[id*='paywall' i], [class*='paywall' i], [class*='article-lock' i]",stripIdPattern:/paywall/i,stripClassPattern:/paywall|article-lock/i,structuredDataMode:"remove",structuredDataRemovalPattern:/isAccessibleForFree|Paywall|Subscription/i})),n}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)segmentfault\.com$/)||!/^\/a\/\d+/.test(location.pathname||"")||!ko())return null;var t=ko();return t?O(e,t,{title:h(["main h1",".article-title","h1"])||e.title,byline:h([".article-author",".author","a[href^='/u/']"])||e.byline,minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".widget-vote, .widget-share, .article-operation, .article-copyright, .comment, .comments, [class*='share' i], [class*='comment' i]").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/^m\.weibo\.cn$/))return null;if(!/^\/status\/[^/]+\/?$/i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".card-wrap .weibo-og .weibo-text, .card-wrap div.weibo-text, div.weibo-text, .weibo-text")),r=0;r<e.length;r++){var n=e[r];if(!n.closest(".card-main, .comments, .comment, [class*='comment']"))if(t(n.textContent||"").length>=20)return n}return null}();if(!r)return null;var n=function(e){var t=document.createElement("article");t.setAttribute("data-fetchutil-profile","weibo-mobile");var r=document.querySelector(".card-wrap .weibo-top")||document.querySelector("header.weibo-top");r&&t.appendChild(T(r,document));var n=e.closest(".card-wrap")||e.parentElement,o=document.createElement("section");if(o.appendChild(T(e,document)),n){var i=n.querySelector(".weibo-media, .weibo-media-wraps, .card-video, video, .m-auto-list");i&&o.appendChild(T(i,document))}return t.appendChild(o),t}(r);return n?O(e,n,{title:Ao(n,e),byline:h([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"])||e.byline,minTextLength:40,rewriteRoot:function(e){pi(e,[".m-followBtn",".m-add-box",".weibo-btn",".toolbar",".card-act",".lite-page-tab",".comments",".comment",".card-main","[class*='comment']","svg"].join(", ")),e.querySelectorAll("p, div, span, h4").forEach(function(e){var r=t(e.textContent||"");/^(关注|转发\d*|评论\d*|赞\d*|\d{2}:\d{2})$/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/\n####\s+[^\n]+\n\n###\s+/.test(e)},extra:{docsLike:!0}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)pikabu\.ru$/))return null;if(!/^\/story\//i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".page-story[data-story-id], .story[data-story-id], [data-story-id]")),t=0;t<e.length;t++){var r=e[t];if(!r.closest(".comments, #comments, [id^='comment_']")&&(r.querySelector(".story__title")&&r.querySelector(".story__content, #content-story-text, .story-body, div.story__text")))return r}return null}();if(!r)return null;var n=function(e,r){var n=e.querySelector(".story__content")||e.querySelector("#content-story-text")||e.querySelector(".story-body")||e.querySelector("div.story__text");if(!n)return null;var i=document.createElement("div");i.setAttribute("data-fetchutil-profile","pikabu");var a=h([".story__title","h1.title","h1"])||r&&r.title;if(a){var l=document.createElement("h1");l.textContent=a,i.appendChild(l)}var s=t([h([".story__user-link",".user__nick"]),h([".story__datetime-link",".story__datetime"])].filter(Boolean).join(" - "));if(s){var c=document.createElement("p");c.textContent=s,i.appendChild(c)}(function(e,r,n){var i=r.querySelector(".story__content");if(!i)return;var a=i.querySelector("[poster]"),l=a&&a.getAttribute("poster");if(l){var s=document.createElement("img");s.setAttribute("src",l),n&&s.setAttribute("alt",n),e.appendChild(s)}var c=i.querySelector("a[href*='/video/story/']");if(c&&c.getAttribute("href")){var u=document.createElement("p"),d=document.createElement("a");d.setAttribute("href",o(c.getAttribute("href"))),d.textContent=t(c.textContent||"Перейти к видео")||"Перейти к видео",u.appendChild(d),e.appendChild(u)}})(i,e,a),i.appendChild(T(n,document));var u=e.querySelector(".story__tags");u&&i.appendChild(T(u,document));return i}(r,e);return n?O(e,n,{title:h([".story__title","h1.title","h1"])||e.title,byline:h([".story__user-link",".user__nick","[data-story-username]"])||e.byline,minTextLength:60,rewriteRoot:function(e){pi(e,[".comments","#comments","[id^='comment_']",".story__footer",".story__tools",".story__left",".story__save",".story__share",".story__comments-link",".story-title-icons","[data-role='player-controls']","[class*='player-controls']","[class*='timeline']","[class*='player-btn']","[class*='recommend']","[class*='advert']","[data-adfox]","svg"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(00:\d{2}\s*\/\s*\d{2}:\d{2}|раскрыть \d+ комментар|ещё \d+|поделиться|сохранить)$/i.test(r)&&e.remove()});var r={};e.querySelectorAll("a[href]").forEach(function(e){var t=e.getAttribute("href")||"";r[t]&&e.remove(),r[t]=!0})},validateMarkdown:function(e){return!/\b\d+\s+час(?:а|ов)?\s+назад[\s\S]{0,240}\bраскрыть\s+ветку/i.test(e)},extra:{docsLike:!0}}):null}),registerHostAwareProfile(!0,function(e){if(!(q(/(^|\.)corriere\.it$/)||q(/(^|\.)gazzetta\.it$/)||q(/(^|\.)lastampa\.it$/))||L()||!Co())return null;var r=Co();return r?O(e,r,{title:qo(e,r),byline:h([".author-art .writer",".author-art",".byline","[rel='author']","[itemprop='author']"])||e.byline,minTextLength:300,rewriteRoot:function(e){pi(e,[".widget-audio-article",".box-audio",".article-audio",".sharebar",".share-bar",".social-share",".article-share",".adv",".adv__content",".advertising",".banner",".newsletter",".paywall",".piano",".trc_rbox",".taboola",".comment",".comments",".discussion",".scoreboard","[class*='scoreboard' i]","[class*='share' i]","[id*='share' i]","[data-mrf-recirculation]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(ascolta l'articolo|\d+\s*min|new|condividi|leggi anche|continua a leggere|pubblicit[àa]|abbonati|scegli corriere come fonte preferita)/i.test(r)&&e.remove(),/^(i\s*)?questo audio è generato in automatico/i.test(r)&&e.remove(),/^(portogallo|spagna)\d/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)lemonde\.fr$/))return null;var r,n,o=document.querySelector("article.article__content")||document.querySelector(".article__content")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']");return o&&o.querySelector("p, figure, blockquote")?((r=document.querySelector("#js-modal-gifted-url, .article__gift-modal"),n=t(r&&r.textContent||""),/cet article vous est offert/i.test(n))&&oe(o,e,{minBodyTextLength:350,minParagraphCount:3,paragraphMinLength:60,removalSelectors:I.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall"]),textRemovalPattern:/cet article vous est offert|pour lire gratuitement cet article réservé aux abonnés|article réservé aux abonnés|la suite est réservée à nos abonnés/i,textRemovalMaxLength:260}),O(e,X(document.querySelector(".article__desc, .article__lead, .article__standfirst"),o),{title:h(["h1.article__title",".article__title","h1"])||e.title,byline:h([".article__author",".meta__author","[rel='author']"])||e.byline,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,I.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall",".article__siblings",".article__reactions",".article__share",".meta__social",".services","[data-module*='newsletter' i]","[data-module*='recommend' i]"]).join(", ")),e.querySelectorAll("p, div, span, figcaption").forEach(function(e){var r=t(e.textContent||"");/^(article réservé aux abonnés|la suite est réservée|il vous reste \d+(?:[,.]\d+)?% de cet article à lire|se connecter|s’abonner|s'abonner)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!(q(/(^|\.)idnes\.cz$/)||q(/(^|\.)lidovky\.cz$/)||q(/(^|\.)blaze\.cz$/)||q(/^expats\.cz$/))||!_o()||!document.querySelector("h1.arttit, h1.title, .art-title, .article-title, h1"))return null;var r=_o();return r?(e.language="",O(e,r,{title:e.title||h(["h1.arttit","h1.title",".art-title",".article-title","h1"]),byline:h([".authors",".author",".art-info .author","[rel='author']"])||e.byline,minTextLength:450,postProcessMarkdown:function(e){var r=document.querySelector("#paywall, #promo-paywall, .paywall-before"),n=r&&E(r),o=t(n&&n.textContent);return o&&(e+="\n\nTento veřejný úryvek proto končí u nabídky Premium; další část bude dostupná pouze v iDNES Premium. Předplatné odemyká pokračování článku na iDNES.cz.\n\n"+o.slice(0,2200)),e},extra:function(){return{packagePage:!0}},rewriteRoot:function(e){pi(e,["#promo-premium-button",".social",".share",".sharing",".discussion",".comments",".gallery",".photogallery",".video",".advert",".advertising",".reklama",".ad",".m-ad",".js-ad",".art-media",".art-tools",".art-tags",".tag-list",".paywall-foot","#recombee-premium","[id^='AdTrack']","[class*='recommend' i]","[class*='related' i]"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(diskuse|sdílet|fotogalerie|premium|přihlásit se)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)folha\.uol\.com\.br$/)||!/\.shtml(?:$|[?#])/i.test(location.pathname||"")||!To())return null;var r=To();return r?(oe(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:I.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),O(e,r,{title:h(["main h1","article h1","h1"])||e.title,minTextLength:250,rewriteRoot:function(e){pi(e,[".c-more-options",".c-newsletter",".gallery-widget",".js-gallery-widget",".gallery-widget-share-container",".c-loading",".ads",".advertising","[class*='advertising']","[class*='newsletter']","[class*='share']","[data-ad-unit]"].join(", ")),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(carregando|compartilhe|voltar|ver novamente|copiar link|ícone (facebook|whatsapp|x|linkedin|de envelope|de link))$/i.test(r)&&e.remove()})}})):null});var Eo=pn;function jo(e,r){if(!q(/(^|\.)(komputerswiat\.pl|onet\.pl|medonet\.pl)$/)&&!q(/(^|\.)poradnikzdrowie\.pl$/))return null;var n=document.createElement("div"),o=h(["h1.article__title",".detail_title",".ods-m-labeled-h1__text","article h1","h1"])||e.title,i=document.querySelector(".ods-article-lead[data-section='article-lead']"),a=document.querySelector(".ods-article-lead .ods-a-lead, .article__lead, .detail_lead, .articleLead"),l=document.querySelector(".ods-m-inline-summary-container__list"),s=document.querySelector(".ods-article-body[data-section='article-body'], .article__body, .detail_body, div.articleContent, .cda_artblox"),c=d(["NewsArticle","Article","VideoObject"]),u=p(c&&c.articleBody),m=function(e){var r=t(e||""),n=r.match(/Poniżej streszczenie artykułu:\s*(?:Skrót przygotowany przez Onet Czat z AI, może zawierać błędy\.\s*)?(.+?)\s*Zapytaj o więcej Onet Czat z AI/i);return n?t(n[1]):""}(r);if(!(i||a||l||s||m||u))return null;var f=l?Array.prototype.map.call(l.querySelectorAll("li"),function(e){return t(e.textContent||"")}).filter(Boolean):[];if(a&&n.appendChild(T(a,document)),!a&&e.excerpt){var g=document.createElement("p");g.textContent=e.excerpt,n.appendChild(g)}if(s&&n.appendChild(T(s,document)),!s&&u){var y=document.createElement("p");y.textContent=u,n.appendChild(y)}var b=t(a&&a.textContent||e.excerpt||""),v=t(s&&s.textContent||u||""),w=[];o&&w.push("# "+o),f.length?w.push("## Streszczenie\n\n"+f.map(function(e){return"- "+e}).join("\n")):m&&w.push("## Streszczenie\n\n"+m),Lo(w,b),Lo(w,v);var x=Ei(w.filter(Boolean).join("\n\n")),S=t(x);return S.length<250?null:{title:o||e.title,byline:h([".ods-m-author-authorship__author-item a",".article__author",".detail_author","[rel='author']"])||e.byline,excerpt:b||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.innerHTML,markdown:x,textContent:S,readerMode:!1,contentType:"article",hostAware:!0,docsLike:!0}}function Lo(e,r){if(r=t(r||"")){var n=r.toLowerCase();e.some(function(e){return-1!==t(e).toLowerCase().indexOf(n)})||e.push(r)}}pn=function(e){return function(e){return V(e,{hostPattern:/(^|\.)(hatenablog\.com|hateblo\.jp|hatenablog\.net|hatenadiary\.com)$/i,bodySelectors:["article.entry .entry-content","article.entry .entry-body","article .entry-content",".entry-body",".entry-content"],titleSelectors:["h1.entry-title",".entry-title-link","article.entry h1","h1"],bylineSelectors:[".entry-footer .author a",".entry-footer .vcard a",".entry-header .author a"],minTextLength:180,removalSelectors:[".hatena-star-container",".hatena-star-star-container",".entry-footer",".entry-footer-section",".comment-box",".comment",".comments",".pager",".related-entries",".google-afc"]})}(e)||Eo(e)};var $o=an;function Po(e){return e&&(e.querySelector("div.se-main-container")||e.querySelector("#printpost")||e.querySelector("#postViewArea")||e.querySelector(".se_component_wrap")||e.querySelector(".post-view"))||null}function zo(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function No(e,r){var n=e.querySelector("#container, #paddingLR12, main, body"),o=t(n&&n.textContent||"").slice(0,2e4),i=t([r&&r.title,e.title,(e.querySelector("h1")||{}).textContent].join(" ")),a=Ze({root:n,text:o,title:i});return/\b(?:code|act|statute|regulation|ordinance)\b/i.test(i)&&a.profileOfficialTextSignals&&/\b(?:section|article)\s*\d+[a-z]?\b/i.test(o)}function Ro(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mo(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function Bo(e){var r=t([e&&e.className,e&&e.getAttribute&&e.getAttribute("data-language"),e&&e.getAttribute&&e.getAttribute("data-testid"),e&&e.parentElement&&e.parentElement.className].join(" ")).toLowerCase();return/python|pycon/.test(r)?"python":/javascript|js\b/.test(r)?"javascript":/typescript|tsx|ts\b/.test(r)?"typescript":/json/.test(r)?"json":/yaml|yml/.test(r)?"yaml":/bash|shell|sh\b|curl/.test(r)?"bash":""}function Ho(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Fo(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return null;if(/^(p|div|section|article|header|h[1-6]|li)$/i.test(e.tagName))return e;for(var t=0;t<e.children.length;t+=1){var r=Fo(e.children[t]);if(r)return r}return null}function Io(e){var r=function(e){for(var t=e.cloneNode(!0),r=Array.prototype.slice.call(t.children),n=1;n<r.length;n+=1){var o=Fo(r[n-1]),i=Fo(r[n]);if(o&&i){var a=Ho(o.textContent),l=Ho(i.textContent);a&&a===l&&i.remove()}}return t}(e),n=[];return Array.prototype.forEach.call(r.childNodes,function(e){var r=t(e.textContent);r&&n.push(r)}),n.length?n.join(" "):r.textContent}function Oo(e){var r=Array.prototype.map.call(e.querySelectorAll("thead th, thead td"),function(e){return t(e.textContent).toLowerCase()}),n=t((e.querySelector("caption")||{}).textContent).toLowerCase(),o=Array.prototype.slice.call(e.querySelectorAll("tbody tr"));if(!o.length)return null;if(e.querySelector("td[kind='field'][title], th[kind='field'][title]")){var i=o.map(function(e){for(var r=e.querySelector("td[kind='field'][title], th[kind='field'][title]"),n=e.querySelectorAll("th, td"),o=null,i=0;i<n.length;i+=1)if(n[i]!==r){o=n[i];break}if(!r||!o)return null;var a=t(r.getAttribute("title")||(r.querySelector(".property-name")||{}).textContent||r.textContent);if(!a)return null;var l=/\brequired\b/i.test(t(e.textContent)),s=[];Array.prototype.forEach.call(o.querySelectorAll(":scope > span, :scope > code, :scope > div, :scope > strong, :scope > em"),function(e){if(!e.querySelector("p, ul, ol, table, pre")){var r=t(e.textContent);r&&!/^required$/i.test(r)&&s.push(r)}});var c=Array.prototype.map.call(o.querySelectorAll("p, li"),function(e){return t(e.textContent)}).filter(Boolean).join(" "),u=[];s.length&&u.push(s.shift()),s.forEach(function(e){/^(Default:|Example:|Enum:)/i.test(e)?u.push(e):c?c+=" "+e:c=e}),l&&u.push("required");var d="- `"+a+"`";return u.length&&(d+=" ("+u.join("; ")+")"),c&&(d+=": "+c),d}).filter(Boolean);return i.length?i.join("\n"):null}if(1===r.length&&/name, type, description/.test(r[0])||/parameter/.test(n)){var a=o.map(function(e){return function(e){var r=e.querySelector("div > div")||e.firstElementChild||e,n=r.querySelector("code, strong, b"),o=t(n&&n.textContent);if(!o)return null;var i=Ne(r.textContent),a=t(i.replace(new RegExp("^"+Ro(o)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(i),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return Ne(e.textContent)}).filter(Boolean).join(" ");s||(s=Ne(e.textContent).replace(new RegExp("^"+Ro(o)+"\\s*"+Ro(a)),"").trim());var c="- `"+o+"`";if(a||l){var u=[];a&&u.push(a),l&&u.push("required"),c+=" ("+u.join(", ")+")"}return s&&(c+=": "+s),c}(e.querySelector("td, th"))}).filter(Boolean);return a.length?a.join("\n"):null}if(r.length>=2&&/status code/.test(r[0])&&/description/.test(r[1])){var l=o.map(function(e){var r=e.querySelectorAll("th, td");if(r.length<2)return null;var n=t(r[0].textContent),o=Ne(r[1].textContent);return n&&o?"- `"+n+"`: "+o:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function Do(e,r){var n=Oo(e);if(n)return n;if(e.querySelector("table")&&!e.querySelector("th, caption"))return String(r||"").trim();var o=Array.prototype.map.call(e.querySelectorAll("tr"),function(e){return Array.prototype.map.call(e.querySelectorAll("th, td"),function(e){return t(Io(e)).replace(/\|/g,"\\|")})}).filter(function(e){return e.length>0});if(!o.length)return"";var i=o.reduce(function(e,t){return Math.max(e,t.length)},0),a=(o=o.map(function(e){for(;e.length<i;)e.push("");return e}))[0],l=a.map(function(){return"---"}),s=o.slice(1);return[a,l].concat(s).map(function(e){return"| "+e.join(" | ")+" |"}).join("\n")}function Uo(e){if("function"!=typeof TurndownService)return e;var r=document.createElement("div");r.innerHTML=e,hi(r),function(e){fe(e,"button, a, span, div",/^(copy|copy to clipboard)$/i),e.querySelectorAll("button.copybutton, [aria-label*='copy' i], [title*='copy to clipboard' i]").forEach(function(e){e.remove()}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("pre span[style], code span[style]").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("div.highlight, div[class*='CodeBlock'], div[class*='codeBlock'], div[class*='code-sample'], div[class*='CodeSample'], div[class*='snippet'], div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=e.querySelector("pre"),r=Mo((t||e).innerText||(t||e).textContent);if(r&&(t||/^(curl\b|[{[]|>>>|\$\s|GET\b|POST\b|PUT\b|PATCH\b|DELETE\b|HTTP\/|<\w)/m.test(r))){var n=document.createElement("pre"),o=document.createElement("code"),i=Bo(t||e);i||!e.matches(".redoc-json, [class*='redoc-json']")&&!/^[\[{]/.test(r)||(i="json"),o.textContent=r,i&&o.setAttribute("data-language",i),n.appendChild(o),e.replaceWith(n)}}),e.querySelectorAll("pre").forEach(function(e){var t=e.querySelector("code")||document.createElement("code"),r=t.getAttribute("data-language")||Bo(t)||Bo(e);t.textContent=Mo(t.textContent||e.textContent),r&&t.setAttribute("data-language",r),e.innerHTML="",e.appendChild(t)})}(r),function(e){for(var t=/^(P|H[1-6]|UL|OL|LI|TABLE|PRE|BLOCKQUOTE|HR|DL|FIGURE|DETAILS|SUMMARY|ARTICLE|SECTION|HEADER|FOOTER|NAV|ASIDE|MAIN|FORM|FIELDSET)$/,r=!0;r;)r=!1,e.querySelectorAll("div").forEach(function(e){if(e.parentNode){for(var n=!1,o=0;o<e.childNodes.length;o++){var i=e.childNodes[o];if(1===i.nodeType&&(t.test(i.nodeName)||"DIV"===i.nodeName)){n=!0;break}}if(n){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.remove(),r=!0}}})}(r);var n=new TurndownService({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",emDelimiter:"_"});n.addRule("tables",{filter:function(e){return"TABLE"===e.nodeName},replacement:function(e,t){return"\n\n"+Do(t,e)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=Mo(r?r.textContent:t.textContent);return n?function(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}(r&&r.getAttribute("data-language")||Bo(r||t),n):"\n\n"}}),n.addRule("images",{filter:function(e){return"IMG"===e.nodeName},replacement:function(e,r){var n=r.getAttribute("src")||r.getAttribute("data-src")||r.getAttribute("data-lazy-src")||"",i=t(r.getAttribute("alt")||"").replace(/[\[\]]/g,"");return n&&i?"+")":""}}),n.addRule("legalCitationLinks",{filter:function(e){return"A"===e.nodeName&&function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return!(!n||!r)&&(/govinfo\.gov\/link\/(?:uscode|plaw|statute)|ecfr\.gov\/current\/title-\d+/i.test(r)?/^(?:\d+\s+U\.?S\.?C\.?\s+)?[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n)||/^(?:Pub\.\s*L\.|Section\s+\d)/i.test(n):/^(?:\d+\s+U\.?S\.?C\.?\s+)[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n))}(e)},replacement:function(e,r){var n=r.getAttribute("href")||"",i=t(r.textContent||"").replace(/\s+([,;:.])/g,"$1").replace(/\s+-\s+/g,"-");return n&&i?"["+i.replace(/[\\[\]]/g,"")+"]("+o(n)+")":i}}),n.addRule("paragraphLikeDivs",{filter:function(e){if("DIV"!==e.nodeName)return!1;var r=t(e.textContent);return!(!r||r.length<20)&&0===e.querySelectorAll("div, p, table, ul, ol, h1, h2, h3, h4, h5, h6, pre, blockquote, article, section").length},replacement:function(e){return t(e)?"\n\n"+e.trim()+"\n\n":""}}),n.addRule("stripStyledInlineElements",{filter:function(e){if(1!==e.nodeType)return!1;var t=e.nodeName;return"FONT"===t||("A"===t||"SPAN"===t||"B"===t||"I"===t||"U"===t||"EM"===t||"STRONG"===t||"MARK"===t)&&!!e.getAttribute("style")},replacement:function(e){return e}});var i=n.turndown(r).replace(/\n{3,}/g,"\n\n").trim();return(i=i.replace(/(```[\s\S]*?```|`[^`\n]+`)|<\/?[a-z][^>]*>/gi,function(e,t){return t||""})).replace(/\n{3,}/g,"\n\n").trim()}function Wo(e){return e.join("|")}function Zo(e,t){return new RegExp("^(?:"+Wo(e)+")$",t||"i")}function Vo(e,t,r){return new RegExp("^\\s*(?:"+Wo(e)+")"+(t||"")+"\\s*$",r||"gmi")}function Go(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}an=function(e){return jo(e,j())||$o(e)},registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)blog\.naver\.com$/))return null;var t=function(){var e=document.querySelector("iframe#mainFrame, iframe[name='mainFrame']");if(!e)return null;try{var t=e.contentDocument||e.contentWindow&&e.contentWindow.document||null;if(Po(t))return t;var r=e.getAttribute("srcdoc");return r?(new DOMParser).parseFromString(r,"text/html"):t}catch(e){return null}}()||document,r=Po(t);return r?le(e,r,{title:zo(t,[".se-module.se-module-text.se-title-text",".se-title-text span",".se-title .se-title-text",".se-title","h3.se_textarea_title",".pcol1.itemSubjectBoldfont",".htitle","h1"])||e.title,byline:zo(t,[".nick",".blog_author",".writer",".se_publishDate + .nick"]),minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".post_btn, .post_footer_contents, .comment, .u_likeit_module, .wrap_tag, .post_tag, .se-module-oglink, .se-sticker, .se-map, script, style").forEach(function(e){e.remove()})}}):null});var Ko,Jo="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",Xo="nav, aside, footer, script, style, noscript, template",Yo=Xo+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",Qo=Xo+", .breadcrumb, .site-header, .site-footer, .region-sidebar",ei="[class*='related-posts'], [class*='related_posts'], [id*='related-posts'], [id*='related_posts'], .yarpp-related, [class*='recommended-posts'], [class*='more-stories'], [class*='also-like'], [class*='you-may-also'], .jp-relatedposts, [class*='more-from'], [class*='more_from'], [class*='latest-news'], [class*='latest_news'], [class*='trending'], [class*='popular-posts'], [class*='popular_posts'], [class*='related-articles'], [class*='related_articles'], [id*='related-articles'], [id*='related_articles'], [class*='related-links'], [class*='related_links'], [class*='further-reading'], [class*='further_reading']",ti=Zo(["report this article","\\+?\\s*follow","sign in","sign up","join now","show more","show less","log in","create account","create an account","subscribe to read","inloggen","iniciar sessão","entrar","prijavi se","пријави се","log masuk","maak een account","criar conta","registreer","cadastre-se","přihlásit se","logga in","log ind","logg inn","inicia sessió","iniciar sessió","giriş yap","შესვლა","පිවිසෙන්න","daxil ol","zaloguj się","zarejestruj się","zaloguj","załóż konto","moje konto","dołącz do nas","zobacz więcej","czytaj więcej","czytaj dalej","pokaż więcej","zwiń","rozwiń"],"i"),ri=(Ko="i",new RegExp("^(?:"+Wo(["skip ad","continue watching","visit advertiser website","go to page","advertisement \\d+\\/\\d+","advertisement","close ad","skip this ad","skip in \\d+","ad \\d+ of \\d+","sponsored","sponsor","reklama","materiał sponsorowany","materiał promocyjny","materiał partnerski","autopromocja","ad$","Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"])+")",Ko||"i")),ni=/^(like|dislike|share|save|bookmark|pin it|tweet|follow us|subscribe|subscribe now|sign up|view all|show more comments?|load more|report|flag|print|copy link|copy url|edit|delete|reply|retweet|repost|reblog|thanks for your feedback!?)$/,oi=Zo(["join (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","follow (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","join (?:our )?(?:telegram|whatsapp|viber) (?:group|channel)","download (?:our|the) app","get (?:our|the) app","install (?:our|the) app","डाउनलोड करें","ऐप डाउनलोड","टेलीग्राम","व्हाट्सएप ग्रुप","হোয়াটসঅ্যাপ","টেলিগ্রাম","(?:become|be) a (?:member|subscriber|patron)","subscribe (?:now|today|here)","sign up (?:for|to) (?:our )?(?:newsletter|updates|emails?)","get started for free","サブスクライブ","구독하기","підписуйтесь на наш","приєднуйтесь до нас","підписатися на телеграм","підписатися на канал","ακολουθήστε μας","εγγραφείτε","ikuti kami di","gabung (?:di )?(?:telegram|whatsapp)","berlangganan","ติดตาม(?:เรา)?(?:ที่|ใน|ได้ที่)","theo dõi chúng tôi","volg ons","schrijf je in","abonneer","meld je aan","пратите нас","пријавите се","претплатите се","pratite nas","prijavite se","pretplatite se","ikut(?:i)? kami","langgan","inscreva-se","siga-nos","assine","sledujte nás","odebírejte","přihlaste se k odběru","připojte se","följ oss","prenumerera","registrera dig","følg os","abonner","tilmeld dig","følg oss","abonner på","meld deg på","registrer deg","subscriu-te","fes-te subscriptor","fes-te'n subscriptor","გამოიწერეთ","შემოგვიერთდით","მოგვყევით","අපව අනුගමනය කරන්න","bizə qoşulun","abunə olun","bizi izləyin","subskrybuj","zasubskrybuj","zapisz się na newsletter","dołącz do nas","obserwuj nas","śledź nas"],"i"),ii="[class*='app-download'], [class*='app_download'], [class*='download-app'], [class*='download_app'], [class*='app-banner'], [class*='app_banner'], [class*='app-install'], [class*='app_install'], [class*='install-app'], [class*='install_app'], [class*='mobile-app'], [class*='mobile_app'], [class*='open-in-app'], [class*='open_in_app'], [class*='app-promo'], [class*='app_promo'], [class*='amp-banner'], [class*='amp_banner'], [class*='amp-promo'], [class*='amp_promo'], [class*='subscribe-cta'], [class*='subscribe_cta'], [class*='newsletter-signup'], [class*='newsletter_signup'], [class*='push-notification'], [class*='push_notification'], [class*='telegram-cta'], [class*='whatsapp-cta']",ai="[class*='share'], [class*='social'], [class*='rating'], [class*='vote'], [class*='like-button'], [class*='dislike'], [data-testid*='share'], [data-testid*='like'], [class*='ad-overlay'], [class*='ad_overlay'], [class*='video-ad'], [class*='adWrapper'], [class*='ad-wrapper'], [class*='ad-container'], [id*='ad-overlay'], [id*='ad_overlay'], [class*='announcement-bar'], [class*='global-alert'], [id*='announcement-bar']",li="[class*='taboola'], [id*='taboola'], [class*='outbrain'], [id*='outbrain'], [data-widget-type*='taboola'], [data-widget-type*='outbrain'], [class*='promoted-content'], [class*='promoted_content'], [id*='promoted-content'], [class*='sponsored-content'], [class*='sponsored_content'], [class*='mgid'], [id*='mgid'], [class*='zergnet'], [id*='zergnet'], [class*='revcontent'], [id*='revcontent']",si=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),ci=new RegExp("\\b(save\\s+\\d+%|subscribe\\s+(?:now|today)|subscription|subscriber|sign\\s+up\\s+for|get\\s+started\\s+for\\s+free|limited\\s+time\\s+offer|annual\\s+subscriptions?|trusted\\s+destination\\s+for)\\b","i"),ui=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),di=Zo(["related\\s*(articles?|stories|news|posts|content|links)?","more\\s*(from|in|stories|articles?|news)","see\\s*also","you\\s*may\\s*(also\\s*)?like","recommended","trending","popular","latest\\s*news","other\\s*news","also\\s*read","read\\s*more\\s*:?","further\\s*reading","references","citations","metrics","altmetric","więcej\\s*(z\\s*tej\\s*kategorii|artykułów|wiadomości|na\\s*ten\\s*temat)","zobacz\\s*również","polecamy","czytaj\\s*również","inne\\s*wiadomości","повезано","погледајте","сродне\\s*вијести","слично","такође\\s*прочитајте","още\\s*от","виж\\s*също","свързани\\s*новини","más\\s*de","noticias\\s*relacionadas","ver\\s*también","plus\\s*de","à\\s*lire\\s*aussi","lire\\s*aussi","sur\\s*le\\s*même\\s*sujet","mehr\\s*aus","lesen\\s*sie\\s*auch","das\\s*könnte\\s*sie\\s*auch\\s*interessieren","altre\\s*notizie","leggi\\s*anche","ook\\s*interessant","lees\\s*ook","läs\\s*också","relateret","relaterte\\s*saker","les\\s*også","aiheeseen\\s*liittyvät","lue\\s*myös","ilgili\\s*haberler","daha\\s*fazla","saistītie","susijusios\\s*naujienos","поврзано","citește\\s*și","articole\\s*similare","також\\s*читайте","схожі\\s*новини","σχετικά\\s*νέα","διαβάστε\\s*επίσης","関連記事","関連ニュース","おすすめ","あわせて読みたい","続きを読む","更多相关新闻","相关新闻","相关阅读","延伸阅读","관련\\s*기사","함께\\s*읽기","اقرأ\\s*أيض[اً]ا","إقرأ\\s*أيض[اً]ا","مواضيع\\s*ذات\\s*صلة","أخبار\\s*ذات\\s*صلة","مطالب\\s*مرتبط","مطالب\\s*ذات\\s*صلة","مرتبط","עוד\\s*כתבות","כתבות\\s*נוספות","संबंधित\\s*(?:खबरें|लेख)","और\\s*पढ़ें","আরও\\s*পড়ুন","সম্পর্কিত\\s*খবর","อ่านเพิ่มเติม","ข่าวที่เกี่ยวข้อง","tin\\s*liên\\s*quan","đọc\\s*thêm","baca\\s*juga","berita\\s*terkait"],"i"),mi=Zo(["za ogled potrebujemo tvojo privolitev(?: za vstavljanje vsebin družbenih omrežij in tretjih ponudnikov\\.?)?","omogoči piškotke","cookie manager","your cookie preferences","got it!","let us know your cookie preferences","we value your privacy","manage choices","privacy settings","polityka prywatności i cookies","nie widzisz nawet do 30% treści dostępnych w serwisie","data preferences(?:\\s*[\\/|]\\s*|\\s+)manage your data","data preferences","manage your data","manage (?:privacy|cookie|consent|data) preferences","privacy preference center","your privacy settings","your privacy choices","veri tercihleri","nastavení souhlasu","souhlas s personalizací","เว็บไซต์นี้ใช้คุ้กกี้"],"i");function pi(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function hi(e){return R(e),function(e){e&&e.querySelectorAll&&e.querySelectorAll("p, div, span, section, aside, figcaption, li, a, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>250||mi.test(r)&&e.remove()})}(e),e.querySelectorAll("#comments, #respond, .comments-area, .comment-list, .comments-section, #disqus_thread, .disqus-comment-count, [class*='comment-respond'], .wp-block-comments, .post-comments").forEach(function(e){e.remove()}),e.querySelectorAll(ei).forEach(function(e){e.remove()}),bi(e),e.querySelectorAll("section, div, aside, form, table, ul").forEach(function(e){(function(e){if(!e||1!==e.nodeType)return!1;if(t(e.textContent||"").length>1e3&&e.querySelectorAll("p, h1, h2, h3, h4, h5, h6").length>=2)return!1;var r=t((e.querySelector("h2, h3, h4, h5, h6, strong, b")||{}).textContent||"");if(!r){var n=t((e.firstElementChild||e).textContent||"");n.length<=40&&(r=n)}return!!H(r)&&e.querySelectorAll("a[href], li, tr").length>=3})(e)&&e.remove()}),function(e){e.querySelectorAll("aside, section, div, figure, picture").forEach(function(e){if(!e.matches("main, article, [role='main']")&&!e.querySelector("article, main, [role='main']")){var r=t(e.textContent||""),n=r.toLowerCase(),o=[e.className||"",e.id||"",e.getAttribute("data-testid")||"",e.getAttribute("data-test")||"",e.getAttribute("aria-label")||""].join(" ").toLowerCase(),i=Array.prototype.map.call(e.querySelectorAll("img, source"),function(e){return(e.getAttribute("src")||e.getAttribute("srcset")||"").toLowerCase()}).join(" "),a=si.test(o),l=ci.test(n),s=ui.test(i);((a||s)&&(r.length<900||l)||l&&s&&r.length<1200)&&e.remove()}})}(e),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent),n=(e.className||"").toString();r&&!/anchor|heading/i.test(n)||e.remove(),/^skip\s+(to\s+)?(main\s+)?/i.test(r)&&e.remove(),/^(تخطى|تجاوز|דלג)\s/i.test(r)&&e.remove(),/^(μετάβαση στο |παράλειψη |перейти до |пропустити |bỏ qua |ข้ามไปยัง|lewati |langsung ke )/i.test(r)&&e.remove(),/^(ga naar |doorgaan naar |overslaan|spring naar |прескочи |пређи на |langkau |ir para |pular para |saltar )/i.test(r)&&e.remove(),/^(přejít na |přeskočit |gå til |spring over |hoppa till |gå vidare |pumunta sa |laktawan |hopp over |gå til innhold|anar a |saltar a )/i.test(r)&&e.remove(),/^(przejdź do |pomiń )/i.test(r)&&e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();ti.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();ri.test(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("p, div").forEach(function(e){(function(e){if(!e)return!1;var r=t(e.textContent);if(r.length>200)return!1;var n=e.querySelectorAll("img").length,o=e.querySelectorAll("a").length,i=t(Array.prototype.map.call(e.querySelectorAll("img[alt]"),function(e){return e.getAttribute("alt")||""}).join(" ")).toLowerCase();return n>=1&&o>=1&&(r.length<=24||/\b(status|badge|build|coverage|workflow|ci)\b/.test(i))})(e)&&e.remove()}),e.querySelectorAll("p, div, li, span, strong, button").forEach(function(e){var r,n;(M(e.textContent)||(r=e.textContent,"video player is loading."===(n=t(r||"").toLowerCase())||"videosoitin"===n||"play video"===n||"playback speed"===n||/^playback speed \d/.test(n)||/^this is a modal window\./.test(n)||/^beginning of dialog window\./.test(n)||/^end of dialog window\./.test(n)||/^current time\s+\d/.test(n)||/^remaining time\s/.test(n)||/^duration\s/.test(n)||/^loaded:\s*\d/.test(n)||/^progress:\s*\d/.test(n)||/^fullscreen$/i.test(n)||/^mute$/i.test(n)||/^unmute$/i.test(n)))&&e.remove()}),e.querySelectorAll("svg, .octicon").forEach(function(e){e.remove()}),e.querySelectorAll(".anchor, .heading-link, .header-anchor").forEach(function(e){var r=t(e.textContent);e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8?e.replaceWith(document.createTextNode(r)):e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(!(n=t(r||""))||n.length>1200||n.length<12)&&/\b(document\.(body|getElementById|querySelector|createElement|cookie|write)|window\.(location|addEventListener|dataLayer|gtag|ga\()|function\s*\(|var\s+\w+\s*=\s*|\.push\s*\(\s*function|\.classList\.(add|remove|toggle)|\.style\.\w+\s*=|\.innerHTML\s*=|\.setAttribute\s*\(|addEventListener\s*\(|\.insertBefore\s*\(|\.appendChild\s*\(|\.parentNode\s*\.|new\s+(Date|Array|Object|RegExp|Map|Set)\s*\(|typeof\s+\w+\s*[!=]==?\s*|===?\s*['"]undefined['"]|console\.(log|warn|error)|setTimeout\s*\(|setInterval\s*\(|JSON\.(parse|stringify)|Promise\.(resolve|reject|all)|Object\.(keys|values|assign|defineProperty)|Array\.(isArray|from|prototype)|return\s+(true|false|null|void|this)\b|if\s*\([^)]*\)\s*\{|try\s*\{|catch\s*\(\w+\)\s*\{|throw\s+new\s+\w+)/.test(n)&&(n.match(/[{};()=]|function\s|var\s|const\s|let\s|return\s|\.push\(|\.call\(|\.apply\(|=>|===?|!==?|&&|\|\|/g)||[]).length>=3&&!e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")&&e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(n=t(r||""))||n.length<40||!/\bdebug info:|fetchCache\[|\.expirationTime:|cache key:/i.test(n)||e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")||e.remove()}),fi(e),gi(e),yi(e),vi(e),e}function fi(e){return e.querySelectorAll("img").forEach(function(e){var t=parseInt(e.getAttribute("width")||"",10),r=parseInt(e.getAttribute("height")||"",10),n=(e.getAttribute("src")||"").toLowerCase();t<=2&&r<=2||0===t||0===r?e.remove():(/\/(pixel|beacon|track|rt)\.(gif|png|jpg)|\/pixel\?|\/beacon\?|1x1\.|spacer\.|transparent\.|blank\.(gif|png)|\/tr\?|\.gif\?.*utm_|__utm\.gif|\/pixel\.php/i.test(n)&&e.remove(),/^data:image\/(svg\+xml|png|gif|jpeg);base64,/.test(n)&&n.length<300&&e.remove())}),e}function gi(e){return e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||e.setAttribute("src",o(r))}),e}function yi(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();ni.test(r)&&n(e)<60&&e.remove(),B(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("a, button, div, p, span, li").forEach(function(e){var r=t(e.textContent).toLowerCase();n(e)>200||oi.test(r)&&e.remove()}),e.querySelectorAll(ii).forEach(function(e){n(e)<300&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=(e.getAttribute("alt")||"").toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();/^close$/.test(t)&&/(close|cross|dismiss|x-icon)/i.test(r)&&e.remove()}),e.querySelectorAll(ai).forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll(li).forEach(function(e){e.remove()}),e.querySelectorAll("[class*='comment-count'], [class*='comment_count'], [class*='comments-count'], [class*='commentCount'], [class*='komentari'], [data-type='comment-count']").forEach(function(e){n(e)<30&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/maps\.wikimedia\.org\/osm|\/osm-intl\/\d+\/|tile\.openstreetmap\.org|maps\.wikimedia\.org\/v4\/marker/i.test(t)&&e.remove()}),e.querySelectorAll("a, button, div, span").forEach(function(e){var r=t(e.textContent).toLowerCase(),o=(e.getAttribute("title")||"").toLowerCase();(/^(zoom in|zoom out|show in full screen|layers|leaflet|maplibre)$/.test(r)&&n(e)<40||/^(zoom in|zoom out)$/.test(o)&&n(e)<10)&&e.remove()}),e.querySelectorAll("[class*='leaflet-'], [class*='maplibre-'], [class*='map-container'], [class*='kartographer']").forEach(function(e){n(e)<200&&e.remove()}),e}function bi(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&di.test(r)&&e.parentElement){for(var n=[],o=e.nextElementSibling;o;){var i=o.tagName;if(/^H[1-4]$/.test(i)&&!di.test(t(o.textContent||"").trim()))break;n.push(o),o=o.nextElementSibling}var a=0,l=0;n.forEach(function(e){a+=(e.matches&&e.matches("a[href]")?1:0)+(e.querySelectorAll?e.querySelectorAll("a[href]").length:0),l+=t(e.textContent||"").length}),a>=2&&(l<1500||a>=4)&&(e.remove(),n.forEach(function(e){e.remove()}))}}),e.querySelectorAll("div, section, aside").forEach(function(e){if(e.closest("article, main, [role='main']")){var r=t(e.textContent||"").trim();if(r&&di.test(r.slice(0,120)))e.querySelectorAll("a[href]").length>=2&&r.length<5e3&&e.remove()}})}function vi(e){return e.querySelectorAll("[role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='complementary'], [role='banner'], [role='contentinfo'], [aria-label*='navigation' i], [aria-label*='menu' i], [aria-label*='breadcrumb' i], [aria-label*='sidebar' i]").forEach(function(e){e.remove()}),e.querySelectorAll("header").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");r>=4&&n.length<800&&e.remove()}),e.querySelectorAll("[class*='sidebar'], [class*='side-nav'], [class*='sidenav'], [class*='left-rail'], [class*='right-rail'], [class*='article-drawer'], [class*='toc-drawer'], [class*='table-of-contents'], [class*='mobile-menu'], [class*='mobile-nav'], [class*='hamburger-menu'], [class*='toc']").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");if(r>=3&&!e.querySelector("article, main, [role='main'], pre, blockquote, table"))e.remove();else if(r>=3&&n.length<1200){var o=n.split(/\s+/).length;o>0&&r/o>.3&&e.remove()}}),e.querySelectorAll("div, section, ul").forEach(function(e){if(!e.closest("article, main, [role='main']")||!e.matches("article *, main *, [role='main'] *")){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=r.split(/\s+/).length;n>=6&&o>0&&n/o>.5&&r.length<600&&!e.querySelector("article, main, [role='main'], p, h1, h2, h3, blockquote, pre, table")&&e.remove()}}),e}var wi=Vo(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),xi=Vo(["(?:Join|Follow)\\s+(?:us\\s+)?on\\s+(?:Telegram|WhatsApp|Instagram|Facebook|YouTube|Twitter|X)","(?:Join|Follow)\\s+(?:our\\s+)?(?:Telegram|WhatsApp)\\s+(?:Group|Channel)","(?:Download|Get|Install)\\s+(?:our|the)\\s+(?:App|Mobile App)"]),Si=Go(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","Ikuti kami di|Gabung (?:di )?(?:Telegram|WhatsApp)|Berlangganan","Theo dõi chúng tôi","Volg ons|Schrijf je in|Abonneer je|Meld je aan voor","Пратите нас|Претплатите се|Пријавите се|Pratite nas|Pretplatite se|Prijavite se","Ikuti kami|Langgan(?:i)?|Sertai (?:kami|saluran)","Siga-nos|Inscreva-se|Assine|Acompanhe-nos","Sledujte nás|Odebírejte|Přihlaste se k odběru|Připojte se","Följ oss|Prenumerera|Registrera dig","Følg os|Abonner|Tilmeld dig","Følg oss|Abonner på|Meld deg på|Registrer deg","Subscriu-te|Fer-se subscriptor|Si ets subscriptor|Suma't a|Quins són els avantatges|Fes-te subscriptor|Fes-te'n subscriptor","გამოიწერეთ|შემოგვიერთდით|მოგვყევით","වැඩි විස්තර කියවන්න|අපව අනුගමනය කරන්න","Bizə qoşulun|Abunə olun|Bizi izləyin"]),ki=Go(["Subskrybuj|Zasubskrybuj|Zapisz się na newsletter|Dołącz do nas|Obserwuj nas|Śledź nas","Dziękujemy,?\\s*że\\s*przeczytała?(?:ś|ś\\/eś|eś)?","Bądź na bieżąco","Obserwuj nas w Google","Dalszy ciąg (?:artykułu|materiału) (?:pod |poniżej )?(?:materiałem wideo|wideo|galerią|zdjęciem)","Sprawdź,?\\s*gdzie kupisz","Materiał (?:sponsorowany|promocyjny|partnerski)"]).concat(function(e){return e.map(function(e){return Vo([e])})}(["Zobacz więcej|Czytaj więcej|Czytaj dalej|Pokaż więcej|Więcej informacji","Zaloguj się|Zarejestruj się|Zaloguj|Załóż konto|Moje konto","Udostępnij|Skomentuj|Komentarze\\s*\\d*|Dodaj komentarz|Napisz komentarz","Autopromocja"])),Ai=Vo(["Met een account kan je","Log in of maak een account","Acesse seus artigos salvos","Uma só conta para todos","Maak een account aan","Cadastre-se","Faça login","Faça seu login","Crie sua conta","Meld je aan","Inloggen","Entrar na sua conta","Sign in to save","Create an account","Log in to continue","Log in","Sign in","Create account","Subscribe to read","Daftar atau masuk","Giriş yap","Logg inn","Opprett konto","For å kunne lagre","Inicia sessió","Crea un compte","Registra't","පිවිසෙන්න","ගිණුමක් සාදන්න","Daxil ol","Hesab yaradın"],"\\b.*"),qi=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Jo+"\\/[^)]*\\)","gi"),Ci=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Jo+"\\b[^\\n]*$","gmi"),_i=[/Was (?:this )?(?:summary |article |page )?helpful\?\s+Thank you\s+(?:for\s+)?feedback/i,/Trusted by Consumers\.\s+Recognized by AI\./i,/(?:^|\n|\s{2,})(?:AI[-\s]generated summary|AI summary|Related content|Related articles|You May Also Like|Need (?:to )?Find (?:an? )?Attorney\?|For Legal Professionals|Get updates|Subscribe to read|Create account|Sign in)\b/i];function Ti(e,t){var r=e;return t.forEach(function(e){r=r.replace(e,"")}),r}function Ei(e){var r=(e||"").replace(/Your browser doesn't support HTML5 audio\s*/g,"").replace(/^\s*[-*]\s*$/gm,"").replace(/<iframe\b[^>]*>?(?:<\/iframe>)?/gi,"").replace(/<iframe\b[^\n]*/gi,"").replace(/document\s*\.\s*body\s*\.\s*classList\s*\.\s*add\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*cmd\s*\.\s*push\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*display\s*\([^)]*\)\s*;?\s*\}\s*\)\s*;?/g,"").replace(/^\s*(?:var|let|const)\s+\w+\s*=\s*[^;]+;\s*$/gm,"").replace(/\bSkip Ad\b/g,"").replace(/\bContinue watching\s*(?:after the ad)?/gi,"").replace(/Visit Advertiser website/gi,"").replace(/\bExplore\b[^\n]{0,120}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\bExplore\b[^\n]{0,100}\bSUBSCRIBE\b/gi,"").replace(/\bExplore\s+[A-Z][A-Za-z0-9 .!&-]{0,80}\d+%\s+SUBSCRIBE\b/gi,"").replace(/\bExplore\s+(?:[A-Z][A-Za-z0-9&.-]+\s+)?\d+%\s+SUBSCRIBE\b/gi,"").replace(/\b\d+%[^\n]{0,60}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\b\d+%\s+SUBSCRIBE\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{1,60}\s+AIchevron_right[A-Z][A-Za-z0-9 .&-]{0,80}\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{0,60}\s+AI(?:chevron_right)?\s*AI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/g,"").replace(/\bAI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/gi,"").replace(/,?\s*so verify(?: using| with)? [A-Z][A-Za-z0-9 .&-]{0,80} articles\.?/g,"").replace(/GO TO PAGE\.?/g,"").replace(/^\s*#{1,6}\s*$/gm,"").replace(/\bAdvertisement\s+\d+\/\d+\b/gi,"").replace(/^\s*Advertisement\s*$/gim,"").replace(wi,"").replace(/Definition Source\s+All sources\s+\w+/gi,"").replace(/^.*\bdebug info:.*(?:\n.*(?:fetchCache|expirationTime|cache key|seconds remaining|All fetchCache).*)*$/gim,"").replace(/!\[close\]\([^)]*(?:close|cross)[^)]*\)/gi,"").replace(/^\s*#\s*Tags?\s*$/gim,"").replace(/^\s*Comments?\s*\d*\s*$/gim,"").replace(/^\s*Leave a Reply\s*(?:Cancel reply)?\s*$/gim,"").replace(/^\s*Loading comments\.*\s*$/gim,"").replace(/Current Time\s+\d+:\d+\s*/gi,"").replace(/Duration\s+[-\\]?:?[-\\]?\s*/gi,"").replace(/Remaining Time\s+-?\d+:\d+\s*/gi,"").replace(/Loaded:\s*\d+%?\s*/gi,"").replace(/Progress:\s*\d+%?\s*/gi,"").replace(/^\s*Volume\s+\d+%\s*$/gim,"").replace(/^\s*Rewind\s+\d+\s+Seconds\s*$/gim,"").replace(/^\s*Chromecast\s*$/gim,"").replace(/^\s*Closed Captions\s*$/gim,"").replace(/^\s*Settings\s*$/gim,"").replace(/^\s*Fullscreen\s*$/gim,"").replace(/^\s*Learn More\s*$/gim,"").replace(/^\s*This website uses cookies\..*$/gim,"").replace(/^\s*By accepting cookies.*$/gim,"").replace(/^\s*Cookie declaration last updated.*$/gim,"").replace(/^\s*Consent ID:.*$/gim,"").replace(/^\s*Change your consent.*$/gim,"").replace(/^\s*Your current state:.*$/gim,"").replace(/^\s*(?:Necessary|Preference|Statistics|Marketing)\s*\(\d+\)\s*$/gim,"").replace(/^\s*Video Player is loading\.\s*$/gim,"").replace(/^\s*Play Video\s*$/gim,"").replace(/^\s*Playback Speed\s*$/gim,"").replace(xi,"").replace(/^\s*(?:Skip to main content|Skip to content|View on GitHub|Report a problem with this content|Copy item path|Open menu|Open Sidebar|Search or ask Copilot|API preferences|JavaScriptTypeScript|TypeScriptJavaScript)\s*$/gim,"").replace(/^\s*\/\s*$/gm,"").replace(/^\s*\*\s+\*\s+\*\s*$/gm,"").replace(/^\s*(?:show sidebar|hide sidebar|toggle sidebar|show attributes?|hide attributes?|show child attributes?|hide child attributes?)\s*$/gim,"").replace(/\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s*$/gm,"").replace(/Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"").replace(/!\[]\([^)]+\)\s*/g,"").replace(/\[]\([^)]+\)\s*/g,"").replace(/!\[[^\]]*\]\(data:image\/(?:png|gif|jpe?g|webp);base64,[A-Za-z0-9+/=]{500,}\)\s*/gi,"").replace(/^\s*([-*])\s+\[(?:!\[[^\]]*\]\([^)]+\)\s*)?\n+\s*#{1,6}\s*([^\n]+)\n+\s*\]\(([^)]+)\)/gm,"$1 [$2]($3)").replace(/^(\s*[-*]\s*)!#{1,6}\s*/gm,"$1").replace(/^(\s*[-*]\s*)#{1,6}\s*/gm,"$1").replace(/^\s*\[\s*\n+\s*(#{1,6})\s+([^\n]+)\n+\s*\]\((https?:\/\/[^)]+)\)\s*$/gm,"$1 [$2]($3)").replace(/^\s*\]\((https?:\/\/[^)]+)\)\[\s*\n+\s*([^\n\[\]#][^\n]*)\n+\s*\]\(\1\)\s*$/gm,"[$2]($1)").replace(/^\s*\[\s*$/gm,"").replace(/^\s*\]\(https?:\/\/[^)]+\)\[?\s*$/gm,"").replace(/^\s*\]\s*$/gm,"").replace(/\[([^\]]*\d)\]\(([^)]*\/section-[^)]+)\)_([a-z])_\\?-([0-9])/gi,"[$1$3-$4]($2)").replace(/\[(\d+)\]\(([^)]*\/link\/uscode\/[^)]+)\)_([a-z])_/gi,"[$1$3]($2)").replace(/(\b\d+)_([a-z])_,_/gi,"$1$2,").replace(/(\b\d+)_([a-z])_\\?-/gi,"$1$2-").replace(/(\b\d+)_([a-z])_(?=[\s),.;])/gi,"$1$2").replace(/^\s*Last modified\s+\w+\s+\d{1,2},\s+\d{4}.*$/gim,"").replace(Ai,"").replace(/(!?\[[^\]\n]*\]\([^\)\s]+)\s+"[^"\n]*\bundefined\b[^"\n]*"\)/gi,"$1)").replace(/!\[\s*undefined\s*\]\(([^)]+)\)/gi,"").replace(/\s*-->\s*/g," ").replace(/\s*<!--\s*/g," ").replace(/(?:^|\n)\s*\d{1,3}\s+\d{1,3}\s*(?:\n|$)/g,"\n").replace(qi,"").replace(Ci,"").replace(/\n{3,}/g,"\n\n").trim();r=Ti(r,Si),r=function(e){for(var r=(e||"").split("\n"),n=0,o=0;o<r.length&&n<4;o++){var i=r[o];if(t(i)&&!/^#{1,6}\s/.test(i)){n++;var a=t(i);if(/\bIntroduction & Top Questions/.test(a)&&/\bReferences & Edit History\b/.test(a)&&/\bQuizzes\b/.test(a)&&/\b(?:Written by|Fact-checked by|Last updated)\b/.test(a)){var l=a.search(/\b(?:History\s+)?Top Questions\s+What\b/);if(!(l<0)){r[o]=a.slice(l).replace(/^History\s+/,"").replace(/\?([A-Z])/g,"? $1");break}}}}return r.join("\n")}(r=Ti(r,ki)),r=function(e){var t=e||"";if(t.length<300)return t;var r=Math.floor(.35*t.length),n=-1;return _i.forEach(function(e){for(var o,i=new RegExp(e.source,e.flags.indexOf("g")>=0?e.flags:e.flags+"g");null!==(o=i.exec(t));)o.index>=r&&(n<0||o.index<n)&&(n=o.index),o.index===i.lastIndex&&(i.lastIndex+=1)}),n>=0?t.slice(0,n).trim():t}(r),r=function(e){var r=null,n=!1;return(e||"").split("\n").map(function(e){if(/^\s*```/.test(e))return n=!n,e;if(n)return e;var o=e.match(/^\s*#{1,6}\s+(.+)$/);if(o)return r=t(o[1].replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/[`*_]/g,"")),e;if(!t(e))return e;if(r&&!/^\s*(?:[-*+]\s+|\d+[.)]\s+|[|>])/.test(e)){var i=e.replace(/^(\s*)([a-z][A-Za-z'-]{3,})(\b)/,function(e,t,n,o){for(var i=n.toLowerCase(),a=r.match(/[A-Za-z][A-Za-z'-]{4,}/g)||[],l=0;l<a.length;l+=1){var s=a[l];if(s.slice(1).toLowerCase()===i)return t+s.charAt(0)+n+o}return e});return r=null,i}return r=null,e}).join("\n")}(r);for(var n=(r=r.split("\n").map(function(e){return e.length<120||/\[[^\]]+\]\([^)]+\)/.test(e)?e:e.replace(/(.{50,300}?[.!?])(?:\s*\1)+/g,"$1")}).join("\n")).split("\n"),o=[],i=null,a=0,l=0;l<n.length;l++){var s=n[l].trim();s===i&&s.length>0?++a<2&&o.push(n[l]):(i=s,a=1,o.push(n[l]))}n=(r=o.join("\n")).split("\n");for(var c={},u=0;u<n.length;u++){var d=n[u].trim();d.length>0&&!/^#{1,6}\s/.test(d)&&(c[d]=(c[d]||0)+1)}for(var m={},p=[],h=0;h<n.length;h++){var f=n[h].trim();f.length>0&&!/^#{1,6}\s/.test(f)&&(c[f]||0)>=4?m[f]||(m[f]=!0,p.push(n[h])):p.push(n[h])}return p.join("\n").replace(/\n{3,}/g,"\n\n").trim()}function ji(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function Li(e){if(!e)return e;var r=t(e);return r?/^https?:\/\//i.test(r)?null:(r=t(r=r.split(/[\n\t]/)[0]),/^(devam(ın)?ı okuyun|read more|leer más|weiterlesen|lire la suite|leggi di più|czytaj dalej|tümünü gör|اقرأ المزيد|ادامه مطلب|המשך לקרוא|مزید پڑھیں)$/i.test(r)||!(r=t(r=r.replace(/\s*@[\w.-]+.*$/i,"").replace(/\s*\d+\s*(takipçi|followers?|متابع|دنبالکننده|עוקבים|فالوور).*$/i,"")))||r.length<2?null:r):null}function $i(e){var t=e&&!1!==e.reader_mode?Qe():null;return t&&(t=Xe(t,Ke())),t||(t=Ke()),t}function Pi(e,r,n,o,i){-1!==r.indexOf(n)&&(o&&t(i||e.markdown||e.textContent||"").length>=o||(e.contentType="interstitial"))}e.FetchUtilExtract={extract:function(e){/(^|\.)mwananchi\.co\.tz$/i.test(location.hostname||"")&&(pi(document,["#paywall","[data-paywall]","[id*='paywall' i]","[class*='paywall' i]","[class*='subscribe' i]","[class*='premium' i]"].join(", ")),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=t(e.textContent||"");/\b(?:NewsArticle|Article)\b/.test(r)&&e.remove()}),document.querySelectorAll("p, div, span, section, aside, button, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>420||/^(ndiyo, tafadhali!?|ingia|jisajili ili kuanza safari yako ya kufikia maudhui yetu yanayolipiwa|jiunge nasi leo usikose habari muhimu|pata habari na chambuzi huru, za kina na za uhakika kutoka mwananchi|loading\.\.\.)$/i.test(r)&&e.remove()}));var r,n,a,s,c,u,y,b=(n=document.querySelector('link[rel="canonical"]'),a=d(["NewsArticle","Article","BlogPosting"]),s=m(a&&a.author),c=p(a&&a.datePublished),u=p(a&&a.dateModified),{title:i("og:title","property")||document.title||h(["main h1","article h1","h1"]),byline:i("author","name")||i("article:author","property")||i("parsely-author","name")||s||(r=g(f(),["[rel='author']","[itemprop='author'] [itemprop='name']","[itemprop='author']","[class*='byline' i]","[class*='author' i]","[class*='autor' i]","[class*='auteur' i]","[class*='verfasser' i]","[class*='redakteur' i]","[class*='penulis' i]","[class*='tac-gia' i]","[class*='tacgia' i]","[class*='writer' i]","[class*='reporter' i]","[data-testid*='author' i]"]),t(r||"").replace(/^(?:by|por|par|von|di|da|door|av|af|de|autor(?:a)?|auteur|redactie|redacción|redacao|redação|penulis|oleh|tác giả|tac gia|بقلم|כתבת?|מאת)\s*:?\s+/i,"")||null),excerpt:i("description","name")||i("og:description","property"),siteName:i("og:site_name","property")||location.hostname,publishedTime:i("article:published_time","property")||i("publish-date","name")||i("datePublished","itemprop")||i("date","name")||i("dc.date","name")||i("DC.date","name")||i("parsely-pub-date","name")||c||u||g(f(),["time[datetime]"],"datetime")||g(f(),["[itemprop='datePublished']","[itemprop='dateModified']","[class*='pubdate' i]","[class*='published-date' i]","[class*='published_at' i]","[class*='published-at' i]","[class*='publication-date' i]","[class*='fecha' i]","[class*='data-publicacao' i]","[class*='data-publicação' i]","[class*='datum' i]","[class*='tarih' i]","[class*='date' i]","[class*='time' i]","[class*='publish' i]","[class*='posted' i]","[data-testid*='date' i]","time"]),canonicalUrl:o(n&&n.getAttribute("href"))||location.href,language:document.documentElement.getAttribute("lang")||navigator.language||null,image:i("og:image","property")||null,video:i("og:video","property")||i("og:video:url","property")||null});if(!y){var S=Ln(b);S&&(y=S)}var k,A=null,_=null;if(y||(A=j(),_={iframeTitles:(k=Array.prototype.map.call(document.querySelectorAll("iframe"),function(e){return{title:t(e.getAttribute("title")||""),src:t(e.getAttribute("src")||"")}})).map(function(e){return e.title}).filter(Boolean),iframeSources:k.map(function(e){return e.src}).filter(Boolean),scriptSources:Array.prototype.map.call(document.querySelectorAll("script[src]"),function(e){return t(e.getAttribute("src")||"")}).filter(Boolean),textLength:j().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)}),!y&&/(^|\.)(google\.|bing\.com$|duckduckgo\.com$|search\.brave\.com$|ecosia\.org$)/.test(location.hostname)&&x()&&(y=function(e){var t=[],r={};return[".result__title a, [data-testid='result-title-a']","li.b_algo h2 a, .b_algo h2 a","a h3","main a[data-testid='result-title-a'], main article a[href], main .result a[href], main .snippet a[href]"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){var n="A"===e.tagName?e:e.closest("a");if(n){var o=n.closest("article, li, div[data-testid], .result, .b_algo, .g, .fdb")||n.parentElement,i=Ct(n);or(t,r,i,n.getAttribute("href"),Tt(o,i))}})}),t.length<4&&document.querySelectorAll("main a[href], [role='main'] a[href]").forEach(function(e){var n=e.closest("article, li, div, section")||e.parentElement,o=Ct(e);or(t,r,o,e.getAttribute("href"),Tt(n,o))}),{title:e.title||document.title,byline:null,excerpt:x(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:ft(t),markdown:ft(t),readerMode:!1,contentType:"search",resultCount:t.length}}(b)),!y){var T=Sr(b,A),E=T?xr(b,A):null,L=t(document.body&&document.body.textContent||"").toLowerCase(),$=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(L);T&&"not_found"===E&&$&&(y=T)}if(y||(y=function(e,t){for(var r=e&&e.host||location.hostname||"",n=0;n<hostAwareProfiles.length;n+=1){var o=hostAwareProfiles[n];if(!0!==o.condition&&Rn(o.condition,e,r)){var i=o.fn(e,t);if(i)return i}}for(var a=0;a<hostAwareProfiles.length;a+=1){var l=hostAwareProfiles[a];if(!0===l.condition&&Rn(l.condition,e,r)){var s=l.fn(e,t);if(s)return s}}return null}(b,A)),y||(y=function(e,r,n){var o=dr(e,r,n);if(!o)return null;var i=t(e.title||document.title);(!i||C(i)||/^www\./i.test(i))&&(i=mr(o,e));var a=function(e,t){var r="anubis"===e?"This page is presenting an Anubis challenge before the original content is available.":"datadome"===e?"This page is presenting a DataDome CAPTCHA challenge before the original content is available.":"This page is presenting a Cloudflare or Turnstile challenge before the original content is available.";return t&&t.textLength<40&&t.htmlLength>200&&(r+=" The readable DOM content is effectively empty in this environment."),r}(o,n),l=["anubis"===o?"Challenge: Anubis":"datadome"===o?"Challenge: DataDome":"Challenge: Cloudflare/Turnstile"];return n&&n.textLength<40&&n.htmlLength>200&&l.push("Readable DOM: challenge page only"),v({title:i,description:a,highlights:[],details:l,siteName:e.siteName||location.hostname,contentType:"interstitial"})}(b,A,_)),!y){var P=Sr(b,A),N=P?xr(b,A):null;if(P&&"consent_wall"!==N)y=P;else if(P&&"consent_wall"===N){var R=$i(e),M=t(R&&R.markdown||R&&R.textContent||"").toLowerCase();y=R&&M.length>500&&!Mr(M)?R:P}}if(y||(y=at(b)),y||(y=function(e){var r=d(["Recipe"]);if(!r)return null;var n=l(r.recipeIngredient).map(function(e){return"string"==typeof e?t(e):p(e)}).filter(Boolean),o=[];if(function e(r){var n;r&&(Array.isArray(r)?r.forEach(e):"string"!=typeof r?"object"==typeof r&&(r.itemListElement?e(r.itemListElement):(n=p(r))&&o.push(n)):(n=t(r))&&o.push(n))}(r.recipeInstructions),n.length+o.length<3)return null;var i=[r.recipeYield?"Yield: "+p(r.recipeYield):null,r.prepTime?"Prep: "+t(r.prepTime):null,r.cookTime?"Cook: "+t(r.cookTime):null,r.totalTime?"Total: "+t(r.totalTime):null].filter(Boolean),a=[],s=m(r.name||r.headline)||e.title||document.title,c=p(r.description)||e.excerpt;s&&a.push("# "+s),i.length&&a.push(i.map(function(e){return"- "+e}).join("\n")),c&&a.push(c),n.length&&a.push("## Ingredients\n\n"+n.slice(0,25).map(function(e){return"- "+e}).join("\n")),o.length&&a.push("## Instructions\n\n"+o.slice(0,20).map(function(e,t){return t+1+". "+e}).join("\n"));var u=a.join("\n\n").trim();return{title:s,byline:m(r.author)||null,excerpt:c||null,siteName:e.siteName||location.hostname,publishedTime:r.datePublished||e.publishedTime||null,html:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}(b)),y||(y=$i(e)),y&&"article"===y.contentType&&y.readerMode&&Je(y.textContent||y.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var B=qt(b);t(B.markdown||"").length>=400&&(y=B)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(y)){var H=ir();H&&(y=H)}var F=At(b);if(F&&y&&!y.hostAware&&!y.docsLike){var I=t(y.markdown||y.textContent||"").toLowerCase();("list"!==y.contentType&&(It()||F.itemCount>=4||Mr(I))||"list"===y.contentType&&It()&&F.itemCount>=4)&&(y=F)}var O=gt(b);O&&y&&!y.hostAware&&!y.docsLike&&(y=O);var D=Rt(y)||function(e,r){e=e||{};var n=t((r=r||{}).title||e.title||""),o=t(r.excerpt||e.excerpt||""),i=t(r.publishedTime||e.publishedTime||""),a=t(r.byline||e.byline||""),l=t(r.textContent||r.markdown||"");return!!(!(n.length<_t(n)||l.length<220)&&(i&&o.length>=40||i&&a||i&&l.length>=320))}(b,y);if(y&&!y.hostAware&&q(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(y.html||"")&&(y.hostAware=!0),"article"===y.contentType&&!y.hostAware&&!y.docsLike&&!Ot()&&z(y.textContent||y.markdown||"")){var U=qt(b);t(U.markdown||"").length>=400&&(y=U)}if("article"!==y.contentType||y.docsLike||y.legalProvision||!Ht(null,y.textContent||y.markdown||"")||(y=Nt(y)),"list"===y.contentType||y.hostAware||y.docsLike||y.legalProvision||!function(e){if(!document.body||Ot())return!1;if(!Ft()&&!It()&&!$t())return!1;var r=document.createElement("div");r.innerHTML=e&&e.html||document.body.innerHTML;var n=r.querySelectorAll("a[href]").length,o=r.querySelectorAll("article, li, section, [class*='card'], [class*='item'], [class*='story'], [class*='product'], [class*='tile'], [class*='job'], [data-testid*='card'], [data-testid*='product'], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/']").length,i=r.querySelectorAll("h2, h3, h4").length,a=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&r.length<=220&&!Ut(r,e.getAttribute("href")||"")}).length,l=Array.prototype.map.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"")}).filter(Boolean),s=l.filter(function(e){return e.length>=180}).length,c=l.filter(function(e){return e.length>=120}).join(" "),u=t(r.textContent||e&&(e.textContent||e.markdown)||""),d=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),m=u.length>0?d/u.length:0,p=document.createElement("div");p.innerHTML=document.body.innerHTML;var h=Math.max(Pt(r),Pt(p));return!Mt(r,u)&&!Bt(r,u)&&(!(!Lt(r,u)&&!Lt(p))||!(s>=5&&c.length>=1200&&m<.35)&&(a>=6&&o>=6&&n>=8&&(i>=4||m>=.22)||h>=6||$t(r)))}(y)||(y=qt(b)),"list"===y.contentType||y.hostAware||y.docsLike||y.legalProvision||!function(e){if(!document.body)return!1;function r(e){var r=e.querySelectorAll("a").length,n=e.querySelectorAll("p").length,o=e.querySelectorAll("tr, li, article, section").length,i=e.querySelectorAll("li").length,a=e.querySelectorAll("table, ul, ol, .itemlist, .items, .stories, .posts, .news, .headlines, .feed, .threads, .topic-list, .forumlist, .discussionList").length,l=e.querySelectorAll("h1, h2, h3, h4").length,s=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], .structItem, .discussionListItem").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&r.length<=220&&!Ut(r,e.getAttribute("href")||"")}).length,u=t(e.textContent),d=t(document.title).toLowerCase(),m=(location.pathname||"").toLowerCase();return{links:r,paragraphs:n,rows:o,listItems:i,listish:a,headings:l,cards:s,headlineLinks:c,text:u,title:d,homepage:"/"===m||""===m||/^\/(index|default|home)\b/i.test(m)||/^\/\d+(,\d+)*\.html?$/i.test(m)}}function n(e){return!!(e.homepage&&e.headlineLinks>=20&&e.cards>=15&&(e.headings>=8||e.cards>=40))||e.headlineLinks>=30&&e.cards>=20&&(e.headings>=10||e.cards>=40)||!!(e.homepage&&e.headlineLinks>=16&&e.headings>=8&&e.links>=80&&e.text.length<=24e4)||!!(e.headlineLinks>=24&&e.headings>=10&&e.links>=120&&(e.homepage||e.rows>=20||e.listish>=2)&&e.text.length<=24e4)||(e.links>=8&&e.rows>=6||e.listish>0&&e.links>=6)&&e.paragraphs<=8&&e.text.length<=14e3||e.rows>=6&&e.headlineLinks>=6&&e.headings>=6&&e.text.length<=36e3||e.homepage&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3&&(e.listItems>=4||e.cards>=4||/top stories|breaking news|latest news|headlines|ultime notizie|in evidenza|primo piano/.test(e.title+" "+e.text.slice(0,400)))||e.cards>=4&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3}var o=document.createElement("div");if(o.innerHTML=document.body.innerHTML,n(r(o)))return!0;var i=document.createElement("div");return i.innerHTML=e&&e.html?e.html:document.body.innerHTML,n(r(i))}(y)||!Ft()&&Ot()||D||(y=qt(b)),"article"!==y.contentType||y.docsLike||y.legalProvision||D||!function(e){if(!e||"article"!==e.contentType||Ot())return!1;if(!It())return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=r.querySelectorAll("p").length,i=Array.prototype.filter.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=180}).length,a=t(e.byline||""),l=t(e.publishedTime||""),s=document.querySelector("main h1, [role='main'] h1, h1"),c=t([document.title,s&&s.textContent].join(" ")).toLowerCase();return!(l||a||Mr(n.toLowerCase())||!/(search|results?|shop|browse|categor|catalog|keyword|wholesale|products?|collections?|marketplace)/.test(c)||i>=4&&n.length>=1200||!(n.length<2400||o<=4))}(y)||(y=Nt(y)),"list"===y.contentType&&w("q")&&et(b)){var W=rt(b);W&&(y=W)}var Z,V,G=(Z=y.html,(V=document.createElement("div")).innerHTML=Z,hi(V),V.innerHTML);y.title&&(y.title=t(y.title.replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")));var K=Ei(y.markdown||Uo(G||y.html)),J=t(y.textContent||""),X=t(K);!X&&J.length>40&&(K=Ei(Uo(G)||J)),X=t(K),"list"===y.contentType&&function(e){if(t(e=String(e||"")).length<700||!/^\|\s*[-: ]+\|/m.test(e))return!1;if((e.match(/^\s*- \[/gm)||[]).length>=3)return!1;var r=e.split(/\n{2,}/).filter(function(e){var r=e.trim();return!(!r||/^\|/.test(r)||/^#/.test(r))&&t(r).length>=80&&/[.!?)]$/.test(t(r))}).length,n=(e.match(/^\|/gm)||[]).length;return(e.match(/^#{1,3}\s+/gm)||[]).length>=1&&r>=2&&n>=4&&n<=40}(K)&&(y.contentType="article"),"article"===y.contentType&&!y.readerMode&&y.html&&y.html.length>5e4&&J.length>=1200&&X.length<.2*J.length&&(K=Ei(J));var Y=t((y.title||b.title||"").replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,""));if("article"===y.contentType&&Y&&t(K)){for(var Q=K.split("\n"),ee=-1,te=Y.toLowerCase(),re=0;re<Math.min(Q.length,12);re+=1){var ne=t(Q[re]).replace(/^#+\s*/,"").replace(/[`*_]/g,"");if(ne&&t(ne).toLowerCase()===te){ee=re;break}}if(ee<0)for(var oe=0;oe<Math.min(Q.length,12);oe+=1){var ie=t(Q[oe]).match(/^(#+)\s+(.*)/);if(ie&&"#"===ie[1]){var ae=t(ie[2]).replace(/[`*_]/g,"");if(0===ae.toLowerCase().indexOf(te)&&ae.length>Y.length+5){var le=ae.substring(Y.length).trim();Q[oe]="# "+Y,le&&Q.splice(oe+1,0,"",le),K=Q.join("\n"),ee=oe;break}}}if(ee>0){var se=Q.slice(0,ee);K="# "+Y+"\n\n"+(se.filter(function(e){return t(e)}).some(function(e){return!/^!\[[^\]]*\]\([^)]*\)$/.test(t(e))})?se:[]).concat(Q.slice(ee+1)).join("\n").trim()}else Pe(K,Y)||(K="# "+Y+"\n\n"+K)}K=Ei(K),"article"===y.contentType&&function(e,r){if(!e||"article"!==e.contentType||Ot())return!1;var n=(location.pathname||"").toLowerCase(),o=(location.search||"").toLowerCase();if(!/\/(?:search|results?)(?:\.html?)?$/i.test(n)&&!/(?:^|[?&])(?:q|query|search|searchtext|keyword|k|text)=/.test(o))return!1;var i=document.createElement("div");i.innerHTML=e&&e.html||document.body.innerHTML;var a=t([i.textContent||"",r||"",document.title||""].join(" ")).replace(/[*_`]+/g,""),l=/\bresults?\s*\d+\s*[-–]\s*\d+\s*(?:of|sur|von|de)\s*\d+\b/i.test(a)||/\b\d+\s+results?\b/i.test(a),s=Array.prototype.filter.call(i.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<_t(n)||n.length>280||Ut(n,r))&&/\/(?:legal-content|eli|LexUriServ|resource|document|doc|case-law|summary)\b|[?&](?:uri|celex|qid|docid)=/i.test(r)}).length,c=i.querySelectorAll("[class*='result' i], [id*='result' i], article, li, tr").length,u=(String(r||"").match(/^\s*#{1,4}\s+\[[^\]]{8,280}\]\(/gm)||[]).length;return l&&(s>=3||u>=3)&&(c>=3||u>=3)}(y,K)&&(y=Nt(y)),"article"!==y.contentType||y.hostAware||y.docsLike||y.legalProvision||!zt(K,y)||(y=Nt(y));var ce=function(e){var t=e||"";if(t.length<400)return t;var r=t.slice(0,5e3),n=/(?:presid[eê]ncia|casa civil|subchefia|official gazette|government|ministry|department|secretariat|texto compilado|compiled text|\|\s*---\s*\|)/i.test(r),o=/(?:Home\s*\]\s*\[\s*Databases|Multidatabase Search|World Law|DONATE|depends on users like you|You are here:|New search|Buy [A-Z]+ report|Cite as:)/i.test(r)&&/\b(?:judg(?:e)?ment|opinion(?:s)? of the lords|court|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(r);if(!n&&!o)return t;if(o){var i=t.match(/^#\s+[^\n]+\n+/),a=r.search(/\n(?:#{1,3}\s+[^\n]*(?:UKHL|UKSC|EWCA|EWHC|UKPC|UKUT|UKFTT|U\.S\.|\bAC\b|\bWLR\b|All\s+ER)\s+\d+[^\n]*|\*\*(?:HOUSE OF LORDS|SUPREME COURT|COURT OF APPEAL|HIGH COURT|OPINIONS? OF THE LORDS)[^\n]*\*\*)/i);if(i&&a>i[0].length&&a<4500)return(i[0].trim()+"\n\n"+t.slice(a).trim()).trim()}var l=r.match(/(?:\*\*)?\s*(?:PRE[ÂA]MBULO|PREAMBLE)\s*(?:\*\*)?/i);if(l&&l.index<3e3)return t.slice(l.index).trim();var s=Ze({text:r}).bodyStartMatch;return s&&s.index<3e3?t.slice(s.index).trim():t}(K);if(ce!==K&&t(ce).length>=5e3&&(y.contentType="article"),Bt(null,K=ce)&&"list"===y.contentType&&(y.contentType="article"),"list"===y.contentType&&function(e){if(!e||2!==e.length)return!1;var t=e[0]||"",r=e[1]||"";return!/^(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|forums?|boards?|community|discussions?|threads)$/.test(t)&&r.length>=6&&/[a-z]/i.test(r)&&/\d/.test(r)&&/^[a-z0-9_-]+$/.test(r)}((location.pathname||"").toLowerCase().split("/").filter(Boolean))){var ue=K.split("\n").map(function(e){return t(e).replace(/^#+\s*/,"")}).filter(Boolean)[0]||"";ue.length>=100&&!/^[-*]\s+\[/.test(ue)&&(y.contentType="article")}var de=Gr(b,y,K,A,_),me=t(K);vr(Y||b.title,me,{maxTextLength:1800,checkStructured:!0})&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial"),vr(Y||b.title,me,{maxTextLength:900})&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial");var pe=t([Y,b.title,b.siteName,location.hostname,location.pathname,K].join(" "));vr(Y||b.title,pe,{maxTextLength:2e3})&&/\b(court|courts|case law|caselaw|legal|law|opinion|citation)\b/i.test(pe)&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial"),Pi(y,de,"not_found_interstitial"),Pi(y,de,"consent_interstitial",500,K),Pi(y,de,"auth_or_login_interstitial",1200,K),t(K).length<1200&&/\b(?:service|site|product|platform|application|app)\b/i.test(pe)&&/\b(?:no longer available|has been retired|have been retired|is retired|was retired|shutdown|shut down|sunset|discontinued)\b/i.test(pe)&&-1===de.indexOf("access_error_interstitial")&&de.push("access_error_interstitial"),t(K).length<10&&-1===de.indexOf("empty_extraction")&&de.push("empty_extraction"),t(K).length<140&&/copyright\b.*\ball rights reserved\b/i.test(t(K))&&-1===de.indexOf("empty_extraction")&&de.push("empty_extraction"),t(K).length<500&&/(?:^|:\s*)error$/i.test(Y||b.title||"")&&-1===de.indexOf("access_error_interstitial")&&de.push("access_error_interstitial");var he=t(A||"").length,fe=t(K||"").length,ge=he>0?Math.round(fe/he*100)/100:1,ye=Vr(b,y,K),be=null;return Hr()&&(be=-1!==de.indexOf("subscription_interstitial")?"full_block":"detected"),{title:Y||t(b.title),byline:Li(y.byline||b.byline),excerpt:y.excerpt||b.excerpt,siteName:y.siteName||b.siteName,publishedTime:y.publishedTime||b.publishedTime,canonicalUrl:b.canonicalUrl,language:b.language,html:y.html,markdown:K,readerMode:y.readerMode,contentType:y.contentType||"article",legalProvision:!!y.legalProvision,hostAware:!!y.hostAware,statusPage:!!y.statusPage,suspect:de.length>0,warnings:de,contentCompletenessRatio:ge,contentFormat:ye,paywallState:be,textContent:y.textContent,url:location.href}}}}(window);
|
|
1
|
+
!function(e){function t(e){return"string"!=typeof e&&(e=null==e?"":String(e)),e.replace(/\s+/g," ").trim()}function r(e){try{return decodeURIComponent(e)}catch(t){return e}}function n(e){return t(e&&e.textContent).length}function o(e){if(!e)return null;try{return new URL(e,document.baseURI).href}catch(t){return e}}function i(e){return document.body&&document.body.innerText||e||""}function a(e){return t(String(e||"").split("/").pop().replace(/[_-]+/g," "))}function l(e){var r=t(e||"").toLowerCase();if(!r)return null;var n=r.split(",")[0].replace(/_/g,"-").match(/^[a-z]{2,3}(?=-|$)/);if(!n)return null;var o=n[0];return 2===(o={eng:"en",spa:"es",hin:"hi",fra:"fr",fre:"fr",deu:"de",ger:"de",por:"pt",zho:"zh",chi:"zh"}[o]||o).length?o:null}function s(){return l(document.documentElement&&document.documentElement.getAttribute("lang"))||l(L("Content-Language","http-equiv"))||l(L("og:locale","property"))||function(){var e=t(document.body&&document.body.innerText||"");if(e.length<80)return null;for(var r=e.replace(/\s/g,""),n=[["hi",/[\u0900-\u097F]/g],["ar",/[\u0600-\u06FF]/g],["zh",/[\u4E00-\u9FFF]/g],["ja",/[\u3040-\u30FF]/g],["ko",/[\uAC00-\uD7AF]/g],["el",/[\u0370-\u03FF]/g],["ru",/[\u0400-\u04FF]/g]],o=0;o<n.length;o++){var i=r.match(n[o][1])||[];if(i.length>=20&&i.length/r.length>=.25)return n[o][0]}var a=e.toLowerCase().match(/[a-zÀ-ž]+/g)||[];if(a.length<30)return null;var l={en:/^(?:the|and|that|for|with|this|from|are|was|were|have|has|not|but|their|about|more|will|would|which|when)$/,es:/^(?:el|la|los|las|un|una|del|de|al|a|en|y|por|con|para|que|más|son|sus|su|se|pero|como|esta|todo|nos|hay|fue|muy|han|sin|sobre|tiene)$/,fr:/^(?:les|des|une|est|dans|pour|sur|par|pas|qui|que|avec|son|sont|plus|ses|mais|cette|ont|tout|nous|vous|aux|leur)$/,de:/^(?:und|die|der|das|ist|von|zu|mit|den|ein|eine|für|auf|als|auch|nicht|sich|werden|nach|bei|aus|wie|oder|noch|nur|dem|des|über)$/,pt:/^(?:dos|das|uma|por|com|para|que|mais|são|mas|como|esta|seu|sua|tem|nos|foi|pode|muito|seus|sobre|também)$/,it:/^(?:gli|una|del|per|con|che|sono|più|dalla|della|delle|dei|anche|come|questa|tutto|suo|sua|suoi|nelle|alla)$/,nl:/^(?:een|het|van|zijn|met|dat|voor|maar|niet|ook|als|nog|wel|hun|uit|bij|kan|zou|meer|alle|dit|wordt)$/},s={};Object.keys(l).forEach(function(e){s[e]=0}),a.forEach(function(e){Object.keys(l).forEach(function(t){l[t].test(e)&&(s[t]+=1)})});var c=Object.keys(s).sort(function(e,t){return s[t]-s[e]})[0],u=Object.keys(s).sort(function(e,t){return s[t]-s[e]})[1];return c&&s[c]>=4&&s[c]>=1.8*(s[u]||0)?c:null}()}function c(e,r){var n=t(u(["meta[name='generator']"],"content")||""),o=t(u(["meta[name='application-name']","meta[property='og:site_name']"],"content")||""),i=(Array.isArray(r)?r:r?[r]:[]).map(function(t){return"function"==typeof t?t(e,n,o):u([t])});return 0===i.length&&(i=[e&&e.title,e&&e.siteName,n,o,document.title]),{generator:n,appName:o,signature:t(i.join(" "))}}function u(e,r){for(var n=0;n<e.length;n+=1){var o=document.querySelector(e[n]);if(o){var i=r?o.getAttribute(r):o.textContent;if(i=t(i))return i}}return null}function d(){var e=[];return["article[itemtype*='NewsArticle']","article[itemtype*='Article']","article","main article","main"].forEach(function(t){document.querySelectorAll(t).forEach(function(t){-1===e.indexOf(t)&&n(t)>=80&&e.push(t)})}),e.length?e:[document]}function m(e,r,n){for(var o=0;o<e.length;o+=1)for(var i=0;i<r.length;i+=1){var a=e[o].querySelector(r[i]);if(a&&!a.closest("nav, footer, aside")){var l=n?a.getAttribute(n):a.textContent;if(l=t(l))return l}}return null}function p(){return t(m(d(),["[rel='author']","[itemprop='author'] [itemprop='name']","[itemprop='author']","[class*='byline' i]","[class*='author' i]","[class*='autor' i]","[class*='auteur' i]","[class*='verfasser' i]","[class*='redakteur' i]","[class*='penulis' i]","[class*='tac-gia' i]","[class*='tacgia' i]","[class*='writer' i]","[class*='reporter' i]","[data-testid*='author' i]"])||"").replace(/^(?:by|por|par|von|di|da|door|av|af|de|autor(?:a)?|auteur|redactie|redacción|redacao|redação|penulis|oleh|tác giả|tac gia|بقلم|כתבת?|מאת)\s*:?\s+/i,"")||null}function h(){return m(d(),["time[datetime]"],"datetime")||m(d(),["[itemprop='datePublished']","[itemprop='dateModified']","[class*='pubdate' i]","[class*='published-date' i]","[class*='published_at' i]","[class*='published-at' i]","[class*='publication-date' i]","[class*='fecha' i]","[class*='data-publicacao' i]","[class*='data-publicação' i]","[class*='datum' i]","[class*='tarih' i]","[class*='date' i]","[class*='time' i]","[class*='publish' i]","[class*='posted' i]","[data-testid*='date' i]","time"])}function f(e,r){var n={},o=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){if(!(r&&o.length>=r)){var i=t(e.textContent);i&&!n[i]&&(n[i]=!0,o.push(i))}})}),o}function g(e){return e?Array.isArray(e)?e:[e]:[]}function y(e,t){e&&(Array.isArray(e)?e.forEach(function(e){y(e,t)}):"object"==typeof e&&(e["@graph"]&&y(e["@graph"],t),t.push(e)))}function b(){var e=[];return document.querySelectorAll('script[type="application/ld+json"]').forEach(function(r){var n=r.textContent||r.innerText||"";if(t(n))try{y(JSON.parse(n),e)}catch(e){}}),e}function v(e){return g(e&&e["@type"]).map(function(e){return String(e)})}function w(e){var t=g(e);return b().find(function(e){return v(e).some(function(e){return-1!==t.indexOf(e)})})||null}function x(e){return e?"string"==typeof e?t(e):Array.isArray(e)?x(e[0]):t(e.name||e.headline||e.alternateName||""):null}function S(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(function(e){return S(e)||""}).join(" ")):t(e.text||e.description||e.name||""):null}function k(e){var r="string"==typeof e?e:S(e);if(!t(r))return null;if(/<[a-z][\s\S]*>/i.test(r)){var n=document.createElement("div");return n.innerHTML=r,It(Qt(n.innerHTML))}return It(r)}function A(e){if(!e)return null;if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(A).filter(Boolean).join("; "));if("object"!=typeof e)return null;var r=e.address||e;return"string"==typeof r?t(r):t([r.streetAddress,r.addressLocality,r.addressRegion,r.postalCode,r.addressCountry&&S(r.addressCountry)].filter(Boolean).join(", "))||S(e)}function C(e){return e.map(function(e){var t=e.url?"- ["+e.text+"]("+e.url+")":"- "+e.text,r=e.card,n=[e.category,e.summary,q(r,"[rel='author'], [itemprop='author'], [class*='author' i], [data-author]")||e.author,q(r,"time, [datetime], [class*='timestamp' i], [class*='date' i]")||e.time,q(r,"[class*='score' i], [data-score], [data-karma]")||e.score,q(r,".reply, .replies, .comment, .comments, [class~='reply'], [class~='replies'], [class~='comment'], [class~='comments'], [class*='reply'], [class*='replie'], [class*='comment'], [data-reply], [data-replies], [data-comment], [data-comments]")||e.replyCount,q(r,"[class*='community' i], [class*='subreddit' i], [data-community]")||e.community,e.image,e.caption].filter(Boolean).filter(function(e,t,r){return r.indexOf(e)===t}).join(" - ");return n?t+=" - "+n:e.detail&&(t+=" - "+e.detail),t}).join("\n")}function q(e,r){if(!e||!e.querySelector)return"";var n=no(e,r)[0];if(!n)return"";var o=t(n.getAttribute("datetime")||n.getAttribute("content")||n.textContent||"");return o?/^(comment|comments|reply|replies|score|points|likes?)$/i.test(o)?"":o:""}function T(e){var r=[],n=[];e.title&&r.push("# "+e.title),e.byline&&n.push("- Author: "+e.byline),e.publishedTime&&n.push("- Published: "+e.publishedTime),g(e.details).forEach(function(e){e&&n.push("- "+e)}),n.length&&r.push(n.join("\n")),e.description&&r.push(e.description),e.highlights&&e.highlights.length&&r.push(e.highlights.map(function(e){return"- "+e}).join("\n"));var o=r.filter(Boolean).join("\n\n").trim();return{title:e.title,byline:e.byline||null,excerpt:e.description||null,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:"",markdown:o,textContent:t(o),docsLike:!!e.docsLike,hostAware:!!e.hostAware,readerMode:!1,contentType:e.contentType||"article",socialKind:e.socialKind||null,platform:e.platform||null,handle:e.handle||null,replyCount:void 0===e.replyCount?null:e.replyCount,community:e.community||null,score:void 0===e.score?null:e.score}}function _(e){return new URLSearchParams(location.search).get(e)}function E(e){var t=null!=e.markdown?e.markdown:C(e.items||[]);return{title:e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:e.html||"",textContent:null!=e.textContent?e.textContent:t,markdown:t,readerMode:!1,contentType:"list"}}function j(e,t){var r=(t=t||{}).items,n=null!=t.markdown?t.markdown:C(r||[]),o={title:t.title||e&&e.title||document.title,byline:null,excerpt:null!=t.excerpt?t.excerpt:r[0]?r[0].text:e&&e.excerpt,siteName:t.siteName||e&&e.siteName||location.hostname,publishedTime:t.publishedTime||e&&e.publishedTime,html:t.html||"",textContent:null!=t.textContent?t.textContent:n,markdown:n,readerMode:!1,contentType:t.contentType||"list"};return r&&(o.itemCount=r.length),t.hostAware&&(o.hostAware=!0),t.portalRootEvidence&&(o.portalRootEvidence=t.portalRootEvidence),t.statusPage&&(o.statusPage=!0),o}function L(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function $(e){return e.join("|")}function P(e,t){return new RegExp("^(?:"+$(e)+")$",t||"i")}function N(e,t,r){return new RegExp("^\\s*(?:"+$(e)+")"+(t||"")+"\\s*$",r||"gmi")}function z(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}var M="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",R=/(cookie|privacy|consent|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|隐私|принять|ኩኪ)/i,B=[/cookie settings|cookie preferences|manage cookie preferences|manage cookies|accept all cookies|reject optional cookies|we use cookies|this website uses cookies|by accepting cookies|allow the use of cookies|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners(?: \(vendors\))?|cookies from other companies|essential cookies|personalize advertising|use cookies and similar technologies|before you continue|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|browsing history|device identifiers|cookie declaration last updated|consent id|change your consent|your current state/i,/configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais/i,/informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|dati personali|impostazioni dei cookie|preferenze cookie|accetta tutto/i,/pliki cookie|ustawienia prywatności|polityka prywatności i cookies/i,/datenschutz|cookie-einstellungen/i,/données personnelles|paramètres des cookies/i,/datos personales|configuración de cookies/i,/クッキー|Cookieプリファレンス|Cookie設定|同意設定|すべて受け入れる|すべて許可/i,/쿠키|동의|모두 허용/i,/全部接受|接受全部|隐私设置/i,/файлы cookie|настройки cookie|принять все/i,/we gebruiken cookies/i,/о вашој приватности|пристанак|колачић|колачиће|подешавања приватности/i,/የእርስዎ ግላዊነት|ግላዊነት|ኩኪ|ኩኪዎች|የኩኪ ቅንብሮች/i,/pro pokračování vyberte|technické cookies|jakou formou vám máme zobrazovat obsah/i],H=/cookie|cookies|preferences|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners|accept all|reject optional|essential cookies|personalize advertising|personal data|browsing history|device identifiers|personalized ads|trusted third party|wish to store|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|接受|隐私|принять|cookie設定|ግላዊነት|ኩኪ|pokračování|technické cookies/g,F=/copyright|all rights reserved|privacy policy|cookie policy|terms of use|terms and conditions|impressum|link utili|contatti|chi siamo|newsletter|advertising|pubblicit[àa]|manage preferences|cookie settings/g,O=["video player is loading.","videosoitin","play video","playback speed","fullscreen","mute","unmute"],I=[/^playback speed \d/,/^this is a modal window\./,/^beginning of dialog window\./,/^end of dialog window\./,/^current time\s+\d/,/^remaining time\s/,/^duration\s/,/^loaded:\s*\d/,/^progress:\s*\d/],D=/^(play|pause|resume|volume\s+\d+%|rewind\s+\d+\s+seconds|forward\s+\d+\s+seconds|skip\s+(?:back|forward)|chromecast|closed captions|captions|settings|fullscreen|full screen|mute|unmute|next up|up next|current time\s+\d|remaining time\s+|duration\s+|learn more)$/,U=/^\d+:\d+$/,W=/^(log in|login|sign in|register|create account|get disney\+|accept all|reject all|confirm my choices|manage preferences|save preferences|allow all|more details|cookies details)$/i,Z=[/^(nearby entries|browse nearby words|cited by|related content|more like this|people also viewed|recommended articles?|translation|numerology|citation|word of the day|quiz|discover more|related posts|latest news|trending now|popular posts|most read|you might also like|you may also like|read more|related articles?|leave a reply|cancel reply|about the authors?|#\s*tags|comments?\s*\d*|also read|further reading|see also|more stories|don't miss|privacy preference center|your privacy settings|manage privacy preferences|manage consent preferences|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|list of partners(?: \(vendors\))?|polecane|przeczytaj (też|również)|podobne (artykuły|wpisy)|leia (também|mais)|artigos? relacionados?|também pode gostar|ähnliche (beiträge|artikel)|das könnte sie auch interessieren|weiterlesen|mehr zum thema|artículos? relacionados?|también te puede interesar|te puede interesar|lee también|noticias relacionadas|articles? (connexes?|similaires?|associée?s?)|à lire aussi|sur le même (sujet|thème)|vous aimerez aussi)$/i,/^more from /i,/^popular in /i,/^browse definitions\.net$/i,/^(الأكثر قراءة|الأكثر مشاهدة|الأكثر تعليقاً|مقالات ذات صلة|اقرأ أيضاً|أخبار ذات صلة|مواضيع ذات صلة|موضوعات متعلقة|الأكثر تداولاً|قد يهمك|المزيد|تابع القراءة|הנקראים ביותר|כתבות קשורות|פופולרי|נצפה הכי הרבה|הכי נקראים|مزید پڑھیں|سب سے زیادہ پڑھی جانے والی|متعلقہ خبریں|بیشتر بخوانید|محبوبترین|پربازدیدترین)$/i,/^(en çok okunan|ilgili haberler|benzer haberler|popüler haberler|çok okunanlar|ilgili içerikler)$/i,/^(บทความที่เกี่ยวข้อง|อ่านเพิ่มเติม|ข่าวที่เกี่ยวข้อง|ข่าวยอดนิยม|บทความยอดนิยม|อ่านต่อ|เนื้อหาที่เกี่ยวข้อง|แนะนำสำหรับคุณ|ข่าวล่าสุด)$/i,/^(bài viết liên quan|tin liên quan|đọc thêm|xem thêm|tin tức liên quan|bài viết nổi bật|có thể bạn quan tâm|tin nổi bật|bài viết mới nhất|đọc nhiều nhất)$/i,/^(σχετικά άρθρα|διαβάστε (επίσης|ακόμη|περισσότερα)|δημοφιλή άρθρα|περισσότερα νέα|τελευταία νέα|δείτε επίσης|μπορεί να σας ενδιαφέρει|σχετικά νέα|τα πιο δημοφιλή)$/i,/^(схожі (статті|матеріали|новини)|читайте (також|ще)|також читайте|популярні (статті|новини)|останні новини|найпопулярніше|вас (також )?може зацікавити|рекомендуємо|дивіться також)$/i,/^(baca juga|artikel terkait|berita terkait|berita populer|artikel populer|terpopuler|baca selengkapnya|lihat juga|rekomendasi|berita lainnya|pilihan editor)$/i,/^(lees ook|gerelateerde (artikelen|berichten)|ook interessant|meer (lezen|artikelen|nieuws)|populair(st)?e? artikelen|aanbevolen|bekijk ook|misschien vind je dit ook leuk|dit vind je misschien ook interessant|meest gelezen)$/i,/^(povezani (članci|tekstovi)|pročitajte (još|i|također)|slični (članci|tekstovi)|popularno|najčitanije|preporučujemo|pogledajte (još|i|takođe)|više vesti|повезани (чланци|текстови)|прочитајте (још|и|такође)|слични (чланци|текстови)|популарно|најчитаније|препоручујемо|погледајте (још|и|такође)|више вести)$/i,/^(baca juga|artikel berkaitan|berita berkaitan|berita popular|artikel popular|terpopular|baca lagi|lihat juga|cadangan|berita lain|pilihan editor|paling dibaca|trending)$/i,/^(leia (também|mais)|artigos? relacionados?|também pode gostar|mais (lidos?|populares?|notícias)|notícias relacionadas|veja (também|mais)|confira também|continue lendo|recomendado|sugestões?|últimas notícias)$/i,/^(související (články|zprávy)|čtěte (také|dále|více)|mohlo by vás zajímat|doporučujeme|nejčtenější|nejnovější zprávy|další články|přečtěte si (také|též)|více článků)$/i,/^(relaterade (artiklar|nyheter)|läs (också|mer|vidare|även)|mest lästa|populärast|senaste (nyheterna|artiklarna)|fler (artiklar|nyheter)|rekommenderat|du kanske också gillar)$/i,/^(relaterede (artikler|nyheder)|læs (også|mere|videre)|mest læste|populært|seneste (nyheder|artikler)|flere (artikler|nyheder)|anbefalet|det kunne også interessere dig)$/i,/^(kaugnay na (mga )?artikulo|basahin (din|rin)|mga kaugnay na balita|pinaka-?popular|pinakabagong balita|iba pang mga artikulo|maaari mo ring gustuhin)$/i,/^(ተዛማጅ ዜናዎች|ተጨማሪ ያንብቡ|ተመልከቱ|ተጨማሪ ዜና|በጣም የተነበቡ|ቀጣይ ዜና)$/i,/^(relaterte (artikler|saker|nyheter)|les (også|mer|videre)|mest lest[e]?|populær[te]?|siste nytt|flere (artikler|saker|nyheter)|anbefalt|aktive debatter|se flere meldinger|du vil kanskje også like)$/i,/^(articles? relaciona(ts?|des?)|notícies relacionades|llegeix (també|més)|més (llegits?|populars?|notícies)|últimes notícies|també et pot interessar|contingut relacionat|mostra'n més|temes relacionats)$/i,/^(დაკავშირებული (სტატიები|ამბები|სიახლეები)|წაიკითხეთ (ასევე|მეტი)|ყველაზე (წაკითხვადი|პოპულარული)|ბოლო ამბები|მეტი (სტატიები|ამბები)|რეკომენდებული|გაიგეთ მეტი)$/i,/^(සම්බන්ධිත (පුවත්|ලිපි)|තවත් කියවන්න|වැඩි විස්තර|උණුසුම් පුවත්|නවතම පුවත්|ජනප්රිය (පුවත්|ලිපි)|වැඩි විස්තර කියවන්න)$/i,/^(əlaqəli (xəbərlər|məqalələr)|daha çox oxu(?:yun)?|ən çox oxunan(?:lar)?|son xəbərlər|digər (xəbərlər|məqalələr)|tövsiyə olunan|oxşar xəbərlər)$/i,/^(powiązane (artykuły|wpisy|tematy|wiadomości)|najczęściej czytane|najpopularniejsze|najnowsze (wiadomości|artykuły)|więcej (artykułów|wpisów|wiadomości)|może cię (też )?zainteresować|zobacz (też|również|także)|czytaj (też|również|także)|warto przeczytać|to też warto przeczytać|to może cię zainteresować|ostatnie (wpisy|artykuły)|popularne (wpisy|artykuły|tematy)|komentarze\s*\d*|dodaj komentarz|zostaw komentarz|napisz komentarz)$/i];function G(e,t){for(var r=0;r<t.length;r+=1)if(t[r].test(e))return!0;return!1}function K(e,r){for(var n=0;n<r.length;n+=1){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function V(){if(!document.body)return"";var e=t(document.body.innerText||"");if(e&&(!R.test(e)||!J(e)))return e;var r=$e(document.body,document);return r.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),ke(r),t(r.textContent)}function J(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(!!G(r,B)&&(r.match(H)||[]).length>=2)}function X(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(r.match(F)||[]).length>=2}function Y(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function Q(e){var r=t(e||"").toLowerCase();return!(!r||r.length>120)&&(D.test(r)||U.test(r))}function ee(e){return G(e||"",Z)}function te(e){if(!e)return"";try{var t=new URL(e,location.href),r=t.origin+t.pathname+t.search;return(r=r.replace(/([?&])(?:utm_[^&=]+|fbclid|gclid|dclid|msclkid|mc_cid|mc_eid)=[^&]*&?/gi,"$1")).replace("?&","?").replace(/[?&]$/,"")}catch(t){return e.split("#")[0]}}function re(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(e)}function ne(e,r){return r=r||"",!(e=t(e||""))||(e.length>180||(!!/^(home|menu|search|sign in|log in|login|register|create account|my account|account|subscribe|newsletter|advertise|contact|about|privacy|terms|cookies?|careers?|help|support|learn more|read more|view all|see all|show more|skip to content|open menu|close|language|english|français|deutsch|español|italiano)$/i.test(e)||(!!(/^(buy|sell|rent|sold|agents?|homes?|condos?|commercial|mortgages?|calculators?|guides?|news|travel|trains?|buses?|flights?|hotels?|cars?|packages?|deals?|offers?|destinations?|routes?|stations?|tickets?|timetables?)$/i.test(e)&&e.length<18)||!!/\b(?:privacy|terms|cookie|login|signin|sign-in|register|account|newsletter|subscribe|advertise|contact|about)\b/i.test(r))))}function oe(e){var t=0;return e.querySelectorAll("section, [role='region']").forEach(function(e){for(var r=e.parentElement;r;){if(r.matches&&r.matches("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']"))return;r=r.parentElement}jr(e)||jr(e.parentElement)||e.querySelector("h1, h2, h3, h4")&&e.querySelector("article a[href], li a[href], [class*='card'] a[href], [class*='story'] a[href]")&&(t+=1)}),t>=2}var ie,ae="nav, aside, footer, script, style, noscript, template",le=ae+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",se=ae+", .breadcrumb, .site-header, .site-footer, .region-sidebar",ce="[class*='related-posts'], [class*='related_posts'], [id*='related-posts'], [id*='related_posts'], .yarpp-related, [class*='recommended-posts'], [class*='more-stories'], [class*='also-like'], [class*='you-may-also'], .jp-relatedposts, [class*='more-from'], [class*='more_from'], [class*='latest-news'], [class*='latest_news'], [class*='trending'], [class*='popular-posts'], [class*='popular_posts'], [class*='related-articles'], [class*='related_articles'], [id*='related-articles'], [id*='related_articles'], [class*='related-links'], [class*='related_links'], [class*='further-reading'], [class*='further_reading']",ue=P(["report this article","\\+?\\s*follow","sign in","sign up","join now","show more","show less","log in","create account","create an account","subscribe to read","inloggen","iniciar sessão","entrar","prijavi se","пријави се","log masuk","maak een account","criar conta","registreer","cadastre-se","přihlásit se","logga in","log ind","logg inn","inicia sessió","iniciar sessió","giriş yap","შესვლა","පිවිසෙන්න","daxil ol","zaloguj się","zarejestruj się","zaloguj","załóż konto","moje konto","dołącz do nas","zobacz więcej","czytaj więcej","czytaj dalej","pokaż więcej","zwiń","rozwiń"],"i"),de=(ie="i",new RegExp("^(?:"+$(["skip ad","continue watching","visit advertiser website","go to page","advertisement \\d+\\/\\d+","advertisement","close ad","skip this ad","skip in \\d+","ad \\d+ of \\d+","sponsored","sponsor","reklama","materiał sponsorowany","materiał promocyjny","materiał partnerski","autopromocja","ad$","Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"])+")",ie||"i")),me=/^(like|dislike|share|save|bookmark|pin it|tweet|follow us|subscribe|subscribe now|sign up|view all|show more comments?|load more|report|flag|print|copy link|copy url|edit|delete|reply|retweet|repost|reblog|thanks for your feedback!?)$/,pe=P(["join (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","follow (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","join (?:our )?(?:telegram|whatsapp|viber) (?:group|channel)","download (?:our|the) app","get (?:our|the) app","install (?:our|the) app","डाउनलोड करें","ऐप डाउनलोड","टेलीग्राम","व्हाट्सएप ग्रुप","হোয়াটসঅ্যাপ","টেলিগ্রাম","(?:become|be) a (?:member|subscriber|patron)","subscribe (?:now|today|here)","sign up (?:for|to) (?:our )?(?:newsletter|updates|emails?)","get started for free","サブスクライブ","구독하기","підписуйтесь на наш","приєднуйтесь до нас","підписатися на телеграм","підписатися на канал","ακολουθήστε μας","εγγραφείτε","ikuti kami di","gabung (?:di )?(?:telegram|whatsapp)","berlangganan","ติดตาม(?:เรา)?(?:ที่|ใน|ได้ที่)","theo dõi chúng tôi","volg ons","schrijf je in","abonneer","meld je aan","пратите нас","пријавите се","претплатите се","pratite nas","prijavite se","pretplatite se","ikut(?:i)? kami","langgan","inscreva-se","siga-nos","assine","sledujte nás","odebírejte","přihlaste se k odběru","připojte se","följ oss","prenumerera","registrera dig","følg os","abonner","tilmeld dig","følg oss","abonner på","meld deg på","registrer deg","subscriu-te","fes-te subscriptor","fes-te'n subscriptor","გამოიწერეთ","შემოგვიერთდით","მოგვყევით","අපව අනුගමනය කරන්න","bizə qoşulun","abunə olun","bizi izləyin","subskrybuj","zasubskrybuj","zapisz się na newsletter","dołącz do nas","obserwuj nas","śledź nas"],"i"),he="[class*='app-download'], [class*='app_download'], [class*='download-app'], [class*='download_app'], [class*='app-banner'], [class*='app_banner'], [class*='app-install'], [class*='app_install'], [class*='install-app'], [class*='install_app'], [class*='mobile-app'], [class*='mobile_app'], [class*='open-in-app'], [class*='open_in_app'], [class*='app-promo'], [class*='app_promo'], [class*='amp-banner'], [class*='amp_banner'], [class*='amp-promo'], [class*='amp_promo'], [class*='subscribe-cta'], [class*='subscribe_cta'], [class*='newsletter-signup'], [class*='newsletter_signup'], [class*='push-notification'], [class*='push_notification'], [class*='telegram-cta'], [class*='whatsapp-cta']",fe="[class*='share'], [class*='social'], [class*='rating'], [class*='vote'], [class*='like-button'], [class*='dislike'], [data-testid*='share'], [data-testid*='like'], [class*='ad-overlay'], [class*='ad_overlay'], [class*='video-ad'], [class*='adWrapper'], [class*='ad-wrapper'], [class*='ad-container'], [id*='ad-overlay'], [id*='ad_overlay'], [class*='announcement-bar'], [class*='global-alert'], [id*='announcement-bar']",ge="[class*='taboola'], [id*='taboola'], [class*='outbrain'], [id*='outbrain'], [data-widget-type*='taboola'], [data-widget-type*='outbrain'], [class*='promoted-content'], [class*='promoted_content'], [id*='promoted-content'], [class*='sponsored-content'], [class*='sponsored_content'], [class*='mgid'], [id*='mgid'], [class*='zergnet'], [id*='zergnet'], [class*='revcontent'], [id*='revcontent']",ye=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),be=new RegExp("\\b(save\\s+\\d+%|subscribe\\s+(?:now|today)|subscription|subscriber|sign\\s+up\\s+for|get\\s+started\\s+for\\s+free|limited\\s+time\\s+offer|annual\\s+subscriptions?|trusted\\s+destination\\s+for)\\b","i"),ve=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),we=P(["related\\s*(articles?|stories|news|posts|content|links)?","more\\s*(from|in|stories|articles?|news)","see\\s*also","you\\s*may\\s*(also\\s*)?like","recommended","trending","popular","latest\\s*news","other\\s*news","also\\s*read","read\\s*more\\s*:?","further\\s*reading","references","citations","metrics","altmetric","więcej\\s*(z\\s*tej\\s*kategorii|artykułów|wiadomości|na\\s*ten\\s*temat)","zobacz\\s*również","polecamy","czytaj\\s*również","inne\\s*wiadomości","повезано","погледајте","сродне\\s*вијести","слично","такође\\s*прочитајте","още\\s*от","виж\\s*също","свързани\\s*новини","más\\s*de","noticias\\s*relacionadas","ver\\s*también","plus\\s*de","à\\s*lire\\s*aussi","lire\\s*aussi","sur\\s*le\\s*même\\s*sujet","mehr\\s*aus","lesen\\s*sie\\s*auch","das\\s*könnte\\s*sie\\s*auch\\s*interessieren","altre\\s*notizie","leggi\\s*anche","ook\\s*interessant","lees\\s*ook","läs\\s*också","relateret","relaterte\\s*saker","les\\s*også","aiheeseen\\s*liittyvät","lue\\s*myös","ilgili\\s*haberler","daha\\s*fazla","saistītie","susijusios\\s*naujienos","поврзано","citește\\s*și","articole\\s*similare","також\\s*читайте","схожі\\s*новини","σχετικά\\s*νέα","διαβάστε\\s*επίσης","関連記事","関連ニュース","おすすめ","あわせて読みたい","続きを読む","更多相关新闻","相关新闻","相关阅读","延伸阅读","관련\\s*기사","함께\\s*읽기","اقرأ\\s*أيض[اً]ا","إقرأ\\s*أيض[اً]ا","مواضيع\\s*ذات\\s*صلة","أخبار\\s*ذات\\s*صلة","مطالب\\s*مرتبط","مطالب\\s*ذات\\s*صلة","مرتبط","עוד\\s*כתבות","כתבות\\s*נוספות","संबंधित\\s*(?:खबरें|लेख)","और\\s*पढ़ें","আরও\\s*পড়ুন","সম্পর্কিত\\s*খবর","อ่านเพิ่มเติม","ข่าวที่เกี่ยวข้อง","tin\\s*liên\\s*quan","đọc\\s*thêm","baca\\s*juga","berita\\s*terkait"],"i"),xe=P(["za ogled potrebujemo tvojo privolitev(?: za vstavljanje vsebin družbenih omrežij in tretjih ponudnikov\\.?)?","omogoči piškotke","cookie manager","your cookie preferences","got it!","let us know your cookie preferences","we value your privacy","manage choices","privacy settings","polityka prywatności i cookies","nie widzisz nawet do 30% treści dostępnych w serwisie","data preferences(?:\\s*[\\/|]\\s*|\\s+)manage your data","data preferences","manage your data","manage (?:privacy|cookie|consent|data) preferences","privacy preference center","your privacy settings","your privacy choices","veri tercihleri","nastavení souhlasu","souhlas s personalizací","เว็บไซต์นี้ใช้คุ้กกี้"],"i");function Se(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"");if(/(onetrust|ot-sdk|\bot-[\w-]*|cookiebot|cybot|cookiedeclaration|cookie-declaration|usercentrics|trustarc|didomi|quantcast|osano|cookieyes|cky-|sourcepoint|sp_message|privacy-center|privacy preference center|cookie information|cookie list|consent preferences)/.test(r)||"true"===e.getAttribute("data-nosnippet"))return!0;if(!n)return!1;var o=/(cookie|consent|privacy|gdpr|ccpa)/.test(r);if(o&&J(n))return!0;if(o&&n.length>5e3&&/(cookie|cookies|consent|privacy|gdpr|ccpa)/i.test(n.slice(0,2e3)))return!0;if((e.matches("[role='dialog'], [aria-modal='true'], dialog")||/position:\s*(fixed|sticky)/i.test(e.getAttribute("style")||""))&&J(n))return!0;if("undefined"!=typeof window&&e.ownerDocument&&e.ownerDocument.defaultView)try{var i=e.ownerDocument.defaultView.getComputedStyle(e);if(i&&/fixed|sticky/.test(i.position)&&J(n))return!0}catch(e){}return!!(J(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function ke(e){return e&&e.querySelectorAll?(e.querySelectorAll("[role='dialog'], [aria-modal='true'], dialog, [id*='cookie' i], [class*='cookie' i], [id*='consent' i], [class*='consent' i], [id*='privacy' i], [class*='privacy' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='gdpr' i], [class*='gdpr' i], [id*='ccpa' i], [class*='ccpa' i], [class*='CookieConsent' i], [id*='CookieConsent' i], [class*='CookieDeclaration' i], [id*='CookieDeclaration' i], [class*='cookiebar' i], [id*='cookiebar' i], [class*='cookie-banner' i], [id*='cookie-banner' i], [class*='cookie-notice' i], [id*='cookie-notice' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true'], .cc-banner, .cc-window, #CybotCookiebotDialog, .cky-consent-container, #usercentrics-root, .osano-cm-dialog").forEach(function(e){Se(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){Se(e)&&e.remove()}),e):e}function Ae(e){return e.querySelectorAll("img").forEach(function(e){var t=parseInt(e.getAttribute("width")||"",10),r=parseInt(e.getAttribute("height")||"",10),n=(e.getAttribute("src")||"").toLowerCase();t<=2&&r<=2||0===t||0===r?e.remove():(/\/(pixel|beacon|track|rt)\.(gif|png|jpg)|\/pixel\?|\/beacon\?|1x1\.|spacer\.|transparent\.|blank\.(gif|png)|\/tr\?|\.gif\?.*utm_|__utm\.gif|\/pixel\.php/i.test(n)&&e.remove(),/^data:image\/(svg\+xml|png|gif|jpeg);base64,/.test(n)&&n.length<300&&e.remove())}),e}function Ce(e){return e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||e.setAttribute("src",o(r))}),e}function qe(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();me.test(r)&&n(e)<60&&e.remove(),Q(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("a, button, div, p, span, li").forEach(function(e){var r=t(e.textContent).toLowerCase();n(e)>200||pe.test(r)&&e.remove()}),e.querySelectorAll(he).forEach(function(e){n(e)<300&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=(e.getAttribute("alt")||"").toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();/^close$/.test(t)&&/(close|cross|dismiss|x-icon)/i.test(r)&&e.remove()}),e.querySelectorAll(fe).forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll(ge).forEach(function(e){e.remove()}),e.querySelectorAll("[class*='comment-count'], [class*='comment_count'], [class*='comments-count'], [class*='commentCount'], [class*='komentari'], [data-type='comment-count']").forEach(function(e){n(e)<30&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/maps\.wikimedia\.org\/osm|\/osm-intl\/\d+\/|tile\.openstreetmap\.org|maps\.wikimedia\.org\/v4\/marker/i.test(t)&&e.remove()}),e.querySelectorAll("a, button, div, span").forEach(function(e){var r=t(e.textContent).toLowerCase(),o=(e.getAttribute("title")||"").toLowerCase();(/^(zoom in|zoom out|show in full screen|layers|leaflet|maplibre)$/.test(r)&&n(e)<40||/^(zoom in|zoom out)$/.test(o)&&n(e)<10)&&e.remove()}),e.querySelectorAll("[class*='leaflet-'], [class*='maplibre-'], [class*='map-container'], [class*='kartographer']").forEach(function(e){n(e)<200&&e.remove()}),e}function Te(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&we.test(r)&&e.parentElement){for(var n=[],o=e.nextElementSibling;o;){var i=o.tagName;if(/^H[1-4]$/.test(i)&&!we.test(t(o.textContent||"").trim()))break;n.push(o),o=o.nextElementSibling}var a=0,l=0;n.forEach(function(e){a+=(e.matches&&e.matches("a[href]")?1:0)+(e.querySelectorAll?e.querySelectorAll("a[href]").length:0),l+=t(e.textContent||"").length}),a>=2&&(l<1500||a>=4)&&(e.remove(),n.forEach(function(e){e.remove()}))}}),e.querySelectorAll("div, section, aside").forEach(function(e){if(e.closest("article, main, [role='main']")){var r=t(e.textContent||"").trim();if(r&&we.test(r.slice(0,120)))e.querySelectorAll("a[href]").length>=2&&r.length<5e3&&e.remove()}})}function _e(e){return e.querySelectorAll("[role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='complementary'], [role='banner'], [role='contentinfo'], [aria-label*='navigation' i], [aria-label*='menu' i], [aria-label*='breadcrumb' i], [aria-label*='sidebar' i]").forEach(function(e){e.remove()}),e.querySelectorAll("header").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");r>=4&&n.length<800&&e.remove()}),e.querySelectorAll("[class*='sidebar'], [class*='side-nav'], [class*='sidenav'], [class*='left-rail'], [class*='right-rail'], [class*='article-drawer'], [class*='toc-drawer'], [class*='table-of-contents'], [class*='mobile-menu'], [class*='mobile-nav'], [class*='hamburger-menu'], [class*='toc']").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");if(r>=3&&!e.querySelector("article, main, [role='main'], pre, blockquote, table"))e.remove();else if(r>=3&&n.length<1200){var o=n.split(/\s+/).length;o>0&&r/o>.3&&e.remove()}}),e.querySelectorAll("div, section, ul").forEach(function(e){if(!e.closest("article, main, [role='main']")||!e.matches("article *, main *, [role='main'] *")){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=r.split(/\s+/).length;n>=6&&o>0&&n/o>.5&&r.length<600&&!e.querySelector("article, main, [role='main'], p, h1, h2, h3, blockquote, pre, table")&&e.remove()}}),e}function Ee(e,t){if(t=t||location.hostname||"",!e)return!1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)if(Ee(e[r],t))return!0;return!1}return e instanceof RegExp?e.test(t):"function"==typeof e?e(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e)}function je(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function Le(e,t){if(t=t||document,!e)return null;if(3===e.nodeType)return t.createTextNode(e.textContent||"");if(1!==e.nodeType)return null;var r,n=(e.tagName||"").toLowerCase(),o=n&&!/-/.test(n)?n:"div";try{r=t.createElement(o||"div")}catch(e){r=t.createElement("div")}return Array.prototype.forEach.call(e.attributes||[],function(e){if(e&&e.name&&!/^on/i.test(e.name))try{r.setAttribute(e.name,e.value)}catch(e){}}),Array.prototype.forEach.call(e.childNodes||[],function(e){var n=Le(e,t);n&&r.appendChild(n)}),r}function $e(e,t){try{return e.cloneNode(!0)}catch(r){return Le(e,t)}}function Pe(e,r){if(Se(e))return document.createElement("div");var n,i=$e(e,document);return i?(r&&i.querySelectorAll(r).forEach(function(e){e.setAttribute("data-fetchutil-preserve","true")}),(n=i)&&n.querySelectorAll&&n.querySelectorAll("button, [role='button'], input[type='button'], input[type='submit']").forEach(function(e){var r=t(e.innerText||e.textContent||e.getAttribute("value")||"");if(!e.hasAttribute("data-fetchutil-preserve")&&function(e){var r=t(e||"");return!!r&&!(r.length<30||r.length>320)&&!(J(r)||ee(r)||Q(r))&&!W.test(r)&&r.split(/\s+/).length>=4}(r)){var n=document.createElement("p");n.textContent=r,n.setAttribute("data-fetchutil-button-text","true"),e.replaceWith(n)}}),i.querySelectorAll("button").forEach(function(e){var r=e.querySelector("[class*='http-verb']");if(r){for(var n="",o=e.querySelectorAll("span"),i=0;i<o.length;i++)if(o[i]!==r&&!o[i].querySelector("[class*='http-verb']")&&!/collapser|ellipsis|arrow/i.test(o[i].className||"")){var a=t(o[i].textContent);if(a&&/^\//.test(a)){n=a;break}}if(n){var l=document.createElement("p");l.innerHTML="<code>"+t(r.textContent).toUpperCase()+" "+n+"</code>",e.replaceWith(l)}}}),i.querySelectorAll("script, style, noscript, template, iframe, form, button, input, aside, nav, footer").forEach(function(e){e.hasAttribute("data-fetchutil-preserve")||e.remove()}),ke(i),i.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))}),i.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||(t=r),t||(t=r),t&&e.setAttribute("src",o(t))}),i):document.createElement("div")}function Ne(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function ze(e){return ke(e),function(e){e&&e.querySelectorAll&&e.querySelectorAll("p, div, span, section, aside, figcaption, li, a, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>250||xe.test(r)&&e.remove()})}(e),e.querySelectorAll("#comments, #respond, .comments-area, .comment-list, .comments-section, #disqus_thread, .disqus-comment-count, [class*='comment-respond'], .wp-block-comments, .post-comments").forEach(function(e){e.remove()}),e.querySelectorAll(ce).forEach(function(e){e.remove()}),Te(e),e.querySelectorAll("section, div, aside, form, table, ul").forEach(function(e){(function(e){if(!e||1!==e.nodeType)return!1;if(t(e.textContent||"").length>1e3&&e.querySelectorAll("p, h1, h2, h3, h4, h5, h6").length>=2)return!1;var r=t((e.querySelector("h2, h3, h4, h5, h6, strong, b")||{}).textContent||"");if(!r){var n=t((e.firstElementChild||e).textContent||"");n.length<=40&&(r=n)}return!!ee(r)&&e.querySelectorAll("a[href], li, tr").length>=3})(e)&&e.remove()}),function(e){e.querySelectorAll("aside, section, div, figure, picture").forEach(function(e){if(!e.matches("main, article, [role='main']")&&!e.querySelector("article, main, [role='main']")){var r=t(e.textContent||""),n=r.toLowerCase(),o=[e.className||"",e.id||"",e.getAttribute("data-testid")||"",e.getAttribute("data-test")||"",e.getAttribute("aria-label")||""].join(" ").toLowerCase(),i=Array.prototype.map.call(e.querySelectorAll("img, source"),function(e){return(e.getAttribute("src")||e.getAttribute("srcset")||"").toLowerCase()}).join(" "),a=ye.test(o),l=be.test(n),s=ve.test(i);((a||s)&&(r.length<900||l)||l&&s&&r.length<1200)&&e.remove()}})}(e),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent),n=(e.className||"").toString();r&&!/anchor|heading/i.test(n)||e.remove(),/^skip\s+(to\s+)?(main\s+)?/i.test(r)&&e.remove(),/^(تخطى|تجاوز|דלג)\s/i.test(r)&&e.remove(),/^(μετάβαση στο |παράλειψη |перейти до |пропустити |bỏ qua |ข้ามไปยัง|lewati |langsung ke )/i.test(r)&&e.remove(),/^(ga naar |doorgaan naar |overslaan|spring naar |прескочи |пређи на |langkau |ir para |pular para |saltar )/i.test(r)&&e.remove(),/^(přejít na |přeskočit |gå til |spring over |hoppa till |gå vidare |pumunta sa |laktawan |hopp over |gå til innhold|anar a |saltar a )/i.test(r)&&e.remove(),/^(przejdź do |pomiń )/i.test(r)&&e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();ue.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();de.test(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("p, div").forEach(function(e){(function(e){if(!e)return!1;var r=t(e.textContent);if(r.length>200)return!1;var n=e.querySelectorAll("img").length,o=e.querySelectorAll("a").length,i=t(Array.prototype.map.call(e.querySelectorAll("img[alt]"),function(e){return e.getAttribute("alt")||""}).join(" ")).toLowerCase();return n>=1&&o>=1&&(r.length<=24||/\b(status|badge|build|coverage|workflow|ci)\b/.test(i))})(e)&&e.remove()}),e.querySelectorAll("p, div, li, span, strong, button").forEach(function(e){var r,n;(Y(e.textContent)||(r=e.textContent,n=t(r||"").toLowerCase(),-1!==O.indexOf(n)||G(n,I)))&&e.remove()}),e.querySelectorAll("svg, .octicon").forEach(function(e){e.remove()}),e.querySelectorAll(".anchor, .heading-link, .header-anchor").forEach(function(e){var r=t(e.textContent);e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8?e.replaceWith(document.createTextNode(r)):e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(!(n=t(r||""))||n.length>1200||n.length<12)&&/\b(document\.(body|getElementById|querySelector|createElement|cookie|write)|window\.(location|addEventListener|dataLayer|gtag|ga\()|function\s*\(|var\s+\w+\s*=\s*|\.push\s*\(\s*function|\.classList\.(add|remove|toggle)|\.style\.\w+\s*=|\.innerHTML\s*=|\.setAttribute\s*\(|addEventListener\s*\(|\.insertBefore\s*\(|\.appendChild\s*\(|\.parentNode\s*\.|new\s+(Date|Array|Object|RegExp|Map|Set)\s*\(|typeof\s+\w+\s*[!=]==?\s*|===?\s*['"]undefined['"]|console\.(log|warn|error)|setTimeout\s*\(|setInterval\s*\(|JSON\.(parse|stringify)|Promise\.(resolve|reject|all)|Object\.(keys|values|assign|defineProperty)|Array\.(isArray|from|prototype)|return\s+(true|false|null|void|this)\b|if\s*\([^)]*\)\s*\{|try\s*\{|catch\s*\(\w+\)\s*\{|throw\s+new\s+\w+)/.test(n)&&(n.match(/[{};()=]|function\s|var\s|const\s|let\s|return\s|\.push\(|\.call\(|\.apply\(|=>|===?|!==?|&&|\|\|/g)||[]).length>=3&&!e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")&&e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(n=t(r||""))||n.length<40||!/\bdebug info:|fetchCache\[|\.expirationTime:|cache key:/i.test(n)||e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")||e.remove()}),Ae(e),Ce(e),qe(e),_e(e),e}function Me(e,t,r,n,o,i){return"function"==typeof e?e(t,r,n,o,i):e}var Re=["[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]","[class*='piano-offer' i]"];function Be(e,t,r){return Ze(e,t,r)}var He=["article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article[id^='post-'] [itemprop='articleBody']",".entry-content",".post-content","[itemprop='articleBody']"],Fe=["h1.entry-title",".entry-title","article h1","main h1","h1"],Oe=["[rel='author']",".author",".byline",".post-author","[class*='author' i]"],Ie=[".sharedaddy",".share",".share-links",".share-buttons",".social-sharing",".social-buttons",".related-posts",".yarpp-related",".jp-relatedposts",".adsbygoogle","[class*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='advert' i]","[class*='sponsor' i]","[id*='ad-' i]","iframe","script","style"];function De(e,r){if((r=r||{}).hostPattern&&!ot(r.hostPattern,location.hostname))return null;if(r.pathPattern&&!ot(r.pathPattern,location.pathname||""))return null;if(r.homepagePath&&ot(r.homepagePath,location.pathname||""))return null;"function"==typeof r.beforeExtract&&r.beforeExtract(e);var n=function(e){if("function"==typeof e.body)return e.body();var r=e.minVisibleBodyTextLength||0;if(!r)return it({bodySelectors:e.bodySelectors||He});for(var n=e.bodySelectors||He,o=0;o<n.length;o+=1){var i=document.querySelector(n[o]);if(i&&t(i.textContent||"").length>=r)return i}return null}(r)||function(e){var r=e.restFallback;if(!r)return null;var n=function(e){if("function"==typeof e.postId)return e.postId(location);if(e.postId)return e.postId;var t=e.postIdPattern||/(?:^|\/)news_(\d+)\/?$/i,r=(location.pathname||"").match(t);return r&&r[1]}(r);if(!n)return null;var o=function(e,t){var r="function"==typeof e.path?e.path(t):e.path||"/wp-json/wp/v2/posts/"+t;try{var n=new XMLHttpRequest;return n.open("GET",r,!1),n.send(null),n.status<200||n.status>=300||!n.responseText?null:JSON.parse(n.responseText)}catch(e){return null}}(r,n),i=o&&o.content&&o.content.rendered;if(!i)return null;var a=document.createElement("div");return a.innerHTML=i,t(a.textContent||"").length<(r.minTextLength||e.minBodyTextLength||0)?null:a}(r);return n?Be(e,n,{title:Ue(e,r),byline:We(e,r),publishedTime:r.publishedTime,minTextLength:r.minBodyTextLength||r.minTextLength||0,contentType:r.contentType||"article",extra:r.extra,rewriteRoot:function(e,t){Ne(e,function(e){return Ie.concat(e.removalSelectors||[])}(r).join(", ")),st(e,r.removalTextPatterns),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)}}):null}function Ue(e,r){return"function"==typeof r.title?r.title(e):void 0!==r.title?r.title:u(r.titleSelectors||Fe)||t(e&&e.title)}function We(e,t){return"function"==typeof t.byline?t.byline(e):void 0!==t.byline?t.byline:e&&e.byline||u(t.bylineSelectors||Oe)}function Ze(e,r,n){if(!r)return null;var o=!1===(n=n||{}).cloneRoot?r:Pe(r);if(!o)return null;"function"==typeof n.rewriteRoot&&n.rewriteRoot(o,r),!1!==n.cleanupRoot&&ze(o);var i=Qt(o.innerHTML);!1!==n.cleanupMarkdown&&(i=It(i)),"function"==typeof n.postProcessMarkdown&&(i=n.postProcessMarkdown(i,o,r));var a=t(i);if(!a||a.length<(n.minTextLength||0))return null;if("function"==typeof n.validateMarkdown&&!n.validateMarkdown(i,a,o,r))return null;var l=function(e,r,n,o){if("function"==typeof o.title)return t(o.title(e,r,n));if(o.title)return t(o.title);if(o.titleSelectors){var i=u(o.titleSelectors);if(i)return i}return t(e&&e.title)}(e,o,r,n);l&&!1!==n.prependTitle&&!Tt(i,l)&&(i="# "+l+"\n\n"+i);var s=t(i),c=Me(n.excerpt,e,o,r,i,a);void 0===c&&!1!==n.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var d=Me(n.byline,e,o,r,i,a);void 0===d&&(d=e&&e.byline);var m={title:l||e&&e.title,byline:d,excerpt:c,siteName:Me(n.siteName,e,o,r,i,a)||e&&e.siteName||location.hostname,publishedTime:null===n.publishedTime?null:Me(n.publishedTime,e,o,r,i,a)||e&&e.publishedTime,html:o.innerHTML,markdown:i,textContent:s,readerMode:!1,contentType:n.contentType||"article",hostAware:!1!==n.hostAware};if(n.extra){var p=Me(n.extra,e,o,r,i,a)||{};Object.keys(p).forEach(function(e){m[e]=p[e]})}return m}function Ge(e){var r=function(e){if("function"==typeof e.scope)return e.scope();if(e.scope)return e.scope;for(var t=e.scopeSelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return document}(e=e||{});if(!r)return null;var n,o=document.createElement("article"),i=[];return Ve(o,r,e.titleSelectors,i,!1),Ve(o,r,e.leadSelectors,i,!1),Ve(o,r,e.summarySelectors,i,!1),Ve(o,r,e.captionSelectors||e.mediaCaptionSelectors,i,!1),n=Ve(o,r,e.bodySelectors,i,!0),(!1===e.requireBody||n)&&t(o.textContent||"").length>=(e.minTextLength||0)?o:null}function Ke(e,t){var r=document.createElement("article");return e&&r.appendChild($e(e,document)),t&&r.appendChild($e(t,document)),r}function Ve(e,t,r,n,o){if(!r)return!1;for(var i=Array.isArray(r)?r:[r],a=!1,l=0;l<i.length;l+=1){var s=Je(t,i[l]);if(s&&(Xe(e,s,n)&&(a=!0),a&&!o))return!0}return a}function Je(e,t){return"function"==typeof t?t(e,document):t&&1===t.nodeType?t:t?e.querySelector&&e.querySelector(t)||document.querySelector(t):null}function Xe(e,r,n){var o=t(r.textContent||"");return!(!o||n.indexOf(o)>=0)&&(n.push(o),e.appendChild($e(r,document)),!0)}function Ye(e,r){var n=function(e){if("function"==typeof e.selectedEntry)return e.selectedEntry(e);if(e.selectedEntry)return e.selectedEntry;var t="function"==typeof e.entryIdFromUrl?e.entryIdFromUrl(location):e.entryIdFromUrl;if(t){var r=document.getElementById(String(t));if(!r&&e.entryIdPrefix&&(r=document.getElementById(e.entryIdPrefix+t)),r||"function"!=typeof e.entryForId||(r=e.entryForId(t)),r)return r}if(!e.entrySelector)return null;var n=Array.prototype.slice.call(document.querySelectorAll(e.entrySelector));if(!n.length)return null;if("function"==typeof e.entryMatcher){var o=n.find(function(t){return e.entryMatcher(t,e)});if(o)return o}return n[0]}(r=r||{});if(!n)return null;"function"==typeof r.beforeBuild&&r.beforeBuild(e,n);var o=function(e,r){if("function"==typeof r.rootBuilder)return r.rootBuilder(e,r);if(!r.bodySelector)return e;var n=document.createElement("article");return function(e,t,r){(Array.isArray(r)?r:[r]).forEach(function(r){if(r){var n=t.matches&&t.matches(r)?t:t.querySelector(r);n&&e.appendChild($e(n,document))}})}(n,e,r.bodySelector),t(n.textContent||"")?n:null}(n,r);if(!o)return null;var i={};return Object.keys(r).forEach(function(e){i[e]=r[e]}),i.cloneRoot=!1,i.title=void 0!==r.title?Qe(r.title,e,o,n):et(n,r.titleSelector),i.byline=void 0!==r.byline?Qe(r.byline,e,o,n):et(n,r.bylineSelector),i.publishedTime=void 0!==r.publishedTime?Qe(r.publishedTime,e,o,n):function(e,r){if(!r)return;var n=e.querySelector(r);return n?n.getAttribute("datetime")||t(n.textContent||""):void 0}(n,r.timeSelector),i.rewriteRoot=function(e,t){r.cleanupSelectors&&Ne(e,Array.isArray(r.cleanupSelectors)?r.cleanupSelectors.join(", "):r.cleanupSelectors),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)},i.extra=function(e,t,n,o,i){var a=Me(r.extra,e,t,n,o,i)||{};return a.isolatedLiveblogEntry=!0,a},Be(e,o,i)}function Qe(e,t,r,n){return"function"==typeof e?e(t,r,n):e}function et(e,r){if(r)for(var n=Array.isArray(r)?r:[r],o=0;o<n.length;o+=1){var i=n[o],a=e.querySelector(i.selector||i),l=i.attr?a&&a.getAttribute(i.attr):a&&a.textContent;if(l=t(l))return l}}function tt(e,r,n){n=n||{};var o=e||document.body;if(!o)return e;var i=o.cloneNode(!0);rt(i,n.removalSelectors),nt(i,n.textRemovalPattern,n.textRemovalMaxLength);var a=t(i.textContent||"");if(n.bodyRejectPattern&&n.bodyRejectPattern.test(a))return e;if(n.hardPaywallPattern&&n.hardPaywallPattern.test(a))return e;if(n.pageHardPaywallPattern){var l=t(document.body&&(document.body.innerText||document.body.textContent)||"");if(n.pageHardPaywallPattern.test(l))return e}var s=n.paragraphSelectors||"p",c=n.paragraphMinLength||70,u=Array.prototype.filter.call(i.querySelectorAll(s),function(e){return t(e.textContent||"").length>=c}).length;return a.length<(n.minBodyTextLength||1200)||u<(void 0===n.minParagraphCount?3:n.minParagraphCount)||(rt(o,n.removalSelectors),nt(o,n.textRemovalPattern,n.textRemovalMaxLength),rt(document,n.signalRemovalSelectors||n.removalSelectors),nt(document,n.textRemovalPattern,n.textRemovalMaxLength),function(e){var t=e.stripAttributeSelectors;if(!t)return;document.querySelectorAll(t).forEach(function(t){if(e.stripIdPattern&&e.stripIdPattern.test(t.getAttribute("id")||"")&&t.removeAttribute("id"),e.stripClassPattern){var r=(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return t&&!e.stripClassPattern.test(t)});r.length?t.setAttribute("class",r.join(" ")):t.removeAttribute("class")}})}(n),function(e,t){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=e.textContent||"";"remove"!==t.structuredDataMode?/isAccessibleForFree/i.test(r)&&(e.textContent=r.replace(/("isAccessibleForFree"\s*:\s*)"?(?:false|False)"?/g,"$1true")):(t.structuredDataRemovalPattern||/isAccessibleForFree/i).test(r)&&e.remove()}),document.querySelectorAll("meta[property='article:content_tier'], meta[name='article:content_tier']").forEach(function(e){/^(locked|metered|premium)$/i.test(e.getAttribute("content")||"")&&e.remove()}),e&&(e.isAccessibleForFree=!0,e.contentTier&&(e.contentTier=null))}(r,n)),e}function rt(e,t){e&&t&&Ne(e,Array.isArray(t)?t.join(", "):t)}function nt(e,r,n){e&&r&&(n=n||280,e.querySelectorAll("p, div, span, section, aside, figcaption").forEach(function(e){var o=t(e.textContent||"");!o||o.length>n||r.test(o)&&e.remove()}))}function ot(e,t){return!e||(t=t||"",e instanceof RegExp?e.test(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e))}function it(e){if("function"==typeof e.body)return e.body();for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return null}function at(e,r){return"function"==typeof e.title?e.title(r):void 0!==e.title?e.title:e.titleSelectors?u(e.titleSelectors)||t(r&&r.title):void 0}function lt(e,t){return"function"==typeof e.byline?e.byline(t):void 0!==e.byline?e.byline:e.bylineSelectors?u(e.bylineSelectors)||t&&t.byline:void 0}function st(e,r){(r||[]).forEach(function(r){e.querySelectorAll("p, div, span, section, a, button, h2, h3, h4, li").forEach(function(e){var n=t(e.textContent||"");n&&(r instanceof RegExp&&r.test(n)&&e.remove(),"string"==typeof r&&n===r&&e.remove())})})}function ct(e){return e=e||{},function(t){if(!ot(e.hostPattern,location.hostname))return null;if(e.pathPattern&&!ot(e.pathPattern,location.pathname||""))return null;if(e.homepagePath&&ot(e.homepagePath,location.pathname||""))return null;"function"==typeof e.beforeExtract&&e.beforeExtract(t);var r=it(e);return r?Be(t,r,{title:at(e,t),titleSelectors:e.titleSelectors,byline:lt(e,t),publishedTime:e.publishedTime,minTextLength:e.minBodyTextLength||0,contentType:e.contentType||"article",extra:e.extra,rewriteRoot:function(t,r){Ne(t,(e.removalSelectors||[]).join(", ")),st(t,e.removalTextPatterns),"function"==typeof e.rewriteRoot&&e.rewriteRoot(t,r)}}):null}}function ut(e){e=e||{},registerHostAwareProfile(void 0===e.condition||e.condition,ct(e))}function dt(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function mt(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function pt(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<4||r.length>30)return!1;var n=r.filter(function(e){return mt(e.getAttribute("href"))}).length,o=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&o.length<900}function ht(e){return t((e||"").replace(/[\u200B\u200C\u200D\uFEFF]/g,"").replace(/\s*(?:Copy\s*(?:for\s+LLMs?|page(?:\s+as\s+Markdown)?(?:\s+for\s+LLMs?)?)|View\s+as\s+Markdown|Open\s+(?:this\s+page\s+as\s+Markdown|in\s+(?:ChatGPT|Claude|Cursor))|Get\s+insights\s+from\s+(?:ChatGPT|Claude)|Connect\s+to\s+Cursor|Ask\s+AI|Download\s+OpenAPI\s+spec(?:ification)?)\s*/gi,"")).replace(/\s+copy item path$/i,"").replace(/[¶#\uF0C1\uF0C6\uF08E\uF14C]+$/,"").replace(/\s*Copy$/i,"")}function ft(e,r){if(""!==(n=(location.pathname||"").replace(/\/+(?:index\.html?)?$/i,""))&&"/"!==n||!r)return!1;var n;if(!/^(docusaurus|nextra|next|sphinx|readthedocs)$/i.test(r.system||""))return!1;var o=t(document.body&&document.body.textContent||""),i=t(e&&e.textContent||""),a=document.querySelectorAll(".card, [class*='card' i], [class*='feature' i], [class*='tile' i], [class*='landing' i]").length,l=document.querySelectorAll("header a[href], nav a[href], aside a[href], [class*='sidebar' i] a[href], [class*='navbar' i] a[href]").length;return a>=3||(!!/\b(?:get started|getting started|quick start|api|reference|guides?|tutorials?)\s*\|\s*/i.test(i)||l>=8&&o.length>=1e3&&i.length>=300)}function gt(e,r){return r=r||{},dt(e,"a, button, span, div, p, li",/^(copy page|copy for llm|copy page as markdown|copy page as markdown for llms?|view as markdown|open this page as markdown|open in (?:chatgpt|claude|cursor)|get insights from (?:chatgpt|claude)|connect to cursor|download openapi spec(?:ification)?|ask about this section|ask ai|copy link|copy permalink|send feedback|edit this page|report feedback|pdf|rss|focus mode|skip to main content|skip to content|copy item path|view source|view on github|report a problem with this content|open menu|open sidebar|search|settings|help|search or ask copilot|expand description|show more|show less|expand|collapse|javascripttypescript|typescriptjavascript)$/i),dt(e,"h2, h3, h4, h5, p, div, span, li",/^(on this page|in this article|table of contents|last updated.*|api preferences|select language:.*|breadcrumbs?)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);r&&(/^feedback\b/i.test(r)&&r.length<500&&e.querySelectorAll("a, button").length>=1||/^(was this page helpful|is this page helpful)\??$/i.test(r.split("\n")[0])&&r.length<300)&&e.remove()}),dt(e,"p, div, span",/^last modified\s/i),e.querySelectorAll("section, div, aside, form").forEach(function(e){var r=t(e.textContent);if(r){var n=e.querySelector("h2, h3, h4");n&&/^(subscribe|newsletter|stay up[- ]to[- ]date|get (?:the )?latest|sign up for (?:our )?(?:newsletter|updates)|mailing list)$/i.test(t(n.textContent))&&r.length<800&&e.remove()}}),dt(e,"p, div, span, a",/^(privacy\s*policy|terms\s+(?:of\s+(?:service|use)|and\s+conditions)|powered by [a-z]+)$/i),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){var t=ht(e.textContent);t&&(e.textContent=t)}),e.querySelectorAll("nav, [aria-label*='breadcrumb' i], ol[aria-label*='breadcrumb' i]").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent),n=t(e.getAttribute("title"));e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8||mt(e.getAttribute("href"))&&(!r||r.length<40||/link for this heading/i.test(n)||/^skip to (?:main )?content$/i.test(r))&&e.remove()}),e.querySelectorAll("section, div, ul, ol").forEach(function(e){var r=t(e.textContent);r&&(/^on this page\b/i.test(r)&&r.length<1200||pt(e)||function(e){if(e.closest&&e.closest(".landing-card, .card--fullwidth"))return!1;var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<2||r.length>8)return!1;var n=t(e.textContent);return!(!n||n.length>220)&&!e.querySelector("p, strong, b, h1, h2, h3, h4, h5, h6")&&r.every(function(e){return t(e.textContent).length>0&&t(e.textContent).length<40})}(e))&&e.remove()}),r.removeTryIt&&(e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent),n=e.querySelector("h2, h3, h4");(n&&/^try it$/i.test(t(n.textContent))||/^try it\b/i.test(r)&&r.length<600)&&e.remove()}),dt(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&dt(e,"h1, h2, h3, p, div, span",/^(select your cookie preferences|customize cookie preferences|unable to save cookie preferences)$/i),r.removeMarketingTips&&e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/\b(tip|note)\b/i.test(r)&&/(workshop|builder center|sign up|training|studio)/i.test(r)&&r.length<600&&e.remove()}),e}function yt(e,r){for(var n=0;n<r.length;n+=1)for(var o=e.querySelectorAll(r[n]),i=0;i<o.length;i+=1){var a=t(o[i].textContent);if(a)return a}return null}function bt(e,t,r){return Array.prototype.slice.call(e.querySelectorAll(t)).filter(function(t){for(var n=t.parentElement;n&&n!==e;){if(n.matches&&n.matches(r))return!1;n=n.parentElement}return!0})}function vt(e,r,n){for(var o=0;o<r.length;o+=1)for(var i=bt(e,r[o],n),a=0;a<i.length;a+=1){var l=t(i[a].textContent);if(l)return l}return""}function wt(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function xt(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function St(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),ht(e||"")||null):null}function kt(e,t,r,n){var o=u(t||[]);return o||"function"!=typeof r||(o=r(e)),o||"string"!=typeof r||(o=r),St(o,n,e)}function At(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return ht(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function Ct(e){var t=r((location.hash||"").replace(/^#/,"")).trim();if(!t)return null;var n=document.getElementById(t)||function(e){if(!e)return null;for(var t=document.querySelectorAll("a[name]"),r=0;r<t.length;r+=1)if((t[r].getAttribute("name")||"")===e)return t[r];return null}(t);return n&&(e===n||e.contains(n))?n:null}function qt(e){var t=Ct(e);if(!t)return null;var r=t.matches&&t.matches("h1, h2, h3, h4, h5, h6")?t:t.querySelector("h1, h2, h3, h4, h5, h6");return!r&&t.matches&&t.matches("a[name]")&&(r=t.nextElementSibling),ht((r||t).textContent)||null}function Tt(e,r){if(!(r=t(r).replace(/[\`*_]/g,"")))return!1;var n=t(r).toLowerCase();return(e||"").split("\n").slice(0,8).map(function(e){return t(e).replace(/^#+\s*/,"").replace(/^\[([^\]]+)\]\([^)]*\)$/,"$1").replace(/[\`*_]/g,"")}).filter(Boolean).some(function(e){var r=t(e).toLowerCase();return r===n||0===r.indexOf(n)})}function _t(e){return t(e||"").replace(/([a-z0-9])((?:Default:|Can be one of:|For more information:|Example:|Required))/g,"$1 $2").replace(/([a-z])([A-Z][a-z])/g,"$1 $2")}function Et(e,t,r){return Lt(e,wt(t),r)}function jt(e,t,r){if(!(t=t||Ri(e))||t.system!==r.system)return null;var n=r.headingFormatter||function(e){return ht(e)},o=r.titleFormatter||r.headingFormatter,i={preserveSelector:r.preserveSelector,rewriteRoot:function(e){r.removeSelectors&&e.querySelectorAll(r.removeSelectors).forEach(function(e){e.remove()}),r.removeTextPattern&&dt(e,r.removeTextSelector||"a, button, div, p, span, li",r.removeTextPattern),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,a),!1!==r.headingFormatter&&At(e,r.headingSelector,n)}},a=null;!1===r.preferFragmentTitle?(a=kt(e,r.titleSelectors,r.fallbackTitle,o),i.title=a):(i.titleSelectors=r.titleSelectors,i.fallbackTitle=r.fallbackTitle,i.titleFormatter=o);var l=wt(r.rootSelectors);return"function"==typeof r.contentType?i.contentType=r.contentType(l,t):r.contentType&&(i.contentType=r.contentType),Lt(e,l,i)}function Lt(e,t,r){if(r=r||{},!t)return null;var n={};if(Object.keys(r).forEach(function(e){"titleSelectors"!==e&&"fallbackTitle"!==e&&"preferFragmentTitle"!==e&&"titleFormatter"!==e&&(n[e]=r[e])}),!n.title&&(r.titleSelectors||r.fallbackTitle)){var o=!1===r.preferFragmentTitle?null:qt(t);o=St(o,r.titleFormatter,e)||kt(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=o}return $t(e,t,n)}function $t(e,r,n){if(!r)return null;var o,i=!1===(n=n||{}).focusFragment?r:function(e){var r=Ct(e);if(!r)return e;for(var n=r;n&&n!==e;){var o=t(n.textContent);if(/^(section|article|div|li|dt|dd|main)$/i.test(n.tagName||"")&&o.length>=20)return n;n=n.parentElement}return r}(r),a=Pe(i,n.preserveSelector);if(ze(a),gt(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{o=Qt(a.innerHTML).trim()}catch(e){o=""}"function"==typeof n.postProcessMarkdown&&(o=n.postProcessMarkdown(o,a));var l=ht(n.title||qt(r)||yt(a,["h1","header h1","h2"])||"")||null,s=n.description||yt(a,["p"]);return o?(l&&!Tt(o,l)&&(o="# "+l+"\n\n"+o),{title:l||e.title,byline:e.byline,excerpt:s||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:a.innerHTML,markdown:o,textContent:t(o),docsLike:!0,hostAware:!1!==n.hostAware,readerMode:!1,contentType:n.contentType||"article"}):l||s?T({title:l||e.title,description:s||e.excerpt,siteName:e.siteName||location.hostname,docsLike:!0,hostAware:!1!==n.hostAware}):null}var Pt=N(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),Nt=N(["(?:Join|Follow)\\s+(?:us\\s+)?on\\s+(?:Telegram|WhatsApp|Instagram|Facebook|YouTube|Twitter|X)","(?:Join|Follow)\\s+(?:our\\s+)?(?:Telegram|WhatsApp)\\s+(?:Group|Channel)","(?:Download|Get|Install)\\s+(?:our|the)\\s+(?:App|Mobile App)"]),zt=z(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","Ikuti kami di|Gabung (?:di )?(?:Telegram|WhatsApp)|Berlangganan","Theo dõi chúng tôi","Volg ons|Schrijf je in|Abonneer je|Meld je aan voor","Пратите нас|Претплатите се|Пријавите се|Pratite nas|Pretplatite se|Prijavite se","Ikuti kami|Langgan(?:i)?|Sertai (?:kami|saluran)","Siga-nos|Inscreva-se|Assine|Acompanhe-nos","Sledujte nás|Odebírejte|Přihlaste se k odběru|Připojte se","Följ oss|Prenumerera|Registrera dig","Følg os|Abonner|Tilmeld dig","Følg oss|Abonner på|Meld deg på|Registrer deg","Subscriu-te|Fer-se subscriptor|Si ets subscriptor|Suma't a|Quins són els avantatges|Fes-te subscriptor|Fes-te'n subscriptor","გამოიწერეთ|შემოგვიერთდით|მოგვყევით","වැඩි විස්තර කියවන්න|අපව අනුගමනය කරන්න","Bizə qoşulun|Abunə olun|Bizi izləyin"]),Mt=z(["Subskrybuj|Zasubskrybuj|Zapisz się na newsletter|Dołącz do nas|Obserwuj nas|Śledź nas","Dziękujemy,?\\s*że\\s*przeczytała?(?:ś|ś\\/eś|eś)?","Bądź na bieżąco","Obserwuj nas w Google","Dalszy ciąg (?:artykułu|materiału) (?:pod |poniżej )?(?:materiałem wideo|wideo|galerią|zdjęciem)","Sprawdź,?\\s*gdzie kupisz","Materiał (?:sponsorowany|promocyjny|partnerski)"]).concat(function(e){return e.map(function(e){return N([e])})}(["Zobacz więcej|Czytaj więcej|Czytaj dalej|Pokaż więcej|Więcej informacji","Zaloguj się|Zarejestruj się|Zaloguj|Załóż konto|Moje konto","Udostępnij|Skomentuj|Komentarze\\s*\\d*|Dodaj komentarz|Napisz komentarz","Autopromocja"])),Rt=N(["Met een account kan je","Log in of maak een account","Acesse seus artigos salvos","Uma só conta para todos","Maak een account aan","Cadastre-se","Faça login","Faça seu login","Crie sua conta","Meld je aan","Inloggen","Entrar na sua conta","Sign in to save","Create an account","Log in to continue","Log in","Sign in","Create account","Subscribe to read","Daftar atau masuk","Giriş yap","Logg inn","Opprett konto","For å kunne lagre","Inicia sessió","Crea un compte","Registra't","පිවිසෙන්න","ගිණුමක් සාදන්න","Daxil ol","Hesab yaradın"],"\\b.*"),Bt=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+M+"\\/[^)]*\\)","gi"),Ht=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+M+"\\b[^\\n]*$","gmi"),Ft=[/Was (?:this )?(?:summary |article |page )?helpful\?\s+Thank you\s+(?:for\s+)?feedback/i,/Trusted by Consumers\.\s+Recognized by AI\./i,/(?:^|\n|\s{2,})(?:AI[-\s]generated summary|AI summary|Related content|Related articles|You May Also Like|Need (?:to )?Find (?:an? )?Attorney\?|For Legal Professionals|Get updates|Subscribe to read|Create account|Sign in)\b/i];function Ot(e,t){var r=e;return t.forEach(function(e){r=r.replace(e,"")}),r}function It(e){var r=function(e){var t=[];return{markdown:String(e||"").replace(/(^|\n)(```[^\n]*\n[\s\S]*?\n```)/g,function(e,r,n){var o="@@FETCH_UTIL_FENCE_"+t.length+"@@";return t.push(n),r+o}),blocks:t}}(e),n=r.markdown.replace(/Your browser doesn't support HTML5 audio\s*/g,"").replace(/^\s*[-*]\s*$/gm,"").replace(/<iframe\b[^>]*>?(?:<\/iframe>)?/gi,"").replace(/<iframe\b[^\n]*/gi,"").replace(/document\s*\.\s*body\s*\.\s*classList\s*\.\s*add\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*cmd\s*\.\s*push\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*display\s*\([^)]*\)\s*;?\s*\}\s*\)\s*;?/g,"").replace(/^\s*(?:var|let|const)\s+\w+\s*=\s*[^;]+;\s*$/gm,"").replace(/\bSkip Ad\b/g,"").replace(/\bContinue watching\s*(?:after the ad)?/gi,"").replace(/Visit Advertiser website/gi,"").replace(/\bExplore\b[^\n]{0,120}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\bExplore\b[^\n]{0,100}\bSUBSCRIBE\b/gi,"").replace(/\bExplore\s+[A-Z][A-Za-z0-9 .!&-]{0,80}\d+%\s+SUBSCRIBE\b/gi,"").replace(/\bExplore\s+(?:[A-Z][A-Za-z0-9&.-]+\s+)?\d+%\s+SUBSCRIBE\b/gi,"").replace(/\b\d+%[^\n]{0,60}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\b\d+%\s+SUBSCRIBE\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{1,60}\s+AIchevron_right[A-Z][A-Za-z0-9 .&-]{0,80}\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{0,60}\s+AI(?:chevron_right)?\s*AI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/g,"").replace(/\bAI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/gi,"").replace(/,?\s*so verify(?: using| with)? [A-Z][A-Za-z0-9 .&-]{0,80} articles\.?/g,"").replace(/GO TO PAGE\.?/g,"").replace(/^\s*#{1,6}\s*$/gm,"").replace(/\bAdvertisement\s+\d+\/\d+\b/gi,"").replace(/^\s*Advertisement\s*$/gim,"").replace(Pt,"").replace(/Definition Source\s+All sources\s+\w+/gi,"").replace(/^.*\bdebug info:.*(?:\n.*(?:fetchCache|expirationTime|cache key|seconds remaining|All fetchCache).*)*$/gim,"").replace(/!\[close\]\([^)]*(?:close|cross)[^)]*\)/gi,"").replace(/^\s*#\s*Tags?\s*$/gim,"").replace(/^\s*Comments?\s*\d*\s*$/gim,"").replace(/^\s*Leave a Reply\s*(?:Cancel reply)?\s*$/gim,"").replace(/^\s*Loading comments\.*\s*$/gim,"").replace(/Current Time\s+\d+:\d+\s*/gi,"").replace(/Duration\s+[-\\]?:?[-\\]?\s*/gi,"").replace(/Remaining Time\s+-?\d+:\d+\s*/gi,"").replace(/Loaded:\s*\d+%?\s*/gi,"").replace(/Progress:\s*\d+%?\s*/gi,"").replace(/^\s*Volume\s+\d+%\s*$/gim,"").replace(/^\s*Rewind\s+\d+\s+Seconds\s*$/gim,"").replace(/^\s*Chromecast\s*$/gim,"").replace(/^\s*Closed Captions\s*$/gim,"").replace(/^\s*Settings\s*$/gim,"").replace(/^\s*Fullscreen\s*$/gim,"").replace(/^\s*Learn More\s*$/gim,"").replace(/^\s*This website uses cookies\..*$/gim,"").replace(/^\s*By accepting cookies.*$/gim,"").replace(/^\s*Cookie declaration last updated.*$/gim,"").replace(/^\s*Consent ID:.*$/gim,"").replace(/^\s*Change your consent.*$/gim,"").replace(/^\s*Your current state:.*$/gim,"").replace(/^\s*(?:Necessary|Preference|Statistics|Marketing)\s*\(\d+\)\s*$/gim,"").replace(/^\s*Video Player is loading\.\s*$/gim,"").replace(/^\s*Play Video\s*$/gim,"").replace(/^\s*Playback Speed\s*$/gim,"").replace(Nt,"").replace(/^\s*(?:Skip to main content|Skip to content|View on GitHub|Report a problem with this content|Copy item path|Open menu|Open Sidebar|Search or ask Copilot|API preferences|JavaScriptTypeScript|TypeScriptJavaScript)\s*$/gim,"").replace(/^\s*\/\s*$/gm,"").replace(/^\s*\*\s+\*\s+\*\s*$/gm,"").replace(/^\s*(?:show sidebar|hide sidebar|toggle sidebar|show attributes?|hide attributes?|show child attributes?|hide child attributes?)\s*$/gim,"").replace(/\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s*$/gm,"").replace(/Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"").replace(/!\[]\([^)]+\)\s*/g,"").replace(/\[]\([^)]+\)\s*/g,"").replace(/!\[[^\]]*\]\(data:image\/(?:png|gif|jpe?g|webp);base64,[A-Za-z0-9+/=]{500,}\)\s*/gi,"").replace(/^\s*([-*])\s+\[(?:!\[[^\]]*\]\([^)]+\)\s*)?\n+\s*#{1,6}\s*([^\n]+)\n+\s*\]\(([^)]+)\)/gm,"$1 [$2]($3)").replace(/^(\s*[-*]\s*)!#{1,6}\s*/gm,"$1").replace(/^(\s*[-*]\s*)#{1,6}\s*/gm,"$1").replace(/^\s*\[\s*\n+\s*(#{1,6})\s+([^\n]+)\n+\s*\]\((https?:\/\/[^)]+)\)\s*$/gm,"$1 [$2]($3)").replace(/^\s*\]\((https?:\/\/[^)]+)\)\[\s*\n+\s*([^\n\[\]#][^\n]*)\n+\s*\]\(\1\)\s*$/gm,"[$2]($1)").replace(/^\s*\[\s*$/gm,"").replace(/^\s*\]\(https?:\/\/[^)]+\)\[?\s*$/gm,"").replace(/^\s*\]\s*$/gm,"").replace(/\[([^\]]*\d)\]\(([^)]*\/section-[^)]+)\)_([a-z])_\\?-([0-9])/gi,"[$1$3-$4]($2)").replace(/\[(\d+)\]\(([^)]*\/link\/uscode\/[^)]+)\)_([a-z])_/gi,"[$1$3]($2)").replace(/(\b\d+)_([a-z])_,_/gi,"$1$2,").replace(/(\b\d+)_([a-z])_\\?-/gi,"$1$2-").replace(/(\b\d+)_([a-z])_(?=[\s),.;])/gi,"$1$2").replace(/^\s*Last modified\s+\w+\s+\d{1,2},\s+\d{4}.*$/gim,"").replace(Rt,"").replace(/(!?\[[^\]\n]*\]\([^\)\s]+)\s+"[^"\n]*\bundefined\b[^"\n]*"\)/gi,"$1)").replace(/!\[\s*undefined\s*\]\(([^)]+)\)/gi,"").replace(/\s*-->\s*/g," ").replace(/\s*<!--\s*/g," ").replace(/(?:^|\n)\s*\d{1,3}\s+\d{1,3}\s*(?:\n|$)/g,"\n").replace(Bt,"").replace(Ht,"").replace(/\n{3,}/g,"\n\n").trim();n=Ot(n,zt),n=function(e){for(var r=(e||"").split("\n"),n=0,o=0;o<r.length&&n<4;o++){var i=r[o];if(t(i)&&!/^#{1,6}\s/.test(i)){n++;var a=t(i);if(/\bIntroduction & Top Questions/.test(a)&&/\bReferences & Edit History\b/.test(a)&&/\bQuizzes\b/.test(a)&&/\b(?:Written by|Fact-checked by|Last updated)\b/.test(a)){var l=a.search(/\b(?:History\s+)?Top Questions\s+What\b/);if(!(l<0)){r[o]=a.slice(l).replace(/^History\s+/,"").replace(/\?([A-Z])/g,"? $1");break}}}}return r.join("\n")}(n=Ot(n,Mt)),n=function(e){var t=e||"";if(t.length<300)return t;var r=Math.floor(.35*t.length),n=-1;return Ft.forEach(function(e){for(var o,i=new RegExp(e.source,e.flags.indexOf("g")>=0?e.flags:e.flags+"g");null!==(o=i.exec(t));)o.index>=r&&(n<0||o.index<n)&&(n=o.index),o.index===i.lastIndex&&(i.lastIndex+=1)}),n>=0?t.slice(0,n).trim():t}(n),n=function(e){var r=null,n=!1;return(e||"").split("\n").map(function(e){if(/^\s*```/.test(e))return n=!n,e;if(n)return e;var o=e.match(/^\s*#{1,6}\s+(.+)$/);if(o)return r=t(o[1].replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/[`*_]/g,"")),e;if(!t(e))return e;if(r&&!/^\s*(?:[-*+]\s+|\d+[.)]\s+|[|>])/.test(e)){var i=e.replace(/^(\s*)([a-z][A-Za-z'-]{3,})(\b)/,function(e,t,n,o){for(var i=n.toLowerCase(),a=r.match(/[A-Za-z][A-Za-z'-]{4,}/g)||[],l=0;l<a.length;l+=1){var s=a[l];if(s.slice(1).toLowerCase()===i)return t+s.charAt(0)+n+o}return e});return r=null,i}return r=null,e}).join("\n")}(n);for(var o=(n=n.split("\n").map(function(e){return e.length<120||/\[[^\]]+\]\([^)]+\)/.test(e)?e:e.replace(/(.{50,300}?[.!?])(?:\s*\1)+/g,"$1")}).join("\n")).split("\n"),i=[],a=null,l=0,s=0;s<o.length;s++){var c=o[s].trim();c===a&&c.length>0?++l<2&&i.push(o[s]):(a=c,l=1,i.push(o[s]))}o=(n=i.join("\n")).split("\n");for(var u={},d=0;d<o.length;d++){var m=o[d].trim();m.length>0&&!/^#{1,6}\s/.test(m)&&(u[m]=(u[m]||0)+1)}for(var p={},h=[],f=0;f<o.length;f++){var g=o[f].trim();g.length>0&&!/^#{1,6}\s/.test(g)&&(u[g]||0)>=4?p[g]||(p[g]=!0,h.push(o[f])):h.push(o[f])}return function(e,t){return e.replace(/@@FETCH_UTIL_FENCE_(\d+)@@/g,function(e,r){return t[Number(r)]||""})}(h.join("\n").replace(/\n{3,}/g,"\n\n").trim(),r.blocks)}function Dt(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ut(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function Wt(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}function Zt(e){var r=t([e&&e.className,e&&e.getAttribute&&e.getAttribute("data-language"),e&&e.getAttribute&&e.getAttribute("data-testid"),e&&e.parentElement&&e.parentElement.className].join(" ")).toLowerCase();return/python|pycon/.test(r)?"python":/javascript|js\b/.test(r)?"javascript":/typescript|tsx|ts\b/.test(r)?"typescript":/json/.test(r)?"json":/yaml|yml/.test(r)?"yaml":/bash|shell|sh\b|curl/.test(r)?"bash":""}function Gt(e){e.querySelectorAll("div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=function(e){var t=[];!function e(r){for(var n=r.childNodes,o=0;o<n.length;o++){var i=n[o];if(3===i.nodeType){var a=i.textContent;a&&!/^\s*$/.test(a)&&t.push(a)}else if(1===i.nodeType){var l=i.nodeName,s=i.className||"";if("BUTTON"===l)continue;if(/\bellipsis\b/.test(s))continue;if("SPAN"===l){var c=i.textContent;c&&!/^\s*$/.test(c)&&t.push(c);continue}e(i)}}}(e);var r=t.join("").replace(/,(\s*[}\]])/g,"$1");try{var n=JSON.parse(r);return JSON.stringify(n,null,2)}catch(e){return r.replace(/\s+/g," ").trim()}}(e);if(t){var r=document.createElement("pre"),n=document.createElement("code");n.setAttribute("data-language","json"),n.textContent=t,r.appendChild(n),e.replaceWith(r)}})}function Kt(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Vt(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return null;if(/^(p|div|section|article|header|h[1-6]|li)$/i.test(e.tagName))return e;for(var t=0;t<e.children.length;t+=1){var r=Vt(e.children[t]);if(r)return r}return null}function Jt(e){var r=function(e){for(var t=e.cloneNode(!0),r=Array.prototype.slice.call(t.children),n=1;n<r.length;n+=1){var o=Vt(r[n-1]),i=Vt(r[n]);if(o&&i){var a=Kt(o.textContent),l=Kt(i.textContent);a&&a===l&&i.remove()}}return t}(e),n=[];return Array.prototype.forEach.call(r.childNodes,function(e){var r=t(e.textContent);r&&n.push(r)}),n.length?n.join(" "):r.textContent}function Xt(e){var r=Array.prototype.map.call(e.querySelectorAll("thead th, thead td"),function(e){return t(e.textContent).toLowerCase()}),n=t((e.querySelector("caption")||{}).textContent).toLowerCase(),o=Array.prototype.slice.call(e.querySelectorAll("tbody tr"));if(!o.length)return null;if(e.querySelector("td[kind='field'][title], th[kind='field'][title]")){var i=o.map(function(e){for(var r=e.querySelector("td[kind='field'][title], th[kind='field'][title]"),n=e.querySelectorAll("th, td"),o=null,i=0;i<n.length;i+=1)if(n[i]!==r){o=n[i];break}if(!r||!o)return null;var a=t(r.getAttribute("title")||(r.querySelector(".property-name")||{}).textContent||r.textContent);if(!a)return null;var l=/\brequired\b/i.test(t(e.textContent)),s=[];Array.prototype.forEach.call(o.querySelectorAll(":scope > span, :scope > code, :scope > div, :scope > strong, :scope > em"),function(e){if(!e.querySelector("p, ul, ol, table, pre")){var r=t(e.textContent);r&&!/^required$/i.test(r)&&s.push(r)}});var c=Array.prototype.map.call(o.querySelectorAll("p, li"),function(e){return t(e.textContent)}).filter(Boolean).join(" "),u=[];s.length&&u.push(s.shift()),s.forEach(function(e){/^(Default:|Example:|Enum:)/i.test(e)?u.push(e):c?c+=" "+e:c=e}),l&&u.push("required");var d="- `"+a+"`";return u.length&&(d+=" ("+u.join("; ")+")"),c&&(d+=": "+c),d}).filter(Boolean);return i.length?i.join("\n"):null}if(1===r.length&&/name, type, description/.test(r[0])||/parameter/.test(n)){var a=o.map(function(e){return function(e){var r=e.querySelector("div > div")||e.firstElementChild||e,n=r.querySelector("code, strong, b"),o=t(n&&n.textContent);if(!o)return null;var i=_t(r.textContent),a=t(i.replace(new RegExp("^"+Dt(o)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(i),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return _t(e.textContent)}).filter(Boolean).join(" ");s||(s=_t(e.textContent).replace(new RegExp("^"+Dt(o)+"\\s*"+Dt(a)),"").trim());var c="- `"+o+"`";if(a||l){var u=[];a&&u.push(a),l&&u.push("required"),c+=" ("+u.join(", ")+")"}return s&&(c+=": "+s),c}(e.querySelector("td, th"))}).filter(Boolean);return a.length?a.join("\n"):null}if(r.length>=2&&/status code/.test(r[0])&&/description/.test(r[1])){var l=o.map(function(e){var r=e.querySelectorAll("th, td");if(r.length<2)return null;var n=t(r[0].textContent),o=_t(r[1].textContent);return n&&o?"- `"+n+"`: "+o:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function Yt(e,r){var n=Xt(e);if(n)return n;if(e.querySelector("table")&&!e.querySelector("th, caption"))return String(r||"").trim();var o=Array.prototype.map.call(e.querySelectorAll("tr"),function(e){return Array.prototype.map.call(e.querySelectorAll("th, td"),function(e){return t(Jt(e)).replace(/\|/g,"\\|")})}).filter(function(e){return e.length>0});if(!o.length)return"";var i=o.reduce(function(e,t){return Math.max(e,t.length)},0),a=(o=o.map(function(e){for(;e.length<i;)e.push("");return e}))[0],l=a.map(function(){return"---"}),s=o.slice(1);return[a,l].concat(s).map(function(e){return"| "+e.join(" | ")+" |"}).join("\n")}function Qt(e){if("function"!=typeof TurndownService)return e;var r=document.createElement("div");r.innerHTML=e,function(e){e.querySelectorAll("font, span, a[style], b[style], i[style], u[style], em[style], strong[style], mark[style]").forEach(function(e){e.removeAttribute("style")}),e.querySelectorAll("font, p > span, li > span, blockquote > span").forEach(function(e){e.replaceWith.apply(e,Array.prototype.slice.call(e.childNodes))})}(r),ze(r),function(e){dt(e,"button, a, span, div",/^(copy|copy to clipboard)$/i),e.querySelectorAll("button.copybutton, [aria-label*='copy' i], [title*='copy to clipboard' i]").forEach(function(e){e.remove()}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("pre span[style], code span[style]").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("div.highlight, div[class*='CodeBlock'], div[class*='codeBlock'], div[class*='code-sample'], div[class*='CodeSample'], div[class*='snippet'], div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=e.querySelector("pre"),r=Ut((t||e).innerText||(t||e).textContent);if(r&&(t||/^(curl\b|[{[]|>>>|\$\s|GET\b|POST\b|PUT\b|PATCH\b|DELETE\b|HTTP\/|<\w)/m.test(r))){var n=document.createElement("pre"),o=document.createElement("code"),i=Zt(t||e);i||!e.matches(".redoc-json, [class*='redoc-json']")&&!/^[\[{]/.test(r)||(i="json"),o.textContent=r,i&&o.setAttribute("data-language",i),n.appendChild(o),e.replaceWith(n)}}),e.querySelectorAll("pre").forEach(function(e){var t=e.querySelector("code")||document.createElement("code"),r=t.getAttribute("data-language")||Zt(t)||Zt(e);t.textContent=Ut(t.textContent||e.textContent),r&&t.setAttribute("data-language",r),e.innerHTML="",e.appendChild(t)})}(r),function(e){for(var t=/^(P|H[1-6]|UL|OL|LI|TABLE|PRE|BLOCKQUOTE|HR|DL|FIGURE|DETAILS|SUMMARY|ARTICLE|SECTION|HEADER|FOOTER|NAV|ASIDE|MAIN|FORM|FIELDSET)$/,r=!0;r;)r=!1,e.querySelectorAll("div").forEach(function(e){if(e.parentNode){for(var n=!1,o=0;o<e.childNodes.length;o++){var i=e.childNodes[o];if(1===i.nodeType&&(t.test(i.nodeName)||"DIV"===i.nodeName)){n=!0;break}}if(n){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.remove(),r=!0}}})}(r);var n=new TurndownService({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",emDelimiter:"_"});n.addRule("tables",{filter:function(e){return"TABLE"===e.nodeName},replacement:function(e,t){return"\n\n"+Yt(t,e)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=Ut(r?r.textContent:t.textContent);return n?Wt(r&&r.getAttribute("data-language")||Zt(r||t),n):"\n\n"}}),n.addRule("images",{filter:function(e){return"IMG"===e.nodeName},replacement:function(e,r){var n=r.getAttribute("src")||r.getAttribute("data-src")||r.getAttribute("data-lazy-src")||"",i=t(r.getAttribute("alt")||"").replace(/[\[\]]/g,"");return n&&i?"+")":""}}),n.addRule("legalCitationLinks",{filter:function(e){return"A"===e.nodeName&&function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return!(!n||!r)&&(/govinfo\.gov\/link\/(?:uscode|plaw|statute)|ecfr\.gov\/current\/title-\d+/i.test(r)?/^(?:\d+\s+U\.?S\.?C\.?\s+)?[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n)||/^(?:Pub\.\s*L\.|Section\s+\d)/i.test(n):/^(?:\d+\s+U\.?S\.?C\.?\s+)[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n))}(e)},replacement:function(e,r){var n=r.getAttribute("href")||"",i=t(r.textContent||"").replace(/\s+([,;:.])/g,"$1").replace(/\s+-\s+/g,"-");return n&&i?"["+i.replace(/[\\[\]]/g,"")+"]("+o(n)+")":i}}),n.addRule("paragraphLikeDivs",{filter:function(e){if("DIV"!==e.nodeName)return!1;var r=t(e.textContent);return!(!r||r.length<20)&&0===e.querySelectorAll("div, p, table, ul, ol, h1, h2, h3, h4, h5, h6, pre, blockquote, article, section").length},replacement:function(e){return t(e)?"\n\n"+e.trim()+"\n\n":""}}),n.addRule("stripStyledInlineElements",{filter:function(e){if(1!==e.nodeType)return!1;var t=e.nodeName;return"FONT"===t||("A"===t||"SPAN"===t||"B"===t||"I"===t||"U"===t||"EM"===t||"STRONG"===t||"MARK"===t)&&!!e.getAttribute("style")},replacement:function(e){return e}});var i=n.turndown(r).replace(/\n{3,}/g,"\n\n").trim();return(i=i.replace(/(```[\s\S]*?```|`[^`\n]+`)|<\/?[a-z][^>]*>/gi,function(e,t){return t||""})).replace(/\n{3,}/g,"\n\n").trim()}function er(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function tr(e){return/(this page explains|this is an experiment|example page|demonstrate a webauthn-based interactive challenge|not part of cloudflare challenge production code)/i.test(e||"")}function rr(e,r,n){var o=t(e.title||document.title),i=t(r||"");return function(e,t){return/making sure you're not a bot!?/i.test((e=e||"")+" "+(t=t||""))||/protected by anubis/i.test(t)&&/(enable javascript to get past this challenge|please wait a moment while we ensure the security of your connection|loading)/i.test(t)}(o,i)?"anubis":function(e,r,n){e=e||"",r=r||"";var o=er(n),i=t(e+" "+r+" "+o),a=!r||t(r).length<80,l=/captcha-delivery\.com|datadome(?:\.co|\.js)?|\bvar\s+dd\s*=|\bddjskey\b|\bddCaptchaUrl\b/i.test(o),s=/datadome captcha|please enable javascript|disable (?:any )?ad blocker|request unsuccessful|blocked by datadome/i.test(i);return/datadome captcha/i.test(e+" "+r)||l&&(a||s)}(o,i,n)?"datadome":function(e,r,n){e=e||"",r=r||"";var o=er(n),i=!r||t(r).length<120;return!tr(r)&&(/attention required! \| cloudflare/i.test(e)||(/just a moment/i.test(e)||/verify you are human|checking your browser|performing security verification|verification successful\. waiting for .* to respond|reviewing the security of your connection before proceeding|please enable javascript and cookies to continue|security service to protect/i.test(r))&&!/this page explains/i.test(r)||(/turnstile/i.test(e)||/turnstile/i.test(r))&&/managed challenge|interactive challenge/i.test(r)&&!tr(r)||i&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(o)&&!tr(o))}(o,i,n)?"cloudflare":null}function nr(e,r){if("anubis"===e)return"Making sure you're not a bot!";var n=function(e){for(var r=[location.hostname,e&&e.siteName,e&&e.title],n=0;n<r.length;n+=1){var o=t(r[n]||"").replace(/^www\./i,"");if(je(o))return o}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function or(e,r){var n=t([location.hostname,e&&e.siteName,e&&e.title,e&&e.excerpt].join(" ")).toLowerCase(),o=t([r].join(" ")).toLowerCase();return!(!/(^|\.)(facebook\.com|instagram\.com|threads\.(net|com))$/.test(location.hostname)&&!/(facebook|instagram|threads|meta)/.test(n))&&/meta products|cookies from other companies|allow the use of cookies from (?:threads by )?instagram|log in with your instagram|join threads to share ideas|create new account|log in to (?:facebook|instagram)|log in to continue|log in to see photos and videos|sign up to see|page (?:is|isn't|is not) available|sorry, this page isn't available|essential cookies/.test(n+" "+o)}function ir(e,n){if(!or(e,n))return null;var o=/(threads)/i.test([location.hostname,e&&e.siteName,e&&e.title].join(" "))?"Threads":/(instagram)/i.test([location.hostname,e&&e.siteName,e&&e.title].join(" "))?"Instagram":"Facebook",i=t(e.title||document.title),a=function(){var e=_("next")||location.pathname;try{e=new URL(e,location.href).pathname}catch(e){}var n=r(e||"").split("/").filter(Boolean);return n.length?"login"===n[0]?t(n[1]||""):t(n[0]):null}(),l=["Access notice: "+o+" login or cookie acceptance required"],s=e.excerpt;return i&&!/threads\s*[•|-]\s*log in|facebook\s*-\s*log in/i.test(i)||(i=a?o+" page "+a:o+" page"),s&&!/join threads to share ideas|log in with your instagram|create an account or log into facebook/i.test(s)||(s="Original content on this "+o+" page is not available without login or cookie acceptance."),a&&-1===i.indexOf(a)&&l.push("Requested page: "+a),T({title:i,description:s,details:l,siteName:e.siteName||location.hostname,contentType:"interstitial"})}var ar="cookie|cookies|cookie settings|we use cookies|we use cookies and data|accept all cookies|accept all|reject all|reject optional cookies|reject optional|more options|cookie preferences|let us know your cookie preferences|allow the use of cookies|cookies from other companies|essential cookies|cookie notice|use cookies and similar technologies|manage cookie preferences|manage cookies|manage your privacy settings|privacy choices|personalize advertising|personalized content|welcome we and our .+ partners? wish to store|about your privacy|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|trusted third party|browsing history|device identifiers|personal data|preferences|consent|manage consent|advertising cookies|strictly necessary|social media cookies|legitimate interest|pliki cookie|ustawienia prywatności|polityka prywatności|prywatności|datenschutz|données personnelles|datos personales|dati personali|utilizamos cookies|utilizziamo i cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|cookieプリファレンスセンター|Cookie設定|クッキー設定|同意設定|同意の優先設定|すべて受け入れる|すべて許可|同意|受け入れる|쿠키|쿠키 설정|개인정보 설정|동의|모두 허용|허용|全部接受|接受全部|cookie 偏好设置|隐私设置|接受|隐私|файлы cookie|настройки cookie|принять все|принять|we gebruiken cookies|nastavení souhlasu|nastaveni cookies|souhlas s personalizací|souhlas|personalizac|soukromí|soubory cookie|sutikmeny|vi bruger cookies|vi använder cookies|vi anvander kakor|kakor|sekretess|samtycke|samtykke|informasjonskapsler|vi bruker informasjonskapsler|personvern|personverninnstillinger|dine personverninnstillinger|ditt personvern|dine data|aller media|aller media er ansvarlig for dine data|privatlivs|galetes|protecció de dades|protecció|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|приватности|evästeet|evasteasetukset|evästeasetukset|evästeitä|kaytamme evasteita|käytämme evästeitä|hyväksy evästeet|tietosuoja|slapukai|slapuku nustatymai|slapukų nustatymai|naudojame slapukus|slapukų|slapukus|колачиња|приватност|поставки за колачиња|cookie-uri|confidențialitate|utilizăm cookie-uri|siklapuku iestatijumi|sīkdatnes|sīkdatņu iestatījumi|sīkdatņu|sīkfailus|izmantojam siklapukus|izmantojam sīkdatnes|privātums|privātuma iestatījumi|privātuma|sütiket|süti beállítások|süti|adatvédelem|adatvédelmi beállítások|adatvédelmi|o vašoj privatnosti|o vašoj privatnosti|пристанак|колачић|подешавања приватности|before you continue|before you continue to (google|youtube)|privacy gate|jouw privacy-instellingen|cookie-indstillinger|siklapuku iestatijumi";function lr(e){return new RegExp(ar,e||"")}function sr(e){return new RegExp("^(?:"+ar+")",e||"")}function cr(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function ur(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return t.width>0&&t.height>0&&"hidden"!==r.visibility&&"none"!==r.display}function dr(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function mr(e,r,n,o){!(n=t(n||""))||n.length>o||cr(n)||r[n]||(r[n]=!0,e.push(n))}function pr(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=lr(),a=sr();return!!/^before you continue to (google|youtube)\b/.test(n)||(!(!/before you continue to (google|youtube)/.test(o)||!/accept all|reject all|more options|we use cookies and data/.test(o))||!!ln(o)&&(i.test(n)||a.test(o)))}function hr(e,r,n){n=n||{};var o=t(r||"").toLowerCase(),i=t(e||"").toLowerCase(),a=/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i,l=n.maxTextLength;if(l&&o.length>=l)return null;if(function(){var e=document.querySelector("article, main article, main [data-testid*='article' i], main [class*='article-body' i], main [class*='article-content' i], main [itemprop='articleBody'], [data-testid*='article-body' i], [class*='article-body' i], [class*='article-content' i], [itemprop='articleBody']");if(!e)return!1;var r=t(e.textContent||"");if(r.length<700)return!1;var n=e.querySelectorAll("p").length,o=e.querySelectorAll("h1, h2, h3").length,i=e.querySelectorAll("form input[type='password'], form input[name*='password' i]").length,a=/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(r.slice(0,500));return 0===i&&!a&&(n>=3||o>=2)}())return null;if(n.checkStructured&&function(){var e=document.querySelector("main, [role='main'], .content, body");if(!e)return!1;var r=t((e.querySelector("h1, h2")||{}).textContent||""),n=t(e.textContent||"");return!!/\bpage not found\b|\bnot found\b/i.test(r)&&(!!/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(n)&&0===e.querySelectorAll("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']").length)}())return{structured:!0};if(n.checkStructured&&/\bpage not found\b/i.test(i+" "+o)&&/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(i+" "+o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']"))return{structured:!0};if(!a.test(i+" "+o))return null;var s=o.slice(0,420),c=a.test(i),u=a.test(s),d=u&&o.length<900,m=c||u||o.length<900;return n.requireDominance&&!m||n.excludeDefinitionsNet&&/definitions\.net/i.test(i+" "+location.hostname)||n.requireInterstitialPage&&!(c||d||!n.substantialPublic&&u)&&n.substantialPublic?null:{titleLooksMissing:c,pageStartsMissing:u,shortMissingPage:d,dominates:m}}function fr(e){var r,n,o=t(e||""),i=(r=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3, main p, main li").length,n=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, h1, h2, h3, [itemprop='articleBody'], main li").length,Math.max(r,n)),a=document.querySelectorAll("main h1, h1, main h2").length,l=document.querySelectorAll("main a[href], a[href]").length;return i>=5&&(o.length>=180||a>=1&&l>=3)}function gr(e,r){var n=t(e.title||document.title),o=t([r||"",document.body&&document.body.textContent||""].join(" ")),i=(n+" "+o).toLowerCase(),a=fr(o);return or(e,r)?"meta_login":/robot or human|confirm (?:that )?you (?:are|.?re) (?:a )?human|activate and hold the button|press\s*(?:&|and)\s*hold|px-captcha|drag the slider to fit the puzzle|slide to verify|help us protect|verifying that you.?re a real person|unusual activity from your computer network|click the box below to let us know you.?re not a robot/i.test(i)?"human_verification":/select your country|choose a country|shopping in the u\.s\?|best buy international/i.test(i)&&!a?"region_selector":/browser is not supported|your browser is not supported|unsupported browser|for the best experience, use any of these supported browsers|use any of these supported browsers|supported browsers:/i.test(i)&&!a?"browser_support":/^access error$/i.test(n)||/potential misuse|page you are trying to access is unavailable|help\.ft\.com|request blocked|you have been blocked|troubleshooting cloudflare errors/i.test(i)?"access_error":function(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=/خطایی رخ داده|وب سایت مورد نظر در دسترس نیست|page unavailable|site unavailable|website unavailable|service temporarily unavailable|temporarily unavailable|service unavailable/;return i.test(n)||o.length<1200&&i.test(o.slice(0,500))}(n,o)?"site_unavailable":pr(n,o)?"consent_wall":/\bmy account\b[\s\S]{0,120}\blog in\b/i.test(o)&&/\byou must log in to access\b/i.test(o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody']")?"auth_wall":hr(n,o,{checkStructured:!0,requireDominance:!0,requireInterstitialPage:!0,substantialPublic:a,excludeDefinitionsNet:!0})?"not_found":/transferring (?:you )?to (?:the )?website|در حال انتقال به وب.سایت|سایت در حال بارگذاری|sayfaya yönlendiriliyorsunuz|yönlendiriliyor|מועבר לאתר|الموقع قيد التحميل|ویب سائٹ پر منتقل/i.test(i)&&t(o).length<600?"js_redirect":/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/i.test(i)?"subscription":function(e,r,n){var o=t(e||"").toLowerCase(),i=t(r||""),a=(location.pathname||"").toLowerCase(),l=/\/(?:log(?:in|-in)|sign(?:in|-in)|auth|oauth|sso|session|sessions|account(?:s)?\/login|users?\/sign_in|password|forgot)(?:\/|$)/.test(a),s=document.querySelectorAll("input[type='email'], input[name*='email' i], input[name*='password' i]").length,c=document.querySelectorAll("form input[type='password'], form input[name*='password' i], form[action*='login' i], form[id*='login' i], form[class*='login' i], [aria-label*='sign in' i] input[type='password']").length,u=f(["form h1","form h2","form legend","[role='dialog'] h1","[role='dialog'] h2","main h1","main h2"],8).filter(function(e){return/sign in|log in|login|create (?:an )?account|password/i.test(e)}).length,d=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3").length,m=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, nav a[href]").length,p=Math.max(d,m),h=/forgot(?:ten)? password|reset your password|check your email for a reset link/i.test(n),g=/\b(?:github|gitlab|google|oauth|sso|single sign-on|continue with|sign in with|log in with)\b/i.test(n);return!l&&/^(?:log in|login|sign in|sign-in|sign into|log into)(?:\b|\s*[-|–])/.test(o)&&(s>=1||c>0||u>0||g)?p<15:!!(h&&d<10&&i.length<2200||(h||/sign in to continue|log in to continue|create an account to continue|please sign in|please log in/i.test(n))&&(/sign in|log in|login|create (?:an )?account|reset your password/.test(o)||!(!/sign in|log in|login|create (?:an )?account|reset your password/.test(o)&&p>=15&&i.length>=1e3)&&((c>0||u>0)&&s>=1&&d<10||s>=1&&i.length<900&&d<8||i.length<400&&d<5)))}(n,o,i)?"auth_wall":null}function yr(e,r){var n=gr(e,r);if(!n)return null;if("meta_login"===n)return ir(e,r);var o=t(e.title||document.title),i=f(["main h1","main h2","main h3","main p","main li","body h1","body h2","body h3","body p"],20).filter(function(e){return e&&e.length<=240&&!cr(e)}),a=i.find(function(e){return e!==o&&e.length>=12})||e.excerpt||t(r||""),l=[],s=[];if("human_verification"===n)o&&!je(o)||(o="Robot or human?"),l.push("Gate: human verification");else if("consent_wall"===n){var c=function(){var e={},t=[],r=[],n=[],o=[];document.querySelectorAll("main h1, main h2, main h3, body h1, body h2, body h3").forEach(function(r){ur(r)&&mr(t,e,dr(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){ur(t)&&mr(r,e,dr(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){ur(t)&&mr(n,e,dr(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(ur(t)){var r=dr(t);!r||r.length>80||/(accept|reject|decline|manage|options|settings|choices|privacy|cookies?|consent|allow|agree|continue|more|customize|save|confirm|necessary|essential|preferences|alles|tout|todas?|todos?|rifiuta|rejeitar|weigeren|afvis|hylkää|odmítnout|noraidīt|elutasítás|elutasítom)/i.test(r)&&mr(o,e,"Control: "+r,100)}});var i=r.find(function(e){return e.length>=40&&/(cookies?|data|privacy|personal|ads?|content|services|device|information|partners?|consent)/i.test(e)})||r.find(function(e){return e.length>=20})||null;return{headings:t,description:i,highlights:t.concat(r).concat(n).concat(o)}}();c.headings.length&&(o=c.headings[0]),c.description&&(a=c.description),l.push("Interstitial: cookie or consent prompt"),s=c.highlights.filter(function(e){return e!==o&&e!==a}).slice(0,6)}else"region_selector"===n?(l.push("Interstitial: region or country selector"),s=i.filter(function(e){return e!==o&&e!==a}).slice(0,3)):"browser_support"===n?l.push("Interstitial: unsupported browser shell"):"access_error"===n?l.push("Interstitial: access error or blocked session"):"site_unavailable"===n?l.push("Interstitial: site unavailable or temporarily offline"):"not_found"===n?(o&&!je(o)||(o="Page not found"),/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(a||"")&&(a=i.find(function(e){return e!==o&&e.length>=12&&!/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(e)})||a),l.push("Interstitial: requested page is unavailable")):"subscription"===n?l.push("Access notice: subscription or institutional login required"):"auth_wall"===n?(o&&!je(o)||(o="Login required"),l.push("Access notice: login or account required")):"js_redirect"===n&&(o&&!je(o)||(o="Redirecting..."),l.push("Interstitial: JavaScript redirect page — content not yet loaded"));return T({title:o,description:a,details:l,highlights:s,siteName:e.siteName||location.hostname,contentType:"interstitial"})}function br(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function vr(){var e=(location.pathname||"").toLowerCase(),t=e.split("/").filter(Boolean),r=t[t.length-1]||"";return!t.length||(!(!/^\/(index|default|home)\b/i.test(e)&&!/^\/\d+(,\d+)*\.html?$/i.test(e))||(!!/\/(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|notizie|calciomercato|mercato|forums?|boards?|community|discussions?|threads)\/?$/.test(e)||t.length<=2&&!/\d{4}[-/]\d{2}[-/]\d{2}/.test(e)&&!/-/.test(r)&&!/\.(html?|php|aspx?|jsp|shtml)$/i.test(r)))}function wr(){var e=(location.pathname||"").toLowerCase(),t=(location.search||"").toLowerCase();return/(?:^|[?&])(q|query|search|searchtext|keyword|k)=/.test(t)||/\/(search|s|shop|browse|category|categories|collections?|catalog|keyword|wholesale|products?|jobs?)\b/.test(e)||/\b(category|categories|collection|catalog|search results?|shop|jobs?\s+(?:in|matching|for)|job results?)\b/i.test(document.title||"")}function xr(){var e=location.pathname||"";return!/\/(?:articles?|blogs?|columns?|archives?|entries?|posts?)\/?$/i.test(e)&&/(?:^|\/)(?:a-[a-z0-9]+|20\d{2}|\d{4}\/\d{2}\/\d{2}|article|articles|blog|blogs|column|columns|archive|archives|news\/[\w-]+|entry|entries|post|posts|view\/[A-Z]{3}\d{15,}|\d{5,}[\w-]*\.html?)(?:\/|\b)/i.test(e)}function Sr(e){if(!document.body)return!1;if(!xr())return!1;if(e&&"article"!==e.contentType&&"medical"!==e.contentType)return!1;var r=document.querySelector("[itemprop='articleBody'], article[role='main'], main article"),n=r||document.createElement("div");!r&&e&&e.html&&(n.innerHTML=e.html);var o=document.querySelector("h1")||n.querySelector("h1"),i=Array.prototype.filter.call(n.querySelectorAll("p"),function(e){var t=e.closest("article");return!t||t===n}),a=t(i.map(function(e){return e.textContent||""}).join(" "));!r&&e&&e.html&&(a=t(n.textContent||""));var l=n.querySelectorAll("article").length-(n.matches&&n.matches("article")?1:0),s=document.querySelector("[rel='author'], [itemprop='author'], [itemprop='datePublished'], time, .byline, [class*='byline' i]"),c=Array.prototype.reduce.call(n.querySelectorAll("p a[href]"),function(e,r){return e+t(r.textContent||"").length},0),u=a.length>0?c/a.length:1,d=i.length>=2&&a.length>=120,m=l>=2&&t(n.textContent||"").length>=280;return!!o&&(d||m)&&u<.45&&(!!r||!!e)&&(!!s||e&&(e.byline||e.publishedTime)||!!r)}function kr(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function Ar(e,t){return/^(privacy|cookies?|terms|chi siamo|about us|contact|contatti|redazione|advertising|newsletter|subscribe|login|sign in|register|cookie settings|manage preferences)$/i.test(e)||/\/(privacy|cookie|cookies|terms|about|contatti|contact|redazione|login|register)\b/i.test(t||"")}function Cr(){return location.origin+location.pathname}function qr(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function Tr(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=qr((e.siteName||location.hostname||"").replace(/^www\./i,"")),o=/^(latest|news|article|articles|articlelist|story|stories|home|homepage|index|default|today|more|page|pages|section|sections|category|categories|topic|topics|read|view|photo|photos|video|videos|gallery|galleries|live|blog|blogs|web|english|telugu|samayam|newsweb|edition)$/,i=qr([location.pathname||"",e.title||"",document.title||"",t?t.textContent:""].join(" ")).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!o.test(e)&&-1===n.indexOf(e)}),a=[];i.forEach(function(e){-1===a.indexOf(e)&&a.length<12&&a.push(e)});var l=[];return(location.pathname||"").split("/").filter(Boolean).forEach(function(e){var t=r(e||"").toLowerCase();!t||/^\d/.test(t)||/\.(html?|php|aspx?|jsp|cms)$/i.test(t)||/^(news|latest-news|latest|articlelist|articles?|read|view|topic|topics|section|sections|home|index|default|world|india-news|international-news|english|telugu)$/.test(t)||-1===l.indexOf(t)&&l.push(t)}),{currentUrl:Cr(),keywords:a,sectionFragments:l.slice(0,4)}}function _r(e){return!!(e=t(e||"").toLowerCase())&&(/(trending topics|latest videos|latest photos|లేటెస్ట్ వీడియోలు|లేటెస్ట్ ఫోటోలు|video gallery|photo gallery|web stories|most read|best gelezen|newsletter|subscribe|abonneren|log in|login|sign in|register|create account|maak een account|u bent niet|settings|instellingen|tip ons|nieuwstip|belangrijke informatie delen|copyright|all rights reserved|privacy preference center|manage cookie preferences|manage consent preferences|manage privacy preferences|your privacy settings|your privacy choices|cookie list|cookie information|list of partners \(vendors\)|this website uses cookies|by accepting cookies|cookie declaration last updated|consent id|change your consent|your current state|vsak dan|poglej več|mark forums? read|forum statistics|members online|who is online|users browsing|forum rules|new posts since last visit|currently active users|forum contains no new|board statistics|mark all forums? read|what's going on|users online|active threads|active users)/i.test(e)||/\b\d{1,2}\.\d{2}\b/.test(e)&&/(vsak dan|sezona|oddaja|epizoda|premiera)/i.test(e))}function Er(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]( næsta s[óo]larhring)?|weather forecast|uppl[ýy]singar um ve[ðd]ur)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=3)}function jr(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"").slice(0,280);return/(sidebar|side-bar|rail|utility|complementary|secondary|trending|popular|most-read|mostread|video|videos|photo|photos|gallery|galleries|web.?stor|newsletter|subscribe|social|share|follow|language|edition|top[_-]?nav|secondary-navbar|first-level-menu|second-level-menu|header-menu|side-nav|top-trending|wdt-trending|recommended|related|login|signup|register|account|forum[_-]?stats|online[_-]?users|who[_-]?is[_-]?online|board[_-]?stats|members[_-]?online|active[_-]?users|forum[_-]?rules|quick[_-]?reply|new[_-]?thread|moderator[_-]?panel|subforum[_-]?list)/.test(r)||_r(n)}function Lr(e,t,r,n){var o="",i=(e+" "+(r||"")).toLowerCase(),a=0,l=0;try{o=new URL(t,location.href).pathname.toLowerCase()}catch(e){o=""}return n.keywords.forEach(function(e){-1!==(i+" "+o).indexOf(e)&&(a+=1)}),n.sectionFragments.forEach(function(e){-1!==o.indexOf(e)&&(l+=1)}),{path:o,keywordMatches:a,sectionMatches:l}}function $r(e,r,n){if(!e)return null;var i=e.getAttribute("href"),a=e.querySelector("h1, h2, h3, h4"),l=t(a&&a.textContent||e.textContent||e.getAttribute("aria-label")||""),s="",c=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);if(!i||"#"===i[0]||/^(javascript:|mailto:)/i.test(i))return null;if(l.length<br(l)||l.length>220)return null;var u=o(i);if(!u)return null;try{s=new URL(u,location.href).pathname}catch(e){return null}if(location.origin+s===n.currentUrl)return null;if(/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(l))return null;if(/\/(subscribe|subscription|abonnement|login|register|newsletter|account|instellingen|settings)\b/i.test(u))return null;if(/\/(privacycontrols?|privacy|cookies?|consent)\b/i.test(u)&&l.length<80)return null;if(Ar(l,i)||Rr(e)||Rr(e.parentElement)||zr(e))return null;var d=e.querySelector("h1, h2, h3, h4, p")?e:r,m=t(d&&d.textContent||"").replace(l,"").replace(/\s*[|·]\s*/g," - ");if(m=m.replace(/\b(last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)\b/gi,"").replace(/\s{2,}/g," ").trim(),!c&&/\/(ve[ðd]ur|vedur|forecast|weather|spastod)\b/i.test(u)&&Er(l+" "+m))return null;if(/\/(tv|spored)\//i.test(u)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(l+" "+m)||/\b\d{1,2}\.\d{2}\b/.test(l+" "+m)))return null;var p=function(e,r,n,o,i){if(!r)return-1/0;var a=e.length,l=Lr(e,r,n,i),s=l.path;if(location.origin+s===i.currentUrl)return-1/0;o&&o.matches("article, section, li")&&(a+=120);var c=o&&o.querySelector("h1, h2, h3, h4");return c&&t(c.textContent||"")===e&&(a+=180),a+=70*l.keywordMatches,a+=220*l.sectionMatches,(jr(o)||jr(o&&o.parentElement))&&(a-=260),(_r(e)||_r(n))&&(a-=220),a}(l,u,m,r||e.parentElement,n);return p===-1/0?null:{text:l,url:u,detail:m,score:p,card:Pr(e,r)}}function Pr(e,t){return e&&e.closest&&e.closest("article, li, [class*='card'], [class*='story'], [class*='teaser'], [class*='item'], [class*='result'], [class*='news'], [class*='headline']")||t||e&&e.parentElement}function Nr(e,t){for(var r=e&&e.parentElement;r&&r!==document.body;){if(r.matches&&r.matches("article, li, main, [role='main']"))return null;if(r.matches&&r.matches("header")&&e.closest("article, section, main, [role='main']"))r=r.parentElement;else{if(t(r))return r;r=r.parentElement}}return null}function zr(e){return Nr(e,Rr)}function Mr(e,r){if(!e||1!==e.nodeType)return!1;if(e.matches("nav, header, footer, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']"))return!0;var n=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase();return!!n&&(!/(news|headline|story|article|post|feed|stream|content|result|listing|archive|topic|thread|discussion|feature)/.test(n)&&(r?/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer|utility|meta|social|share|follow|account|login|signup|register)/.test(n):/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer)/.test(n)))}function Rr(e){return Mr(e,!0)}function Br(e){return Mr(e,!1)}function Hr(e,n){if(!e||Sr(n))return!1;if(Xn(null,e)||Yn(null,e))return!1;if(function(e){var n=t(e||"");if(n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),a=(String(e||"").match(/^\s*[-*]\s+(?:\[[^\]]+\]\([^)]*\)|(?:\d+[A-Z]?\.|Article\s+\d+|Schedule\s+\d+))/gim)||[]).length,l=String(e||"").split(/\n+/).filter(function(e){var r=t(e).replace(/^[-*#\s]+/,"");return r.length>=160&&!/^\[[^\]]+\]\(/.test(r)}).length;return i&&a>=6&&l<4}(e))return!0;if(!vr()&&!wr())return!1;if(t(n&&(n.byline||n.publishedTime)))return!1;var o=String(e).split(/\n+/),i=o.filter(function(e){return/^\s*(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/.test(e)||/^\s*(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/.test(e)}).length,a=(String(e).match(/(?:^|\s)(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/g)||[]).length+(String(e).match(/(?:^|\s)(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/g)||[]).length,l=o.filter(function(e){var r=t(e).replace(/^#+\s*/,"");return!(!r||r.length<160)&&!/^\s*(?:(?:\d+\.|[-*])\s+)?#{0,4}\s*\[[^\]]+\]\(/.test(e)}).length;return function(e){var t,r=[],n=/\[[^\]]{8,220}\]\(([^\s)]+)\)|https?:\/\/[^\s)]+/g;for(;t=n.exec(String(e||""));){var o,i=t[1]||t[0];try{o=new URL(i,location.href)}catch(e){continue}o.origin===location.origin&&o.origin+o.pathname!==Cr()&&(kr(o.pathname)&&-1===r.indexOf(o.origin+o.pathname)&&r.push(o.origin+o.pathname))}return r.length}(e)>=6||Math.max(i,a)>=4&&l<5}function Fr(e,r){if(!document.body)return null;if(r&&"article"!==r.contentType&&"list"!==r.contentType)return null;if(r&&"list"===r.contentType){if(!re())return null;if(r.docsLike)return null;var n=fo(e,{portalRoot:!0});return n.portalRootEvidence?(r.portalRootEvidence=n.portalRootEvidence,r):null}if(!r&&!re())return null;if(r&&(r.hostAware||r.docsLike))return null;if(ln(document.body.textContent||""))return null;if(r&&hr(r.title||document.title||"",document.body.textContent||"",{maxTextLength:1400}))return null;if(r&&document.querySelector("article h1, article [itemprop='articleBody']")&&(t(r.byline||p()||"")||t(r.publishedTime||h()||"")))return null;var o=fo(e,{portalRoot:!0});return o.portalRootEvidence?o:null}function Or(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||Sr())return!1;var n=t([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" ")).toLowerCase();if(!/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/.test(n))return!1;var o=ro(e,{cardSelectors:".card, [class*='case-card' i], [class*='record-card' i], [class*='result-card' i], article, li",allowMissingUrl:!0,dedupe:!1,minTitleLength:3,maxTitleLength:180,linkBuilder:function(e){return e.querySelector(".card-header, h2, h3, h4, a[href]")},candidateBuilder:function(e,r){var n=t(e.textContent||"");return/\b(?:case|defendant|prosecutor|trial|charges?|warrant|summons|custody|convicted|acquitted|closed|at large|court|record|docket|matter)\b/i.test(n)?{text:t((r||{}).textContent||"")}:null}}),i=e.querySelectorAll("form, [class*='filter' i], [class*='facet' i], [class*='exposed' i], [class*='search' i]").length,a=/\b\d{1,4}\s+(?:cases?|defendants?|records?|matters?|results?)\b/i.test(r);return o.length>=4&&(i>=1||a)}function Ir(e){var r=Cr(),n=[];return Array.prototype.forEach.call(e.querySelectorAll("a[href]"),function(e){var i,a=t(e.textContent||e.getAttribute("aria-label")||""),l=o(e.getAttribute("href"));if(!(a.length<br(a)||a.length>220||Ar(a,l||""))&&l){try{i=new URL(l,location.href)}catch(e){return}i.origin===location.origin&&i.origin+i.pathname!==r&&kr(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname)}}),n.length}function Dr(e){if(!e||"article"!==e.contentType)return!1;var r=(location.pathname||"").toLowerCase();if("/"===r||""===r||/^\/(index|default|home)\b/i.test(r)||/^\/\d+(,\d+)*\.html?$/i.test(r))return!1;var n=document.createElement("div");n.innerHTML=e.html||"";var o=t(n.textContent||e.textContent||""),i=n.querySelectorAll("p").length,a=n.querySelectorAll("h1, h2, h3").length,l=(e.markdown||"").match(/^\s*- \[/gm)||[],s=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),c=o.length>0?s/o.length:0,u=xr();return!Qn(n,o)&&(!(!Xn(n,o)&&!Yn(n,o))||(!vr()&&o.length>=280&&c<.5||!(vr()&&c>.5)&&(!(vr()&&a>=5&&a>=.6*i)&&(!(o.length<280)&&(!(i<3&&a<1&&!u)&&(!(l.length>=8&&i<5)&&(!(c>.33&&i<6)&&(u&&o.length>=280&&c<.5||i>=5||e.readerMode&&i>=3&&c<.28))))))))}function Ur(e){var r=Tr(e),i=[];["main","[role='main']",".itemlist","table","ol","ul",".posts",".stories",".items",".news",".feed",".headlines",".view-case-listing","[class*='case-listing' i]","[class*='record-listing' i]","[class*='news']","[class*='feed']","[class*='headline']",".threads",".topic-list",".forumlist",".discussionList","[class*='threadlist']","[class*='thread-list']","[class*='topic-list']","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){i.push(e)})});var a=i.reduce(function(e,i){var a=function(e,r){if(Rr(e)||jr(e))return-1/0;var i=e.querySelectorAll("a[href]").length,a=e.querySelectorAll("li, tr, article, section").length,l=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic'], .structItem, .discussionListItem").length,s=e.querySelectorAll("h2, h3, h4").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=br(r)&&!Ar(r,e.getAttribute("href")||"")&&!Rr(e.parentElement)&&!Rr(e.closest("div, section, article, li"))}).length,u=n(e);if(c<4||u<120)return-1/0;if(/copyright|all rights reserved|privacy policy|terms of use/i.test(t(e.textContent||""))&&s<2)return-1/0;var d=0;return r&&(r.sectionFragments.length||r.keywords.length)&&Array.prototype.forEach.call(e.querySelectorAll("a[href]"),function(e){var n=t(e.textContent||e.getAttribute("aria-label")||"");if(!(n.length<br(n))){var i=o(e.getAttribute("href"));if(i){var a=Lr(n,i,"",r);d+=140*a.sectionMatches+30*a.keywordMatches}}}),10*i+30*c+20*a+45*l+20*s+d-Math.round(u/40)}(i,r);return!e||a>e.score?{node:i,score:a}:e},null);return a&&a.score>-1/0?a.node:document.body}function Wr(e){return"function"==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e.replace(/[àáâãäåæ]/g,"a").replace(/[èéêë]/g,"e").replace(/[ìíîï]/g,"i").replace(/[òóôõöø]/g,"o").replace(/[ùúûü]/g,"u").replace(/[ýÿ]/g,"y").replace(/[ñ]/g,"n").replace(/[çć]/g,"c").replace(/[šś]/g,"s").replace(/[žźż]/g,"z").replace(/[đ]/g,"d").replace(/[łĺ]/g,"l").replace(/[ř]/g,"r").replace(/[ťț]/g,"t").replace(/[ğ]/g,"g").replace(/[ąă]/g,"a").replace(/[ęě]/g,"e").replace(/[ıİ]/g,"i").replace(/[ůű]/g,"u").replace(/[őö]/g,"o").replace(/[ń]/g,"n")}function Zr(e){return/[\u0370-\u03FF\u0400-\u04FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(e||"")}function Gr(){return Wr(r(location.pathname||"").toLowerCase()).replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(questions|question|about|docs|wiki|html|index|start|journey|get|your|with|from|the|and|for|dictionary|definition|definitions|browse|category|recipes|recipe|english|search|translate|translation|pronunciation|thesaurus)$/.test(e)&&!/^\d+$/.test(e)})}function Kr(e){return(r(e||"").toUpperCase().match(/\b(?:WO|US|EP|JP|CN|KR|CA|AU)\s*\/?\s*\d{4}\s*\/?\s*\d{3,7}\s*[A-Z]?\d?\b/g)||[]).map(function(e){return e.replace(/[^A-Z0-9]/g,"")}).filter(function(e,t,r){return e.length>=8&&r.indexOf(e)===t})}function Vr(){var e=(location.pathname||"").match(/^\/([a-z]{2})(?:\/|$)/);if(e||(e=(location.pathname||"").match(/\/([a-z]{2})(?:\/|$)/)),!e)return null;var t=e[1];return/^(de|fr|es|pt|pl|it|nl|sv|da|nb|no|fi|cs|sk|hu|ro|bg|hr|sr|sl|uk|el|tr|ja|ko|zh|ar|he|th|vi|id|ms)$/.test(t)?t:null}function Jr(e){try{return new URL(e||location.href,location.href)}catch(e){return null}}function Xr(e){return(e&&e.hostname||"").replace(/^www\./i,"").toLowerCase()}function Yr(e){return e?r(e.pathname||"").split("/").filter(Boolean).map(function(e){return e.replace(/\.(?:html?|shtml|php|aspx?)$/i,"").toLowerCase()}):[]}function Qr(e){return Wr(t(r(e||""))).toLowerCase().replace(/[^a-z0-9]+/g," ").trim().replace(/\s+/g," ")}function en(e){return!(!e||e.length<10)&&(!/^\d+$/.test(e)&&(!(/^[a-z0-9]{10,}$/i.test(e)&&-1===e.indexOf("-")&&-1===e.indexOf("_")&&!/[^\x00-\x7F]/.test(e))&&(/[-_]/.test(e)||/[^\x00-\x7F]/.test(e))))}function tn(e){return!(!e||!e.length)&&(1===e.filter(en).length&&e.every(function(e){return en(e)||e.length<=24||/^\d+$/.test(e)||/^[a-z]{2}$/i.test(e)||/^[a-z0-9]{6,}$/i.test(e)}))}function rn(e,n,o,i){if(!e||!t(e.title||""))return!1;if(!(n&&"article"===n.contentType||o.length>800||((i||"").match(/\n\s*\n/g)||[]).length>=4))return!1;var a=r(location.pathname||""),l=Yr(Jr(location.href)),s=Gr(),c=Wr([e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" ")).toLowerCase(),u=Wr(t(n&&n.title||e.title||"")).toLowerCase(),d=[e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" "),m=s.length>=5?.2:.15,p=s.filter(function(e){return-1!==c.indexOf(e)}).length,h=s.filter(function(e){return-1!==u.indexOf(e)}).length,f=tn(l)&&s.length>=2&&(p>=1||h>=1||p/s.length>=m||h/s.length>=m);return function(e){var t=Jr(location.href),r=Jr(e&&e.canonicalUrl);if(!t||!r)return!1;if(Xr(t)!==Xr(r))return!1;var n=Yr(t),o=Yr(r);if(n.join("/")===o.join("/"))return tn(n);if(n.length!==o.length)return!1;for(var i=0,a=0;a<n.length;a+=1)if(n[a]!==o[a]&&(i+=1,!en(n[a])||!en(o[a])))return!1;return 1===i}(e)&&Zr(d)||Zr(a)||Zr(d)&&tn(l)||f}function nn(e,n,o,i){var a=t([e&&e.title,n&&n.title,o,i].join(" ")).toLowerCase();if(a.length<800)return!1;if(!/\b(?:shareholder|annual report|letter to shareholders|berkshire hathaway|investor relations|form\s*(?:10-k|10-q|8-k)|sec filing)\b/.test(a))return!1;var l=r(location.pathname||"").toLowerCase();return!!/\/(?:19|20)\d{2}(?:ar|annualreport|annual-report|report|letter)\//.test(l)||(!!/\/(?:19|20)\d{2}[^/]*(?:letter|report|annual)[^/]*\.html?$/.test(l)||!(!/\/(?:letters?|annual-reports?|reports?)\//.test(l)||!/(?:19|20)\d{2}/.test(l)))}var on={de:/\b(und|die|der|das|ist|von|zu|mit|den|ein|eine|für|auf|als|auch|nicht|sich|werden|nach|bei|aus|wie|oder|noch|nur|dem|des|über)\b/gi,fr:/\b(les|des|une|est|dans|pour|sur|par|pas|qui|que|avec|son|sont|plus|ses|mais|cette|ont|tout|nous|vous|aux|leur)\b/gi,es:/\b(los|las|una|del|por|con|para|que|más|son|sus|pero|como|esta|todo|nos|hay|fue|muy|han|sin|sobre|tiene)\b/gi,pt:/\b(dos|das|uma|por|com|para|que|mais|são|mas|como|esta|seu|sua|tem|nos|foi|pode|muito|seus|sobre|também)\b/gi,pl:/\b(nie|jest|są|się|jak|czy|ale|lub|oraz|tak|ich|jego|już|pod|przy|bez|dla|gdy|gdzie|między|tylko|może|który|która|które|których|którym|którego|którą|ten|ta|tej|tego|tym|tych|przez|dnia|roku|wobec|nadto|ponadto|został|została|był|była|było|były)\b/gi,it:/\b(gli|una|del|per|con|che|sono|più|dalla|della|delle|dei|anche|come|questa|tutto|suo|sua|suoi|nelle|alla)\b/gi,nl:/\b(een|het|van|zijn|met|dat|voor|maar|niet|ook|als|nog|wel|hun|uit|bij|kan|zou|meer|alle|dit|wordt)\b/gi,da:/\b(den|det|til|med|har|som|kan|vil|blev|efter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|blev|over|under)\b/gi,sv:/\b(den|det|att|som|har|med|för|kan|och|var|till|från|inte|ska|alla|hon|han|efter|över|under|denna|också|eller|blev)\b/gi,no:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,nb:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,fi:/\b(sen|oli|kun|tai|niin|mutta|ovat|joka|myös|kuin|siitä|tämä|hänen|tämän|vain|olla|sillä|sekä|ovat|vielä|nyt|yli|alle)\b/gi,tr:/\b(bir|için|ile|olan|olarak|gibi|daha|kadar|ancak|ayrıca|sonra|yapılan|ise|olan|üzerinde|tarafından|büyük|yeni|sonra)\b/gi,lv:/\b(par|kas|bet|arī|lai|jau|gan|nav|tad|vai|kur|šis|tās|kā|pie|pēc|tiek|var|būt|kad|vēl|viņa|visi|tikko|savs|kurš)\b/gi,lt:/\b(tai|yra|kad|bet|jau|dar|tik|bus|nuo|per|bei|iki|dėl|kas|čia|jis|jos|kur|buvo|labai|arba|dabar|turi|savo|apie)\b/gi,ro:/\b(este|sunt|fost|care|dar|sau|mai|pentru|într|cea|cel|acest|după|când|cum|prin|din|lor|avea|fost|toate|poate|doar)\b/gi,hr:/\b(koji|koja|koje|biti|nije|kao|ali|ako|više|samo|mogu|nakon|između|tada|sve|još|prije|već|prema|sada|njegov|ovaj)\b/gi,sr:/\b(који|која|које|бити|није|као|али|ако|више|само|могу|након|између|тада|све|још|пре|већ|према|сада|његов|овај)\b/gi,uk:/\b(що|але|як|або|вже|для|при|без|між|під|над|після|тому|який|яка|яке|його|його|цей|ще|також|може|були|буде)\b/gi,bg:/(?:^|\s)(и|в|на|за|с|от|до|е|са|се|че|но|като|през|които|която|което|след|това|също|повече|само|между|тези|всички|може|имат|обаче|когато|върху|срещу)(?=\s|$)/gi,el:/\b(και|που|από|στο|στα|στη|στις|στον|στους|για|με|της|του|των|ότι|αυτό|ήταν|είναι|αλλά|μετά|πριν|ακόμα|μπορεί)\b/gi,sk:/\b(ktorý|ktorá|ktoré|alebo|jeho|jeho|tento|tiež|môže|boli|bude|keď|pred|všetky|len|ešte|však|medzi|zatiaľ)\b/gi,sl:/\b(vendar|ampak|lahko|tudi|pred|vsak|bolj|že|prav|toda|niso|bili|bila|bilo|bodo|oziroma|čeprav|vedno|takoj)\b/gi,hu:/\b(hogy|mint|amikor|pedig|csak|volt|lesz|még|vagy|máig|után|előtt|mivel|összes|fogja|ehhez|tehát|viszont|minden)\b/gi,cs:/\b(který|která|které|jako|jeho|tento|také|může|byli|bude|když|před|všechny|ještě|pouze|však|mezi|zatím|proto)\b/gi};function an(e,r){if(function(e,r){var n=t(r||"");if(!n||n.length<120)return!1;var o=n.replace(/\s/g,"");if(!o)return!1;var i={bg:/[\u0400-\u04FF]/g,el:/[\u0370-\u03FF]/g,sr:/[\u0400-\u04FF]/g,uk:/[\u0400-\u04FF]/g}[e];return!!i&&(o.match(i)||[]).length/o.length>=.25}(e,r))return!0;var n=on[e];if(!n)return!0;var o=r.match(n)||[],i=r.split(/\s+/).length,a="pl"===e?.025:.03;return i<40||o.length/i>=a}function ln(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!lr("i").test(r))return!1;if(sr("i").test(r))return!0;var n=r.match(lr("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function sn(e){var r=t(e||"").toLowerCase();if(!r)return!1;var n=/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/g;if(n.test(r.slice(0,600)))return!0;var o=r.match(n)||[];return r.length<3e3&&o.length>=1}function cn(){var e=w(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=L("article:content_tier","property")||L("article:content_tier","name"),o=n&&/^(locked|metered|premium)$/i.test(t(n)),i=!!document.querySelector("[data-piano-offer], [data-paywall], [class*='paywall' i], [id*='paywall' i], [class*='subscribe-wall' i], [class*='premium-wall' i], [class*='piano-offer' i], [data-testid*='paywall' i], [class*='metered' i][class*='banner' i]"),a=t(document.body&&document.body.innerText||"").slice(0,6e3).toLowerCase(),l=/(for abonnenter|unlock full access|contenu réservé aux abonnés|solo para suscriptores|nur für abonnenten|alleen voor abonnees|solo per abbonati|dostępne dla subskrybentów|только для подписчиков|лише для передплатників|přístupné pouze pro předplatitele|csak előfizetőknek|exklusivt för prenumeranter|kun for abonnenter|vain tilaajille|tik prenumeratoriams|tikai abonentiem|nur für abonnent|nur für abonnenten|contenido exclusivo para suscriptores|réservé aux abonnés|subscriber exclusive|subscribers only|premium content|members only|členský obsah|premium-inhalt)/.test(a);return r||o||i||l?{source:r?"structured_data":o?"meta_tag":i?"dom_element":"text_pattern",contentTier:n?t(n).toLowerCase():r?"locked":null}:null}function un(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,5e3)].join(" ")).toLowerCase();return!!/\/(?:instruments?|treat(?:y|ies)|charters?|covenants?|conventions?|protocols?|resolutions?|publication\/unts)\b/.test(o)||(!!/\b(?:international\s+)?(?:covenant|convention|charter|treaty|protocol|optional protocol|general assembly resolution|united nations treaty collection|states parties to the present|entry into force|ratification status)\b/.test(i)||(!(!/\barticle\s+\d+\b/.test(i)||!/\b(states parties|entry into force|ratification|depositary|secretary-general|united nations)\b/.test(i))||!!function(e,t,r){var n=Ln({text:t,title:e,path:r,contextLimit:5e3}),o=/\b(?:book|part|division|chapter|title|article|section)\s+\d+[a-z]?\b/g.test(t)||/(?:^|\s)§\s*\d+/.test(t);return n.officialStatuteTitle&&n.officialTextSignals&&(o||n.translationAttribution||/\/englisch_[a-z0-9_-]+\//.test(r))}(e,n,o)))}function dn(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,8e3),L("citation","name"),L("DC.title","name")].join(" ")).toLowerCase(),a=mn(o),l=/\[\d{4}\]\s*(?:ukhl|uksc|ewca|ewhc|ukpc|ukut|ukftt|ac|wlr|all\s+er|ecli)\b/i.test(i),s=/\b(?:judgment|judgement|opinion(?:s)? of the lords|court of appeal|high court|supreme court|house of lords|lordships|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(i),c=/\b(?:v\.?|versus)\b/i.test(e||i)&&/\b(?:appellant|respondent|claimant|defendant|secretary of state|commissioner|director of public prosecutions)\b/i.test(i);return a&&(l||s||c)||l&&s&&c}function mn(e){return/\/(?:cases?|judgments?|judg?ments?)\/[^/]+\/\d{4}\/\d+(?:\.html?)?$/i.test(e)||/\/(?:uksc|ukhl|ewca|ewhc|ukpc|ukut|ukftt|scotcs|niehc|nifam|ecj|echr|ecli)\/\d{4}\/\d+(?:\.html?)?$/i.test(e)}function pn(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike)return!1;if(Ee(/(^|\.)siol\.net$/))return!1;if(function(e,n,o,i){if(!n||"article"!==n.contentType||i.length<500)return!1;var a=r(location.pathname||"").toLowerCase(),l=t([o,n&&n.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,L("article:section","property"),location.hostname||"",a].join(" ")).toLowerCase();if(/\b(news|breaking|opinion|press release|live updates?)\b/.test(l))return!1;var s=/\b(science|research|data|statistics|charts?|emissions?|climate|mission|observatory|telescope|reference|facts?|explorer|dataset|indicators?)\b/.test(l),c=/\b(key facts|data explorer|all charts|research & writing|introduction|overview|mission overview|science themes|methodology|download data|sources? and methods?)\b/i.test(i),u=/\/(?:mission|missions|data|statistics|charts?|topics?|explorers?)(?:\/[^/.]+)?\/?$/.test(a)||/\b(?:emissions|greenhouse-gas|climate|dataset|data-explorer)\b/.test(a),d=(i.match(/^##\s+/gm)||[]).length;return s&&(u&&i.length>=500||i.length>=1500&&(c||d>=4))}(e,n,o,i))return!1;if(function(e,r,n,o){if(!r||"article"!==r.contentType||o.length<500)return!1;var i=t([n,r&&r.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,L("article:section","property"),location.pathname||"",o.slice(0,4e3)].join(" ")).toLowerCase();return/\b(today in history|on this day|this day in history|from the archives|retrospective|look back|looking back|revisit(?:ed|ing)?|recall(?:s|ed|ing)?|remember(?:s|ed|ing)?|anniversary|archived|back then|then and now|historical|ajaloos|ajalugu|tagasivaade|meenut(?:a|ab|as)?)\b/.test(i)||/(?:振り返る|回顧|回想|当時|歴史|記念)/.test(i)}(e,n,o,i))return!1;var a=w(["NewsArticle","ReportageNewsArticle","LiveBlogPosting","AnalysisNewsArticle","OpinionNewsArticle"]);if(a){var l=t(S(a.dateModified)||L("article:modified_time","property")||L("article:modified_time","name")||L("dateModified","property")||L("dateModified","name")||"");if(l){var s=Date.parse(l);if(!isNaN(s))if((Date.now()-s)/864e5<=30)return!1}return!0}var c=t(L("og:type","property")||"").toLowerCase();if(c&&"article"!==c)return!1;if(document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"))return!1;var u=t([o,e&&e.siteName,e&&e.excerpt,L("article:section","property"),location.pathname||""].join(" ")).toLowerCase();return!/\b(docs?|documentation|reference|encyclopedia|wiki|manual|api|guide|tutorial|learn|legal|charter|terms|privacy|about us)\b/.test(u)&&(!!/\b(news|breaking|politics|business|markets?|economy|world|national|local|analysis|opinion|investigation|report)\b/.test(u)||i.length<5e3&&/\b(updated|published|reported)\b/.test(u))}function hn(e){var r=[];return e.forEach(function(e){Array.prototype.slice.call(document.querySelectorAll(e)).forEach(function(e){var n=t(e.textContent||"");n.length>=80&&-1===r.indexOf(n)&&r.push(n)})}),t(r.join("\n\n"))}function fn(e,r,n){if(!e||"article"!==e.contentType||e.docsLike||n.length<100)return!1;var o=String(e.html||""),i=t([e.title||"",n.slice(0,1e3)].join(" ")).toLowerCase();if(/\blyrics?\b/.test(i)||/\bpoems?\b/.test(i))return!1;var a=((r||"").match(/\n\s*\n/g)||[]).length,l=((r||"").match(/^#{1,6}\s+/gm)||[]).length,s=(n.match(/[.!?。!?؟।]+/g)||[]).length,c=t(document.documentElement&&document.documentElement.lang||"").toLowerCase(),u=n.length<1500&&(c&&!/^en\b/.test(c)||(n.match(/[^\x00-\x7F]/g)||[]).length>.3*n.length);return Ee(/(^|\.)lenta\.ru$/)&&/^\/news\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||"")?(a>=1||l>=1)&&s>=2:!!(u&&Dr(e)&&(a>=1||l>=1||s>=2))||!(n.length>=700)&&(!(!/<article\b/i.test(o)&&!/<main\b/i.test(o))&&((a>=1||l>=1)&&s>=2))}function gn(e,t){var r=document.createElement("div");if(r.innerHTML=e&&e.html?e.html:"",!r.innerHTML)return{root:null,markdown:t};Array.prototype.forEach.call(r.querySelectorAll(["aside","nav","footer","[role='complementary']","[role='navigation']","[aria-label*='related' i]","[aria-label*='recommended' i]","[aria-label*='latest' i]","[class*='related' i]","[class*='recommend' i]","[class*='recirculat' i]","[class*='liveblog' i]","[class*='live-blog' i]","[class*='sidebar' i]","[class*='side-bar' i]","[class*='widget' i]","[class*='comment' i]","[class*='discussion' i]","[class*='community' i]","[class*='popular' i]","[class*='trending' i]","[class*='suggest' i]","[class*='teaser' i]","[class*='also-read' i]","[class*='read-more' i]","[class*='more-news' i]","[class*='more-stories' i]","[class*='more-from' i]","[class*='front-page' i]","[class*='article-list' i]","[class*='content-list' i]","[class*='story-list' i]","[class*='news-list' i]","[class*='headline-list' i]","[class*='feed' i]","[class*='story-card' i]","[class*='storycard' i]","[class*='article-related-content' i]","[id*='related' i]","[id*='recommend' i]","[id*='comment' i]","[id*='sidebar' i]","[id*='widget' i]","[data-component*='article-list' i]","[data-component*='related' i]","[data-testid*='related' i]","[data-testid*='recommend' i]","[data-testid*='comment' i]"].join(", ")),function(e){e.parentNode.removeChild(e)});return{root:r,markdown:Qt(r.innerHTML||"")||""}}function yn(e,r,n){var o=t(r&&r.title||e.title||"").toLowerCase(),i=(location.pathname||"").toLowerCase(),a=t(n||r&&r.textContent||"").toLowerCase();if(w(["LiveBlogPosting"]))return"liveblog";if((gn(r,n).root||document).querySelector("[data-liveblog], [class*='liveblog' i], [class*='live-blog' i], [id*='liveblog' i], [class*='live-ticker' i], [class*='liveticker' i], [id*='live-ticker' i], [class*='live-feed' i], [class*='live-updates' i], [class*='live-entries' i]"))return"liveblog";if(/\b(liveblog|live.blog|live.ticker|liveticker|live updates?|live.updates?)\b/.test(o)||/\b(liveblog|live-blog|liveticker|live-ticker|live-updates)\b/.test(i))return"liveblog";if(/\b(daily briefing|morning briefing|evening briefing|weekly briefing|news briefing|this week in|week in review|daily digest|news digest|morning roundup|evening roundup|weekly roundup|daily round-?up|weekly round-?up|tagesüberblick|nachrichtenüberblick|wochenrückblick|résumé de la semaine|tour d'horizon|resumen semanal|rassegna stampa|przegląd tygodnia|przegląd dnia|podsumowanie tygodnia|podsumowanie dnia|daglig oversikt|veckosammanfattning|nyhedsoverblik|ugens nyheder|viikon katsaus|savaitės apžvalga|nedēļas apskats|преглед на седмицата|огляд тижня|преглед на денот|săptămâna în revistă|heti összefoglaló|týdenní přehled)\b/.test(o))return"briefing";if(/\b(events?[\s-]*(?:calendar|listing|guide|agenda|schedule)|what['']?s on|upcoming events?|things to do|veranstaltungen|événements|eventos|eventi|wydarzenia|evenementen|evenemang|begivenheder|tapahtumat|renginiai|pasākumi|események|události|events?\s+this\s+week|events?\s+today|event guide|gig guide|concert schedule)\b/.test(o)||/\/(events?|calendar|agenda|whats-on|what-s-on|veranstaltungen|evenements)\b/.test(i)){if((a.match(/\b\d{1,2}[\s./-]\s*(?:jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|jun(?:e)?|jul(?:y)?|aug(?:ust)?|sep(?:tember)?|oct(?:ober)?|nov(?:ember)?|dec(?:ember)?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre|januar|februar|märz|april|juni|juli|august|oktober|dezember|styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień)\b/gi)||[]).length>=2)return"event_listing";if(w(["Event","MusicEvent","SportsEvent","TheaterEvent","Festival"]))return"event_listing"}if(w(["VideoObject","Movie","TVEpisode","TVSeries","TVSeason","Clip"])&&a.length<800)return"video";var l=document.querySelectorAll("video, [class*='video-player' i], [class*='videoplayer' i], [id*='video-player' i], [class*='jwplayer' i], [class*='bitmovin' i], [class*='brightcove' i], [data-player], [data-video-id], [data-video], [class*='auvio' i][class*='player' i], [class*='media-player' i], [class*='mediaplayer' i]"),s=document.querySelectorAll("iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], iframe[src*='dailymotion'], iframe[src*='player'], iframe[src*='video'], iframe[data-src*='youtube'], iframe[data-src*='vimeo']");if((l.length>=1||s.length>=1)&&a.length<600)return"video";if(/\/(video|videos|watch|player|clip|replay|auvio|mediathek|mediatheque|videoteka|platforma)\b/.test(i)&&a.length<800&&a.replace(/https?:\/\/\S+/g,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().length<500)return"video";var c=gn(r,n),u=c.markdown||n||"";if(c.root){var d=c.root.querySelectorAll("h2, h3"),m=c.root.querySelectorAll("time, [datetime]");if(m.length>=6&&d.length>=4){for(var p=[],h=0;h<m.length;h++){var f=m[h].getAttribute("datetime")||t(m[h].textContent);f&&-1===p.indexOf(f)&&p.push(f)}if(p.length>=4)return"liveblog"}}if(u){var g=(u.match(/^##\s+/gm)||[]).length,y=(u.match(/\b\d{1,2}[:.]\d{2}\s*(?:Uhr|AM|PM|CET|CEST|UTC|GMT|[A-Z]{2,4}T)?\b/gm)||[]).length;if(g>=6&&y>=6)return"liveblog"}if(u&&r&&r.html){for(var b=u.split("\n").filter(function(e){return e.trim().length>0}),v=u.match(/\[([^\]]*)\]\([^)]+\)/g)||[],x=(u.match(/^#{1,3}\s+/gm)||[]).length,S=0,k=0,A=0;A<b.length;A++){var C=b[A];/^#{1,3}\s+/.test(C)?(k>0&&k<200&&S++,k=0):k+=C.length}if(k>0&&k<200&&S++,x>=4&&v.length>=5&&S>=4&&S>=.6*x)return"newsletter";var q=u.replace(/\[([^\]]*)\]\([^)]+\)/g,"$1").replace(/^#{1,6}\s+.*$/gm,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().split(/\s+/).filter(function(e){return e.length>=3}).length;if(v.length>=8&&x>=4&&q<5*v.length)return"newsletter"}return null}function bn(e,r,n,o,i,a,l,s,c,u,d,m,p,h,f,g,y){var b,v=[],w=ln(o);r&&r.lodgingShell&&v.push("client_rendered_property_shell"),s||h||!w||v.push("consent_interstitial"),s||(!(b=t(o||"").toLowerCase())||b.length>220||!/^(?:do not sell(?: or share)? my personal information|do not sell(?: or share)?|privacy policy|cookie policy|cookies? policy|terms of (?:service|use)|manage (?:privacy|cookie|consent) preferences|privacy choices|your privacy choices)$/i.test(b)&&!/(?:do not sell(?: or share)? my personal information|privacy policy|cookie policy|terms of (?:service|use)|privacy choices|your privacy choices)/i.test(b))||v.push("consent_interstitial");var x=function(e,r,n,o){var i=t(n||"").toLowerCase(),a=t(o||"").toLowerCase(),l=lr("i"),s=sr(),c=l.test(i),u=l.test(a);if(!c&&!u&&"meta_login"!==e)return!1;var d=s.test(i)||i.indexOf("cookie")>=0&&i.indexOf("cookie")<140&&i.length<500,m=s.test(a)||a.indexOf("cookie")>=0&&a.indexOf("cookie")<140&&i.length<260;return"meta_login"===e||d||m}(d,0,o,i)&&!("consent_wall"===d&&p);return s||h||!(x||ln(i)&&!p)||v.push("consent_interstitial"),"anubis"===u&&v.push("anubis_challenge_page"),"datadome"===u&&v.push("datadome_challenge_page"),"cloudflare"===u&&v.push("cloudflare_challenge_page"),"consent_wall"!==d||h||p||v.push("consent_interstitial"),"meta_login"===d&&v.push("meta_login_wall"),"human_verification"===d&&v.push("human_verification_interstitial"),"region_selector"===d&&v.push("regional_selector_interstitial"),"browser_support"===d&&v.push("browser_support_interstitial"),"access_error"!==d||h||p||v.push("access_error_interstitial"),"site_unavailable"===d&&v.push("site_unavailable_interstitial"),"not_found"!==d&&!m||s&&c||v.push("not_found_interstitial"),"subscription"===d&&(!h||sn(o)||sn(i)&&!p)&&v.push("subscription_interstitial"),"auth_wall"===d&&v.push("auth_or_login_interstitial"),"meta_login"===d&&/cookie/i.test(a)&&v.push("consent_interstitial"),s&&c||!u&&(h||p||!/(verify you are human|unusual traffic|are you a robot|access denied|security verification|checking your browser)/.test(a))||v.push("bot_or_access_interstitial"),s&&c||"human_verification"!==d&&("access_error"!==d||h||p)||v.push("bot_or_access_interstitial"),f&&(i.length>80||(e.title||"").length>3||y&&y.htmlLength>200)&&v.push("empty_extraction"),!g||u||d||v.push("empty_extraction"),!u&&!d&&t(n||"").length<10&&(e.title||"").length>3&&-1===v.indexOf("empty_extraction")&&-1===v.indexOf("short_extraction")&&v.push("short_extraction"),v}function vn(e,n,o,i,a,l,s,c,d,m,f,g,y,b,v,x,S,k,A){var C,q=[];if(!y&&!b&&n&&"search"!==n.contentType){var T=i.length,E=a.length,j=Gr().length>=2,L=Ee(/(^|\.)protothema\.gr$/i)&&"article"===n.contentType&&T>=500;if("article"!==n.contentType||n.legalProvision||d||m||f||L||(j&&T<500&&E>2e3&&(v||x||q.push("truncated_content")),j&&T>=500&&T<1500&&E>3e3&&T/E<.15&&!v&&!x&&q.push("truncated_content"),j&&T>=1500&&T<3e3&&E>8e3&&T/E<.12&&!v&&!x&&q.push("truncated_content"),function(e,r,n,o){if(!r||"article"!==r.contentType||r.docsLike)return!1;if(fn(r,n,o))return!1;var i=t([location.pathname||"",r&&r.title||"",e&&e.title||""].join(" ")).toLowerCase();if(String(r&&r.html||"").toLowerCase(),/\blyrics?\b/.test(i)){var a=hn(["[data-lyrics-container]",".lyrics","[class*='Lyrics__Container']"]);if(a.length<300)return!1;if(/data-lyrics-container|lyrics__container|class=["'][^"']*\blyrics\b/i.test(r.html||""))return!1;if(/\[(?:verse|chorus|bridge|outro|intro|hook|refrain|pre-chorus|instrumental)\b/i.test(o))return!1;if(/\b(song bio|annotation|contributors?|written by|produced by)\b/i.test(o)||o.length<.75*a.length)return!0}if(/\bpoems?\b/.test(i)){var l=hn(["[data-poem]",".poem","[class*='poem' i]"]);if(l.length>=300&&!/data-poem|class=["'][^"']*poem/i.test(r.html||"")&&o.length<.75*l.length)return!0}return!1}(e,n,o,i)&&!x&&q.push("truncated_content")),!(T<200&&E>1e3)||d||m||f||v||x||q.push("short_extraction"),"article"===n.contentType&&T>=200&&T<700&&E>2500&&!d&&!m&&!f&&!v){var $=t([o,s,e.title,e.description].join(" "));!x&&/\b(?:Published:\s*\d{4}|Duration:\s*P?T|featured video|watch video|learn more)\b/i.test($)&&q.push("short_extraction")}if(("list"===n.contentType||"article"===n.contentType)&&((C=location.pathname||"")&&!/\/(?:search|browse|category|categories|tags?|topics?|collections?)\b/.test(C)&&/\/(?:drugs?|compounds?|substances?|proteins?|genes?|genomes?|pathways?|assays?|bioassays?|datasets?|records?|entries?|items?|products?|publications?|papers?|articles?|cases?|opinions?|decisions?)\/[a-z0-9_.-]*\d[a-z0-9_.-]*(?:\/|$)/i.test(C))&&T<500&&function(e){var r=t(e||"");if(!r)return!1;var n=(r.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,o=(e||"").split(/\n+/).filter(function(e){return/^\s*[-*]\s+\[[^\]]+\]\([^)]+\)\s*$/.test(e)}).length,i=r.replace(/\[([^\]]*)\]\([^)]+\)/g,"").split(/\s+/).filter(function(e){return e.length>=3}).length;return n>=2&&o>=2&&i<2*n}(o)&&!v&&("article"===n.contentType&&x||q.push("short_extraction")),"article"===n.contentType&&!d&&!m&&!f&&T>=200&&T<1e3&&E>2e3&&!v){var P=t(o||""),N=(P.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,z=(P.match(/^#{1,6}\s/gm)||[]).length,M=P.replace(/\[([^\]]*)\]\([^)]+\)/g,"").replace(/^#{1,6}\s.*$/gm,"").split(/\s+/).filter(function(e){return e.length>=3}).length;v||x||!(N>=3&&M<2*N||z>=3&&M<20)||q.push("short_extraction")}m&&T<60&&E>500&&q.push("short_extraction")}var R=Gr(),B=n&&"list"===n.contentType&&(_("q")||_("_nkw")||_("st")||/^\/search\//.test(location.pathname));if(!y&&!b&&R.length>=2&&!B&&!c&&!mn(r(location.pathname||"").toLowerCase())&&!dn(s,i)){var H=(i.match(/[a-zA-Z]/g)||[]).length,F=i.replace(/\s/g,"").length;if((F>0?H/F:1)>.25){var O=Wr(l),I=R.filter(function(e){return-1!==O.indexOf(e)}).length,D=R.length>=5?.3:.25;if(I/R.length<D){var U=Wr(s);!(R.filter(function(e){return-1!==U.indexOf(e)}).length/R.length<D)||g||rn(e,n,i,o)||nn(e,n,i,o)||function(e,n,o){if(!n||o.length<500)return!1;var i=r(location.pathname||"").toLowerCase();if(!/\/(?:articles?\/)?(?:dataset|datasets|figure|record|entry)\//.test(i))return!1;var a=t([n&&n.title||"",e&&e.title,e&&e.siteName,o.slice(0,5e3)].join(" ")).toLowerCase();return/\b(?:dataset|posted on|authored by|doi|figure|data|repository|supplementary|apoptosis|protein|gene|assay|study)\b/.test(a)&&(/\b\d{3,}\b/.test(i)||/\/[_-]\//.test(i))}(e,n,i)||function(e){var t=Kr([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var r=Kr(e||"");return t.some(function(e){return-1!==r.indexOf(e)})}(l)||function(e){var t=e&&e.sportsDetailEvidence;return!(!t||"opaque"!==t.urlMatch&&"consistent"!==t.urlMatch)}(n)||q.push("url_content_mismatch")}}}if(!y&&!b&&i.length>200&&!mn(r(location.pathname||"").toLowerCase())&&!dn(s,i)){var W=Vr()||(e.language||"").slice(0,2).toLowerCase();!W||!on[W]||g||an(W,i)||W!==Vr()&&rn(e,n,i,o)||nn(e,n,i,o)||function(e,r,n){var o=n||document&&document.title||r&&r.title||e&&e.title||"";if(!t(o))return!1;var i=Jr(location.href),a=Jr(e.canonicalUrl),l=Yr(i),s=Yr(a),c=l[l.length-1]||"",u=s[s.length-1]||"";function d(e){return!!e&&e.length>=4&&!/^\d+$/.test(e)}if(!d(c)&&!d(u))return!1;var m=Qr(l[l.length-1]||""),p=Qr(o);return!(!m||!p||m!==p&&-1===m.indexOf(p)&&-1===p.indexOf(m))}(e,n)||q.push("url_content_mismatch")}if(n&&"search"===n.contentType&&((n.resultCount||0)<3&&q.push("search_results_unusable"),(/^aplikacje google$/i.test(s)||/^google apps$/i.test(s))&&q.push("search_engine_shell_page"),/zawartość została wygenerowana przy użyciu ai|generated with ai|ai-generated/i.test(l)&&q.push("search_engine_ai_summary_only")),!y&&!b&&n&&"search"!==n.contentType&&"press_release"!==n.contentType&&!n.isolatedLiveblogEntry&&!c&&!f){var Z=gn(n,o).markdown||o||"",G=yn(e,n,Z),K=function(e,r,n,o){if(!r||"article"!==r.contentType&&"list"!==r.contentType)return!1;if("search"===r.contentType||"press_release"===r.contentType||"social"===r.contentType||r.packagePage||r.isolatedLiveblogEntry)return!1;if(t(r.byline||e.byline||p()||"")||t(r.publishedTime||e.publishedTime||h()||""))return!1;var i=t(n||o||""),a=t(r.title||e.title||"").toLowerCase(),l=t(r.siteName||e.siteName||location.hostname||"").toLowerCase(),s=((location.hostname||"")+" "+(location.pathname||"")+" "+(e.canonicalUrl||"")).toLowerCase();if(!i||i.length<250||ln(i)||hr(a,i,{maxTextLength:1400}))return!1;if(!/(^\/$|\/(?:index(?:\.html?)?|docs?|documentation|reference|api|manual|guides?|tutorials?|standard[_-]?library|stdlib|language|methods)(?:\/|$))/i.test(s))return!1;var c=0;/(?:^|[\s/.-])(?:docs?|documentation|reference|api|manual|guide|tutorial|standard[_-]?library|stdlib)(?:[\s/.-]|$)/i.test(s)&&(c+=1),/(?:documentation|docs|reference|api|manual|guide|tutorial|standard library)/i.test(a+" "+l)&&(c+=1);var d=t(u(["meta[name='generator']"],"content")||"");if(/(?:docusaurus|sphinx|jekyll|hugo|mkdocs|docs|documentation|reference)/i.test(d)&&(c+=1),/(?:classes and modules|standard library documentation|language|reference|api|tutorial|guides?)/i.test(i)&&(c+=1),c<2)return!1;for(var m,f={},g=0,y=/\[([^\]]+)\]\(([^)]+)\)/g;m=y.exec(i);){var b=m[1]+" "+m[2];/(?:docs?|documentation|reference|api|manual|guide|tutorial|standard[_-]?library|stdlib|language|method|class|module|contribut|getting started)/i.test(b)&&!f[m[2]]&&(f[m[2]]=!0,g+=1)}return g>=4}(e,n,Z,i),V=!!w(["NewsArticle","ReportageNewsArticle","AnalysisNewsArticle","OpinionNewsArticle"])&&i.length<1e3;!G||g||K||"video"===G&&n.hostAware||V||function(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike||i.length<1500)return!1;var a=gn(n,o),l=a.root||document,s=a.markdown||o||"";if(n.singleTopicPage)return!0;var c=t(n&&n.title||e.title||"").toLowerCase(),u=r(location.pathname||"").toLowerCase(),d=t(e&&e.siteName||"").toLowerCase(),m=!!(l&&l.matches&&l.matches(".mw-parser-output, #mw-content-text, #bodyContent, .vector-body, .vector-body-inner"));if(!(n.html&&/<h1\b/i.test(n.html)||c.length>20))return!1;var p=((s||"").match(/\n\s*\n/g)||[]).length,h=((s||"").match(/^#{1,6}\s+/gm)||[]).length,f=!!l.querySelector("article, main, [itemprop='articleBody'], #mw-content-text .mw-parser-output, #bodyContent .mw-parser-output");if(m&&p>=3&&h<=4*p&&i.length>=800)return!0;if(f&&p>=4&&h<=3*p&&i.length>=3e3)return!0;if(p>=10&&i.length>=2500&&h<=2*p)return!0;var g=/\b(abstract|references|methods|results|discussion|data availability|journal|protein|genome|doi)\b/i.test(i)||/\/(articles?|doi)\//.test(u);return!!(i.length>8e3&&g)||!(!/\/(?:what-we-do|what_we_do|our-work|our_work|about|mission|programmes?|programs?)\b/.test(u)&&!/\b(institution|agency|united nations|ngo|foundation|what we do|our work|mission)\b/.test(c+" "+d)||!/\b(what we focus on|we work|our work|mission|protect|provide|advocate|countries and territories|programmes?|programs?)\b/i.test(i))}(e,n,Z,i)||function(e,n,o,i){if(!n||i.length<800)return!1;var a=r(location.pathname||"").toLowerCase(),l=t(n&&n.title||e.title||"").toLowerCase(),s=t(e&&e.siteName||"").toLowerCase(),c=t(document.body&&document.body.innerText||""),u=t([l,s,a,i.slice(0,12e3),c.slice(0,12e3)].join(" ")).toLowerCase(),d=(o||"").match(/^#{2,4}\s+/gm)||[],m=/\/(?:compound|substance|protein|gene|genome|pathway|assay|bioassay|dataset|datasets|article\/dataset|articles\/dataset|record|entry)\//.test(a),p=u.match(/\b(?:cid|cas|inchikey|inchi|canonical smiles|molecular formula|molecular weight|uniprot|ensembl|refseq|gene id|taxonomy id|doi|dataset|accession|chembl|pubchem|protein|proteomics|metabolomics|transcriptomics)\b/g)||[],h=document.querySelectorAll("table, dl, [class*='record' i], [class*='identifier' i], [class*='metadata' i], [data-testid*='metadata' i]").length>=2,f=!!w(["Dataset","DataCatalog"]);return(m||f||/\b(?:database|data repository|scientific resource|life science resource)\b/.test(s))&&p.length>=3&&(d.length>=4||h||i.length>=5e3)}(e,n,o,i)||un(s,i)||q.push("multi_topic_page")}if(!y&&!b&&n&&"article"===n.contentType&&!vr()&&(cn()&&-1===q.indexOf("subscription_interstitial"))){var J=e&&!0===e.isAccessibleForFree,X=a.length>0?i.length/a.length:1;i.length>0&&(!J&&i.length<5e3||!J&&i.length<8e3&&X<.4||i.length<12e3&&X<.25)&&q.push("paywall_partial_content")}y||b||!n||"search"===n.contentType||c||/\/(foto|fotos|photos?|gallery|galleries|galerie|galerij|galleria|galeria|fotogalerie|bildergalerie|bildspel|fotogalleri|valokuvat|fotoalbum|fotoreportaz|фото|фотогалерея|φωτογραφίες)\b/i.test(location.pathname||"")&&i.length<800&&q.push("photo_gallery_page");if(!y&&!b&&pn(e,n,s,i)){var Y=t(n&&n.publishedTime||e.publishedTime||"");if(Y){var Q=Date.parse(Y);if(!isNaN(Q))(Date.now()-Q)/864e5>30&&i.length>=1200&&!v&&q.push("stale_content")}}return y||b||!n||"search"===n.contentType||c||function(e,r,n){var o=t(r+" "+n).toLowerCase();if(!o)return!1;if(Ee(/(^|\.)(prnewswire\.com|globenewswire\.com|businesswire\.com)$/i))return!1;if(un(e,r)||dn(e,r))return!1;var i=/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//i,a=o.match(/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//gi)||[];if(!a.length)return!1;if(/\b(this press release was (?:issued|distributed)|press release (?:distributed|provided|issued) by|distributed by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire)|provided by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire))\b/i.test(o))return!0;var l=o.slice(0,1600);if(i.test(l)&&/\b(press release|announces?|launches?|reports?|new york|london|toronto|singapore|--|\(business wire\))\b/i.test(l))return!0;var s=t(e+" "+n.slice(0,800)).toLowerCase();return!(!i.test(s)||!/\b(press release|announces?|launches?)\b/.test(s))||a.length>=3&&/\b(press release|announces?|launches?|distributed|provided)\b/i.test(o.slice(0,4e3))}(s,i,a)&&q.push("syndicated_repost"),q}function wn(e,r,n,o,i){var a=[],l=t(r&&r.title||e.title).toLowerCase(),s=t(n||r&&r.textContent||"").toLowerCase(),c=t(o||"").toLowerCase(),u=(l+" "+s+" "+c).trim(),d=function(e){var r=t(e||"");if(!r||!Zr(r))return!1;var n=r.replace(/\s/g,"");if(n.length<60||n.length>2400)return!1;var o=r.split(/\s+/).filter(function(e){return e.length>0}).length;return o<=1||o<220||n.length/Math.max(o,1)>=4}(s),m=rr(e,o,i),p=gr(e,o),h=!(!r||!r.docsLike),f=!(!r||!r.packagePage),g=/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(l)||/(\/dictionary\/|\/definition\/|\/definitions\/|\/pronunciation\/)/.test(location.pathname||"")||!!_("q")&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(l+" "+t(e.excerpt||"").toLowerCase()),y=h&&s.length>20,b=!t(n||"")&&!t(r&&r.textContent||""),v=s.length<140&&/copyright\b.*\ball rights reserved\b/i.test(s)&&!/[.!?].+[.!?]/.test(s),w=t(r&&r.textContent||"").toLowerCase(),x=function(e,t,r,n){if(!e||"search"===e.contentType)return!1;var o=(location.pathname||"/").toLowerCase(),i=re(),a=i||vr(),l=(t.match(/\[[^\]]+\]\([^)]+\)/g)||[]).length,s=oe(document),c=!!e.portalRootEvidence;return!(ln(r)||ln(n))&&!hr(e.title||"",r,{maxTextLength:1100})&&("list"===e.contentType?a&&s||c:!("social"!==e.contentType||"feed"!==e.socialKind||!e.hostAware)&&!(!i&&!/^\/(?:tag|tags|topic|topics|category|categories|feed|feeds|latest|headlines|news)(?:\/|$)/.test(o))&&e.itemCount>=3&&l>=3)}(r,n,s,c),S=hr(l,t([s,w].join(" ")).toLowerCase(),{maxTextLength:1100}),k=document.querySelectorAll("main a[href], article a[href]").length>=3||r&&"list"===r.contentType,A=ln(s),C=s.length>500&&!(A&&!k),q=fn(r,n,s);return a=(a=a.concat(bn(e,r,n,s,c,u,0,h,y,m,p,S,k,C,b,v,i))).concat(vn(e,r,n,s,c,u,l,h,y,g,f,x,m,p,q,d))}var xn=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,Sn=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,kn=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,An=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,Cn=/(?:federal republic|rep[úu]blica federativa|republica federativa|civil rights|fundamental rights|legal provisions?|official gazette|promulgat|enacted|amended|paragraph|par[áa]grafo|paragrafo|inciso|subsection)/i,qn=/\b(?:legal provisions?|federal law gazette|official gazette|version information|translation includes? the amendment|current status of the .* version|conditions governing use of this translation)\b/i,Tn=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,_n=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,En=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,jn=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function Ln(e){var n=(e=e||{}).root||null,o=t(e.text||n&&n.textContent||""),i=t(e.title||document.title||""),a=t([i,r(e.path||location&&location.pathname||"").toLowerCase()].join(" ")).toLowerCase(),l=t([a,o.slice(0,e.contextLimit||4e3)].join(" ")).toLowerCase();return{text:o,titleContext:a,context:l,legalTitle:xn.test(l),officialStatuteTitle:Sn.test(a),officialTextSignals:qn.test(l),profileOfficialTextSignals:Tn.test(o),translationAttribution:_n.test(l),provisionMarkers:(o.match(kn)||[]).length,structuralMarkers:(o.match(An)||[]).length,legalTerms:Cn.test(o),numberedClauses:(o.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:En.test(o),bodyStartMatch:o.match(jn)}}function $n(e){return e&&e.querySelectorAll?(Ne(e,"#comments, #respond, .comments-area, .comment-list, .comments-section, .post-comments, .disqus-comment-count, [class*='comment-respond'], [class*='comentario' i], [class*='comentarios' i], [class*='commentaire' i], [class*='komentar' i], [class*='komentarze' i], [class*='yorum' i], .sharedaddy, .share, .share-links, .share-buttons, .social-sharing, .social-buttons, [class*='share' i], [id*='share' i], [class*='compartir' i], [class*='partager' i], [class*='teilen' i], [class*='paylas' i], [class*='paylaş' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='relacionad' i], [class*='relacionados' i], [class*='recomendad' i], [class*='recomendados' i], [class*='similares' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='advert' i], [id*='advert' i], [class*='promo' i], [id*='promo' i], [class*='adslot' i], [id*='adslot' i], [data-ad], [data-ads]"),_e(e),Te(e),e):e}function Pn(){var e=function(){var e=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!e)return null;var r=t(e.textContent||""),n=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),o=Ln({text:r,title:document.title||""}),i=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(document.title||"")||o.sectionOrArticleMarker;return r.length<250||!n||!i||o.numberedClauses<2?null:e}(),r=document.querySelector("#viewLegSnippet, .viewLegSnippet, .LegislationSection, .legislation-section, [class*='LegislationSection' i], #viewLegContents, .viewLegContents")||e;if(!r)return null;var n=t(document.body&&document.body.textContent||""),o=t(r.textContent||""),i=Ln({root:r,text:o}),a=document.querySelector("#changesOverTime, #legNav, #breadCrumb, .legContent, [id*='legislation' i], [class*='legislation' i]"),l=/\b(what version|changes to legislation|timeline of changes|plain view|print options|opening options)\b/i.test(n);if(o.length<250)return null;if(!e&&!a&&!l)return null;if(i.numberedClauses<2&&!/\b(section|article|regulation|schedule)\s+\d+\b/i.test(o))return null;var s=Pe(r),c=document.querySelector("#pageTitle, h1")||null,u=s.querySelector("h1, h2, h3")||null,d=t(s.textContent||"");return{title:t(c&&c.textContent||document.title),byline:null,excerpt:d.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:(u?"":c?c.outerHTML:"")+s.innerHTML,textContent:d,readerMode:!1,contentType:"article",legalProvision:!0}}function Nn(e){if(!e||Se(e))return-1/0;if(!Mn(e)&&Rn(e))return-1/0;if(e.matches("[id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"))return-1/0;var r=e.querySelector("#ot-pc-title, #ot-pc-desc, [id^='ot-pc-' i], [class*='ot-pc' i], [class*='ot-accordion' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='privacy' i], [class*='privacy' i], [id*='cookie' i], [class*='cookie' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"),o=t(r&&r.textContent||e.textContent||"").slice(0,500);if(r&&(J(o)||ee(o)))return-1/0;var i=t(e.textContent||""),a=/[\u0370-\u03FF\u0400-\u04FF\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(i),l=i.length;if("undefined"!=typeof window&&window.getComputedStyle)try{var s=window.getComputedStyle(e);if(s&&("none"===s.display||"hidden"===s.visibility))return-1/0}catch(e){}var c=e.querySelectorAll("p").length,u=e.querySelectorAll("h1, h2, h3").length,d=e.querySelectorAll("p, li, blockquote, figure, table").length;if(l<(a&&(c>=2||u>=1||d>=3)?180:280))return-1/0;var m=Array.prototype.reduce.call(e.querySelectorAll("a"),function(e,t){return e+n(t)},0),p=l>0?m/l:0,h=e.querySelectorAll("nav, aside, footer, [role='navigation'], [role='complementary'], [class*='comment' i], [id*='comment' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='share' i], [id*='share' i]").length,f=((e.className||"")+" "+(e.id||"")).toLowerCase(),g=0,y=l>=500&&(c>=2||u>=4||d>=4),b=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title),v=l/Math.max(m,1),w=Math.min(300,Math.round(v/4)),x=h>d?Math.min(900,90*(h-d)):0,S=Math.round(p*(d>=4?240:400));return/(article|content|entry|main|post|story|body|definition|meaning|sense|glossary|lexicon|pronunciation|answer|articulo|artículo|noticia|conteudo|conteúdo|contenido|corpo|texto|berita|haber|nyheter|nieuws|aktualnosci|aktualności)/.test(f)&&(g+=180),a&&(c>=2||u>=1)&&(g+=140),/(comment|footer|nav|share|promo|related|sidebar|browse|translation|numerology|citation|quiz|cookie|privacy|subscription)/.test(f)&&(g-=220),!y&&On(e,i,p)&&(g-=4200),!y&&function(e,t){return!!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t)&&((!e.matches||!e.matches("article, [itemprop='articleBody']"))&&Array.prototype.some.call(e.querySelectorAll("article, [itemprop='articleBody'], [class*='article' i], [class*='content' i], [class*='post' i]"),function(t){return!(t===e||t.querySelectorAll("a[href]").length>=4)&&(n(t)>=1200&&t.querySelectorAll("p").length>=5)}))}(e,i)&&(g-=9e3),!b&&l<1800&&Hn(i)||l<1800&&X(i)&&(c<4||u<3)||l<2200&&/(discover more|newspapers|tourist destinations|travel guides?|travelogues)/i.test(i)&&(c<5||u<4)?-1/0:l+70*c+30*u+g+w-S-x}function zn(){if(Rn(document.body)&&!Mn(document.body))return{title:document.title,byline:null,excerpt:null,siteName:location.hostname,publishedTime:null,html:"",textContent:"",markdown:"",readerMode:!1,contentType:"list",items:[]};var e=Pn();if(e)return e;var r=[];["main[role='main']","article[role='main']","[itemprop='articleBody']",".article__body",".post-content",".entry-content","[class*='article-content']","[class*='amp-article-content' i]","[class*='amp-article-body' i]","[class*='mobile-article' i]","[class*='mobile-content' i]","[class*='rtl-article' i]","[class*='article-content' i]","[class*='article-body' i]","[class*='article-main' i]","[class*='article__body' i]","[class*='article__content' i]","[class*='articletext' i]","[class*='article-text' i]","[class*='article_text' i]","[class*='content-body' i]","[class*='content__body' i]","[class*='main-article' i]","[class*='post-content' i]","[class*='post-description' i]","[class*='entry-content' i]","[class*='story-content' i]","[class*='news-content' i]","[class*='amp-wp-article-content' i]","[class*='article-body-mobile' i]","[class*='mobile-article-body' i]","[class*='contenido-noticia' i]","[class*='conteudo-noticia' i]","[class*='corpo-noticia' i]","[class*='texto-noticia' i]","[class*='isi-berita' i]","[class*='berita-content' i]","[class*='haber-metni' i]","[class*='wysiwyg' i]","[class*='rich-text' i]","[data-testid*='article-body' i]","[data-testid*='article-content' i]","[data-component*='article-body' i]","[data-component*='article-content' i]","[data-module*='article-body' i]","[data-module*='article-content' i]","[data-qa*='article-body' i]","[data-qa*='article-content' i]","main","article",".article-content",".t-content",".t-content--article",".main-content",".post-content",".entry-content",".story-body",".news-content",".article-body","[data-article-body]",".content-body",".article__body",".article",".post",".entry",".content",".main","section","div"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){r.push(e)})});var n,o,i=r.reduce(function(e,t){var r=Pe(t);$n(r);var n=Nn(r);return!e||n>e.score?{node:t,score:n}:e},null),a=Pe(i&&i.score>-1/0?i.node:document.body),l=Mn(a)?(n=document,o=[],n.querySelectorAll("#comments, .comments, .comments-area, .comment-list, .comments-section, #disqus_thread, [class*='comment' i]").forEach(function(e){!e.querySelector("p, li, [class*='body' i]")||t(e.textContent||"").length<40||o.some(function(t){return t.contains(e)})||o.push(e)}),o.map(function(e){return e.outerHTML}).join("")):"";Bn(a),$n(a),Bn(a),function(e){e.querySelectorAll(".comment-thread, [class*='comment-thread' i], .widget, [class*='widget' i], .views-element-container, [class~='comment'], .date-header").forEach(function(e){var r=t(e.textContent||"");(!r||r.length<100||!e.querySelector("p, article, section, ul, ol, table"))&&e.remove()})}(a),l&&a.insertAdjacentHTML("beforeend",l);var s=t(a.textContent);return{title:document.title,byline:null,excerpt:s.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:a.innerHTML,textContent:s,readerMode:!1,contentType:"article"}}function Mn(e){var r=e&&e.querySelector&&e.querySelector("h1, h2, [itemprop='headline']"),n=t(r&&r.textContent||""),o=e&&e.querySelectorAll?Array.prototype.filter.call(e.querySelectorAll("p, [itemprop='articleBody']"),function(e){return!e.closest("#comments, .comments, .comment-list, [class*='comment' i], [id*='comment' i]")}).map(function(e){return t(e.textContent)}).join(" "):"";return!!n&&o.length>=40}function Rn(e){if(!e||!e.querySelector)return!1;var r=e.querySelectorAll("#comments, .comments, .comments-area, .comment-list, .comments-section, #disqus_thread, [class*='comment' i]");if(!r.length)return!1;var n=t(e.textContent||"").length,o=Array.prototype.reduce.call(r,function(e,r){return Math.max(e,t(r.textContent||"").length)},0);return o>0&&o>=.7*n}function Bn(e){e.querySelectorAll("p span, li span, blockquote span, p font, li font, blockquote font").forEach(function(e){e.querySelector("p, li, blockquote, div, ul, ol, table, pre")||e.replaceWith.apply(e,Array.prototype.slice.call(e.childNodes))})}function Hn(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]|weather forecast|forecast for the next|forecast for)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=4)}function Fn(e,r){if(!e)return r;if(!r||!e.readerMode)return e;var o=!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"),i=t(e.markdown||e.textContent||"");if(o&&i.length>=800)return e;var a=t(r.markdown||r.textContent||""),l=document.createElement("div"),s=document.createElement("div");l.innerHTML=e.html||"",s.innerHTML=r.html||"";var c=l.querySelectorAll("p, li").length,u=s.querySelectorAll("p, li").length,d=Array.prototype.reduce.call(s.querySelectorAll("a[href]"),function(e,t){return e+n(t)},0),m=a.length>0?d/a.length:0,p=/\b(oglas|advertisement|sponsored|ad)\b/i.test(i.slice(0,160)),h=X(i),f=Hn(i),g=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return a?r.legalProvision||i.length<4e3&&a.length>=Math.max(1800,3*i.length)&&u>=Math.max(8,c+5)&&m<.28?r:Dr(e)?e:f&&!g&&a.length>=Math.max(900,2*i.length)||function(e){if(!e||"article"!==e.contentType)return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),i=n.length>0?o/n.length:0;return On(r,n,i)}(e)&&Dr(r)&&a.length>=1200&&m<.25||h&&a.length>=Math.max(1e3,2*i.length)||Dr(r)&&(i.length<240||p)&&a.length>=Math.max(600,3*i.length)?r:e:e}function On(e,t,r){var n=((e.className||"")+" "+(e.id||"")).toLowerCase();return!(!/(sidebar|rail|aside|promo|cta|recent|popular|related)/.test(n)&&!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t))&&(!(e.querySelectorAll("p").length>=8&&r<.18&&!/(sidebar|rail|aside)/.test(n))&&(r>=.18||e.querySelectorAll("a[href]").length>=4))}function In(){if("function"!=typeof Readability)return null;try{var e=(o=document,i=[],o.querySelectorAll("#comments, .comments, .comments-area, .comment-list, .comments-section, #disqus_thread, [class*='comment' i]").forEach(function(e){!e.querySelector("p, li, [class*='body' i]")||t(e.textContent||"").length<40||i.some(function(t){return t.contains(e)})||i.push(e)}),i.map(function(e){return e.outerHTML}).join("")),r=function(){try{return document.cloneNode(!0)}catch(e){}var e=document.implementation.createHTMLDocument(document.title||"");for(document.documentElement&&document.documentElement.getAttribute("lang")&&e.documentElement.setAttribute("lang",document.documentElement.getAttribute("lang"));e.head.firstChild;)e.head.removeChild(e.head.firstChild);if(Array.prototype.forEach.call(document.head&&document.head.childNodes||[],function(t){var r=Le(t,e);r&&e.head.appendChild(r)}),document.body){var t=Le(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();if(Rn(r))return null;!function(e){e.querySelectorAll("p span, li span, blockquote span, p font, li font, blockquote font").forEach(function(e){e.querySelector("p, li, blockquote, div, ul, ol, table, pre")||e.replaceWith.apply(e,Array.prototype.slice.call(e.childNodes))})}(r),ke(r),!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output, .mw-parser-output")||ze(r),$n(r);var n=new Readability(r).parse();return n&&n.content?t(n.textContent||"").length<40?null:(n.content+=e,{title:n.title||document.title,byline:n.byline||null,excerpt:n.excerpt||null,siteName:n.siteName||location.hostname,publishedTime:n.publishedTime||null,html:n.content,textContent:n.textContent||"",readerMode:!0,contentType:"article"}):null}catch(e){return null}var o,i}function Rn(e){var r=e.querySelectorAll("#comments, .comments, .comments-area, .comment-list, .comments-section, #disqus_thread, [class*='comment' i]");if(!r.length)return!1;var n=t(e.textContent||"").length,o=Array.prototype.reduce.call(r,function(e,r){return Math.max(e,t(r.textContent||"").length)},0);return o>0&&o>=.7*n}function Dn(e){return t(e||"").replace(/\s*see (?:the )?full definition\b.*$/i,"").replace(/\s*opens in new tab\.?$/i,"").replace(/\s*[|:-]\s*(?:merriam-webster|definitions?\.net|dictionary(?:\.com)?|diki)\b.*$/i,"").trim()}function Un(e){return t(e||"").toLowerCase().replace(/^[\s#>*-]*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s*/i,"").replace(/^definition\s*[:.-]\s*/i,"").replace(/^[^:]{1,40}:\s+/,"").replace(/\b(?:source|references?|citation|cite this entry)\b.*$/i,"").replace(/[^a-z0-9]+/g," ").trim().slice(0,240)}function Wn(e,r){var n=Dn(r&&r.excerpt||"").toLowerCase(),o=t(e||"").toLowerCase();return!o||(!!function(e){var r=(t(e||"").match(/browse nearby words|cite this entry|more from merriam-webster|popular in grammar|popular in wordplay|top lookups|numerology|citation/gi)||[]).length;return r>=2}(o)||!(!n||n.length<18)&&(-1===o.indexOf(n)&&o.length<Math.max(260,3*n.length)))}function Zn(e){if(!e||1!==e.nodeType)return!1;var r=t((e.querySelector("h2, h3, h4, strong")||{}).textContent||""),n=t(e.textContent||""),o=t([e.id||"",e.className||""].join(" ")).toLowerCase();return!!Y(n)||(!!ee(r)||(!!/^(love words\? need even more definitions|top lookups|add to chrome|add to firefox)$/i.test(n)||(!!/^discuss these .+ definitions with the community/i.test(n)||(!!/subscribe for ad-free|word of the day|browse definitions\.net|popular in grammar|popular in wordplay/i.test(n)||!!(/(cookie|privacy|consent)/.test(o)&&n.length<2400)))))}function Gn(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),i=V().slice(0,2e3).toLowerCase(),a=!!_("q"),l=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,L("og:type","property")].join(" ")).toLowerCase(),n=0;return/\b(dictionary|glossary|lexicon|thesaurus|encyclopedia|database)\b/.test(r)&&(n+=3),/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(r)&&(n+=2),/\b(website|article)\b/.test(r)&&/\b(dictionary|glossary|definition|definitions|database)\b/.test(r)&&(n+=1),b().some(function(e){var t=v(e).join(" ").toLowerCase();return!(!/definedterm|dictionary|glossary|creativework|article/.test(t)||!/\b(definition|term|description|citation)\b/.test(r+" "+t)||(n+=2,0))}),n}(e);return/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(r)||/\/(dictionary|definition|definitions|pronunciation)\//.test(o)||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(i)||a&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(r+" "+n)||l>=4&&/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(i)}function Kn(e){var r=Dn(e&&e.excerpt||"");return!r||r.length<16?null:T({title:u(["main h1","article h1","h1"])||t(e&&e.title||document.title)||e&&e.title||document.title,description:r,siteName:e&&e.siteName||location.hostname})}function Vn(e){if(!Gn(e))return null;var o=function(e){var n=u(["main h1","article h1","h1"])||t(e&&e.title||document.title),o=u([".headword","strong.headword",".hword","main h1","article h1","h1"])||r((location.pathname||"").split("/").filter(Boolean).pop()||""),i=[];function a(e){return(e=t(e||""))||null}function l(e,t){if(!(!(t=a(t))||t.length<12||ee(t)||/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups|examples? of .* in a sentence/i.test(t))){var r=Un(t);!r||r.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(Un).indexOf(r)&&e.push(t)}}function s(e){var r=Pe(e);return r.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),ze(r),t(r.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var r=a(e.textContent||"");if(!(!r||r.length<12||ee(r))){var n=e.parentElement&&e.parentElement.querySelector("p.term"),o=t(n&&n.textContent);o&&-1===r.toLowerCase().indexOf(o.toLowerCase())&&(r=o+": "+r),-1===i.map(Un).indexOf(Un(r))&&i.push(r)}});var c=f([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"]).filter(function(e){return e&&e.length<=40&&!ee(e)}),d=f([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"]).filter(function(e){return e&&e.length<=120&&!Y(e)&&!ee(e)&&!/how to pronounce|how to say|listen to the pronunciation/i.test(e)}),m=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".headword-line, p:has(.headword), p:has(strong.headword)")).some(function(t){for(var r=t.parentElement;r&&r.nextElementSibling&&(r=r.nextElementSibling,!/^(h2|h3|h4)$/i.test(r.tagName||""));)if("ol"===(r.tagName||"").toLowerCase())return Array.prototype.slice.call(r.children).forEach(function(t){"li"===(t.tagName||"").toLowerCase()&&l(e,s(t))}),e.length>=2;return!1}),e}().concat(function(){var e=[];return document.querySelectorAll("#dictionary-entry-1 .dtText, .entry-word-section-container .dtText, .sense .dtText").forEach(function(r){l(e,t(r.textContent||"").replace(/^[:;]\s*/,""))}),e}()).concat(i).concat(f(["p.desc",".dtText",".sense .dtText",".sense",".def",".definition","[class*='definition']","li[class*='meaning'] > span","li[class*='definition'] > span","li[class*='sense'] > span","[class*='meaning']","dd","[itemprop='description']"]).map(a)).filter(function(e){return e&&e.length>=12&&!ee(e)&&!/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups/i.test(e)}).filter(function(e,t,r){var n=Un(e);return!n||n.length<10?r.indexOf(e)===t:r.map(Un).indexOf(n)===t});if(!m.length&&!d.length)return null;var p=["# "+(n=o||n)];o&&-1===n.toLowerCase().indexOf(o.toLowerCase())&&p.push("## "+o),c.length&&p.push(c.join(" | ")),d.length&&p.push(d.join("\n")),m.forEach(function(e){p.push(e)});var h=It(p.filter(Boolean).join("\n\n")),g=function(e){var r=t(e||"").toLowerCase(),n=document.createElement("div"),o=[];document.querySelectorAll("[id*='dictionary-entry'], [class*='example'], [class*='etymolog'], [class*='first-known'], [class*='word-history']").forEach(function(e){t(e.textContent||"").length<30||o.some(function(t){return t.contains(e)})||(o=o.filter(function(t){return!e.contains(t)})).push(e)}),o.forEach(function(e){n.appendChild(e.cloneNode(!0))});var i=[];return[n.childNodes.length?n:null,document.querySelector("main"),document.querySelector("#mw-content-text .mw-parser-output"),document.querySelector("#dictionary-entry-1"),document.querySelector("article"),document.querySelector("[role='main']"),document.body].forEach(function(e){e&&-1===i.indexOf(e)&&i.push(e)}),i.reduce(function(e,n){var o=Pe(n);o.querySelectorAll("script, style, noscript, svg, form, header, nav, footer, aside, .mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .mw-headline-anchor").forEach(function(e){e.remove()}),o.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){Zn(e)&&e.remove()}),ze(o);var i=It(Qt(o.innerHTML)),a=t(i).toLowerCase();return!a||a.length<80||a===r||r.indexOf(a)>=0?e:/(^|\n)#{1,6}\s*(?:examples?|etymolog(?:y|ies)|word history|first known use|translations?|quotations?|usage notes?|synonyms?|antonyms?|derived terms|related terms|pronunciation)\b/i.test(i)&&(!e||a.length>t(e).length)?i:e},"")}(h),y=It([h,g].filter(Boolean).join("\n\n")),b=t(y);if(b.length<40)return null;var v=document.createElement("article"),w=document.createElement("h1"),x=document.createElement("ol");return w.textContent=n,v.appendChild(w),m.forEach(function(e){var t=document.createElement("li");t.textContent=e,x.appendChild(t)}),v.appendChild(x),{title:n||e&&e.title||document.title,byline:null,excerpt:m[0]||b.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:v.outerHTML,markdown:y,textContent:b,readerMode:!1,contentType:"article",hostAware:!0}}(e);if(o)return o;var i=Kn(e),a=function(){var e=[];function r(t){t&&-1===e.indexOf(t)&&e.push(t)}return["article","main","[role='main']",".entry",".entry-body",".entry-body__el",".di-body",".pr.dictionary",".dictionary","#dictionary-entry-1",".definition",".definitions",".sense",".dtText","section","div","td","table"].forEach(function(e){document.querySelectorAll(e).forEach(r)}),document.querySelectorAll("h1, .dtText, .sense, dd, dt, [class*='definition'], [class*='pron'], [itemprop='description']").forEach(function(e){r(e),r(e.closest("article, main, [role='main'], section, div, td, table"))}),document.querySelectorAll("section, div, td, table").forEach(function(e){var n=t(e.textContent||"");n.length<40||n.length>3200||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(n.toLowerCase())&&r(e)}),e}().reduce(function(e,r){var o=function(e){if(!e)return-1/0;var r=n(e);if(r<60||r>14e3)return-1/0;var o=t(e.textContent||""),i=((e.className||"")+" "+(e.id||"")).toLowerCase(),a=e.querySelectorAll("h1, h2, h3").length,l=e.querySelectorAll("dd, dt, dl, [class*='definition'], [class*='sense'], [class*='pron'], [class*='entry'], [class*='meaning']").length,s=e.querySelectorAll("dd, dt, p.desc, dl, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").length,c=Array.prototype.slice.call(e.querySelectorAll("p.desc, dd, .dtText, .definition, [itemprop='description']")).filter(function(e){var r=t(e.textContent||"");return r.length>=40&&r.length<=520&&!Zn(e)}).length,u=Array.prototype.slice.call(e.querySelectorAll("p, li, dd, div")).filter(function(e){return/^\s*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s+\S/.test(e.textContent||"")}).length,d=e.querySelectorAll("p, li").length,m=e.querySelectorAll("a[href]").length*(s||c?10:16),p=0;return/(definition|dictionary|entry|meaning|sense|glossary|lexicon|pronunciation|ipa)/.test(i)&&(p+=260),/(source|reference|citation|database)/.test(i)&&(s||c)&&(p+=90),/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(o.toLowerCase())&&(p+=220),s>=2&&(p+=180),c>=2&&(p+=260),u>=2&&(p+=120),e.matches&&e.matches("dl, [class*='definition'], [class*='sense'], [class*='entry'], [itemprop='description']")&&(p+=160),e.querySelector("h1")&&(p+=120),Zn(e)&&(p-=320),/\b(top lookups|word of the day|translation|numerology|citation|browse nearby words)\b/i.test(o)&&(p-=180),/\b(browse nearby words|more from merriam-webster|popular in grammar|popular in wordplay|translation|numerology|citation|quiz)\b/i.test(o)&&(p-=260),r>3500&&(p-=220),r>7e3&&(p-=400),r+80*l+95*s+160*c+18*d+35*a+p-m}(r);return!e||o>e.score?{node:r,score:o}:e},null);if(!a||a.score<260)return i;var l=Pe(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){Zn(e)&&e.remove()}),function(e){var r={};e.querySelectorAll("p.desc, dd, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").forEach(function(e){var n=Un(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(l),ze(l);var s=It(Qt(l.innerHTML)),c=t(s);if(c.length<40)return i;var d=u(["h1"])||t(e&&e.title||document.title);return d&&!Tt(s,d)&&(s="# "+d+"\n\n"+s),Wn(c=t(s=It(s)),e)&&i?i:{title:d||e&&e.title||document.title,byline:null,excerpt:c.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:l.innerHTML,markdown:s,textContent:c,readerMode:!1,contentType:"article"}}function Jn(e,t){return!e||!Sr(e)||t&&t.strongList?(e&&(e.contentType="list"),e):e}function Xn(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=0;if(/\b(?:high court|supreme court|court of appeal|federal court|district court|court of justice|tribunal)\b/i.test(r)&&(n+=1),/\b(?:judg(?:e)?ment|opinion of the court|reasons for judgment|delivered by|per curiam)\b/i.test(r)&&(n+=1),/\b(?:appellant|respondent|plaintiff|defendant|petitioner|counsel|solicitor|amicus|certiorari)\b/i.test(r)&&(n+=1),/\b[A-Z][A-Za-z'.-]+\s+v\.?\s+[A-Z][A-Za-z'.-]+\b/.test(r)&&(n+=1),/\[[12][0-9]{3}\]\s+[A-Z][A-Z0-9.]{1,12}\s+\d+|\([12][0-9]{3}\)\s+\d+\s+[A-Z][A-Z0-9.]{1,12}\s+\d+/i.test(r)&&(n+=1),n<3)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0,i=(r.match(/[.;:]\s+[A-Z][a-z]{2,}/g)||[]).length;return o>=5||i>=35||r.length>=2e4}function Yn(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=Ln({root:e,text:r,title:document.title||"",path:location.pathname||""});if(!n.legalTitle||n.provisionMarkers<8)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, td, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0;return n.structuralMarkers>=3||n.legalTerms||o>=8||r.length>=2e4}function Qn(e,n){if(e=e||document.body,n=t(n||e&&e.textContent||""),!e||n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")),a=t([o,i,n.slice(0,1200)].join(" ")).toLowerCase(),l=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),s=e.querySelector(".LegContents, .LegContentsEntry, [class*='contents' i], [id*='contents' i], [aria-label*='contents' i]"),c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return/\/(?:section|article|schedule|part|chapter)\/[^\s#?]+/i.test(r)||/\b(?:section|article|schedule|part|chapter)\s+(?:\d+[a-z]?|[ivxlcdm]+)\b/i.test(n)}).length,u=Array.prototype.filter.call(e.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=160}).length;return!!(l||s||/\b(?:table of contents|contents|collapse all)\b/i.test(a))&&(!!/\b(?:act|code|law|regulation|ordinance|statute|legislation|convention|treaty|schedule)\b/i.test(a)&&(c>=6&&u<4))}function eo(e,r){e=e||{};var n=t((r=r||{}).title||e.title||""),o=t(r.excerpt||e.excerpt||""),i=t(r.publishedTime||e.publishedTime||""),a=t(r.byline||e.byline||""),l=t(r.textContent||r.markdown||"");return!(n.length<br(n)||l.length<220)&&(!!(i&&o.length>=40)||(!(!i||!a)||!!(i&&l.length>=320)))}function to(e,t,r){if(!r)return!1;var n=r.text+"|"+r.url,o=r.canonicalKey||te(r.url);return!t[n]&&!t["url:"+o]&&(t[n]=!0,t["url:"+o]=!0,r.canonicalKey=o,e.push(r),!0)}function ro(e,r){r=r||{},e=e||document;var n=[],o=r.cardSelectors||[],i=[],a={},l=[],s=r.minTitleLength||0,c=r.maxTitleLength||1/0,u=!1!==r.dedupe;function d(e){e&&-1===i.indexOf(e)&&(i.push(e),n.push(e))}return"string"==typeof o&&(o=[o]),o.forEach(function(t){Array.prototype.forEach.call(e.querySelectorAll(t),d)}),!o.length&&e.querySelectorAll&&d(e),n.forEach(function(e){var n,o=r.linkBuilder?r.linkBuilder(e):r.linkSelector?e.querySelector(r.linkSelector):null,i=r.candidateBuilder?r.candidateBuilder(e,o):null;if(i){i.text=t(i.text||""),i.url=i.url||"";var d="function"==typeof s?s(i.text):s;!i.text||i.text.length<d||i.text.length>c||(r.allowMissingUrl||i.url)&&(r.rejectCandidate&&r.rejectCandidate(i,e,o)||(void 0===i.detail&&r.detailBuilder&&(i.detail=r.detailBuilder(e,i,o)),n=function(e,t,n){var o;return r.keyBuilder&&(o=r.keyBuilder(e,t,n)),null==o&&(o=[e.text+"|"+(e.url||"")]),Array.isArray(o)||(o=[o]),o.filter(Boolean)}(i,e,o),u&&n.some(function(e){return a[e]})||(u&&n.forEach(function(e){a[e]=!0}),l.push(i))))}}),l}function no(e,t){var r="article, li, [class*='card'], [class*='story'], [class*='teaser'], [class*='item'], [class*='result'], [class*='news'], [class*='headline']",n=e.matches&&e.matches(r);return Array.prototype.filter.call(e.querySelectorAll(t),function(t){for(var o=t.parentElement;o&&o!==e&&(!o.matches||!o.matches(r));)o=o.parentElement;return!n||o===e})}function oo(e,r){var n=no(e,r)[0];return n?t(n.textContent):""}function io(e,r){e.summary=oo(r,"[class*='summary'], [class*='description'], [class*='excerpt'], p"),e.category=oo(r,"[class*='category'], [class*='eyebrow'], [class*='kicker']");var n=no(r,"time")[0];n&&(e.time=t(n.getAttribute("datetime")||n.textContent)),e.image=function(e){var r=no(e,"img[alt]:not([alt='']), figcaption")[0];if(!r)return"";var n=t(r.getAttribute?r.getAttribute("alt"):r.textContent);return n.length<=2||/^(image|photo|thumbnail|logo|icon|avatar)$/i.test(n)?"":n}(r),e.caption=oo(r,"figcaption")}function ao(e){var r=["tr.athing","tr[data-id][data-url*='/remote-jobs/']","article","li","section",".item",".story",".post",".entry",".news",".headline",".feed-item","[class*='card']","[class*='result']","[class*='teaser']","[class*='news']","[class*='headline']","[class*='feed']","[class*='thread']","[class*='topic-list']","[class*='job-card' i]","[data-testid='slider_container']","[data-test='jobListing']","[data-jobid]","[data-url*='/remote-jobs/']",".structItem",".discussionListItem"].join(", "),n=Array.prototype.slice.call(e.querySelectorAll(r)),o={},i=[],a=Tr(),l=[location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" "),s=/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/i.test(l);function c(e,t){return e.length<(s?3:18)||/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(e)||/^[\w.-]+\.[a-z]{2,}$/i.test(e)||/(?:^|[?&])(user|from|site|goto)=/i.test(t)||Ar(e,t)||_r(e)}function u(e,t){var r=$r(e,t,a);r&&!c(r.text,r.url)&&to(i,o,r)}(n.forEach(function(e){u(function(e){var r=e.querySelector("h1 a[href], h2 a[href], h3 a[href], h4 a[href], a[href] h1, a[href] h2, a[href] h3, a[href] h4");if(r)return r.closest("a[href]")||r;var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return(n=n.filter(function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r&&!Ar(r,e.getAttribute("href")||"")&&!Rr(e)&&!Rr(e.parentElement)&&!zr(e)})).sort(function(e,r){var n=t(e.textContent||e.getAttribute("aria-label")||"");return t(r.textContent||r.getAttribute("aria-label")||"").length-n.length}),n[0]||null}(e),e)}),i.length<5)&&Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent),n=e.getAttribute("href");return!(!n||"#"===n[0]||/^(javascript:|mailto:)/i.test(n))&&(!c(r,n)&&(r.length>=br(r)&&r.length<=220))}).forEach(function(e){var t=e.closest("tr, li, article, section, div")||e.parentElement;u(e,t)});return i}function lo(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=Tr(),o=["h1 a[href]","h2 a[href]","h3 a[href]","h4 a[href]","article a[href]","section a[href]","[class*='headline'] a[href]","[class*='story'] a[href]","[class*='post'] a[href]","[class*='news'] a[href]","[class*='feed'] a[href]","[class*='teaser'] a[href]","[class*='result'] a[href]"].join(", ");return Array.prototype.forEach.call(e.querySelectorAll(o),function(e){var o=e.closest("article, section, li, div")||e.parentElement;if(!(Br(e)||Br(e.parentElement)||function(e){return Nr(e,Br)}(e))){var i=$r(e,o,n);i&&to(r,t,i)}}),r}function so(e){return(e||[]).reduce(function(e,t,r){var o=Math.max(0,t&&t.score?t.score:n(t&&t.text));return o=Math.min(o,1200),r>=8&&(o=Math.round(o/2)),e+o},0)}function co(e){return ke(e),Ae(e),Ce(e),qe(e),_e(e),e.querySelectorAll("header, footer, nav, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside, form, ul, ol").forEach(function(e){Rr(e)&&e.remove()}),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent);r&&!/^skip\s+(to\s+)?/i.test(r)||e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();/^(sign in|log in|login|register|subscribe|newsletter|follow us|follow|join now|create account|my account|account|menu|search)$/i.test(r)&&e.remove()}),e}function uo(e,r){var n=[],i=[];return function(e,t){var r=t&&t.cardSelector||["article","li","[class*='card']","[class*='story']","[class*='teaser']","[class*='item']","[class*='result']","[class*='news']","[class*='headline']"].join(", "),n=Array.prototype.slice.call(e.querySelectorAll(r)),o=n.filter(function(e){return!n.some(function(t){return t!==e&&e.contains(t)})});return o.length||(o=[e]),o}(e,r).forEach(function(e){var i=function(e,r){if(r&&r.directCard){var n=e.matches&&e.matches("a[href]")?e:e.querySelector("a[href]"),i=t((e.querySelector("h1, h2, h3, h4")||n||{}).textContent||"");if(n&&i.length>=6){var a={text:i,url:o(n.getAttribute("href")),detail:"",score:i.length};return a.canonicalKey=te(a.url),a.url=a.canonicalKey,a.card=e,io(a,e),a}}var l=e.querySelectorAll("article, li, [class*='card'], [class*='story'], [class*='teaser'], [class*='item'], [class*='result'], [class*='news'], [class*='headline']");if(Array.prototype.some.call(l,function(e){return e.querySelector("h1 a[href], h2 a[href], h3 a[href], h4 a[href]")}))return null;var s=no(e,"a[href]"),c=no(e,"h1 a[href], h2 a[href], h3 a[href], h4 a[href]")[0];if(e.matches&&e.matches("a[href]")&&(s=[e]),!c&&!no(e,"p, [class*='summary'], [class*='description'], [class*='excerpt'], time, img[alt]:not([alt=''])").length)return null;var u=c;u||(u=s.filter(function(e){return e.querySelector("h1, h2, h3, h4")})[0]),u||(u=s.reduce(function(t,r){var n=$r(r,e,Tr());return n&&(!t||n.score>t.score)?r:t},null)),!u&&r&&r.ancestorLink&&(u=e.closest("a[href]"));var d=$r(u,e,Tr());if(!d&&u){var m=u.getAttribute("href"),p=t(u.textContent||u.getAttribute("aria-label")||""),h=o(m);m&&h&&p.length>=6&&p.length<=220&&(d={text:p,url:h,detail:"",score:p.length})}return d?(d.domIndex=Array.prototype.indexOf.call(document.querySelectorAll("a[href]"),u),d.canonicalKey=te(d.url),d.url=d.canonicalKey,d.card=Pr(u,e),io(d,d.card),d):null}(e,r);i&&i.url&&n.push(i)}),n.filter(function(e){return!n.some(function(t){return t!==e&&e.card.contains(t.card)})}).forEach(function(e){i.push(e)}),i}function mo(e,r){var n=(r=r||{}).regionSelector||"section, [role='region'], main > div, main > article",o=[],i=[],a={},l=Array.prototype.slice.call(e.querySelectorAll(n));return r.additionalRegions&&(l=l.concat(r.additionalRegions(e))),l.sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}),l.forEach(function(e){var n=function(e,r){if(r&&r.headingBuilder)return r.headingBuilder(e);var n=e.querySelector(r&&r.headingSelector||"h1, h2, h3, h4"),o=t(n&&n.textContent);return!o||o.length>90||ne(o,"")?"":o}(e,r);if(!n&&r.fallbackHeadingBuilder&&(n=r.fallbackHeadingBuilder(e)),n&&!i.some(function(t){return t.contains(e)})&&(r.skipEditorialGuard||function(e){for(var t=e.parentElement;t;){if(t.matches&&t.matches("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']"))return!1;t=t.parentElement}return!jr(e)&&!jr(e.parentElement)}(e))&&(!r.regionFilter||r.regionFilter(e))){var l=uo(e,r).filter(function(e){if(r.cardFilter&&!r.cardFilter(e))return!1;var t=te(e.url).replace(/([?&])(?:utm_[^&=]+|fbclid|gclid|dclid|msclkid|mc_cid|mc_eid)=[^&]*&?/gi,"$1").replace(/[?&]$/,"");return!a[t]&&(a[t]=!0,!0)});(l.length||r.allowEmptyRegions)&&(i.push(e),o.push({label:n,cards:l}))}}),o}function po(e,t){if(Sr())return null;var r=mo(e,t);if(r.length<2)return null;var n=[],o=r.map(function(e){var t=e.cards;return t.forEach(function(e){n.push(e)}),"## "+e.label+"\n\n"+C(t)}).join("\n\n");return{regions:r,items:n,markdown:o,score:500*r.length+so(n)}}function ho(e){var r=Pe(e);co(r);var n=po(r);if(n)return{root:r,items:n.items,descText:"",markdown:n.markdown,score:n.score,sectionCount:n.regions.length,sectionRank:1e5*n.regions.length-r.querySelectorAll("a[href]").length};var o=ao(r),i=so(o),a=function(e){var r=[];return e.querySelectorAll("h1, h2, h3, p").forEach(function(e){var n=t(e.textContent);if(!(n.length<30||n.length>2e3||_r(n)||J(n)||X(n)||Er(n))){var o=e.querySelectorAll("a[href]").length,i=n.split(/\s+/).length;if(o<=1||o/i<.3){var a=/^H[123]$/.test(e.tagName)?"## ":"";r.push(a+n)}}}),r.join("\n\n")}(r),l=lo(e),s=so(l);(o.length<3&&l.length>o.length||s>i+180)&&(o=l,i=s);var c=C(o),u=a?a+(c?"\n\n"+c:""):c;return t(u).length<120&&(l.length>o.length||s>i)&&(i=s,c=C(o=l),u=a?a+(c?"\n\n"+c:""):c),{root:r,items:o,descText:a,markdown:u,score:i+80*o.length+Math.min(a.length,4e3)}}function fo(e,r){r=r||{};var o=[];function i(e){e&&-1===o.indexOf(e)&&o.push(e)}i(Ur(e)),function(e){var t=Tr(e),r=[];if(!t.sectionFragments.length&&!t.keywords.length)return r;function o(e){e&&e!==document.body&&e!==document.documentElement&&-1===r.indexOf(e)&&(Rr(e)||jr(e)||e.querySelectorAll("a[href]").length<3||n(e)<140||r.push(e))}return Array.prototype.forEach.call(document.querySelectorAll("a[href]"),function(e){var r=e.closest("article, section, div, li, ul, ol, main")||e.parentElement,n=$r(e,r,t);if(n&&!(n.score<260))for(var i=r,a=0;i&&a<4&&(o(i),!i.matches||!i.matches("main, [role='main']"));)i=i.parentElement,a+=1}),r}(e).forEach(i),i(document.querySelector("main, [role='main']")),i(document.body);var a=o.reduce(function(e,t){var r=ho(t);return function(e,t){if(!e)return!0;var r=e.sectionCount||0,n=t.sectionCount||0;if(n!==r)return n>r;if(n){var o=e.sectionRank||0,i=t.sectionRank||0;if(i!==o)return i>o}return t.score>e.score}(e,r)?r:e},null)||ho(document.body),l=Array.prototype.filter.call(a.root.querySelectorAll("h2, h3, h4"),function(e){return!e.closest("article, li, [class*='card' i], [class*='item' i]")}).length,s=t([location.pathname,document.title,e.title].join(" ")),c=/\b(?:docs?|documentation|api|library|libraries|reference|class|module|namespace|package)\b/i.test(s),u=re()&&!c&&a.items.length>=10&&t(a.markdown).length>=3e3,d=u?2:0,m=u?l:0,p=Math.max(a.sectionCount||0,m,d);return j(e,{title:e.title||document.title,excerpt:a.items[0]?a.items[0].text:e.excerpt,html:a.root.innerHTML,textContent:a.markdown,markdown:a.markdown,items:a.items,portalRootEvidence:r.portalRoot&&p>=2&&a.items.length>=4?{namedSectionCount:p,canonicalCardCount:a.items.length}:null})}var go=null;function yo(){if(go)return go;var e=[];return b().forEach(function r(n){if(n&&"object"==typeof n)if(Array.isArray(n))n.forEach(r);else{var o=n["@type"]||n.type;(Array.isArray(o)?o:[o]).some(function(e){return/^(product|book)$/i.test(t(e))})&&e.push(n),n["@graph"]&&r(n["@graph"]),n.itemListElement&&r(n.itemListElement),n.item&&r(n.item)}}),go=e,e}function bo(e){return null==e?"":Array.isArray(e)?bo(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function vo(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function wo(e){return xo(e&&(e.price||e.priceSpecification&&e.priceSpecification.price),e&&(e.priceCurrency||e.priceSpecification&&e.priceSpecification.priceCurrency))}function xo(e,t){if(e=bo(e).replace(/\s+/g,""),t=bo(t).toUpperCase(),!e)return"";var r=e.match(/[$€£]\s?\d[\d,]*(?:\.\d{2})?/);return r?r[0].replace(/([$€£])\s+/g,"$1"):/^\d[\d,.]*$/.test(e)?"USD"===t?"$"+e:"EUR"===t?"€"+e:"GBP"===t?"£"+e:t?e+" "+t:e:""}function So(e){return a(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function ko(e,r){var n=yo().find(function(n){return function(e,r,n){var i=bo(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),l=vo(e),s=bo(e&&e.url||l&&l.url),c=s?o(s):"";return!(!n||!c||c.replace(/[#?].*$/,"")!==n.replace(/[#?].*$/,""))||!(!i||!a||i!==a&&-1===i.indexOf(a)&&-1===a.indexOf(i))}(n,e,r)});if(!n)return[];var i=vo(n),a=n.aggregateRating||n.reviewRating,l=[],s=wo(i),c=bo(i&&i.availability),u=bo(a&&a.ratingValue),d=bo(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),u&&l.push(Ao(u,d)),c&&l.push(So(c)),l}function Ao(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function Co(e){var n,i=[];["main","[role='main']",".products",".product-grid",".product-list",".search-results",".category",".collection","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=r([location.pathname||"",location.search||"",e&&e.title||document.title].join(" ")).toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(shop|store|products?|items?|brand|brands|category|categories|search|results|sale|gift|sets|perfume|perfumes|fragrance|fragrances|cologne|women|men|unisex)$/i.test(e)}),l=[];function s(e){try{var t=new URL(e,location.href);return(t.origin+t.pathname).toLowerCase()}catch(t){return String(e||"").toLowerCase()}}function c(e){return e=e.toLowerCase(),a.some(function(t){return-1!==e.indexOf(t)})}function u(e){var r=e.querySelector("img[alt], img[title]"),n=o(e.getAttribute("href")),i=e.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement;i===e&&e.parentElement&&(i=e.parentElement.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement);var u=[],d=[t(e.textContent||""),t(e.getAttribute("aria-label")||""),t(r&&(r.getAttribute("alt")||r.getAttribute("title")))];i&&n&&Array.prototype.forEach.call(i.querySelectorAll("a[href][class*='title' i], [class*='title' i] a[href]"),function(e){s(o(e.getAttribute("href")))===s(n)&&u.push(t(e.textContent||e.getAttribute("aria-label")||""))}),u.length&&(d=u),d.sort(function(e,t){return t.length-e.length});var m,p=d[0]||"";if(!n||!p||p.length<6||p.length>140)return null;if(/^\(\d+\)\s+/.test(m=p)||/^(top sellers|new arrivals|product|brand name|review count|star rating|sort by|view all|more options(?: from .*)?|privacy policy|my privacy choices|sign in|order status|shipping info|fragrances|see all fragrances|perfume|bath & body|gift sets|unboxed\/testers|perfume samples|cologne|samples|cologne samples|women'?s perfume|men'?s cologne|0 items in your bag|0 0 items in your bag|request it|become a fragrancenet\.com vip|powered by onetrust opens in a new tab)$/i.test(m)||/\(designer\)$/i.test(m))return null;if(/(sort|filter|review|rating|privacy|cookie|onetrust)/i.test(n)&&p.length<32)return null;if(n===location.href||/^(javascript:|mailto:)/i.test(n))return null;var h="";try{h=new URL(n,location.href).pathname}catch(e){return null}var f=/(\/product|\/perfume|\/cologne|\/dp\/|\/itm\/|\/pdp\/|\/shop\/products\/|\/p\/(?!pl(?:\/|$)))/i.test(h),g=t(i&&[i.getAttribute("id"),i.getAttribute("class"),i.getAttribute("data-testid"),i.getAttribute("data-hb-id"),i.getAttribute("itemtype")].join(" ")),y=/(product|item-cell|item-container|schema\.org\/Product)/i.test(g);if(!f&&!y)return null;if(l.length&&!function(e){return e=e.toLowerCase(),l.some(function(t){return-1!==e.indexOf(t)})}(p))return null;if(a.length&&wr()&&!c(p))return null;var b=function(e,r,n){if(!e)return"";var o=t(e.textContent||""),i=ko(r,n);function a(e){(e=t(e))&&-1===i.indexOf(e)&&i.push(e)}function l(r){var n=e.querySelector(r);return t(n&&(n.getAttribute("content")||n.getAttribute("href")||n.getAttribute("aria-label")||n.textContent))}var s=xo(l("[itemprop='price'], meta[itemprop='price'][content], [class*='price' i], [data-testid*='price' i], [aria-label*='price' i]"),l("[itemprop='priceCurrency'], meta[itemprop='priceCurrency'][content]"));s&&a(s),(o.match(/([$€£]\s?\d[\d,.]*(?:\.\d{2})?)/g)||[]).slice(0,2).forEach(function(e){-1===i.indexOf(e)&&i.push(e)});var c=l("[itemprop='ratingValue'], meta[itemprop='ratingValue'][content]"),u=l("[itemprop='reviewCount'], [itemprop='ratingCount'], meta[itemprop='reviewCount'][content], meta[itemprop='ratingCount'][content]");c&&/^\d(?:\.\d+)?$/.test(c)&&a(Ao(c,u));var d=e.querySelector("[aria-label*='out of 5' i], [class*='rating' i], [class*='stars' i]"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=m.match(/\b(\d(?:\.\d+)?)\s*(?:out of|\/)\s*5\b/i)||o.match(/\b(\d(?:\.\d+)?)\s*out of\s*5\s*stars?\b/i);if(p){var h=(m+" "+o).match(/\b([\d,]+)\s*(?:reviews?|ratings?)\b/i);a(Ao(p[1],h&&h[1]))}var f=l("[itemprop='availability'], link[itemprop='availability'][href], meta[itemprop='availability'][content], [class*='stock' i], [class*='availability' i], [data-testid*='availability' i]");if(!f){var g=o.match(/\b(in stock|out of stock|sold out|available now|currently unavailable|unavailable|pre-?order|backordered|request it)\b/i);f=g&&g[0]}return f&&a(So(f)),[/\bfree shipping\b/i].forEach(function(e){var t=o.match(e);t&&a(t[0])}),i.filter(Boolean).join(" - ")}(i,p,n);return c(p)||f||y?{text:p,url:n,detail:b}:null}function d(e,t){return ro(e,{cardSelectors:"a[href]",allowMissingUrl:!1,dedupe:t,keyBuilder:function(e){return[e.text+"|"+e.url,"url:"+e.url,"product:"+s(e.url)]},candidateBuilder:function(e){return u(e)}})}new URLSearchParams(location.search||"").forEach(function(e,t){/^(q|query|search|searchtext|keyword|k|d)$/i.test(t||"")&&r(e||"").toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).forEach(function(e){e.length>=3&&-1===l.indexOf(e)&&l.push(e)})});var m=i.reduce(function(e,t){var r=d(t,!1).length;return!e||r>e.score?{node:t,score:r}:e},null);return!m||m.score<4||(n=d(m.node,!0)).length<4?null:j(e,{excerpt:n[0].text,items:n})}function qo(){return xo(u(["meta[property='product:price:amount']","meta[property='og:price:amount']","meta[name='twitter:data1']","meta[itemprop='price']"],"content"),u(["meta[property='product:price:currency']","meta[property='og:price:currency']","meta[itemprop='priceCurrency']"],"content"))}function To(){var e,r,n,o,i=yo().find(function(e){var t=vo(e);return bo(e&&e.name)||wo(t)||bo(e&&e.sku)})||null,a=vo(i),l=bo(i&&i.name),s=(e=l||u(["main h1","article h1","h1"]),(r=document.querySelector("main h1, article h1, h1"))&&t(e)?t(r.textContent).toLowerCase()!==t(e).toLowerCase()?null:r.closest("main, article, [itemscope], [data-testid*='product' i], [class*='product-detail' i]")||r.parentElement:null);if(n=(location.pathname||"").toLowerCase(),o=(location.search||"").toLowerCase(),/(?:^|[?&])(q|query|search|searchtext|keyword|k|d)=/.test(o)||/\/(search|s|browse|category|categories|collections?|catalog|keyword|wholesale|shop)\b/.test(n)||/\/p\/pl\b/.test(n)||!s||i&&!function(e){var t=e&&(e.url||e.mainEntityOfPage);if(!t)return!0;try{var r=new URL("object"==typeof t?t.url:t,location.href);return r.origin===location.origin&&r.pathname===location.pathname}catch(e){return!1}}(i))return null;var c=wo(a)||qo()||function(e){for(var t=["[itemprop='price']","meta[itemprop='price'][content]","[data-testid*='price' i]","[class*='price' i]","[id*='price' i]","[aria-label*='price' i]"],r=u(["[itemprop='priceCurrency']","meta[itemprop='priceCurrency'][content]"],"content"),n=0;n<t.length;n+=1)for(var o=e.querySelectorAll(t[n]),i=0;i<o.length;i+=1){var a=o[i];if(!a.closest||!a.closest("nav, footer, aside, [hidden], [aria-hidden='true']")){var l=xo(a.getAttribute("content")||a.getAttribute("aria-label")||a.textContent,r);if(l)return l}}return""}(s),d=t(L("og:type","property")||"").toLowerCase(),m=!!s.querySelector("[itemtype*='schema.org/Product' i], [typeof*='Product' i], [itemprop='sku'], [itemprop='gtin'], [itemprop='mpn']"),p=!!s.querySelector("button[name*='add' i], button[id*='add-to-cart' i], button[class*='add-to-cart' i], button[data-testid*='add-to-cart' i], [aria-label*='add to cart' i], [aria-label*='add to bag' i]"),h=K(s,["[itemprop='sku']","[class*='sku' i]","[data-testid*='sku' i]"]),f=/\bproduct\b/.test(d),g=u(["main h1","article h1","h1","[itemprop='name']"]),y=!!s.querySelector("img[alt], [itemprop='image']");l=l.toLowerCase();var b=bo(i&&(i.sku||i.mpn||i.gtin13)),v=t(g||"").toLowerCase(),w=!(!i||!v||l!==v&&-1===l.indexOf(v)&&-1===v.indexOf(l)),x=!!g&&(m||p||h)&&!!s.querySelector("[itemtype*='schema.org/Product' i], [typeof*='Product' i], [itemprop='sku'], [itemprop='gtin'], [itemprop='mpn'], button[name*='add' i], button[id*='add-to-cart' i], button[class*='add-to-cart' i], button[data-testid*='add-to-cart' i], [aria-label*='add to cart' i], [aria-label*='add to bag' i], [class*='sku' i], [data-testid*='sku' i]"),S=w||x,k=[a,h||b,p,y].filter(Boolean).length;return yo().length>1&&!f&&!p&&!h||!S||k<2?null:{title:bo(i&&i.name),excerpt:bo(i&&i.description),price:c,availability:bo(a&&a.availability),sku:bo(i&&(i.sku||i.mpn||i.gtin13)||h)}}function _o(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)JobPosting$/i.test(e)})})||null}function Eo(e){if(!jo(document.body))return null;function r(e,r){var n=[];["[data-testid='company-name']","[data-test='employer-name']","[data-test='location']","[data-testid*='location' i]","[data-test='descSnippet']","[data-testid='belowJobSnippet']"].forEach(function(r){var o=e.querySelector(r),i=t(o&&o.textContent);i&&-1===n.indexOf(i)&&n.push(i)}),n.length||n.push(t(e.textContent||"").replace(r,""));var o=t(n.join(" - ")).replace(r,"");return o=o.replace(/\s*\{\"@context\".*$/i,"")}var n=ro(document,{cardSelectors:"[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']",linkBuilder:function(e){return e.querySelector("a[data-test='job-title'], a[id*='job-title' i], a[href*='/job-listing/'], a[href*='/remote-jobs/'], a[href*='/viewjob'], a[href*='/rc/clk'], a[href*='jk='], a[href*='jl=']")},allowMissingUrl:!0,minTitleLength:br,maxTitleLength:220,keyBuilder:function(e){return e.text+"|"+e.url},candidateBuilder:function(e,n){var i=function(e,r){var n=t(e.getAttribute("data-company")||""),o=t(e.getAttribute("data-search")||"").replace(/\s*\[.*$/i,"");n&&0===o.indexOf(n)&&(o=t(o.slice(n.length)));var i=[o,t(r&&(r.textContent||r.getAttribute("aria-label"))),t((e.querySelector("[data-test='job-title'], [data-testid*='jobTitle' i], h2, h3")||{}).textContent||"")].map(function(e){return t(e||"").replace(/\s*-?\s*\{\"@context\".*$/i,"")}).filter(Boolean);return i.sort(function(e,t){return t.length-e.length}),i[0]||""}(e,n),a=function(e,t){var r=t&&t.getAttribute("href");return(r=r||e.getAttribute("data-href")||e.getAttribute("data-url")||"")?o(r):""}(e,n);return{text:i,url:a,detail:r(e,i)}}});if(n.length<4)return null;var i=C(n);return j(e,{excerpt:n[0].text,textContent:i,markdown:i,items:n})}function jo(e){if(!(e=e||document.body)||Sr())return!1;var r=t([location.pathname,location.search,document.title].join(" ")).toLowerCase();if(!/(\bjobs?\b|employment|careers?|jobsearch|job-list|job results?|hiring|remote-[a-z0-9+-]+-jobs|q-[a-z0-9-]+-jobs)/i.test(r))return!1;var n=e.querySelectorAll("[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']").length,o=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<br(n)||n.length>220)&&/(\/job-listing\/|\/remote-jobs\/|\/viewjob\b|\/rc\/clk\b|[?&](?:jk|jl)=)/i.test(r)}).length;return n>=4||o>=4}function Lo(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(?:Event|EventReservation|WorkEvent)$/i.test(e)})})}function $o(){var e=Lo();return e.length>1&&Po()?null:e[0]||null}function Po(){var e=r(location.pathname||"").toLowerCase(),n=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")).toLowerCase();if(Ee(/(^|\.)eventbrite\.com$/)&&/^\/e\//i.test(location.pathname||""))return!1;if(/\/events?\/[^/?#]+\/\d+\/?$/i.test(e))return!1;if(/\b(?:schedule|agenda|program(?:me)?)\b/.test(e+" "+n))return!0;if(/\/(?:events?|conferences?|calendar)\/?$/i.test(e))return!0;if(/\/events\/[^/]*events?\/?$/i.test(e))return!0;if(/\b(?:our events|upcoming events|event calendar|python events)\b/.test(n))return!0;var o=No().length,i=Array.prototype.filter.call(document.querySelectorAll("a[href*='/events/'], a[href*='/event/'], a[href*='/e/'], a[href*='tickets-']"),function(e){return t(e.textContent||"").length>=8}).length;return o>=3||i>=4}function No(){var e=[],r={};function n(n,i){if(!n.closest("nav, header, footer, aside, form, [aria-hidden='true'], [hidden]")){i=i||n.querySelector("a[href]");var a=t((n.querySelector("h2, h3, h4, [class*='title' i]")||i||{}).textContent||""),l=n.parentElement||n,s=Ro(n)||Ro(l),c=Bo(n)||Bo(l),u=o(i&&i.getAttribute("href")||""),d=u||a;a&&s&&d&&!r[d]&&(r[d]=!0,e.push({text:a,url:u,detail:[s,c].filter(Boolean).join(" - ")}))}}return Array.prototype.forEach.call(document.querySelectorAll("[class*='event-card' i], [class*='event-list' i] article, [class*='event' i] article, li[class*='event' i], [data-testid*='event' i]"),function(e){n(e)}),Array.prototype.forEach.call(document.querySelectorAll("a[href*='/e/'], a[href*='tickets-']"),function(e){var t=e.closest("article, li, [role='listitem'], [data-testid*='event' i], [class*='event' i], [class*='card' i]")||e.parentElement;t&&n(t,e)}),e}function zo(e,t){var r=S(e),n=S(t);return r&&n&&r!==n?r+" - "+n:r||n||null}function Mo(e){if(!e)return null;if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(Mo).filter(Boolean).join("; "));if("object"!=typeof e)return null;var r=A(e.address);return t([x(e),r].filter(Boolean).join(" - "))||S(e)}function Ro(e){var r=m([e=e||document],["[itemprop='startDate']","time[datetime]"],"datetime")||m([e],["[itemprop='startDate']","[class*='start-date' i]","[class*='event-date' i]","[class*='date' i]","time"]),n=m([e],["[itemprop='endDate']"],"datetime")||m([e],["[itemprop='endDate']","[class*='end-date' i]"]);if(r||n)return zo(r,n);var o=t(e&&e.textContent||""),i=o.match(/\b(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)?\s*(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Sept|Oct|Nov|Dec)[a-z]*\s+\d{1,2}(?:\s*[-–]\s*\d{1,2})?(?:,?\s+\d{4})?(?:\s+(?:at\s+)?\d{1,2}(?::\d{2})?\s*(?:AM|PM|am|pm)?)?/);return i||(i=o.match(/\b\d{1,2}\s+(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Sept|Oct|Nov|Dec)[a-z]*\s+\d{4}(?:\s*,?\s*\d{1,2}:\d{2})?/))?t(i[0]):null}function Bo(e){function r(e){if(!e||/^(?:INPUT|TEXTAREA|SELECT|OPTION)$/i.test(e.tagName||""))return null;var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length<5||r.length>260||/^(?:location|autocomplete|search|use my current location|online event|virtual event)$/i.test(r)||/\b(?:autocomplete|search events|find events|log in|sign up)\b/i.test(r)?null:r}e=e||document;for(var n=["[itemprop='location']","[data-testid*='location' i]","[class*='event-location' i]","[class*='venue' i]","[class*='address' i]","[class*='location' i]"],o=0;o<n.length;o+=1)for(var i=e.querySelectorAll(n[o]),a=0;a<i.length;a+=1){var l=r(i[a]);if(l)return l}for(var s=e.querySelectorAll("h2, h3, h4, strong, dt"),c=0;c<s.length;c+=1)if(/^location$/i.test(t(s[c].textContent||"")))for(var u=s[c].nextElementSibling;u;){var d=r(u);if(d)return d;u=u.nextElementSibling}return null}function Ho(){var e=t([location.hostname,location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" ")).toLowerCase();if(!/\b(schedule|agenda|program(?:me)?|world-congress|rubyconf|conference|summit)\b/.test(e))return!1;if(!/\b(schedule|agenda|program(?:me)?|conference|congress|summit|rubyconf)\b/.test(e))return!1;var r=(t(document.body&&document.body.textContent).match(/\b\d{1,2}:\d{2}\s*(?:AM|PM|am|pm)?\b/g)||[]).length,n=document.querySelectorAll("[class*='session' i], [class*='schedule' i], [class*='agenda' i], [class*='talk' i], [class*='speaker' i]").length;return r>=3||n>=4}function Fo(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function Oo(e,r){var n=t(e&&e.textContent).replace(t(r),"").replace(/\s*[|·]\s*/g," - ");return t(n=n.replace(/Only include results for this site.*$/i,"").replace(/This search result is provided by Google Learn more Report result/gi,"").replace(/Learn more Report result/gi,"").replace(/Report Ad/gi,"").replace(/\bhttps?:\/\/\S+/gi,"").replace(/\s{2,}/g," "))}function Io(e,r){if((r=r||{}).prepareMetadata&&r.prepareMetadata(e),r.pathAllowed&&!r.pathAllowed())return null;var n={},i=[],a=r.minItems||4,l=r.minTitleLength||18,s=r.maxTitleLength||220,c=r.linkSelector||"a[href]",u=r.cardSelector||"article, section, li, div";if(document.querySelectorAll(c).forEach(function(e){if(!r.excludeClosest||!e.closest(r.excludeClosest)){var a=e.getAttribute("href")||"",c=o(a);if(c&&!n[c]&&(!r.acceptLink||r.acceptLink(a,c,e))){var d=r.titleBuilder?r.titleBuilder(e):Fo(e);if(r.transformTitle&&(d=r.transformTitle(d,e)),!function(e){return!e||e.length<l||e.length>s||!!r.rejectTitle&&("function"==typeof r.rejectTitle?r.rejectTitle(e):r.rejectTitle.test(e))}(d=t(d||""))){var m=Oo(e.closest(u)||e.parentElement,d);n[c]=!0,i.push({text:d,url:c,detail:m})}}}}),i.length<a)return null;var d=E({title:r.title||e&&e.title||document.title||r.defaultTitle,excerpt:e&&e.excerpt,siteName:e&&e.siteName||r.siteName||location.hostname,items:i});return r.hostAware&&(d.hostAware=!0),r.statusPage&&(d.statusPage=!0),d}function Do(e,t){return!0===e||!1!==e&&("function"==typeof e?e(t):Ee(e))}function Uo(e,r,n,i,a){n=t(n);var l=i;if(i=function(e){try{var t=new URL(e,location.href);["uddg","u","u3","r","rut","ad_domain"].forEach(function(r){var n=t.searchParams.get(r);n&&/^https?:/i.test(decodeURIComponent(n))&&(e=decodeURIComponent(n))})}catch(e){}return o(e)}(i),a=t(a),i&&n&&!(n.length<8||n.length>180)&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more)$/i.test(n)&&!/^(javascript:|mailto:)/i.test(i)&&function(e){try{var t=new URL(e,location.href);return t.hostname===location.hostname?/^\/(url|imgres|search|ck\/a|y\.js|l\/.+|aclick)/.test(t.pathname)||"/"===t.pathname:/^https?:/.test(t.protocol)}catch(e){return!1}}(i)&&!function(e,t,r,n){var o=(e+" "+t).toLowerCase();return/\bad\b|sponsored|report ad/.test(o)||/[?&](ad_|ad=|ad_domain=)/i.test(r)||/(?:^|\/)y\.js\?/i.test(n||"")}(n,a,i,l)){var s=n+"|"+i;r[s]||(r[s]=!0,e.push({text:n,url:i,detail:a}))}}window.newsHomepageListProfiles=window.newsHomepageListProfiles||[],window.registerNewsHomepageListProfile=function(e,t){newsHomepageListProfiles.push({condition:e,config:t})},window.hostAwareProfiles=window.hostAwareProfiles||[],window.hostAwareProfiles.push({condition:!0,fn:function(e){for(var t=0;t<newsHomepageListProfiles.length;t+=1){var r=newsHomepageListProfiles[t];if(Do(r.condition,e)){var n=Io(e,"function"==typeof r.config?r.config(e):r.config);if(n)return n}}return null}});function Wo(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function Zo(){return e=function(e){return"MedicalWebPage"===e||"MedicalEntity"===e||/^Medical[A-Z]/.test(e)},b().find(function(t){return v(t).some(e)})||null;var e}function Go(e,r){return(!r||"interstitial"!==r.contentType&&"product"!==r.contentType)&&(!!function(e){if(!e)return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||"");if(n.length<420)return!1;var o=r.querySelectorAll("p").length,i=r.querySelectorAll("h1, h2, h3").length,a=Array.prototype.filter.call(r.querySelectorAll("p, li, section, div"),function(e){return t(e.textContent||"").length>=120}).length,l=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0);return(n.length>0?l/n.length:0)<.45&&(o>=3||a>=4||i>=2&&n.length>=900)}(r)&&(!!Zo()||(n=(location.hostname||"").replace(/^www\./i,"").toLowerCase(),o=(location.pathname||"").toLowerCase(),!!(/cdc\.gov$/.test(n)&&/\/(?:about|signs-symptoms|symptoms|causes|risk-factors|testing|treatment|prevention|living-with|basics|facts)\b/.test(o)||/mayoclinic\.org$/.test(n)&&/\/diseases-conditions\/[^/]+\/(?:symptoms-causes|diagnosis-treatment|in-depth)\//.test(o)||/webmd\.com$/.test(n)&&/\/(?:depression|anxiety|mental-health|a-to-z-guides?|pain-management|diabetes|heart-disease|cancer|lung)\b/.test(o)||/nhs\.uk$/.test(n)&&/\/conditions\/[^/]+\//.test(o)||/who\.int$/.test(n)&&/\/news-room\/fact-sheets\/detail\//.test(o)))));var n,o}function Ko(e,t){return e&&"interstitial"!==e.contentType&&"product"!==e.contentType&&w(["MedicalWebPage"])?(e.contentType="medical",e):e}function Vo(e){var t=Pe(e||document.body);return ze(t),Ne(t,["header","nav","footer","aside","form","script","style","noscript","[role='navigation']","[role='banner']","[role='contentinfo']","[class*='menu' i]","[class*='navbar' i]","[class*='share' i]","[class*='social' i]","[class*='newsletter' i]","[class*='subscribe' i]","[id*='newsletter' i]","[id*='subscribe' i]"].join(", ")),t}function Jo(e){var r=[],i={};function a(e,n){var o=t(n=It(n||""));o&&!i[o]&&(i[o]=!0,r.push("## "+e+"\n\n"+n))}return e.querySelectorAll("details").forEach(function(e){var r=t((e.querySelector("summary")||{}).textContent||""),n=t(e.textContent||"");/\b(transcript|transcription)\b/i.test(r+" "+n.slice(0,240))&&a("Transcript",Qt(Vo(e).innerHTML))}),e.querySelectorAll("[id*='transcript' i], [class*='transcript' i], [aria-label*='transcript' i]").forEach(function(e){e.closest("nav, header, footer, aside")||(n(e)<80||a("Transcript",Qt(Vo(e).innerHTML)))}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent||e.getAttribute("aria-label")||""),n=e.getAttribute("href")||"";if(/\b(transcript|transcription)\b/i.test(r+" "+n)){var i=o(n);i&&a("Transcript","["+(r||"Transcript")+"]("+i+")")}}),r.join("\n\n")}function Xo(e){var r=b().find(function(e){return v(e).some(function(e){return/(?:^|\/)PodcastEpisode$/i.test(e)})})||null;if(!r)return function(e){var r=t([location.pathname,document.title,e&&e.title,e&&e.siteName].join(" ")).toLowerCase();if(!/\b(?:podcast|podcasts|episodes?)\b/.test(r))return null;var n=[],i={},a="[class*='episode' i], [data-testid*='episode' i], article";if(Array.prototype.forEach.call(document.querySelectorAll(a),function(e){if(!e.closest("nav, header, footer, aside, [aria-hidden='true'], [hidden]")){var r=e.querySelector("a[href]"),a=t((e.querySelector("h2, h3, h4, [class*='title' i]")||r||{}).textContent||""),l=t((e.querySelector("time, [class*='date' i]")||{}).textContent||""),s=o(r&&r.getAttribute("href")||""),c=s||a;a&&c&&!i[c]&&(i[c]=!0,n.push({text:a,url:s,detail:l}))}}),n.length<3)return null;var l=u(["main h1","h1"])||e.title||document.title,s="# "+t(l)+"\n\n"+C(n);return{title:t(l),byline:null,excerpt:n[0].text,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:s,textContent:t(s),readerMode:!1,contentType:"podcast"}}(e);var i,a,l=(i=null,a=0,["article","main","[role='main']",".episode-content",".episode__content",".podcast-episode",".entry-content",".post-content","#content"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){var t=n(e);t>a&&(i=e,a=t)})}),i||document.body),s=Vo(l),c=It(Qt(s.innerHTML)),d=k(r.description||e&&e.excerpt),m=c;d&&t(d).length>t(c).length&&(m=d);var p=Jo(l);p&&-1===t(m).indexOf(t(p).slice(0,80))&&(m=[m,p].filter(function(e){return t(e)}).join("\n\n"));var h=function(e,r){var n=S(e&&(e.name||e.headline||e.title)),o=u(["main h1","article h1","h1"]),i=t(r&&r.title),a=t(r&&r.siteName);return o&&o.toLowerCase()!==a.toLowerCase()?o:n&&n.toLowerCase()!==a.toLowerCase()?n:i&&i.toLowerCase()!==a.toLowerCase()?i:o||n||i||document.title}(r,e),f=["# "+h,m].filter(function(e){return t(e)}).join("\n\n");return t(f=It(f)).length<120?null:{title:h,byline:x(r.partOfSeries)||null,excerpt:S(r.description)||e&&e.excerpt,siteName:e&&e.siteName||x(r.partOfSeries)||location.hostname,publishedTime:S(r.datePublished||r.uploadDate)||e&&e.publishedTime,html:s.innerHTML,markdown:f,textContent:t(f),readerMode:!1,contentType:"podcast"}}function Yo(e){var r=t(e.title||""),n=t(e.company||""),o=t(e.location||""),i=It(String(e.description||"")).trim();if(!r||!t(i)||t(i).length<80)return null;var a=[];n&&a.push("Company: "+n),o&&a.push("Location: "+o);var l=["# "+r,a.length?a.map(function(e){return"- "+e}).join("\n"):null,i].filter(Boolean).join("\n\n").trim();return{title:r,company:n||null,location:o||null,description:i,byline:null,excerpt:t(i),siteName:n||location.hostname,publishedTime:e.publishedTime||null,html:e.html||"",markdown:l,textContent:t(l),readerMode:!1,contentType:"job"}}function Qo(e){if(!function(){if(_o())return!0;if(jo(document.body))return!1;var e=t([location.pathname,document.title,L("og:type","property")].join(" ")).toLowerCase();if(!/\b(job|jobs|career|careers|opening|position|role)\b/.test(e))return!1;var r=0;return document.querySelector("[data-testid*='location' i], [class*='location' i], [class*='job-location' i]")&&(r+=1),document.querySelector("[data-testid*='department' i], [class*='department' i], [class*='team' i]")&&(r+=1),document.querySelector("[data-testid*='apply' i], a[href*='apply' i], button[class*='apply' i], .application, #application")&&(r+=1),/\b(apply for this job|apply now|job description|about the role|responsibilities|qualifications|requirements)\b/i.test(t(document.body&&document.body.textContent))&&(r+=1),r>=2}())return null;var r=document.querySelector("main, article, [role='main'], .job, .job-post, .job-posting, .opening, #content")||document.body,n=u(["main h1","article h1","h1","[data-testid*='title' i]",".app-title"]),o=u(["[data-testid*='company' i]","[class*='company' i]"])||L("og:site_name","property")||e.siteName,i=u(["[data-testid*='location' i]","[class*='job-location' i]","[class*='location' i]","[class*='office' i]"]),a=Pe(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='content' i], [class*='body' i], .job-post, .job-posting, .opening")||r);ze(a),Ne(a,"nav, header, footer, aside, form, script, style, noscript, [class*='apply' i], [id*='apply' i]");var l=It(Qt(a.innerHTML));return Yo({title:n||e.title||document.title,company:o,location:i,description:l,html:a.innerHTML})}function ei(e){return function(e){var r,n=_o();return n?Yo({title:S(n.title)||x(n)||e.title||document.title,company:x(n.hiringOrganization)||e.siteName,location:(r=n.jobLocation,A(r)||function(e){var r=Array.isArray(e)?e:[e],n=[];return r.forEach(function(e){var r=A(e)||S(e)||x(e);(r=t(r||""))&&-1===n.indexOf(r)&&n.push(r)}),n.length?["Remote"].concat(n).join("; "):""}(n.applicantLocationRequirements)),description:k(n.description),publishedTime:S(n.datePosted),html:"string"==typeof n.description?n.description:""}):null}(e)||Qo(e)}function ti(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)(?:LodgingBusiness|Hotel|Motel|BedAndBreakfast|Resort|VacationRental|Accommodation|LodgingReservation)$/i.test(e)})})||null}function ri(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(ri).filter(Boolean).join(", ")):t("object"!=typeof e?String(e):e.name||e.text||e.description||e.value||""):""}function ni(e){if(!e)return"";if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(ni).filter(Boolean).join("; "));if("object"!=typeof e)return"";var r=e.address||e;return"string"==typeof r?t(r):t([r.streetAddress,r.addressLocality,r.addressRegion,r.postalCode,ri(r.addressCountry)].filter(Boolean).join(", "))||ri(e)}function oi(){for(var e=["[data-testid*='price' i]","[class*='price' i]","[aria-label*='price' i]","[itemprop='price']","meta[itemprop='price'][content]"],t=u(["[itemprop='priceCurrency']","meta[itemprop='priceCurrency'][content]"],"content"),r=0;r<e.length;r+=1)for(var n=document.querySelectorAll(e[r]),o=0;o<n.length;o+=1){var i=n[o];if(!i.closest||!i.closest("nav, footer, aside, [hidden], [aria-hidden='true']")){var a=xo(i.getAttribute("content")||i.getAttribute("aria-label")||i.textContent,t);if(a)return a}}return""}function ii(e,r){var n=t([location.hostname,location.pathname,document.title,e&&e.title,L("og:type","property")].join(" ")).toLowerCase();if(/\b\d+\s+(?:properties|hotels|stays)\s+found\b/i.test(n))return!1;if(/\/(?:searchresults|city|region|destination)\b/i.test(location.pathname||""))return!1;if(r)return!0;if(!/\b(hotel|lodging|accommodation|booking|airbnb|rooms?|stays?|resort|guest\s?house|hostel|apartment|villa|vacation rental)\b/.test(n))return!1;if(/\b(search|results?|destination|city|things to do|flights?|cars?|restaurants?)\b/.test(n)&&!/\/rooms?\/|\/hotel\//i.test(location.pathname))return!1;var o=0;return document.querySelector("[data-testid*='amenity' i], [data-testid*='facility' i], [class*='amenity' i], [class*='facility' i]")&&(o+=1),document.querySelector("[data-testid*='review-score' i], [data-testid*='rating' i], [class*='review-score' i], [class*='rating' i]")&&(o+=1),document.querySelector("[data-testid*='address' i], [class*='address' i], [itemprop='address']")&&(o+=1),oi()&&(o+=1),/\b(amenities|facilities|guest reviews|property highlights|hosted by|check-in|check-out|night|nights|entire home|private room)\b/i.test(t(document.body&&document.body.textContent))&&(o+=1),o>=2}function ai(e){if(!/\/(?:rooms?|hotel)\//i.test(location.pathname||""))return null;var r=t(e.title||document.title||""),n=t(document.body&&document.body.textContent),o=/\b(?:airbnb|booking\.com)\b/i.test(r)&&/\b(?:vacation rentals|beach houses|unique homes|largest selection of hotels|homes, and vacation rentals)\b/i.test(r+" "+n),i=document.querySelector("[data-testid*='amenity' i], [data-testid*='facility' i], [data-testid*='review-score' i], [data-testid='property-description'], [itemprop='address']");if(!o||i)return null;var a="# "+r+"\n\nClient-rendered lodging detail shell; no property details were reachable in the loaded document.";return{title:r,byline:null,excerpt:"Client-rendered lodging detail shell; no property details were reachable.",siteName:e.siteName||location.hostname,publishedTime:null,html:document.body?document.body.innerHTML:"",markdown:a,textContent:t(a),readerMode:!1,contentType:"interstitial",lodgingShell:!0}}function li(e){var r=ti();if(!ii(e,r))return ai(e);var n,o,i=document.querySelector("main, article, [role='main'], [data-testid='property-page'], [data-testid='pdp-container'], #site-content")||document.body,a=ri(r&&(r.name||r.underName))||u(["main h1","article h1","h1","[data-testid*='title' i]"])||e.title||document.title,l=(o=(n=r)&&(n.offers||n.potentialAction&&n.potentialAction.result),Array.isArray(o)&&(o=o[0]),xo(o&&(o.price||o.minPrice||o.priceSpecification&&o.priceSpecification.price),o&&(o.priceCurrency||o.priceSpecification&&o.priceSpecification.priceCurrency))||qo()||oi()),s=function(e){var t=e&&(e.aggregateRating||e.reviewRating||e.rating||e.starRating);Array.isArray(t)&&(t=t[0]);var r=ri(t&&(t.ratingValue||t.value)),n=ri(t&&t.bestRating)||"5",o=ri(t&&(t.reviewCount||t.ratingCount));return r?"Rating: "+r+"/"+n+(o?" from "+o+" reviews":""):""}(r)||function(){for(var e=["[data-testid*='review-score' i]","[data-testid*='rating' i]","[aria-label*='rating' i]","[aria-label*='stars' i]","[class*='review-score' i]","[class*='rating' i]"],r=0;r<e.length;r+=1){var n=document.querySelector(e[r]),o=t(n&&(n.getAttribute("aria-label")||n.textContent)),i=o.match(/\b(\d(?:\.\d+)?)\s*(?:out of|\/)?\s*(10|5)\b/i)||o.match(/\b(\d(?:\.\d+)?)\b/);if(i)return i[2]?"Rating: "+i[1]+"/"+i[2]:"Rating: "+i[1]}return""}(),c=ni(r&&(r.address||r.location)||u(["[itemprop='address']","[data-testid*='address' i]","[class*='address' i]"])),d=function(e,r){var n=ri(r&&r.description),o=(e||document).querySelector(["[data-testid='property-description']","[data-testid*='description' i]","[class*='description' i]","[itemprop='description']"].join(", "));if(!o&&n)return n;if(!o)return"";var i=Pe(o);ze(i),Ne(i,"nav, header, footer, aside, form, script, style, noscript, button, [role='button']");var a=It(Qt(i.innerHTML));return t(a).length>=40?a:n}(i,r),m=function(e){var r=[],n={},o=["[data-testid*='amenity' i] li","[data-testid*='facility' i] li","[data-testid*='facilities' i] li","[class*='amenity' i] li","[class*='facility' i] li","[aria-label*='amenit' i] li","[aria-label*='facilit' i] li"].join(", ");return Array.prototype.forEach.call((e||document).querySelectorAll(o),function(e){var o=t(e.textContent||"").replace(/\s*(additional charge|extra fee)$/i,"");!o||function(e){return/^(?:show|see|view) (?:more|all)|^(?:read|learn) more|^(?:book|reserve) now|^(?:sign|log) in|^(?:check[- ]in|check[- ]out) policy|property policies$/i.test(e)}(o)||n[o.toLowerCase()]||(n[o.toLowerCase()]=!0,r.push(o))}),r}(i);if(!(a&&(d||m.length||l||s||c)))return null;var p=[];l&&p.push("Price: "+l),s&&p.push(s),c&&p.push("Address: "+c);var h=m.length?["## Amenities",m.map(function(e){return"- "+e}).join("\n")].join("\n\n"):"",f=["# "+a,p.length?p.map(function(e){return"- "+e}).join("\n"):null,d,h].filter(Boolean).join("\n\n").trim();return{title:a,name:a,price:l||null,rating:s||null,address:c||null,description:d||null,byline:null,excerpt:d?t(d):m.join(", "),siteName:e.siteName||location.hostname,publishedTime:null,html:i?i.innerHTML:"",markdown:f,textContent:t(f),readerMode:!1,contentType:"hotel"}}function si(e){var r=t(e.title||""),n=t(e.dateText||""),o=t(e.location||""),i=It(String(e.description||"")).trim();if(!r||!n&&t(i).length<80)return null;var a=[];n&&a.push("Date: "+n),o&&a.push("Location: "+o);var l=["# "+r,a.length?a.map(function(e){return"- "+e}).join("\n"):null,i].filter(Boolean).join("\n\n").trim();return{title:r,byline:null,excerpt:t(i)||n||null,siteName:e.siteName||location.hostname,publishedTime:n||null,location:o||null,description:i||null,html:e.html||"",markdown:l,textContent:t(l),readerMode:!1,contentType:"event"}}function ci(e){if(!function(){if(Po())return!1;if($o())return!0;if(Lo().length>1&&Po())return!1;if(Ho())return!1;var e=t([location.hostname,location.pathname,document.title,L("og:type","property")].join(" ")).toLowerCase();if(!/\b(eventbrite|events?|conference|summit|workshop|webinar|meetup|tickets?)\b/.test(e))return!1;if(Ee(/(^|\.)eventbrite\.com$/)&&/^\/e\//i.test(location.pathname||""))return!0;var r=t(document.body&&document.body.textContent).toLowerCase(),n=0,o=Ro(document.querySelector("main, article, [role='main']")||document.body)||L("startDate","itemprop")||L("date","name");return o&&(n+=1),document.querySelector("[itemprop='location'], [class*='location' i], [data-testid*='location' i]")&&(n+=1),/\b(add to calendar|date and time|location|refund policy|about this event|register|tickets?)\b/.test(r)&&(n+=1),!(!o||!/\/events?\/[^/?#]+\/\d+\/?$/i.test(location.pathname||""))||n>=2}())return null;var r=document.querySelector("main, article, [role='main'], [class*='event' i], #content")||document.body,n=Pe(r);ze(n),Ne(n,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i], [class*='modal' i]");var o=Pe(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='about' i], [class*='summary' i], article, section")||r);return ze(o),Ne(o,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i]"),si({title:u(["main h1","article h1","h1"])||e.title||document.title,dateText:Ro(r)||e.publishedTime,location:Bo(r),description:It(Qt(o.innerHTML))||e.excerpt,siteName:e.siteName,html:n.innerHTML})}function ui(e){return function(e){if(Po())return null;var t=$o();return t?si({title:S(t.name)||S(t.title)||e.title||document.title,dateText:zo(t.startDate,t.endDate),location:Mo(t.location),description:k(t.description)||e.excerpt,siteName:e.siteName,html:"string"==typeof t.description?t.description:""}):null}(e)||ci(e)}function di(e){var r=[];return Array.prototype.forEach.call((e||document).querySelectorAll("table"),function(e){if(function(e){if(!e||e.closest&&e.closest("nav, header, footer, aside, form, [aria-hidden='true'], [hidden]"))return!1;var r=t(e.textContent||"");if(!r)return!1;var n=t(Array.prototype.map.call(e.querySelectorAll("th, thead td"),function(e){return e.textContent||""}).join(" ")).toLowerCase(),o=e.querySelectorAll("tr").length;return!(o<2)&&(!!/\b(player|pts|reb|ast|min|fg|3pt|ft|plus\/minus|\+\/-|goals?|assists?|shots?|possession|fouls?|score)\b/i.test(n)||yi(r)&&/\b(final|box score|score|result|pts|goals?)\b/i.test(r))}(e)){var n=t(e.textContent||""),o=t(Array.prototype.map.call(e.querySelectorAll("th, thead td"),function(e){return e.textContent||""}).join(" ")).toLowerCase();if(!/\b(?:odds?|handicap|standings?|schedule|search|navigation|results?)\b/i.test(o)){var i,a,l=It(Qt(e.outerHTML)).trim();t(l)&&!r.some(function(e){return e.markdown===l})&&r.push({markdown:l,text:n,rawText:e.textContent||"",labels:(i=o+" "+n,a=t(i).toLowerCase().match(/\b(?:pts?|points?|reb(?:ounds?)?|ast(?:s|sists?)?|min(?:utes?)?|fg|3pt|ft|yds?|goals?|assists?|shots?|fouls?|saves?|possession|rank|record)\b/g)||[],a.filter(function(e,t){return a.indexOf(e)===t})),element:e})}}}),r}function mi(e,r){if(!r)return!1;var n=e.rawText||e.text||e.markdown||"";return r.teams.every(function(e){return function(e,r){var n=e||"",o=t(n).toLowerCase(),i=t(r).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean),a=[i.map(function(e){return e.charAt(0)}).join("")];return i.length>1&&a.push(i[0].slice(0,3),i[0].slice(0,2)+i[i.length-1].charAt(0)),-1!==o.indexOf(t(r).toLowerCase())||-1!==o.indexOf(i.join(" "))||a.some(function(e){return-1!==o.indexOf(e)||new RegExp("\\b"+e+"\\b","i").test(n)})||i.length>1&&new RegExp("\\b"+i[i.length-1]+"\\b","i").test(o)}(n,e)})&&r.scores.every(function(e){return-1!==t(n).indexOf(String(e))})}function pi(e){for(var r=e;r&&r!==document.body;){var n=t([r.id||"",r.className||"",r.getAttribute&&r.getAttribute("data-testid")||""].join(" "));if(/\b(?:game|match|event|fixture|scoreboard|box[ -]?score)\b/i.test(n))return r;r=r.parentElement}return null}function hi(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(SportsEvent|VideoGame)$/i.test(e)})})}function fi(e){return x(e)||S(e)||""}function gi(e){return null==e?"":"number"==typeof e?String(e):"string"==typeof e?t(e):Array.isArray(e)?gi(e[0]):t(e.score||e.result||e.value||e.points||"")}function yi(e){if(!(e=t(e))||e.length>180)return!1;if(/\b(?:menu|navigation|subscribe|sign in|login|tickets|shop|fantasy|standings|schedule)\b/i.test(e))return!1;var r=(e=e.replace(/(\d{1,3})\s*[-–]\s*([A-Z])/g,"$1, $2")).match(/\b[A-Z][A-Za-z.'& -]{1,28}?\s+(\d{1,3})\s*,?\s+[A-Z][A-Za-z.'& -]{1,28}?\s+(\d{1,3})\b/),n=e.match(/\b[A-Z][A-Za-z.'& -]{1,28}?\s+(\d{1,3})\s*[-–]\s*(\d{1,3})\s+[A-Z][A-Za-z.'& -]{1,28}?\b/),o=e.match(/\b[A-Z][A-Za-z.'& -]{1,28}?\s+(\d{1,3})\s*[-–]\s*[A-Z][A-Za-z.'& -]{1,28}?\s+(\d{1,3})\b/),i=r||n||o;if(!i)return 2===wi(e).length;var a=Number(i[1]),l=Number(i[2]);return!(!Number.isFinite(a)||!Number.isFinite(l))&&(a<=250&&l<=250)}function bi(e){return t([location.hostname,location.pathname,document.title,e&&e.title,e&&e.siteName,e&&e.excerpt,L("article:section","property"),L("og:type","property")].join(" ")).toLowerCase()}function vi(e){var r=[],n={};return Array.prototype.forEach.call((e||document).querySelectorAll("h1, h2, h3, main p, [class*='score' i], [class*='score' i] p, [class*='scoreboard' i], [class*='result' i], [class*='result' i] p, [data-testid*='score' i], [data-testid*='game' i]"),function(e){if(!e.closest||!e.closest("nav, header, footer, aside, form, [aria-hidden='true'], [hidden]")){var o=t(e.textContent||"");yi(o)&&!n[o]&&(n[o]=!0,r.push({text:o,node:e}))}}),r}function wi(e){var r=(e=(e=t(e)).replace(/(\d{1,3})\s*[-–]\s*([A-Z])/g,"$1, $2")).match(/\b([A-Z][A-Za-z.'& -]{1,28}?)\s+\d{1,3}\s*,?\s+([A-Z][A-Za-z.'& -]{1,28}?)\s+\d{1,3}\b/),n=e.match(/\b([A-Z][A-Za-z.'& -]{1,28}?)\s+\d{1,3}\s*[-–]\s*\d{1,3}\s+([A-Z][A-Za-z.'& -]{1,28}?)\b/),o=e.match(/\b([A-Z][A-Za-z.'& -]{1,28}?)\s+\d{1,3}\s*[-–]\s*([A-Z][A-Za-z.'& -]{1,28}?)\s+\d{1,3}\b/),i=r||n||o;return i?[t(i[1]),t(i[2])]:[]}function xi(e){var r=(e=t(e).replace(/(\d{1,3})\s*[-–]\s*([A-Z])/g,"$1, $2")).match(/\b([A-Z][A-Za-z.'& -]{1,28}?)\s+(\d{1,3})\s*,?\s+([A-Z][A-Za-z.'& -]{1,28}?)\s+(\d{1,3})\b/);if(r)return{teams:[t(r[1]),t(r[3])],scores:[r[2],r[4]]};var n=wi(e),o=e.match(/\b\d{1,3}\b/g)||[];return 2===n.length&&o.length>=2?{teams:n,scores:o.slice(-2)}:null}function Si(e){var r=function(){var e=hi()[0];if(!e)return null;var t=e.homeTeam||e.competitor||e.team,r=e.awayTeam||(Array.isArray(e.competitor)?e.competitor[1]:null);Array.isArray(t)&&(t=t[0]);var n=fi(t),o=fi(r),i=gi(t&&(t.score||t.result||t.points)),l=gi(r&&(r.score||r.result||r.points));return{title:fi(e),homeName:n,awayName:o,homeScore:i,awayScore:l,startDate:S(e.startDate),status:a(S(e.eventStatus)||S(e.status)||"")}}(),n=document.querySelector("main article, article, main, [role='main']")||document.body,o=vi(n),i=o.map(function(e){return e.text});[document.title,e&&e.title].forEach(function(e){yi(e=t(e))&&-1===i.indexOf(e)&&i.push(e)});var l=di(n),s=l.map(function(e){return e.markdown}),c=r&&(r.homeScore||r.awayScore),u=hi().length>0,d=function(e,t,r){for(var n=0;n<(e||[]).length;n+=1){var o=e[n],i=xi(o);if(i){var a=(r||[]).filter(function(e){return e.text===o})[0];if((t||[]).some(function(e){if(e.labels.length<2)return!1;if(mi(e,i))return!0;var t=a&&pi(a.node);return!!t&&t===pi(e.element)}))return{line:o,identity:i}}}return null}(i,l,o),m=!!(u||c||d),p=m||s.length>0,h=function(e){var t=bi(e);return!!/\b(sport|sports|football|soccer|nba|nfl|mlb|nhl|cricket|rugby|tennis|golf|boxing|formula 1|f1|basketball|baseball|hockey|game recap|box score|fixtures?)\b/.test(t)||!!document.querySelector("[itemtype*='schema.org/SportsEvent' i], [typeof*='SportsEvent' i]")||hi().length>0}(e);return(h||u||d)&&(p||/\b(sport|sports|football|soccer|nba|game recap|box score)\b/.test(bi(e)))?{structured:r,scoreLines:i,tables:s,tableEvidence:l,typed:m,event:m,detail:d}:null}function ki(e){var r=(location.pathname||"").split("/").filter(Boolean),n=(r[r.length-1]||"").toLowerCase().split(/[^a-z0-9]+/).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!/^(?:game|match|score|box|final|live|results?|sports?|football|soccer|basketball|baseball|hockey|nhl|nfl|nba|mlb)$/.test(e)});return n.length<2?"opaque":2===e.length&&e.every(function(e){return n.some(function(r){return function(e,r){var n=t(e).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean),o=t(r).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean);if(!n.length||!o.length)return!1;if(n.join(" ")===o.join(" "))return!0;if(n.some(function(e){return-1!==o.indexOf(e)}))return!0;var i=n.map(function(e){return e.charAt(0)}).join(""),a=o.map(function(e){return e.charAt(0)}).join("");return i===o.join("")||a===n.join("")}(e,r)})})?"consistent":"mismatch"}function Ai(e){var t=[],r=e&&e.structured;return r&&(r.awayName&&r.homeName&&(r.awayScore||r.homeScore)?t.push("Score: "+r.awayName+" "+r.awayScore+", "+r.homeName+" "+r.homeScore):r.title&&t.push("Event: "+r.title),r.status&&t.push("Status: "+r.status),r.startDate&&t.push("Start: "+r.startDate)),(e.scoreLines||[]).forEach(function(e){var r=/^score:/i.test(e)?e:"Score: "+e;-1===t.indexOf(r)&&t.push(r)}),t}function Ci(e){return e&&("sports"===e.contentType||"sports_event"===e.contentType)}function qi(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)PressRelease$/i.test(e)})})||null}function Ti(e){if(function(){var e=t([location.pathname,document.title,u(["main h1","h1"])].join(" ")).toLowerCase();if(!/\b(?:press releases?|news releases?|newsroom)\b/.test(e))return!1;var r=document.querySelectorAll("article a[href], [class*='release' i] a[href], [class*='news' i] a[href]"),n=0;return Array.prototype.forEach.call(r,function(e){var r=e.closest("article, li, [class*='release' i], [class*='news' i]")||e.parentElement;r&&/(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]*\.?\s+\d{1,2},?\s+\d{4}\b/i.test(t(r.textContent||""))&&(n+=1)}),n>=3}())return function(e){var r=[],n={};if(Array.prototype.forEach.call(document.querySelectorAll("article a[href], [class*='release' i] a[href], [class*='news' i] a[href]"),function(e){var i=e.closest("article, li, [class*='release' i], [class*='news' i]")||e.parentElement,a=t(e.textContent||e.getAttribute("aria-label")||""),l=t(i&&i.querySelector("time, [class*='date' i]")?i.querySelector("time, [class*='date' i]").textContent:""),s=o(e.getAttribute("href")||""),c=s||a;a&&l&&c&&!n[c]&&(n[c]=!0,r.push({text:a,url:s,detail:l}))}),r.length<3)return null;var i=C(r);return j(e,{title:e.title||document.title,excerpt:r[0].text,textContent:i,markdown:i,items:r})}(e);if(!function(e){if(qi())return!0;var r=t([document.title,e&&e.title,e&&e.excerpt,e&&e.siteName,L("article:section","property"),location.hostname,location.pathname,u(["main h1","article h1","h1"])].join(" ")).toLowerCase(),n=t(document.body&&document.body.innerText||"").slice(0,2500).toLowerCase(),o=/\b(?:investor relations|earnings release|quarterly results?|financial statements?|form\s*(?:10-k|10-q|8-k)|sec filing)\b/.test(r+" "+n),i=/(^|\.)(prnewswire\.com|cision\.com|globenewswire\.com|businesswire\.com|apple\.com|amazon\.com|google)$/i.test(location.hostname||"")&&/\b(newsroom|news-releases?|company-news|press)\b/i.test(location.pathname||""),a=/\/(?:newsroom|news-releases?|press(?:-release)?|company-news|about\/news)\//i.test(location.pathname||""),l=/\b[A-Z][A-Za-z .'-]{2,40},\s+(?:Jan(?:uary)?\.?|Feb(?:ruary)?\.?|Mar(?:ch)?\.?|Apr(?:il)?\.?|May|Jun(?:e)?\.?|Jul(?:y)?\.?|Aug(?:ust)?\.?|Sep(?:tember)?\.?|Sept\.?|Oct(?:ober)?\.?|Nov(?:ember)?\.?|Dec(?:ember)?\.?)\s+\d{1,2},\s+\d{4}\s*(?:\/PRNewswire\/|--|–)/.test(document.body&&document.body.innerText||"");return/\b(press release|news release|announces?|announced|launches?|unveils?|report(?:s|ed)?(?:\s+[-\w]+){0,3}\s+results?)\b/.test(r+" "+n)&&(i||a||l)&&(!o||l)}(e))return null;var r=qi(),i=function(){for(var e=["[itemtype*='PressRelease']","[itemprop='articleBody']",".release-body","#release-body","[class*='release-body' i]","[class*='news-release-content' i]","[class*='press-release' i] [class*='body' i]","[class*='article-body' i]","[data-testid*='article-body' i]","article","main article","main"],r=0;r<e.length;r+=1){var o=Array.prototype.slice.call(document.querySelectorAll(e[r]));o.sort(function(e,t){return n(t)-n(e)});for(var i=0;i<o.length;i+=1)if(t(o[i].textContent||"").length>=250&&o[i].querySelectorAll("p, li, blockquote").length>=2)return o[i]}return null}(),a=S(r&&(r.headline||r.name))||e.title||u(["main h1","article h1","h1"])||document.title,l=S(r&&r.description)||e.excerpt,s=S(r&&(r.datePublished||r.dateModified))||e.publishedTime||null,c=x(r&&(r.author||r.publisher))||e.byline||null,d=i?Pe(i):document.createElement("div");if(!i&&r){var m=S(r.articleBody||r.text||r.description);m&&(d.innerHTML="<p>"+m.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\n{2,}/g,"</p><p>")+"</p>")}if(!t(d.textContent||""))return null;ze(d),$n(d),Ne(d,"nav, header, footer, aside, form, script, style, noscript, [class*='related' i], [class*='recommend' i], [class*='share' i], [class*='social' i], [class*='subscribe' i], [class*='newsletter' i]");var p=It(Qt(d.innerHTML)),h=t(p||d.textContent||"");return h.length<250?null:(a&&p&&!Tt(p,a)&&(p="# "+t(a)+"\n\n"+p,h=t(p)),{title:t(a),byline:c,excerpt:l||h.slice(0,280)||null,siteName:e.siteName||location.hostname,publishedTime:s,html:d.innerHTML,markdown:p,textContent:h,readerMode:!1,contentType:"press_release"})}function _i(e){return A(e)||""}function Ei(e){var t=e&&(e.offers||e.offer);Array.isArray(t)&&(t=t[0]);var r=t&&t.priceSpecification;return xo(t&&(t.price||t.lowPrice||r&&r.price),t&&(t.priceCurrency||r&&r.priceCurrency))}function ji(e){if(null==e)return null;if(Array.isArray(e))return ji(e[0]);if("object"==typeof e)return ji(e.value||e.amount||e.name||e.text);var t=String(e).replace(/,/g,"").match(/\d+(?:\.\d+)?/);return t?Number(t[0]):null}function Li(e){if(!e)return null;if(Array.isArray(e))return Li(e[0]);if("object"==typeof e){var r=t(e.unitCode||e.unitText||e.name||"").toLowerCase(),n=ji(e.value||e.amount||e.minValue||e.maxValue||e.text);return n?/sq\s*ft|square\s*feet|ft2|ft²|sqft|ftk|sqf|sft|ft$/i.test(r)||/FTK/i.test(e.unitCode||"")?Math.round(n):/sqm|sq\s*m|m2|m²|square\s*met/i.test(r)?Math.round(10.7639*n):Math.round(n):null}return ji(e)}function $i(e,r){for(var n=t(e.innerText||""),o=0;o<r.length;o+=1){var i=n.match(r[o]);if(i)return Number(i[1])}return null}function Pi(e,r){var n=b().filter(function(e){var t=v(e).join(" ");return/(?:^|\s|\/)(Apartment|House|SingleFamilyResidence|Residence|Accommodation|RealEstateListing)(?:\s|$)/i.test(t)}),o=n.find(function(e){return x(e)||S(e.description)||_i(e.address)||Ei(e)})||null,i=t([location.pathname,document.title,r&&r.title,r&&r.excerpt,L("og:type","property")].join(" ")).toLowerCase(),a=t(document.body&&document.body.innerText||""),l=/\b(property|properties|real[ -]?estate|house|apartment|condo|flat|bedrooms?|bathrooms?|sq\.?\s*ft|rightmove|redfin|zillow|realtor)\b/i.test(i+" "+a.slice(0,3e3));if(o&&!function(e){if(!e)return!1;var n=t(x(e)||"").toLowerCase(),o=t(u(["main h1","article h1","h1"])||r.title||document.title).toLowerCase();if(n&&o&&(n===o||-1!==n.indexOf(o)||-1!==o.indexOf(n)))return!0;var i=e.url||e.mainEntityOfPage;if(!i)return!1;try{var a=new URL("object"==typeof i?i.url:i,location.href);return a.origin===location.origin&&a.pathname===location.pathname}catch(e){return!1}}(o))return null;if(!o&&!/(\/property|\/properties|\/listing|for[-_]sale|for[-_]rent)/i.test(location.pathname))return null;var s=function(e){var r=t(u(["main h1","article h1","h1"])||""),n=t(e&&x(e)||"");if(!r||n&&r.toLowerCase()!==n.toLowerCase())return null;var o=document.querySelector("main h1, article h1, h1");if(!o)return null;var i=o.closest("main, article, [itemscope], [data-testid*='property' i], [class*='property-detail' i]")||o.parentElement,a=t(i&&i.innerText||"");return/\b(home|house|apartment|condo|flat|bedrooms?|bathrooms?|sq\.?\s*ft)\b/i.test(a)?i:null}(o);if(!s)return null;var c,d=o&&Ei(o)||function(e){for(var r=["[data-testid*='price' i]","[class*='price' i]","[id*='price' i]","[aria-label*='price' i]"],n=0;n<r.length;n+=1)for(var o=e.querySelectorAll(r[n]),i=0;i<o.length;i+=1){var a=o[i];if(!a.closest||!a.closest("nav, footer, aside, [hidden], [aria-hidden='true']")){var l=xo(a.getAttribute("content")||a.getAttribute("aria-label")||a.textContent,"");if(l)return l}}var s=t(e.innerText||"").match(/(?:[$£€]\s?\d[\d,]*(?:\.\d{2})?|\d[\d,]*\s?(?:USD|GBP|EUR))(?:\s*(?:pcm|pm|per month|monthly|pw|per week))?/i);return s?t(s[0]).replace(/([$£€])\s+/g,"$1"):""}(s),m=o&&_i(o.address||o.location)||function(e,r){for(var n=["[data-testid*='address' i]","[data-testid*='location' i]","[class*='address' i]","[class*='location' i]","[itemprop='address']"],o=0;o<n.length;o+=1)for(var i=e.querySelectorAll(n[o]),a=0;a<i.length;a+=1){var l=i[a];if(!l.closest||!l.closest("nav, footer, aside, [hidden], [aria-hidden='true']")){var s=t(l.getAttribute("content")||l.getAttribute("aria-label")||l.textContent);if(s&&s.length<=220&&!/^<</.test(s)&&!/[{}]/.test(s)&&!/^(for sale|for rent|to rent|sold|let agreed|est\.)$/i.test(s)&&!/[$£€]|\bsq\s*ft\b|\b\d+\s*(?:bd|ba)\b/i.test(s))return s}}var c=t(r&&r.title||document.title||""),u=c.match(/\b(?:for sale|to rent|for rent)\s+in\s+([^|]+)/i);return u||!/,\s*(?:[A-Z]{2}\b|[A-Z][a-z]+,)/.test(c)||/[$£€]/.test(c)||(u=c.match(/^([^|]+?)\s*(?:\||$)/)),u?t(u[1]):""}(s,r),p=ji(o&&(o.numberOfBedrooms||o.bedrooms))||$i(s,[/\b(\d+(?:\.\d+)?)\s*(?:beds?|bedrooms?|bd)\b/i,/\b(\d+(?:\.\d+)?)\s*bed(?:room)?\s+(?:house|home|flat|apartment|property)\b/i]),h=ji(o&&(o.numberOfBathroomsTotal||o.numberOfBathrooms||o.bathrooms))||$i(s,[/\b(\d+(?:\.\d+)?)\s*(?:baths?|bathrooms?|ba)\b/i]),f=Li(o&&(o.floorSize||o.area||o.size))||((c=t(s.innerText||"").match(/\b([\d,]+(?:\.\d+)?)\s*(?:sq\.?\s*ft|square\s*feet|sqft|ft²)\b/i))?Math.round(Number(c[1].replace(/,/g,""))):null),g=[o,d,m,p,h,f].filter(function(e){return null!==e&&""!==e&&void 0!==e}).length;return o||l?!d&&g<3||n.length>3&&!/\b(property|listing|for sale|for rent|to rent)\b/i.test(i)?null:{title:x(o)||u(["main h1","article h1","h1"])||r.title||document.title,excerpt:S(o&&o.description)||r.excerpt,price:d||"",location:m||"",bedrooms:p,bathrooms:h,areaSqft:f}:null}function Ni(e){return t(e||"")||null}function zi(e,t){if("number"==typeof e)return isFinite(e)&&Math.floor(e)===e?!t&&e<0?null:e:null;var r=Ni(e);if(!r||!/^-?\d+$/.test(r))return null;var n=Number(r);return!isFinite(n)||!t&&n<0?null:n}function Mi(e){e.socialKind=null,e.platform=null,e.handle=null,e.replyCount=null,e.community=null,e.score=null}function Ri(e){var t=c(e,[function(t,r,n){return[xt(e),r,n].join(" ")}]),r=t.generator.toLowerCase(),n=t.appName.toLowerCase(),o=t.signature.toLowerCase();if(t={generator:r,appName:n,signature:o},document.querySelector("[class*='stldocs-']"))return Bi("stldocs",t);if(/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(o)))return Bi("starlight",t);if(/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav"))return Bi("mkdocs",t);if(document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname))return Bi("readme",t);if(document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']"))return Bi("redoc",t);if(/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview"))return Bi("fern",t);if(/nextra/.test(o)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container"))return Bi("nextra",t);if(/\bnext(?:\.js|js)?\b/.test(o)&&document.querySelector("#__next, script#__NEXT_DATA__")&&document.querySelector("main article, main .prose, main [data-docs-body], main [data-pagefind-body]"))return Bi("next",t);if(/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav"))return Bi("vitepress",t);if(/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav"))return Bi("rspress",t);if(/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle"))return Bi("mdbook",t);if(/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards"))return Bi("antora",t);if(/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']"))return Bi("mintlify",t);if(/gitbook/i.test(r)||/\.gitbook\.io$/.test(location.hostname)||document.querySelector("main [class*='whitespace-pre-wrap']")&&/powered by gitbook/i.test(document.body.innerText))return Bi("gitbook",t);if(document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]"))return Bi("scalar",t);if(/docusaurus/.test(r)||document.querySelector("meta[name='generator'][content^='Docusaurus'], #__docusaurus, [class*='docusaurus-'], .theme-doc-markdown, .theme-doc-sidebar-container, nav[aria-label='Docs sidebar']"))return Bi("docusaurus",t);if(/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search"))return Bi("rustdoc",t);var i=document.querySelector("main .class-description, .contentContainer .description"),a=document.querySelector("main .summary-table, main .member-summary, main .member-details, .contentContainer .summary-table, .contentContainer .details");return i&&a?Bi("javadoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?Bi("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?Bi("go_pkg",t):/readthedocs/.test(o)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?Bi("readthedocs",t):/sphinx/.test(r)||document.querySelector("body[class*='sphinx'], .document, .sphinxsidebar, [role='navigation'] .sphinxsidebarwrapper, div.body[role='main'], dt.sig, a.headerlink, div.highlight")?Bi("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(o)?Bi("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(o)&&document.querySelector("[class*='docBody'], article[class*='doc']")?Bi("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?Bi("generic_docs",t):null}function Bi(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function Hi(e){if(!e)return null;var r=yt(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=yt(e,["h2","h3","h4","strong","[class*='method-name']","[class*='method-title']","[class*='summary-title']"]),o=t(e.textContent);if(n||(n=o,r&&(n=t(n.replace(r,""))),n=(n=n.replace(/\s{2,}/g," ")).split(/(?:(?:GET|POST|PUT|PATCH|DELETE|OPTIONS|HEAD)\/)/)[0].trim()),!n)return null;var i=yt(e,["p","[class*='description']","[class*='summary-description']"]);i&&(i=_t(t(i)),n&&0===i.indexOf(n)&&(i=t(i.slice(n.length))),r&&0===i.indexOf(r)&&(i=t(i.slice(r.length))));var a={text:n};return r&&(a.route=r),i&&(a.detail=i),a.groups=function(e){var t=[],r={};return bt(e,"section, div, details",".stldocs-property").forEach(function(e){if(!e.closest(".stldocs-property")){var n=vt(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var o=Oi(e).map(function(e){return Di(e,0)}).filter(Boolean);o.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:o}))}}}),t}(e),a}function Fi(e,t){return vt(e,[t],".stldocs-property")}function Oi(e){return bt(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function Ii(e){return e=t(e),/^("|').+("|')$/.test(e)}function Di(e,r){if(!e)return null;r=r||0;var n=t(Fi(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||Ii(n)?null:{declaration:n,description:_t(Fi(e,".stldocs-property-description, [class*='property-description']"))||null,fields:Oi(e).map(function(e){return Di(e,r+1)}).filter(Boolean)}}function Ui(e,t){return t=t||"",e.map(function(e){var r=t+"- `"+e.declaration+"`";return e.description&&(r+=": "+e.description),e.fields&&e.fields.length&&(r+="\n"+Ui(e.fields,t+" ")),r}).join("\n")}function Wi(e,r){if(!(r=r||Ri(e))||"stldocs"!==r.system&&"starlight"!==r.system)return null;var n=["main .stldocs-content","main .stldocs-resource-content","main .stl-content-panel","main article","main [data-pagefind-body]","main .sl-markdown-content","main .content-panel","main"].map(function(e){return Array.prototype.slice.call(document.querySelectorAll(e))}).flat().sort(function(e,n){function o(e){var n=e.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").length,o=e.querySelectorAll("[class*='stldocs-method-route'], [class*='method-route']").length,i=e.querySelectorAll("[class*='resource-description']").length;return 1e3*n+200*o+80*e.querySelectorAll(".stldocs-property").length+50*i+("starlight"===r.system&&(e.matches(".sl-markdown-content, [data-pagefind-body]")||e.querySelector(".sl-markdown-content, [data-pagefind-body]"))?5e3:0)+("starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelector("p, pre, code, ul, ol")?800:0)-("starlight"===r.system&&e.matches("article.card, .card")&&!e.querySelector("h1, h2")?1200:0)+t(e.textContent).length}return o(n)-o(e)})[0]||null,o=Pe(n||document.body);ze(o),gt(o,{});var i,a,l=u(["main h1","main article h1"])||t(e.title||document.title),s=(i={},a=[],o.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").forEach(function(e){var t=Hi(e);if(t){var r=t.text+"|"+(t.route||"");i[r]||(i[r]=!0,a.push(t))}}),a),c=function(e,r){var n={},o=[],i=t(String(r||"")).toLowerCase().replace(/s$/i,"");return Array.prototype.slice.call(e.querySelectorAll(".stldocs-property")).forEach(function(e){if(!function(e){for(var t=e&&e.parentElement;t;){if(t.classList&&t.classList.contains("stldocs-property"))return t;t=t.parentElement}return null}(e)&&!e.closest("[class*='stldocs-method-summary'], [class*='method-summary']")){var r=t(Fi(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!Ii(r)&&!n[r]){var a=_t(Fi(e,".stldocs-property-description, [class*='property-description']")),l=Oi(e).map(function(e){return Di(e,0)}).filter(Boolean);if(a||l.length){var s=/(?:=|:)\s*object\s*\{|\bobject\s*\{/.test(r),c=t(r.split(/[:=]/)[0]).replace(/\s+$/,""),u=c.replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(/[\s_.-]+/).filter(Boolean).length,d=i&&0===c.toLowerCase().indexOf(i);n[r]=!0,o.push({declaration:r,description:a||null,fields:l,objectSchema:s,score:(s?600:0)+200*l.length+(a?50:0)+(d?700:0)+(i&&-1!==r.toLowerCase().indexOf(i)?250:0)-120*(r.match(/\s+or\s+/g)||[]).length-80*Math.max(u-2,0)+Math.min(r.length,80)})}}}}),(o.some(function(e){return e.objectSchema})?o.filter(function(e){return e.objectSchema}):o).map(function(e){return delete e.score,delete e.objectSchema,e})}(o,l);if(s.length||c.length){var d=function(e,r,n){for(var o=[".stldocs-resource-description","[class*='resource-description']",".stldocs-resource-content > p",".stldocs-markdown > p",".sl-markdown-content > p","p"],i=0;i<o.length;i+=1)for(var a=Array.prototype.slice.call(e.querySelectorAll(o[i])),l=0;l<a.length;l+=1){var s=a[l];if(!s.closest(".stldocs-property, [class*='stldocs-method-summary'], [class*='method-summary'], .stldocs-properties, [class*='resource-content-properties']")){var c=_t(t(s.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=_t(t(r&&r.excerpt));return u&&u!==n?/^api reference for .* endpoints?$/i.test(u)?null:u:null}(o,e,l),m=[];return l&&m.push("# "+l),d&&m.push(d),s.length&&m.push(function(e){return e.map(function(e){var t="- "+e.text;return e.route&&(t+=" ("+e.route+")"),e.detail&&(t+=": "+e.detail),e.groups&&e.groups.length&&e.groups.forEach(function(e){t+="\n - "+e.heading+"\n"+Ui(e.fields," ")}),t}).join("\n")}(s)),c.length&&m.push(function(e){var t=["## Schemas"];return e.forEach(function(e){t.push("### "+e.declaration),e.description&&t.push(e.description),e.fields.length&&t.push(Ui(e.fields,""))}),t.join("\n\n")}(c)),{title:l||e.title,byline:null,excerpt:d||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:m.filter(Boolean).join("\n\n").trim(),textContent:t(m.join(" ")),docsLike:!0,readerMode:!1,contentType:"article"}}return $t(e,n,{title:u(["main h1","main article h1"])||t(e.title||document.title),rewriteRoot:function(e){e.querySelectorAll("#starlight__sidebar, starlight-menu-button, [class*='stldocs-sidebar'], [class*='stldocs-sidebar-entry'], [class*='stldocs-expander'], [class*='sidebar-pane'], [class*='sidebar-content'], [class*='sidebar-accordion'], [class*='table-of-contents'], .stldocs-breadcrumbs, .stl-ui-dropdown, .discord, aside").forEach(function(e){e.remove()}),"starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelectorAll("article.card, .card").forEach(function(e){var r=t(e.textContent);e.closest(".landing-card, .card--fullwidth")||e.querySelector(".title, .body")||r&&r.length<=600&&!e.querySelector("h1, h2, h3, h4, h5, h6")&&e.remove()}),dt(e,"div, p, span, button, a",/^(on this page|table of contents|copy page|edit page|expand|collapse|api reference)$/i),e.querySelectorAll("h1").forEach(function(e,t){t>0&&e.remove()}),e.querySelectorAll("h2, h3, h4, h5, h6, p, div, span").forEach(function(e){var r=t(e.textContent);/expand collapse/i.test(r)&&e.remove(),/^[A-Z][a-z]+(?:[A-Z][a-z]+){1,}$/.test(r)&&r.length<40&&e.remove()})}})}function Zi(e,r){if(!(r=r||Ri(e))||"antora"!==r.system)return null;var n=wt(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var i=yt(n,["h1"]);if(!i){var a=t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),l=function(e){var r={},n=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){var o=t(e.textContent);o&&!r[o]&&(r[o]=!0,n.push(o))})}),n}(["article.doc h2","article.doc h3"]).filter(function(e){return e.length>=4&&!/^(contents?|navigation)$/i.test(e)}),s={},c=[],u=".homepage-card, .home-card, .card, [class*='homepage-card'], [class*='home-card'], [class*='doc-card'], li, section";if(n.querySelectorAll("a.homepage-link[href], a.homepage-link-primary[href], a.homepage-link-secondary[href]").forEach(function(e){var r=e.getAttribute("href"),n=r||o(e.href),i=t(e.textContent),a="",l=e.closest(u),d=e.nextElementSibling;(!d||!/^(P|DIV|UL|OL)$/i.test(d.tagName||"")||l&&d.closest(u)!==l||(a=t(d.textContent)),a)||(a=vt(l||e.closest("section, div, li, article")||e.parentElement,["p","li"],u))===i&&(a="");!n||!i||i.length<4||s[n]||(s[n]=!0,c.push({text:i,url:n,detail:a}))}),!c.length)return null;var d=[];a&&d.push("# "+a),l.length&&d.push(l.map(function(e){return"- "+e}).join("\n")),d.push(C(c));var m=d.filter(Boolean).join("\n\n").trim();return{title:a||e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:m,textContent:t(m),readerMode:!1,contentType:"list"}}return $t(e,n,{title:i||t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),rewriteRoot:function(e){e.querySelectorAll(".toolbar, .crumbs, .page-languages, .languages-menu, .languages-menu-toggle, .page-versions, .page-navigation, .nav-container, .edit-this-page, .pagination, aside, nav").forEach(function(e){e.remove()}),e.querySelectorAll("div, p, section, small").forEach(function(e){var r=t(e.textContent);!r||r.length>220||/(the .* docs team|version\s+[A-Z]?\d+|last review\b|last build\b|edit this page\b|report an issue\b)/i.test(r)&&e.remove()})}})}function Gi(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function Ki(e,r){if(!(r=r||Ri(e))||"mkdocs"!==r.system)return null;var n="";return Et(e,["main .md-content__inner","main .md-content","article.md-content__inner","main article","main"],{titleSelectors:["main h1","article h1"],fallbackTitle:function(e){return t(e.title||document.title)},postProcessMarkdown:function(e){return!n||/## Reference Pages[\s\S]*\n\s*-\s+\[/.test(e)?e:[e=e.replace(/\n*## Reference Pages\s*$/i,""),n].filter(Boolean).join("\n\n")},rewriteRoot:function(e){var r=function(){if(!/\/(?:reference|api)\/?$/i.test(location.pathname||""))return null;var e=location.href.replace(/#.*$/,"").replace(/\/$/,"")+"/",r=Array.prototype.slice.call(document.querySelectorAll(".md-nav__link[href]")).find(function(t){return o(t.getAttribute("href")).replace(/#.*$/,"").replace(/\/$/,"")+"/"===e}),n=r&&r.closest(".md-nav__item--nested, .md-nav__item--section, .md-nav__item"),i=n&&n.querySelector("nav.md-nav");if(!i)return null;var a={},l=[];if(i.querySelectorAll("a[href]").forEach(function(r){var n=o(r.getAttribute("href")),i=n.replace(/#.*$/,"").replace(/\/$/,"")+"/",s=t(r.textContent);s&&i!==e&&!a[i]&&(a[i]=!0,l.push({title:s,href:n}))}),l.length<3)return null;var s=document.createElement("section"),c=document.createElement("h2"),u=document.createElement("ul");return c.textContent="Reference Pages",s.appendChild(c),l.forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.href=e.href,r.textContent=e.title,t.appendChild(r),u.appendChild(t)}),s.appendChild(u),s}();n=function(e){if(!e)return"";var r=Array.prototype.slice.call(e.querySelectorAll("a[href]")).map(function(e){return"- ["+t(e.textContent)+"]("+e.href+")"}).filter(Boolean);return r.length?"## Reference Pages\n\n"+r.join("\n"):""}(r),r&&e.querySelectorAll("a[href]").length<4&&e.appendChild(r),Ne(e,le+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),dt(e,"div, p, span, button, a",/^(table of contents|view source|edit this page)$/i),e.querySelectorAll(".admonition, details.note, details.tip, details.warning, details.info, details.danger, details.example, details.question, details.abstract, details.success, details.failure, details.bug, details.quote").forEach(function(e){var r=e.querySelector(".admonition-title, summary"),n=t(r&&r.textContent||"Note").toUpperCase();r&&r.remove();var o=t(e.textContent);if(o){var i=document.createElement("blockquote");i.innerHTML="<p><strong>"+n+":</strong> "+o+"</p>",e.replaceWith(i)}}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))})}})}function Vi(e,r){return jt(e,r,{system:"docusaurus",rootSelectors:["main .markdown","main article","main .theme-doc-markdown","article .theme-doc-markdown","main [class*='docItemContainer']","main"],titleSelectors:["main .markdown h1","main h1","article h1",".theme-doc-markdown h1"],fallbackTitle:Gi,removeSelectors:le+", .theme-doc-breadcrumbs, .theme-doc-toc-desktop, .theme-doc-toc-mobile, .pagination-nav, .theme-edit-this-page, .theme-last-updated",removeTextPattern:/^(skip to main content|on this page|edit this page|copy for llm|view as markdown|ask ai|search)$/i,contentType:function(e,t){return ft(e,t)?"list":"article"},preserveSelector:"[role='tab']",rewriteRoot:function(e){!function(e,t){for(var r=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=[];r.nextNode();)n.push(r.currentNode);n.forEach(function(e){var r=e.nodeValue.replace(t," ");r!==e.nodeValue&&(e.nodeValue=r)})}(e,/\b(?:Get started|Getting started|Docs|API|FAQ|Contributing|Troubleshooting|Guides?|Reference)(?:\s*\|\s*(?:Get started|Getting started|Docs|API|FAQ|Contributing|Troubleshooting|Guides?|Reference)){2,}\s*/gi),Ne(e,"header, footer, nav, aside, [role='banner'], [role='navigation'], [class*='navbar' i], [class*='sidebar' i], [class*='menu' i], [class*='toc' i]");var r=Array.prototype.slice.call(e.querySelectorAll("[role='tabpanel']")),n=[];e.querySelectorAll("[role='tab'][aria-controls]").forEach(function(e){if("true"===e.getAttribute("aria-selected")||/(?:^|\s)(?:tabs__item--active|tabItem--active|active|is-active)(?:\s|$)/.test(e.className||"")){var o=r.find(function(t){return t.id===e.getAttribute("aria-controls")});if(o&&-1===n.indexOf(o)){n.push(o);var i=t(e.textContent);if(i){var a=document.createElement("h3");a.textContent=i,o.insertBefore(a,o.firstChild)}}}}),n.length?r.forEach(function(e){-1===n.indexOf(e)&&e.remove()}):e.querySelectorAll("[role='tabpanel'][hidden], [role='tabpanel'][aria-hidden='true']").forEach(function(e){e.remove()}),e.querySelectorAll("[role='tablist']").forEach(function(e){e.remove()}),e.querySelectorAll(".admonition, [class*='admonition']").forEach(function(e){var r=t((e.querySelector(".admonition-heading, .admonition-title")||{}).textContent)||"Note",n=t(e.textContent).replace(new RegExp("^"+r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s*","i"),"");if(!n)return e.remove();var o=document.createElement("blockquote");o.innerHTML="<p><strong>"+r.toUpperCase()+":</strong> "+n+"</p>",e.replaceWith(o)})}})}function Ji(e){var r=xt(e);if(!Ee(/(^|\.)docs\.stripe\.com$/)&&!/stripe/i.test(r))return null;if(!/^\/api\//.test(location.pathname)&&!/api reference/i.test(r))return null;var i,a=t((e.title||document.title).replace(/\s*[|·-]\s*Stripe API Reference$/i,"")),l=Array.prototype.slice.call(document.querySelectorAll("main section, article section")).find(function(e){var r=e.querySelector("h1, h2, h3");return(r=t(r&&r.textContent))&&a&&(r===a||0===r.indexOf(a))});if(l){var s=l.parentElement;i=(s?s.querySelectorAll(":scope > section").length:0)>1?s:l}else i=document.querySelector("main article, article, main");return Lt(e,i,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){dt(e,"a, button, span, div, p",/^(ask about this section|copy for llm|view as markdown)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=o(e.getAttribute("href")),n=t(e.textContent);r===location.href.split("#")[0]&&n===a&&e.remove()}),e.querySelectorAll("[aria-hidden='true']").forEach(function(e){n(e)<2e3&&e.remove()}),e.querySelectorAll("[class*='collapsed'], [class*='summary'], [class*='unexpanded']").forEach(function(e){var r=e.querySelector("code, strong, b, [class*='name']"),o=t(r&&r.textContent);if(o&&!(o.length>50)){var i=e.nextElementSibling||e.previousElementSibling;if(i){var a=i.querySelector("code, strong, b, [class*='name']");t(a&&a.textContent)===o&&(n(e)<n(i)?e.remove():i.remove())}}}),e.querySelectorAll("h2, h3, h4, h5, h6").forEach(function(e){var r=function(e){var r=(e=t(e||"").replace(/deprecated$/i," [Deprecated]")).match(/^([a-z0-9_.]+?)(nullable)?\s*(string|integer|object|array|boolean|enum|timestamp|hash|map|float)(expandable)?$/i);if(!r)return e.replace(/([a-z])([A-Z][a-z]+)/g,"$1 $2");var n=[];return r[2]&&n.push("nullable"),n.push(r[3].toLowerCase()),r[4]&&n.push("expandable"),r[1]+" - "+n.join(" ")}(e.textContent);r&&(e.textContent=r)});var r=e.querySelectorAll("h1");if(r.length>1){var i={};r.forEach(function(e){var r=t(e.textContent).toLowerCase().replace(/\s*\[?deprecated\]?\s*$/i,"");i[r]?e.remove():i[r]=!0})}e.querySelectorAll("h1").forEach(function(e){e.textContent=t(e.textContent).replace(/deprecated$/i," [Deprecated]")})},postProcessMarkdown:function(e){var t=e.split("\n"),r={};(t.forEach(function(e){var t=e.match(/^#{2,6}\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);t&&(r[t[1].toLowerCase().replace(/\s+/g,"")]=!0)}),Object.keys(r).length>0)&&(e=t.filter(function(e){var t=e.match(/^-\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);if(!t)return!0;var n=t[1].toLowerCase().replace(/\s+/g,"");return!r[n]}).join("\n"));return e}})}function Xi(e){var r=xt(e);return Ee(/(^|\.)docs\.github\.com$/)||/github docs/i.test(r)?Lt(e,function(){if(!/^\/(?:[a-z]{2}(?:-[A-Z]{2})?\/)?rest\//.test(location.pathname||""))return null;var e=document.querySelector("main#main-content, main");return e&&Array.prototype.filter.call(e.querySelectorAll("h2, h3"),function(e){var r=t(e.textContent);return r&&!/^(fine-grained access tokens|parameters|http response status codes|code samples)\b/i.test(r)}).length>=2?e:null}()||wt(["main .markdown-body","main"]),{titleSelectors:["main h1",".markdown-body h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*GitHub Docs$/i,""))},preserveSelector:"button[aria-label*='copy' i]",rewriteRoot:function(e){e.querySelectorAll("clipboard-copy, [data-copy-feedback], [data-testid='copy-button']").forEach(function(e){e.remove()}),e.querySelectorAll("button[aria-label*='copy' i]").forEach(function(e){var r=t(e.textContent)||t(e.getAttribute("aria-label"));if(r){var n=document.createElement("p");n.textContent=r,e.replaceWith(n)}}),e.querySelectorAll("[role='tablist'], ul[class*='SegmentedControl'], .prc-SegmentedControl-SegmentedControl-lqIXp").forEach(function(e){e.remove()}),dt(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}}):null}function Yi(e){var t=String(e||"").replace(/\\\r?\n\s*/g,"");try{t=JSON.stringify(JSON.parse(t),null,2)}catch(e){t=t.replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\'/g,"'").replace(/\\"/g,'"').replace(/\\\\/g,"\\")}return t.trim()}function Qi(e){var r=xt(e);if(!Ee(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=_("method"),o=Lt(e,wt(["#main",".main_text","main"]),{fallbackTitle:n||t((e.title||document.title).replace(/\s*-\s*baselinker\.com$/i,""))||"API documentation",rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),dt(e,"a, button, div, span",/^(method list|test your request|changelog|copy)$/i)}});if(n&&(!o||t(o.markdown||"").length<200)){var i=function(e){if(!e)return null;for(var t=new RegExp("examples\\[['\"]"+Dt(e)+"['\"]\\]\\s*=\\s*'([\\s\\S]*?)';"),r=Array.prototype.slice.call(document.querySelectorAll("script")),n=0;n<r.length;n+=1){var o=(r[n].textContent||"").match(t);if(o&&o[1])return Yi(o[1])}return null}(n);if(i){var a=["# "+n,"Baselinker API request example for the `"+n+"` method.","```json",i,"```"].join("\n\n");return{title:n,byline:e.byline,excerpt:"Baselinker API request example for the "+n+" method.",siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:"",markdown:a,textContent:t(a),readerMode:!1,contentType:"article"}}}return o}function ea(e){var r=xt(e);if(!Ee(/(^|\.)rubyapi\.org$/)&&!/ruby api/i.test(r))return null;var n=t((e.title||document.title).replace(/\s*\|\s*Ruby API.*$/i,""))||"Ruby API";return"/"===location.pathname||/^\/\d+(?:\.\d+)?\/?$/.test(location.pathname)?function(e,r){var n={},i=[];if(document.querySelectorAll("a[href*='/o/']").forEach(function(e){var r=o(e.getAttribute("href")),a=t(e.textContent);if(r&&/\/\d+(?:\.\d+)?\/o\//.test(r)&&/^read more$/i.test(a)&&!n[r])for(var l=e.parentElement;l&&l!==document.body;){var s=t((l.querySelector("h2, h3")||{}).textContent||""),c=yt(l,["p"]);if(s&&c)return n[r]=!0,void i.push({text:s,url:r,detail:c});l=l.parentElement}}),i.length<3)return null;var a=["# "+r,e.excerpt,C(i)].filter(Boolean).join("\n\n"),l=E({title:r,excerpt:e.excerpt,siteName:e.siteName||location.hostname,markdown:a,textContent:t(a)});return l.byline=e.byline,l.publishedTime=e.publishedTime,l}(e,n):Et(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),dt(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}function ta(e){var r=xt(e).toLowerCase();if(!Ee(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=wt(["#main","main article","main","article"]);if(!n)return null;var o=yt(n,["p"]),i=Lt(e,n,{titleSelectors:["#main h1","main h1","article h1"],fallbackTitle:function(){return(e.title||document.title).replace(/\s*[—-]\s*Ruby on Rails Guides$/i,"")},rewriteRoot:function(e){e.querySelectorAll("#topNav, #feature, #subCol, #subColWrap, #guides, #guides-index, .guides-index, .guide-index, .chapter, .chapter-list, .sidebar, aside, nav, header").forEach(function(e){e.remove()}),dt(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),dt(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){pt(e)&&e.remove()})}});if(!i)return null;var a=t(o||i.excerpt);if(a&&-1===i.markdown.indexOf(a)){var l=i.markdown;Tt(l,i.title)&&(l=l.split("\n\n").slice(1).join("\n\n")),i.markdown=["# "+i.title,a,l].filter(Boolean).join("\n\n"),i.textContent=t(i.markdown)}return i}function ra(e){var r=xt(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(Ee(/(^|\.)(api\.rubyonrails\.org|ruby-doc\.org)$/)||/rdoc documentation/.test(r)||!n&&!!document.querySelector("#class-metadata, #bodyContent")))return null;if(/documenting the ruby language/i.test(e.title||document.title)&&!document.querySelector("#class-metadata, #bodyContent, main h1"))return null;var o=wt(["#bodyContent","#content","#main","main"]);return o?Lt(e,o,{titleSelectors:["#bodyContent h1","#content h1","#main h1","main h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*RDoc Documentation$/i,"").replace(/^(class|module)\s+/i,"")},rewriteRoot:function(e){e.querySelectorAll("form, nav, header, #class-metadata, .method-source-code, .source_code, .filetree, .panel, .search-section, .quicksearch, aside").forEach(function(e){e.remove()}),dt(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),dt(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("ul, ol, div, section").forEach(function(e){pt(e)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent);/^(¶|↑)$/.test(r)&&e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/[¶↑]/g,"").replace(/\s+</g," < ")})}}):null}function na(e){var t=xt(e).toLowerCase();return Ee(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?ra(e):null}function oa(e){var r={},n=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){var o=t(e.textContent);o&&!r[o]&&(r[o]=!0,n.push(o))})}),n}function ia(r){var n=function(){var t=w(["VideoObject","Clip","Movie","TVEpisode"]),r={title:t&&(t.name||t.headline),description:t&&t.description,byline:t&&(t.author||t.publisher),publishedTime:t&&(t.uploadDate||t.datePublished),duration:t&&t.duration,views:null},n=e.ytInitialPlayerResponse,o=n&&n.videoDetails,i=n&&n.microformat&&n.microformat.playerMicroformatRenderer;return o&&(r.title=r.title||o.title,r.description=r.description||o.shortDescription,r.byline=r.byline||o.author,r.views=r.views||o.viewCount),i&&(r.byline=r.byline||i.ownerChannelName,r.publishedTime=r.publishedTime||i.publishDate||i.uploadDate),r}(),o=t(L("og:type","property")||"").toLowerCase(),i=!(!e.ytInitialPlayerResponse||!e.ytInitialPlayerResponse.videoDetails),a=!(!r.video&&!/^video\b/.test(o)),l=/\/(watch|shorts|live|videos?|player|clip|replay)\b/i.test(location.pathname||""),s=!!document.querySelector("video, iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], [data-video-id], [data-video], [data-player]");if(!!!(i||a||l&&s)||!(l||i||a))return null;if(!i&&!l&&!/^video\b/.test(o)&&Array.prototype.filter.call(document.querySelectorAll("article p, main p"),function(e){return t(e.textContent||"").length>=80}).length>=3)return null;var c=function(e,r){var n=t(r.title||""),o=oa(["main h1","article h1","h1"]).filter(function(e){return!/^(loading|this video is processing|verify to continue|checking if the site connection is secure)/i.test(e)});return!n&&o.length&&(n=o[0]),n||(n=t(e.title||document.title)),n.replace(/\s*[-|]\s*(YouTube|Vimeo|Videos & Movies on Vimeo)$/i,"")}(r,n),d=function(e,r){var n=t(r.description||e.excerpt||"");return n||oa(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description","[data-testid='vd-wrapper'] p","main article p","main p"]).find(function(e){return!(e.length<30||/^(loading|you'll be able to view it as soon as it's done|verify to continue|checking if the site connection is secure)/i.test(e))})||null}(r,n),m=x(n.byline)||r.byline,p=S(n.publishedTime)||u(["time[datetime]"],"datetime")||r.publishedTime,h=[],f=S(n.duration),g=S(n.views);return f&&h.push("Duration: "+f),g&&h.push("Views: "+g),c&&d?T({title:c,byline:m,publishedTime:p,description:d,details:h,siteName:r.siteName||location.hostname,hostAware:!0}):null}function aa(e){if(!Ee(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!_("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=ia(e);if(r)return r;var n=w(["VideoObject"]),o=t(n&&(n.name||n.headline)||e.title).replace(/\s*[-|]\s*YouTube$/i,""),i=u(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description"])||S(n&&n.description)||e.excerpt,a=x(n&&(n.author||n.publisher))||e.byline,l=S(n&&(n.uploadDate||n.datePublished))||e.publishedTime,s=[],c=oa(["ytd-macro-markers-list-item-renderer h4","ytd-macro-markers-list-item-renderer #title"]);return S(n&&n.duration)&&s.push("Duration: "+S(n.duration)),c.length&&s.push("Chapters: "+c.join(" | ")),o&&i?T({title:o,byline:a,publishedTime:l,description:i,details:s,siteName:e.siteName||"YouTube",hostAware:!0}):null}function la(e,r){if(r=r||{},!document.body||!re())return null;if(oe(document))return null;if(Sr())return null;if(document.querySelector("article h1, article [itemprop='articleBody'], [type='application/ld+json']")){var n=t(document.body.textContent||"");if(document.querySelector("article h1")&&n.length<3e4)return null}var i=[];["main","[role='main']","#main",".main","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=null,l=r.minItems||5,s=t([e&&e.title||"",e&&e.siteName||"",document.title||"",document.body.textContent||""].join(" ")).toLowerCase().slice(0,6e3),c=/\b(find|search|book|compare|deals?|offers?|destinations?|routes?|tickets?|timetables?|trains?|travel|hotels?|homes?|properties|real estate|for sale|for rent|marketplaces?|listings?|latest|top stories|headlines|breaking news)\b/i.test(s);return i.forEach(function(e){var r={},n=[],i=[],s=t((e.querySelector("h1")||{}).textContent||"");e.querySelectorAll("h2, h3").forEach(function(e){var r=t(e.textContent||"");e.closest&&e.closest("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']")||jr(e.parentElement)||r.length>=6&&r.length<=90&&!ne(r,"")&&i.push(r)}),e.querySelectorAll("a[href]").forEach(function(e){if(!e.closest("header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']")){var i=e.getAttribute("href")||"",a=o(i),l=t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||""),s=a&&function(e){return te(e).replace(/([?&])(?:utm_[^&=]+|fbclid|gclid|dclid|msclkid|mc_cid|mc_eid)=[^&]*&?/gi,"$1").replace(/[?&]$/,"")}(a);if(a&&!r[s]&&!ne(l,i)&&(!(l.length<12)||/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(l))){var c=e.closest("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")||e.parentElement,u=function(e){return e.closest&&e.closest("article, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")}(e);if(u&&u!==c&&u.contains(e)&&(c=u),!u||!u.querySelector("article h1 a[href], article h2 a[href], article h3 a[href], article h4 a[href]")||u.querySelector("h1 a[href], h2 a[href], h3 a[href], h4 a[href]").contains(e)){var d=Oo(c,l);d.length>180&&(d=""),r[s]=!0,n.push({text:l,url:a,detail:d})}}}});var u=t(e.textContent||""),d=e.querySelectorAll("a[href]").length,m=e.querySelectorAll("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']").length,p=s&&s.length>=8&&s.length<=120?180:0,h=60*Math.min(i.length,6),f=180*n.length+p+h+12*Math.min(m,18)+Math.min(d,80);n.length<l&&!(n.length>=3&&p&&i.length>=2)||(c||n.length>=6&&m>=6&&i.length>=3)&&(d<n.length||u.length<120||(!a||f>a.score)&&(a={root:e,items:n,hero:s,headings:i,score:f}))}),a?a.items.length<l&&(!a.hero||a.headings.length<2)?null:a:null}function sa(e){if(re()){var r=fo(e,{portalRoot:!0});if(r.portalRootEvidence)return r}var n=la(e,{minItems:4});if(!n)return null;var o=n.hero||e&&e.title||document.title||location.hostname,i=[];n.hero&&i.push("# "+n.hero),e&&e.excerpt&&i.push(e.excerpt),n.headings.length>=2&&i.push(n.headings.map(function(e){return"- "+e}).join("\n")),i.push(C(n.items));var a=i.filter(Boolean).join("\n\n").trim();return t(a).length<180?null:E({title:o,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:a,textContent:t(a)})}function ca(e,r){if(!Ee((r=r||{}).hostPattern))return null;var n=function(e){for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}if(!e.sportParagraphFallback)return null;var o=document.querySelectorAll("article p.ft-text");if(!o.length)return null;var i=document.createElement("div");return o.forEach(function(e){i.appendChild($e(e,document))}),i}(r);return n&&n.querySelector("p, figure, blockquote")?(tt(n,e,{minBodyTextLength:r.publicMinTextLength||1200,minParagraphCount:3,paragraphMinLength:80,hardPaywallPattern:/(?:para seguir leyendo|contin[uú]a leyendo|lee este art[ií]culo completo|solo para suscriptores|contenido exclusivo para suscriptores)/i,removalSelectors:Re.concat(["[data-piano-offer]"])}),Be(e,Ke(document.querySelector((r.leadSelectors||[".ue-c-article__standfirst",".ue-c-article__summary",".article__summary",".article-intro",".summary"]).join(", ")),n),{title:u(r.titleSelectors||["h1.ue-c-article__title","h1.article-title","h1"]),byline:u(r.bylineSelectors||[".ue-c-article__byline",".ue-c-article__author",".article-author","[rel='author']"])||e.byline,minTextLength:r.minTextLength||250,cloneRoot:!1,rewriteRoot:function(e){Ne(e,function(e){return[".ue-c-article__share",".ue-c-social-share",".sharebar","[class*='share' i]",".ue-c-ad","[class*='advert' i]","[aria-roledescription='Publicidad']",".ue-c-article__comments","[class*='comment' i]",".ue-c-article__related","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"].concat(Re,e.extraRemovalSelectors||[])}(r).join(", ")),function(e){e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>280||/^(suscr[ií]bete|suscr[ií]bete aqu[ií]|contenido exclusivo|solo para suscriptores|inicia sesi[oó]n|hazte premium|premium|publicidad)$/i.test(r)&&e.remove()})}(e),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e)}})):null}function ua(e,t,r){return!0===e||!1!==e&&("function"==typeof e?e(t):Ee(e,r))}function da(e,t){for(var r=e&&e.host||location.hostname||"",n=0;n<hostAwareProfiles.length;n+=1){var o=hostAwareProfiles[n];if(!0!==o.condition&&ua(o.condition,e,r)){var i=o.fn(e,t);if(i)return i}}for(var a=0;a<hostAwareProfiles.length;a+=1){var l=hostAwareProfiles[a];if(!0===l.condition&&ua(l.condition,e,r)){var s=l.fn(e,t);if(s)return s}}return null}function ma(e){var r=xt(e);if(!Ee(/(^|\.)pinterest\.com$/)&&!/pinterest/i.test(r))return null;if(!/^\/search\//.test(location.pathname)&&!_("q")&&!/showing more search results for/i.test(document.body&&document.body.textContent))return null;var n=t(_("q")),i={},a=[];return document.querySelectorAll("a[href*='/pin/']").forEach(function(e){var r=o(e.getAttribute("href")),n=t(e.getAttribute("aria-label")||e.textContent);if(!n){var l=e.querySelector("img[alt]");n=t(l&&l.getAttribute("alt"))}!r||!n||n.length<12||i[r]||/^(log in|sign up|explore|search|filters|you are signed out)$/i.test(n)||(i[r]=!0,a.push({text:n,url:r}))}),a.length>=4?E({title:n?"Pinterest results for "+n:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Pinterest",items:a}):e.excerpt?T({title:n?"Pinterest results for "+n:e.title||document.title,description:e.excerpt,details:["Access: Pinterest signed-out shell"],siteName:e.siteName||"Pinterest",contentType:"article"}):null}function pa(e,n){var o=xt(e);if(!Ee(/(^|\.)tiktok\.com$/)&&!/tiktok/i.test(o))return null;var i=t(n||""),a=u(["main h1","h1"]),l=u(["main h2","h2"]),s=r((location.pathname||"").replace(/^\/tag\//,"").split("/")[0]||"").replace(/[-_]+/g," ");if(s=t(s),/^\/tag\//.test(location.pathname)||a||l){var c=a||(s?"#"+s:t(e.title||document.title)),d=e.excerpt;d&&!/make your day/i.test(d)||(d="This TikTok page is only partially available, but the visible tag or page summary can still be extracted.");var m=[];return l&&l!==c&&m.push(l),/drag the slider to fit the puzzle|log in/i.test(i)&&m.push("Access notice: TikTok login or verification required"),T({title:c,description:d,details:m,siteName:e.siteName||"TikTok",contentType:"article"})}return/drag the slider to fit the puzzle|slide to verify/i.test(i)?T({title:t(e.title||document.title)||"TikTok verification required",description:e.excerpt||"This TikTok page is presenting a slider verification challenge before the original content is available.",details:["Gate: slider verification"],siteName:e.siteName||"TikTok",contentType:"article"}):null}function ha(e,r){var n=xt(e);if(!Ee(/(^|\.)ebay\./)&&!/ebay/i.test(n))return null;if(!/\/sch\//.test(location.pathname)&&!_("_nkw")&&!/for sale\s*\|\s*ebay/i.test(n))return null;var i={},a=[];return document.querySelectorAll("a.s-item__link[href*='/itm/'], li.s-item a[href*='/itm/']").forEach(function(e){var r=o(e.getAttribute("href")),n=t(e.textContent||e.querySelector("img[alt]")&&e.querySelector("img[alt]").getAttribute("alt")),l=Oo(e.closest("li.s-item, .srp-results li")||e.parentElement,n);!r||!n||n.length<8||i[r]||(i[r]=!0,a.push({text:n,url:r,detail:l}))}),a.length>=4?E({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"eBay",items:a}):e.excerpt||/cookie/i.test(r||"")?T({title:e.title||document.title,description:e.excerpt||"This eBay page is showing a cookie or privacy prompt before full results are available.",details:["Access notice: eBay cookie or privacy prompt"],siteName:e.siteName||"eBay",contentType:"article"}):null}function fa(e){if(!Ee(/(^|\.)amazon\./))return null;if("/s"!==location.pathname&&!_("k"))return null;var r={},n=[];return document.querySelectorAll("[data-component-type='s-search-result'], .s-result-item[data-asin]").forEach(function(e){var i=e.querySelector("h2 a[href], a.a-link-normal.s-no-outline[href]"),a=e.querySelector("h2 span, h2 a span"),l=t(a?a.textContent:i&&i.textContent),s=o(i&&i.getAttribute("href")),c=e.querySelector(".a-price .a-offscreen"),u=t(c&&c.textContent),d=e.querySelector("[aria-label*='out of 5 stars'], .a-icon-alt"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=e.querySelector("a[href*='#customerReviews'], .a-size-small .a-link-normal"),h=[u,m,t(p&&p.textContent)].filter(Boolean).join(" - ");!l||!s||l.length<8||r[s]||(r[s]=!0,n.push({text:l,url:s,detail:h}))}),n.length<3?null:j(e,{title:e.title||document.title,excerpt:n[0].text,items:n})}function ga(e){if(!Ee(/(^|\.)amazon\./))return null;if(!/(\/dp\/|\/gp\/product\/)/.test(location.pathname))return null;var r=w(["Product","Book"]),n=u(["#productTitle","#title span","#ebooksProductTitle"])||S(r&&r.name)||e.title,o=S(r&&r.description)||e.excerpt||u(["#bookDescription_feature_div .a-expander-content","#bookDescription_feature_div .a-expander-partial-collapse-content","#productDescription p","#productDescription"]),i=u(["#bylineInfo",".author a","#brand"]),l=f(["#feature-bullets li span","#detailBullets_feature_div li span.a-list-item","#productOverview_feature_div td"]).filter(function(e){return e.length>=12&&e!==n&&!/^see more$/i.test(e)}),s=[],c=r&&r.offers;Array.isArray(c)&&(c=c[0]);var d=c&&c.price?t(c.price+(c.priceCurrency?" "+c.priceCurrency:"")):null;if(d&&s.push("Price: "+d),c&&c.availability&&s.push("Availability: "+a(c.availability)),r&&r.aggregateRating&&r.aggregateRating.ratingValue){var m=t(r.aggregateRating.ratingValue+"/5"),p=r.aggregateRating.reviewCount||r.aggregateRating.ratingCount;s.push("Rating: "+m+(p?" from "+p+" reviews":""))}return n&&o?T({title:t(n).replace(/: Amazon.*$/i,""),byline:i,description:o,details:s,highlights:l,siteName:e.siteName||location.hostname}):null}function ya(e){var r=xt(e);if(!Ee(/(^|\.)booking\.com$/)&&!/booking\.com/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n=u(["main h1","h1"])||t((e.title||document.title).replace(/^Booking\.com\s*[|:-]\s*/i,"")),i=e.excerpt,a=f(["main h2"]).filter(function(e){return e.length>=5&&!/^(offers?)$/i.test(e)}),l={},s=[];if(document.querySelectorAll("main a[href*='/searchresults.html'], main a[href*='/hotel/'], main a[href*='/apartments/'], main a[href*='/resorts/'], main a[href*='/villas/'], main a[href*='/homes/']").forEach(function(e){var r=t(e.textContent),n=o(e.getAttribute("href"));!r||!n||r.length<3||r.length>80||l[n]||/^(learn more|search|sign in|register|list your property)$/i.test(r)||(l[n]=!0,s.push({text:r,url:n}))}),!n&&!a.length&&s.length<3)return null;var c=[];n&&c.push("# "+n),i&&c.push(i),a.length&&c.push(a.map(function(e){return"- "+e}).join("\n")),s.length>=3&&c.push(C(s));var d=c.filter(Boolean).join("\n\n").trim();return j(e,{title:n||e.title,excerpt:i,siteName:e.siteName||"Booking.com",markdown:d,textContent:t(d),items:s.length>=3?s:null,contentType:s.length>=3?"list":"article"})}function ba(e){var r=xt(e);if(!/(^|\b)ft\.com\b|financial times/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},i=[];return document.querySelectorAll("main a[href*='/content/'], main a[href*='/stream/']").forEach(function(e){var r=t(e.textContent).replace(/^opinion content\.?\s*/i,""),a=o(e.getAttribute("href")),l=Oo(e.closest("article, section, .story-group__article, .story-group-slice, .o-teaser")||e.parentElement,r);!r||!a||r.length<18||r.length>180||n[a]||/^(top stories|news|opinion|companies|markets news|video|life & arts|spotlight|most read|must-reads you missed|more opinion|more companies|more europe news|more markets news|more technology)$/i.test(r)||(n[a]=!0,i.push({text:r,url:a,detail:l}))}),i.length<4?null:E({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:i})}function va(e){var t=xt(e);if(!Ee(/(^|\.)economist\.com$/)&&!/economist/i.test(t))return null;if(location.pathname&&"/"!==location.pathname)return null;var r={},n=[];return document.querySelectorAll("main a[href]").forEach(function(e){var t=e.getAttribute("href")||"";if(/(\/\d{4}\/\d{2}\/\d{2}\/|\/interactive\/)/.test(t)){var i=Fo(e),a=o(t),l=Oo(e.closest("article, section, li, div")||e.parentElement,i);!i||!a||i.length<18||i.length>180||r[a]||/^(subscribe|log in|the economist pro|weekly edition|current topics|world|business & economics|opinion|in depth|culture, history & society|our a-to-zs|featured story)$/i.test(i)||(r[a]=!0,n.push({text:i,url:a,detail:l}))}}),n.length<4?null:E({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}function wa(e){var t=xt(e);if(!Ee(/(^|\.)bloomberg\.com$/)&&!/bloomberg/i.test(t))return null;if(/(\/news\/|\/opinion\/|\/features\/|\/graphics\/)/.test(location.pathname))return null;var r={},n=[];return document.querySelectorAll("a[href*='/news/articles/'], a[href*='/news/features/'], a[href*='/opinion/articles/'], a[href*='/features/'], a[href*='/graphics/'], a[href*='/news/newsletters/']").forEach(function(e){var t=Fo(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),i=o(e.getAttribute("href")),a=Oo(e.closest("article, section, div")||e.parentElement,t);!t||!i||t.length<18||t.length>220||r[i]||/^(bloomberg opinion|bloomberg businessweek|newsletter:|watch)$/i.test(t)||(r[i]=!0,n.push({text:t,url:i,detail:a}))}),n.length<4?null:E({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Bloomberg",items:n})}window.hostAwareProfiles=window.hostAwareProfiles||[],window.registerHostAwareProfile=function(e,t){hostAwareProfiles.push({condition:e,fn:t})};function xa(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function Sa(e){var r=(e=e||{}).metadata||{},n=e.abstractRoot||null,o=[];if(n&&o.push(n),e.bodyRoots?o=o.concat(e.bodyRoots.filter(Boolean)):e.bodyRoot&&o.push(e.bodyRoot),!o.length&&!e.details)return null;var i=function(e,r){var n="";if(e.title)n=e.title;else if(e.titleNode)n=e.titleNode.getAttribute&&e.titleNode.getAttribute("content")||e.titleNode.textContent||"";else if(e.titleSelectors)for(var o=0;o<e.titleSelectors.length;o+=1){var i=document.querySelector(e.titleSelectors[o]);if(i&&(n=t(n=i.getAttribute&&i.getAttribute("content")||i.textContent||"")))break}return n=t(n||r.title||document.title||""),e.titleCleanup&&(n=n.replace(e.titleCleanup,"")),t(n)}(e,r),a=document.createElement("article");if(i){var l=document.createElement("h1");l.textContent=i,a.appendChild(l)}if(o.forEach(function(t){var r=function(e,t){if(!e)return null;var r=Pe(e),n="#articleDenialBlock, #denialBlockWrapper, #references, #bibliography, #keywords, section[property='keywords'], [id*='supplementary' i], [class*='supplementary' i], .articleMetrics_count, .articleMetrics, .metrics, .references, .recommended, .recommendations, .citation-tools, .purchase, .access-options, .toolbar-metric__menu-section, .article-tools, .related, .figure-inline-download, .carousel-item, [role='doc-bibliography'], [class*='metric' i], [class*='metrics' i], [class*='recommend' i], [class*='related' i], [class*='citation' i], [class*='reference' i], [class*='collateral' i], [class*='share' i], [class*='purchase' i], [class*='institution' i], aside, nav, form, button, input, footer, script, style, noscript, template, iframe";return t&&(n+=", "+t),r.querySelectorAll(n).forEach(function(e){e.remove()}),r.querySelectorAll("a[href*='/action/doSearch']").forEach(function(e){(e.closest("li, [role='listitem']")||e).remove()}),ze(r),r}(t,e.extraNoiseSelector);r&&a.appendChild(r)}),e.details&&e.details.length){var s=document.createElement("ul");e.details.forEach(function(e){var t=document.createElement("li");t.textContent=e,s.appendChild(t)}),a.appendChild(s)}ze(a);var c=It(Qt(a.innerHTML));e.markdownFallback&&t(c).length<.2*t(a.textContent||"").length&&(c=e.markdownFallback());var u=t(c);if(u.length<(e.minTextLength||300))return null;var d=t(n&&n.textContent||"");return{title:i||r.title,byline:r.byline,excerpt:(e.excerpt||d).slice(0,280)||r.excerpt,siteName:e.siteName||r.siteName,publishedTime:r.publishedTime,html:a.innerHTML,markdown:c,textContent:u,readerMode:!1,contentType:"article",hostAware:!0}}function ka(e,r,n){var o=[document.title,e&&e.title,e&&e.siteName,document.body&&document.body.textContent];return r&&r.length&&o.splice(3,0,u(r)),t(o.join(" ")).slice(0,n||2e4)}function Aa(e){return xa(e||[])}function Ca(e,r){if(r.signalSelectors&&!xa(r.signalSelectors))return null;var n=Aa(r.abstractSelectors),o=Aa(r.bodySelectors);if(!o&&r.fallbackBodyRoot&&(o=r.fallbackBodyRoot()),!n||!o)return null;if(r.signature){if(!r.signature(e))return null}else if(r.signaturePattern){var i=ka(e,r.signatureSelectors,r.signatureMaxLength);if(!(r.signaturePattern.test(i)||r.allowCitationDoiSignature&&document.querySelector("meta[name='citation_doi']")))return null}var a=t(n.textContent||""),l=t(o.textContent||"");return a.length<(r.minAbstractTextLength||80)||l.length<(r.minBodyTextLength||600)||r.rejectBodyPattern&&r.rejectBodyPattern.test(l)?null:Sa({metadata:e,abstractRoot:o.contains&&o.contains(n)?null:n,bodyRoot:o,excerpt:r.excerpt?r.excerpt(a):a,titleSelectors:r.titleSelectors,titleCleanup:r.titleCleanup,siteName:r.siteName?r.siteName(e):void 0,minTextLength:r.minTextLength||700})}var qa={highwire:{abstractSelectors:["#abstract[role='doc-abstract']","section[role='doc-abstract']#abstract","section[property='abstract']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][typeof='Text']"],signatureSelectors:["meta[name='citation_publisher']","meta[name='citation_journal_title']","meta[property='og:site_name']"],signaturePattern:/\b(PNAS|Proceedings of the National Academy|HighWire|citation_doi)\b/i,allowCitationDoiSignature:!0,minBodyTextLength:500,titleSelectors:[".citation__title",".article-header h1","h1[property='name']","h1","meta[name='citation_title']"],titleCleanup:/\s*\|\s*PNAS\s*$/i,minTextLength:600},elsevier:{abstractSelectors:["#abstracts[data-extent='frontmatter']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][data-extent='bodymatter']"],signature:function(e){var t=document.getElementById("build-style-article");return t&&/\/products\/marlin\//i.test(t.getAttribute("href")||"")||document.querySelector("meta[name=citation_pii], meta[name=citation_doi]")||/\bElsevier\b|ScienceDirect|Cell Press/i.test(ka(e))},minAbstractTextLength:80,minBodyTextLength:1,rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["h1","header h1",".core-container h1"],excerpt:function(e){return u(["#author-abstract","section[property='abstract']"])||e},siteName:function(e){return e.siteName||"Elsevier"},minTextLength:300},generic:{signalSelectors:["meta[name='citation_doi']","meta[name='citation_journal_title']","meta[name='citation_title']","meta[name='dc.Identifier'][content*='doi' i]","section[property='abstract']","[role='doc-abstract']",".art-abstract",".html-abstract","[property='articleBody']",".html-body","#bodymatter"],abstractSelectors:["section[property='abstract']","[role='doc-abstract']","#abstract[role='doc-abstract']",".art-abstract",".html-abstract",".article__abstract",".article-abstract",".abstractSection",".NLM_abstract","#abstract",".abstract"],bodySelectors:["#bodymatter[property='articleBody']","#bodymatter","section[property='articleBody']","[property='articleBody']","#html-body",".html-body",".art-body",".article-content .html-body","article[typeof*='ScholarlyArticle' i]","article[class*='article' i]",".article__body",".article-body",".c-article-body",".ArticleBody","main article"],fallbackBodyRoot:function(){var e=Array.prototype.filter.call(document.querySelectorAll("section[id^='sec'], section[id^='Sec'], .section"),function(e){return t(e.textContent||"").length>=120});return e.length<2?null:e.reduce(function(e,r){var n=t(r.textContent||"").length;return!e||n>e.textLength?{node:r.parentNode||r,textLength:n}:e},null).node},rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["meta[name='citation_title']","h1[property='name']",".citation__title",".article-header h1","article h1","h1"],minTextLength:700}};function Ta(e){var r=document.querySelector(".article_abstract, .abstractSection, .article__abstract, .NLM_abstract, #abstract, section[property='abstract'], [property='abstract']");if(!r)return null;var n=t(r.textContent||"");if(n.length<120)return null;var o=t([document.title,e&&e.title,e&&e.siteName,u(["meta[name='citation_publisher']","meta[name='citation_journal_title']"]),document.body&&document.body.textContent].join(" ")).slice(0,16e3);return/\b(acs publications|american chemical society|journal of chemical education)\b/i.test(o)?Sa({metadata:e,abstractRoot:r,titleSelectors:[".article_header-title",".citation__title","h1[property='name']","h1"],titleCleanup:/\s*-\s*ACS Publications\s*$/i,excerpt:n,minTextLength:180}):null}function _a(e){function r(e){var r=Array.prototype.reduce.call(e.querySelectorAll(".article-content .article-text"),function(e,t){var r=t.querySelectorAll(".section.toc-section a[data-toc^='s']").length;return!e||r>e.sections?{node:t,sections:r}:e},null),n=r&&r.node;return n?{abstractNode:n.querySelector(".abstract.toc-section, .abstract"),bodySections:Array.prototype.filter.call(n.querySelectorAll(".section.toc-section"),function(e){var r=e.querySelector("a[data-toc]"),n=r&&r.getAttribute("data-toc")||"",o=t(e.textContent||"");return/^(?:s|sec)\d+$/i.test(n)&&o.length>=80})}:null}var n=r(document);if(!n||n.bodySections.length<3){var o=zn(),i=document.createElement("div");i.innerHTML=o&&o.html||"";var a=r(i);a&&(!n||a.bodySections.length>n.bodySections.length)&&(n=a)}if(!n||!n.abstractNode||n.bodySections.length<2)return null;var l=n.abstractNode,s=n.bodySections;if(!(document.querySelector("meta[name='citation_doi'], meta[name='citation_journal_title']")||/\b(open access|peer-reviewed|research article|article info)\b/i.test(t(document.body&&document.body.textContent||"").slice(0,12e3))))return null;var c=u([".article-header h1","h1","meta[name='citation_title']"])||e.title||document.title;return c=t(c||"").replace(/\s*\|\s*PLOS\s+\w+\s*$/i,""),Sa({metadata:e,abstractRoot:l,bodyRoots:s,title:c,markdownFallback:function(){var e=c?["# "+c]:[];return[l].concat(s).forEach(function(r){r.querySelectorAll("h2, h3, h4, p, figcaption").forEach(function(r){var n=t(r.textContent||"");n&&(/^H2$/i.test(r.tagName)?e.push("","## "+n):/^H3$/i.test(r.tagName)?e.push("","### "+n):/^H4$/i.test(r.tagName)?e.push("","#### "+n):e.push("",n))})}),It(e.join("\n").trim())},minTextLength:300})}function Ea(e){return Ca(e,qa.highwire)}function ja(e){return Ca(e,qa.elsevier)}function La(e){var r=document.querySelector("xpl-document-abstract, .document-abstract");if(!r)return null;var n=t([document.title,e&&e.title,e&&e.siteName,document.querySelector("meta[name='citation_doi']")&&document.querySelector("meta[name='citation_doi']").getAttribute("content"),document.body&&document.body.textContent].join(" ")).slice(0,2e4);if(!/\bIEEE\s+Xplore\b|\bieeexplore\.ieee\.org\b|\bIEEE Conference Publication\b/i.test(n))return null;var o=Array.prototype.filter.call(r.querySelectorAll(".abstract-text-content, [class*='abstract-text' i], [property='abstract']"),function(e){return t(e.textContent||"").length>=80});if(!o.length)return null;var i=o.reduce(function(e,r){var n=t(r.textContent||"");return!e||n.length>e.text.length?{node:r,text:n}:e},null);if(!i||i.text.length<160)return null;var a=t(e.title||u(["meta[name='citation_title']","h1"]));a=a.replace(/\s*\|\s*IEEE.*$/i,"");var l=document.createElement("section"),s=document.createElement("h2"),c=document.createElement("p");s.textContent="Abstract",c.textContent=i.text.replace(/^Abstract:\s*/i,""),l.appendChild(s),l.appendChild(c);var d=[];return f([".stats-document-abstract-publishedIn",".doc-abstract-confdate",".doc-abstract-pubdate",".doc-abstract-doi",".u-pb-1"],8).forEach(function(e){var r=t(e).replace(/\s*Show More\s*$/i,"");!r||r.length>220||/^(abstract|metadata|abstract:)/i.test(r)||-1===d.indexOf(r)&&d.push(r)}),Sa({metadata:e,abstractRoot:l,title:a,excerpt:i.text,details:d,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}function $a(e){var r=document.querySelector("blockquote.abstract"),n=Ee(/(^|\.)arxiv\.org$/)&&/^\/abs\//.test(location.pathname||"");if(!r||!n)return null;var o=u(["h1.title","h1.titlemath","main h1","h1"])||e.title||document.title;o=t(o).replace(/^Title:\s*/i,"");var i=u([".authors"]);i=t(i||"").replace(/^Authors?:\s*/i,"");var a=t(r.textContent||"").replace(/^Abstract:\s*/i,"");if(!o||!a)return null;var l=[];f([".dateline",".metatable .tablecell",".metatable td",".metatable dd"],8).forEach(function(e){/^(subjects?|cited by|references?|related|download|view pdf)$/i.test(e)||l.push(e)});var s=["# "+o,[i?"- Author: "+i:null].concat(l.map(function(e){return"- "+e})).filter(Boolean).join("\n"),a].filter(Boolean).join("\n\n").trim(),c=document.createElement("article"),d=document.createElement("h1"),m=document.createElement("p");return d.textContent=o,m.textContent=a,c.appendChild(d),c.appendChild(m),{title:o,byline:i||e.byline,excerpt:a,siteName:e.siteName||"arXiv",publishedTime:e.publishedTime,html:c.outerHTML,markdown:s,textContent:t(s),readerMode:!1,contentType:"article",hostAware:!0}}function Pa(e){return Ca(e,qa.generic)}function Na(e,r,n){var o=(n||[]).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s*:?"}).join("|"),i=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+":\\s*([\\s\\S]*?)(?="+(o||"$^")+"|$)","i"),a=e.match(i);return a?t(a[1]).replace(/\s+Search on .*$/i,""):""}function za(e){if(!function(e){if(!/^\/p\//i.test(location.pathname||""))return!1;if(!document.querySelector(".available-content .body.markup, .post-content .body.markup, article.post .body.markup"))return!1;var r=t([e&&e.title,e&&e.siteName,document.title,u([".post-title","h1.post-title","article.post h1"]),u(["meta[property='og:image']","meta[name='twitter:image']"],"content")].join(" "));return/\bsubstack\b|substackcdn\.com|substack-post-media/i.test(r)||!!document.querySelector("article.newsletter-post.post, .post-header .post-title")}(e))return null;var r=document.querySelector(".available-content .body.markup")||document.querySelector(".post-content .body.markup")||document.querySelector("article.post .body.markup")||document.querySelector(".available-content")||document.querySelector(".post-content");return r?Be(e,r,{title:u([".post-title","h1.post-title","article.post h1","h1"])||e.title,byline:u([".byline-names",".post-meta .profile-hover-card-target",".post-header a[href*='/profile/']"])||e.byline,minTextLength:250,rewriteRoot:function(e){e.querySelectorAll(".subscription-widget-wrap, .subscribe-widget, .paywall, .comment-list, [class*='comment'], [class*='subscribe'], [role='dialog']").forEach(function(e){e.remove()})}}):null}function Ma(e,r){var n=t(e.title||document.title||r||"");return t(n=(n=n.replace(/\s*[|·-]\s*(PyPI|RubyGems\.org|npm).*$/i,"")).replace(/\s+\|\s+RubyGems\.org\s+\|.*$/i,""))||r}function Ra(e){var r,n,o=location.hostname||"",i=function(){var e=(location.pathname||"").split("/").filter(Boolean);return e.length<2?null:"project"===e[0]||"gems"===e[0]||"package"===e[0]?e[1]:null}();if(!i)return null;if(/(^|\.)pypi\.org$/i.test(o)&&/^\/project\/[^/]+\/?$/i.test(location.pathname||""))r=["#description .project-description","#description",".project-description"],n="PyPI";else if(/(^|\.)rubygems\.org$/i.test(o)&&/^\/gems\/[^/]+\/?$/i.test(location.pathname||""))r=["main","#markup.gem__desc",".gem__desc"],n="RubyGems.org";else{if(!/(^|\.)npmjs\.com$/i.test(o)||!/^\/package\/[^/]+\/?$/i.test(location.pathname||""))return null;r=["#readme","#tabpanel-readme article","[aria-labelledby='package-tab-readme'] article"],n="npm"}for(var a=0;a<r.length;a+=1){var l=document.querySelector(r[a]),s=l.querySelector("h1, h2"),c=t(s&&s.textContent),u=Be(e,l,{title:c&&0===c.toLowerCase().indexOf(i.toLowerCase())?c:Ma(e,i),minTextLength:80,excerpt:e.excerpt,siteName:e.siteName||n,extra:{packagePage:!0},rewriteRoot:function(e){Array.prototype.slice.call(e.querySelectorAll("script, style, noscript, svg, .sr-only")).forEach(function(e){e.remove()})}});if(u)return u}return null}function Ba(e){if(!e)return!1;if(e.hidden||"true"===e.getAttribute("aria-hidden"))return!1;var t=window.getComputedStyle?window.getComputedStyle(e):null;return!(t&&("none"===t.display||"hidden"===t.visibility||"0"===t.opacity))}function Ha(){var e={},r=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(n){if(Ba(n)){var o=K(n,[".name","[data-component-name]","h3","h4"]);if(o&&!/^visit\s+/i.test(o)){var i=function(e){var r=t((e.querySelector("[data-component-status]")||e).getAttribute("data-component-status")||"").replace(/_/g," ");if(r||(r=K(e,[".component-status",".status-msg",".status-icon-button"])),!r){var n=e.querySelector("[aria-label][class*='status'], [data-original-title][class*='status']");r=t(n&&(n.getAttribute("aria-label")||n.getAttribute("data-original-title"))||"")}return r}(n),a=K(n,["[id^='uptime-percent-']",".legend-item-uptime-value"]),l=n.querySelector("[data-original-title], [aria-label^='More information']"),s=t(l&&l.getAttribute("data-original-title")||""),c=o.toLowerCase();if(!e[c]){e[c]=!0;var u=o;i&&(u+=" - "+i),a&&!/^(% uptime|uptime)$/i.test(a)&&(u+=" ("+a.replace(/\s*%\s*uptime$/i,"% uptime")+")"),s&&s.toLowerCase()!==o.toLowerCase()&&(u+=" - "+s),r.push(u)}}}}),r}function Fa(e){if(!function(e){if(document.body&&/\bstatus\b/.test(document.body.className||"")&&document.querySelector(".components-section, .component-container, .incident-container"))return!0;if(document.querySelector("[data-statuspage-id], .components-section, #components, .incidents, .scheduled-maintenance"))return!0;var r=t([e&&e.siteName,u(["meta[property='og:site_name']"],"content"),u([".powered-by a","a[href*='atlassian.com/software/statuspage']"]),document.title].join(" "));return/statuspage/i.test(r)&&!!document.querySelector(".layout-content.status, .components-statuses, .components-container")}(e))return null;var r=u([".status-header h1","h1"])||e.title||document.title||"Status Page",n=u([".page-status .status",".page-status",".status.font-large",".status-description"]),o=u([".text-section","meta[name='description']"],"content")||e.excerpt,i=Ha(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(Ba(t)){var r=K(t,[".incident-title a",".incident-title","a.whitespace-pre-wrap","h3","h4"]);if(r){var n=["- "+r];Array.prototype.slice.call(t.querySelectorAll(".update")).forEach(function(e){var t=K(e,["strong"]),r=K(e,[".whitespace-pre-wrap","p"]),o=K(e,["small","time"]),i=[];t&&i.push(t),r&&i.push(r),o&&i.push(o),i.length&&n.push(" - "+i.join(" - "))}),e.push(n.join("\n"))}}}),e}();if(!n&&0===i.length&&0===a.length)return null;var l=["# "+r];o&&o.toLowerCase()!==r.toLowerCase()&&l.push(o),n&&l.push("- Overall status: "+n),i.length&&l.push("## Components\n\n"+i.map(function(e){return"- "+e}).join("\n")),a.length&&l.push("## Recent Incidents\n\n"+a.join("\n"));var s=It(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:j(e,{title:r,excerpt:n||i[0]||a[0]||e.excerpt,html:(document.querySelector(".layout-content.status")||document.querySelector("main")||document.body||{}).innerHTML||"",markdown:s,textContent:c,contentType:"list",hostAware:!0,statusPage:!0})}function Oa(e,r,i){if(i=i||{},!r||n(r)<(i.minText||200))return null;var a=i.preserveContentNav?$e(r,document):Pe(r);i.preserveContentNav&&(a.querySelectorAll("nav.contents, nav[class*='contents' i]").forEach(function(e){var t=document.createElement("section");t.innerHTML=e.innerHTML,e.replaceWith(t)}),ze(a),a.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))})),i.strip&&i.strip(a);var l=Qt(a.innerHTML),s=t(l||a.textContent||"");if(s.length<(i.minText||200))return null;var c=t(((i.titleRoot||document).querySelector("h1")||{}).textContent||i.title||e.title||document.title);return c&&!Tt(l,c)&&(l="# "+c+"\n\n"+l),{title:c||e.title||document.title,byline:null,excerpt:e.excerpt||s.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:a.innerHTML,markdown:l,textContent:s,readerMode:!1,contentType:i.contentType||"article",hostAware:!0,docsLike:!!i.docsLike}}function Ia(e){var t,r=e&&e.getAttribute("data-cmp-data-layer"),n="";if(!r)return"";try{t=JSON.parse(r),Object.keys(t).some(function(e){var r=t[e]||{};return!!(n=r["xdm:linkURL"]||r.linkURL||r.url||"")})}catch(e){n=""}return n}function Da(e,r){r=r||{};var i=e.querySelector(r.headingSelector||"h2, h3, h4, [heading-text], [class*='title' i], [class*='heading' i]"),a=e.querySelector("h2 a[href], h3 a[href], h4 a[href], a[href]"),l=t(i&&i.getAttribute("heading-text")||i&&i.textContent||e.getAttribute("heading-text")||e.getAttribute("aria-label")||a&&a.textContent||""),s=e.querySelector(r.detailSelector||"[content-text], [class*='summary' i], [class*='description' i], [class*='desc' i], [class*='body' i], [class*='text' i], p"),c=t(s&&s.getAttribute("content-text")||s&&s.textContent||e.getAttribute("content-text")||""),u=function(e,t){var r=e.querySelector("a[href]"),n=r&&r.getAttribute("href")||t.dataUrl&&t.dataUrl(e)||"";return n?o(n):""}(e,r)||r.fallbackUrl||location.href,d=Array.prototype.slice.call(e.querySelectorAll(r.childLinkSelector||"ul a[href]")).map(function(e){var r=t(e.textContent||"");return r.length<3?null:{text:r,url:o(e.getAttribute("href"))}}).filter(Boolean);return!l||l.length<3||l.length>(r.maxTitleLength||180)||r.requireDetail&&!c||r.minCardText&&!c&&n(e)<r.minCardText?null:{text:l,url:u,detail:c,childLinks:d}}function Ua(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]",n={},o=[];return Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!t.cardFilter||t.cardFilter(e)){var r,i=Da(e,t);i&&(r=i.text+"|"+(i.url||""),n[r]||(n[r]=!0,o.push(i)))}}),o}function Wa(e,r,n){if(n=n||{},!r)return null;if("list"===n.contentType){var o,i=Ua(r,n);return i.length<(n.minItems||3)?null:(o=function(e,r,n){var o=n&&n.title;return t("function"==typeof o?o(e,r)||"":(document.querySelector("h1")||{}).textContent||o||e.title||document.title||"Items")}(e,r,n),j(e,{title:o,excerpt:e.excerpt,items:i,html:Pe(r).innerHTML,textContent:o+"\n"+C(i)}))}return Oa(e,r,{docsLike:n.docsLike,minText:n.minText,titleRoot:n.titleRoot,title:n.title,strip:function(e){!function(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i]";Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!t.cardFilter||t.cardFilter(e)){var r,n,o,i,a=Da(e,t);if(a){if(r=document.createElement("article"),n=document.createElement(t.headingTag||"h3"),a.url&&a.url!==location.href){var l=document.createElement("a");l.setAttribute("href",a.url),l.textContent=a.text,n.appendChild(l)}else n.textContent=a.text;r.appendChild(n),a.detail&&((o=document.createElement("p")).textContent=a.detail,r.appendChild(o)),a.childLinks&&a.childLinks.length&&(i=document.createElement("ul"),a.childLinks.forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.setAttribute("href",e.url),r.textContent=e.text,t.appendChild(r),i.appendChild(t)}),r.appendChild(i)),e.replaceWith(r)}}})}(e,n),Ne(e,se+", [class*='breadcrumb' i], [class*='social' i], [class*='share' i], [class*='embed' i], [class*='newsletter' i], form"),n.strip&&n.strip(e)}})}function Za(e){var t=[{rootSelector:"main [class*='card--with-subsections' i], main [class*='cards--with-subsections' i]",contentRoot:function(e){return e.closest("main")||e.closest("[class*='page-content' i]")||e},candidateFilter:function(e,t,r){return r.filter(function(e){return e.querySelector("h2, h3, h4, a[href]")&&n(e)>=60}).length>=4&&n(t)>=600},docsLike:!0,minText:500,titleRoot:document,cardSelector:"[class*='grid__item' i] > .card, [class*='grid__item' i] > [class~='card']",headingSelector:"h2, h3, h4, [class*='card__title' i]",detailSelector:"[class*='summary' i], p",requireDetail:!0,strip:function(e){e.querySelectorAll("[class*='embed' i]").forEach(function(e){e.remove()})}},{rootSelector:"main .page-document, main [class*='content-area' i], main",candidateFilter:function(e,t,r,o,i){var a=r.filter(function(e){return e.querySelector("h2, h3, a[href]")&&n(e)>=80}),l=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return a.length>=4&&l>=2&&i>=1200&&!!e.querySelector("h1")},score:function(e,t,r,n,o){var i=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return o+500*r.length+150*i},docsLike:!0,minText:900,titleRoot:document,cardSelector:".block.teaser, [class*='grid-block-teaser' i], [class*='grid-teaser-item' i]",headingSelector:"h2, h3, h4",detailSelector:"p",headingTag:"h2",strip:function(e){e.querySelectorAll("[class*='cookie' i]").forEach(function(e){e.remove()})}},{rootSelector:"gui-tile-list, [role='list']",candidateFilter:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return n.length>=3&&(i||o||r.length>=4)},score:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return 100*n.length+(o?500:0)+(i?500:0)},contentType:"list",title:function(e){return(document.querySelector("h1")||{}).textContent||e.title||document.title||"Services"},minItems:3,cardSelector:"gui-tile, [class*='tile' i], article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]",headingSelector:"gui-tile-heading, [heading-text], [class*='tile-heading' i]",detailSelector:"gui-tile-content, [content-text], [class*='tile-content' i]",dataUrl:Ia,minCardText:20,minItems:3}],r=null;return t.forEach(function(e){(function(e){return Array.prototype.slice.call(document.querySelectorAll(e.rootSelector)).map(function(t){var r=e.contentRoot?e.contentRoot(t):t,o=Array.prototype.slice.call(t.querySelectorAll(e.cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]")),i=Ua(t,e),a=n(r||t),l=a+400*i.length;return r?e.candidateFilter&&!e.candidateFilter(t,r,o,i,a)||i.length<(e.minItems||3)||e.minText&&a<e.minText?null:(e.score&&(l=e.score(t,r,o,i,a)),{root:r,config:e,score:l}):null}).filter(Boolean)})(e).forEach(function(e){(!r||e.score>r.score)&&(r=e)})}),r?Wa(e,r.root,r.config):null}function Ga(e){if(r=c(null,[function(){var e=document.querySelector("meta[name='Generator' i], meta[name='generator' i]");return t(e&&e.getAttribute("content"))}]).signature,!(/\bDrupal\b/i.test(r)||document.querySelector(".field--name-body, [class*='field--name-' i], [class*='node--type-' i]")||/(?:^|\s)(?:path-[\w-]+|node-[\w-]+)(?:\s|$)/i.test(document.body&&document.body.className||"")))return null;var r,o=Array.prototype.slice.call(document.querySelectorAll("article[class*='overview' i], article[class*='listing' i], .overview-inner-container, .content-main, main article, section.node--view-mode-full, .node--view-mode-full, [itemprop='articleBody'], .field--name-body, .field--name-field-paragraphs, .field--name-field-entity-block, [class*='field--name-body' i]")),i=null;o.forEach(function(e){var t=e.querySelector&&e.querySelector(".field--name-field-paragraphs");t&&n(t)>=200&&(e=t);var r=n(e),o=e.querySelectorAll(".views-element-container, [class*='views-row' i], [class*='view-component' i], [class*='tab-content' i], [class*='blocktab' i], [class*='entity-block' i], [class*='content-link' i], [class*='content-data' i], [class*='block-toggle' i], [class*='field--name-field-entity-block' i], [class*='field--name-field-key-figures' i], [class*='field--name-field-toggle' i], [class*='paragraph--type--cards' i], [class*='card-list' i], [class*='card-heading-list' i], [class*='card-headline' i], [class*='image-besides-text' i], [data-trk*='cards' i]").length,a=r+400*o;r<200||o<1&&!e.matches(".field--name-body, .field--name-field-paragraphs, [class*='field--name-body' i], [itemprop='articleBody']")||(!i||a>i.score)&&(i={root:e,score:a,componentCount:o})});var a=i&&i.root;return!a||n(a)<200?null:Wa(e,a,{docsLike:i.componentCount>=2,titleRoot:document,cardSelector:"article.entity-block.content-link, .card-list article, [class*='card-headline' i], [class*='card' i] article, [class*='paragraph--type--cards' i] .card",headingSelector:"h2, h3, h4, [class*='card-headline' i], [class*='title' i]",detailSelector:"[class*='field--name-field-desc' i], [class*='field--name-field-body' i], [class*='summary' i], [class*='description' i], p",strip:function(e){Ne(e,se+", .side-navigation, [class*='side-navigation' i], [class*='language' i], [class*='breadcrumb' i], .left-column, .sharing, .add-on, [class*='search' i], article.entity-block.content-link .content-desc > a[href], form, .visually-hidden, .hidden")}})}function Ka(e){return!!document.querySelector(e)}function Va(){return Ka("meta[name='gitlab-meta'], .gitlab-meta, .tree-holder, .file-holder, .blob-content, .issuable, .merge-request, .commit-header")||(e=/\b(?:gitlab|gl-|application-ui)\b/i,!(!document.body||!e.test(document.body.className||"")));var e}function Ja(e){var t=location.pathname.split("/").filter(Boolean);if("about:"===location.protocol)return!0;if(t.length<2)return!1;if(-1!==location.pathname.indexOf("/-/"))return!1;var r=t[2]||"";return!/^(issues?|pulls?|pull-requests?|merge[-_]requests?|commits?|branches|tags|releases|wiki|settings|src|source|downloads|actions|projects|security|pulse|graphs)$/i.test(r)&&(!(!e||"gitlab"!==e.platform)||(e&&"bitbucket"===e.platform&&/^\/projects\/[^/]+\/repos\/[^/]+\/browse(?:\/)?$/i.test(location.pathname)||2===t.length))}function Xa(e,r,n){var o=function(e,r){var n=t(r.title||document.title);return e.titleCleaner&&(n=t(e.titleCleaner(n))),n}(e,r),i=function(e,t){return u(e.descriptionSelectors)||t.excerpt}(e,r),a=r.siteName||e.siteName||location.hostname;if(!n)return o||i?T({title:o,description:i,siteName:a,hostAware:!0}):null;var l=Pe(n);ze(l);var s=Qt(l.innerHTML).replace(/^README(?:\.[a-z0-9_-]+)?\s*/i,"").trim();return t(s)?(i&&-1===s.toLowerCase().indexOf(i.toLowerCase())&&(s=i+"\n\n"+s),o&&(s="# "+o+"\n\n"+s),{title:o||r.title,byline:r.byline,excerpt:i,siteName:a,publishedTime:r.publishedTime,html:l.innerHTML,markdown:s,textContent:t(s),hostAware:!0,readerMode:!1,contentType:"article"}):i?T({title:o,description:i,siteName:a,hostAware:!0}):null}function Ya(e){var t=function(e){return c(e,[function(){return[e&&e.title,e&&e.siteName,u(["meta[name='application-name']","meta[name='generator']","meta[property='og:site_name']"],"content"),document.title,document.body&&document.body.className].join(" ")}]).signature}(e),r=!!document.querySelector(".project-home-panel, .project-information, .readme-holder, .file-holder.readme-holder, [data-testid='blob-viewer-content'] .blob-viewer[data-path][data-rich-type='markup'], [data-testid='blob-viewer-content'] .file-content.md");return/gitlab/i.test(t)&&r||Va()?{platform:"gitlab",siteName:location.hostname,readmeSelectors:["[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md","[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'] .file-content.md","[data-testid='blob-viewer-content'] .file-content.md",".blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md",".blob-viewer[data-path='README.md'] .file-content.md",".blob-content .file-content.md",".blob-content .js-markup-content.md",".blob-content .markdown-body",".readme-holder .md",".readme-holder .wiki",".readme-holder [data-testid='readme-content']",".file-holder.readme-holder .md",".file-holder.readme-holder .wiki"],descriptionSelectors:[".project-information .project-description",".project-home-panel .project-description",".project-home-panel p"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*GitLab.*$/i,"")}}:/^GitHub\s+-\s+[^\s/]+\/[^\s:]+/i.test(t)||document.querySelector("[data-testid='repository-container-header'], strong[itemprop='name'] a, h1 strong[itemprop='name']")||Ka(".js-repo-pjax-container, [data-pjax], .repository-content, .js-repo-content .markdown-body")?{platform:"github",siteName:"GitHub",readmeSelectors:["#readme article.markdown-body","#readme [data-testid='readme-content']","#readme .markdown-body","[data-testid='readme'] article.markdown-body","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']","[aria-label='README'] article.markdown-body","[aria-labelledby='readme'] article.markdown-body","article.markdown-body[itemprop='text']","article.markdown-body"],descriptionSelectors:["[data-testid='repository-description']","[itemprop='about']",".BorderGrid-cell p.f4",".repository-content .f4.my-3",".repository-meta-content"],titleCleaner:function(e){return e.replace(/^GitHub -\s*/i,"").replace(/\s*[·|-]\s*GitHub$/i,"")}}:/gitea|forgejo/i.test(t)||document.querySelector(".repository .repo-description, .repository #repo-files-table, .repository .file-view.markup.markdown, .repository .markup.markdown")||Ka(".repository, .file-view, .ui.container .repository")?{platform:"gitea",readmeSelectors:[".repository #readme .markdown",".repository #readme .markup.markdown",".repository .file-view.markup.markdown",".repository .markup.markdown","#readme .markdown",".file-content.markup.markdown"],descriptionSelectors:[".repository .repo-description",".repo-description",".repository-summary .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*(Gitea|Forgejo|Codeberg).*$/i,"")}}:/bitbucket/i.test(t)||document.querySelector("[data-testid='repo-overview-description'], [data-testid='repository-readme'], [data-testid='readme-content']")||Ka(".bitbucket-header, [data-module='repo']")?{platform:"bitbucket",siteName:"Bitbucket",readmeSelectors:["[data-testid='repository-readme'] [data-testid='readme-content']","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']",".readme-content .markdown-body",".readme-content",".markdown-body"],descriptionSelectors:["[data-testid='repo-overview-description']","[data-testid='repository-description']"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*Bitbucket.*$/i,"")}}:/sourcehut|sr\.ht/i.test(t)||Ka("#repo-summary, .repo-summary, .repo-nav, .repo-header, #readme")?{platform:"sourcehut",siteName:"sourcehut",readmeSelectors:["#readme article.markdown-body","#readme .markdown-body","#readme .markdown","#readme article","#readme"],descriptionSelectors:["#repo-summary p",".repo-summary p",".repo-summary",".repo-header .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*sourcehut.*$/i,"")}}:null}function Qa(e){var r=Ya(e);return r&&Ja(r)?Xa(r,e,function(e){for(var r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(i&&t(i.textContent)&&!i.closest("[data-testid='issue-body'], [data-testid='comment-body'], .js-comment-container, .timeline-comment, .comment, .issue-content, .pullrequest-description, .pull-request-description"))return i}return null}(r.readmeSelectors)):null}function el(e){return e&&e.querySelector("[data-testid='comment-body'], .comment-body, .js-comment-body, .markdown-body[itemprop='text'], [itemprop='text']")}function tl(e){var r=e&&e.querySelector("a.author, [data-testid='comment-author'], a[data-hovercard-type='user']");return t(r&&r.textContent||"").replace(/^@/,"")}function rl(e){var r=e.querySelector("[data-testid='issue-comment-count'], [data-testid='discussion-comment-count'], .js-discussion .comment-count"),n=t(r&&r.textContent||"").match(/^(\d[\d,]*)\s+(?:comments?|replies)$/i);return n?Number(n[1].replace(/,/g,"")):null}function nl(e){var r=e.querySelector("[data-testid='reaction-count'], [data-testid='vote-count']"),n=t(r&&r.textContent||"");return/^-?\d[\d,]*$/.test(n)?Number(n.replace(/,/g,"")):null}function ol(e){var r=el(e);if(!r||!t(r.textContent))return"";var n=Pe(r);return Ne(n,".js-comment-actions, .timeline-comment-actions, .reaction-summary-item, [aria-label='Add reaction']"),It(Qt(n.innerHTML))}function il(e){var r=function(){if(!Ee(/(^|\.)github\.com$/))return null;var e=(location.pathname||"").split("/").filter(Boolean);return 4===e.length&&/^[\w.-]+$/.test(e[0])&&/^[\w.-]+$/.test(e[1])&&/^\d+$/.test(e[3])?-1===["issues","pull","discussions"].indexOf(e[2])?null:{community:e[0]+"/"+e[1],kind:e[2]}:null}();if(!r)return null;var n=document.querySelector("[data-testid='issue-viewer-issue-container'], #discussion_bucket, .js-discussion, .discussion-timeline");if(!n)return null;var o=function(e){for(var t=Array.prototype.slice.call(e.querySelectorAll(".js-comment-container, .timeline-comment, [data-testid='issue-comment'], .discussion-comment")),r=0;r<t.length;r+=1)if(el(t[r])&&tl(t[r]))return t[r];return null}(n),i=ol(o);if(!i)return null;var a=t(u(["[data-testid='issue-title']","#issue_title",".js-issue-title","main h1","h1"])||e.title||document.title),l=tl(o);if(!a||!l)return null;var s=function(e,r){var n=[];return Array.prototype.slice.call(e.querySelectorAll(".js-comment-container, .timeline-comment, [data-testid='issue-comment'], .discussion-comment")).forEach(function(e){if(e!==r){var o=ol(e);if(o){var i=tl(e),a=/\b(?:accepted answer|answer marked as accepted)\b/i.test(t(e.textContent||""))||!!e.querySelector("[data-testid='accepted-answer'], [aria-label*='accepted']");n.push({node:e,author:i,markdown:o,accepted:a})}}}),n}(n,o),c=["# "+a,"- Author: "+l,"- "+("pull"===r.kind?"Pull Request":"discussions"===r.kind?"Discussion":"Issue")+": "+r.community,"## Opening",i];s.length&&c.push("## Comments"),s.forEach(function(e){var t=e.accepted?"Accepted answer":"Comment";e.author&&(t+=" by "+e.author),c.push("### "+t,e.markdown)});var d=[o].concat(s.map(function(e){return e.node}));return{title:a,byline:l,excerpt:t(el(o).textContent),siteName:"GitHub",publishedTime:e.publishedTime,html:d.filter(Boolean).map(function(e){return e.outerHTML}).join("\n"),markdown:c.join("\n\n"),textContent:t([a,i].concat(s.map(function(e){return e.markdown})).join(" ")),hostAware:!0,readerMode:!1,contentType:"social",socialKind:"thread",platform:"GitHub",handle:l,replyCount:rl(n),community:r.community,score:nl(o)}}function al(e){var r=function(){var e,r=[],n=[],o=/\b(?:financial statements?|condensed consolidated|consolidated statements?|balance sheets?|income statements?|cash flows?|earnings(?: release)?|quarterly report|annual report|shareholder letter|form\s*(?:10-k|10-q|8-k)|sec filing)\b/i;function i(e,i,a){var l=t([i,a].join(" "));e&&-1===n.indexOf(e)&&o.test(l+" "+e)&&(n.push(e),r.push({url:e,label:t(i)||e}))}return/\b(?:financial statements?|investor relations|earnings(?: release)?|quarterly report|annual report|shareholder letter|balance sheets?|income statements?|cash flows?|form\s*(?:10-k|10-q|8-k)|sec filing)\b/i.test((e=document.querySelector("article, main")||document.body,t([document.title,L("description","name"),L("article:section","property"),location.pathname,e&&e.textContent].join(" ")).slice(0,5e3)))?(document.querySelectorAll("a[href]").forEach(function(e){var r,n=e.getAttribute("href")||"";try{r=new URL(n,location.href)}catch(e){return}var a=r.pathname||"",l=t(e.textContent||e.getAttribute("aria-label")||e.getAttribute("title")||""),s=t((e.closest("p, li, figure, figcaption, section, article, div")||e).textContent||"").slice(0,500);/\.(?:pdf|xlsx?|csv)(?:$|[?#])/i.test(a)&&o.test(l+" "+s+" "+a)&&i(r.href,l,s)}),document.querySelectorAll("figure img[src], picture img[src], img[src]").forEach(function(e){var r=e.closest("figure, picture, section, article, div")||e,n=t(e.getAttribute("alt")||e.getAttribute("aria-label")||"Financial statement image"),a=t(r.textContent||n).slice(0,500);if(o.test(n+" "+a))try{i(new URL(e.getAttribute("src"),location.href).href,n,a)}catch(e){}}),r):r}();if(!r.length)return e;var n=e||"";if(/^## Financial Statement Links$/m.test(n))return e;var o=r.map(function(e){return"- ["+(e.label||"Financial statement")+"]("+e.url+")"});return n.replace(/\s+$/g,"")+"\n\n## Financial Statement Links\n\n"+o.join("\n")}function ll(e,r){var n=Array.prototype.slice.call((e||document).querySelectorAll("dt")),o=[];return n.forEach(function(e){if(new RegExp("^"+r+"s?:?$","i").test(t(e.textContent||"")))for(var n=e.nextElementSibling;n&&n.tagName&&"dd"===n.tagName.toLowerCase();){var i=t(n.textContent||"");i&&-1===o.indexOf(i)&&o.push(i),n=n.nextElementSibling}}),o.join("; ")||null}function sl(e){var r=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!r||!Qn(r,r.textContent||""))return null;var n=Pe(r),o=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),i=document.createElement("h1");i.textContent=o,n.insertBefore(i,n.firstChild),ze(n);var a=It(Qt(n.innerHTML)).replace(/\n{3,}/g,"\n\n").trim(),l=t(a||n.textContent||"");return l.length<200?null:{title:o||e.title||document.title,byline:null,excerpt:e.excerpt||l.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:n.innerHTML,markdown:a,textContent:l,readerMode:!1,contentType:"list",hostAware:!0}}function cl(e){var r=Array.prototype.slice.call(document.querySelectorAll(["#extracted-content #main-content","#extracted-content",".wex-content",".node-wex-term","[class*='legal-reference' i]","[class*='encyclopedia-entry' i]"].join(", "))),o=null;if(r.some(function(e){return!(!e||!e.querySelector("h1")||n(e)<500)&&(!!e.querySelector("p")&&(o=e,!0))}),!o)return null;var i=Array.prototype.slice.call(o.querySelectorAll("a[href]")).slice(0,40).map(function(e){return(e.getAttribute("href")||"")+" "+t(e.textContent||"")}).join(" "),a=t([e.siteName||"",e.title||"",document.title||"",o.id||"",o.className||"",i].join(" ")),l=/\b(?:law|legal|court|courts|statute|regulation|jurisdiction|litigation|plaintiff|defendant|claim|judgment|preclusion|rule|rights?)\b/i.test(a),s=/\b(?:wex|encyclopedia|definition|definitions|reference|glossary|term)\b/i.test(a)||/\/wex\//i.test(a);return l&&s?Ze(e,o,{title:function(r,n){return t((n.querySelector("h1")||o.querySelector("h1")||{}).textContent||e.title||document.title)},byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,cleanupRoot:!1,cleanupMarkdown:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll(["aside","nav","[role='complementary']","[id*='related' i]","[class*='related' i]","[id*='recommended' i]","[class*='recommended' i]"].join(", ")).forEach(function(e){e.remove()})}}):null}function ul(){return ll(document,"Publication Date")||u(["#metadata_content_area .metadata a[href*='/documents/']"])}function dl(){return ll(document,"Agencies")||t(Array.prototype.slice.call(document.querySelectorAll("#metadata_content_area .metadata .agencies a, h6.agency, h6.sub-agency")).map(function(e){return t(e.textContent||"")}).filter(function(e,t,r){return e&&r.indexOf(e)===t}).join("; "))||null}function ml(e){if(!Ee(/(^|\.)federalregister\.gov$/i))return null;if(!/^\/documents\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||""))return null;var r=u(["#metadata_content_area > h1","meta[name='title']"],"content")||t(e&&e.title||document.title||"").replace(/^Federal Register\s*::\s*/i,""),o=ll(document,"Document Type")||u([".main-title-bar h1"]),i=document.querySelector(".document-content, #document-content, .doc-content, .article, #fulltext_content_area")||document.querySelector("#agency")&&document.querySelector("#agency").parentElement;if(!i||n(i)<250)return null;var a=t(o||"");return/\b(?:notice|proposed rule|rule|presidential document)\b/i.test(a)?Ze(e,i,{title:r,byline:dl,publishedTime:ul,siteName:e.siteName||"Federal Register",contentType:"notice",minTextLength:250,rewriteRoot:function(e){e.querySelectorAll(["script","style","nav","aside","form",".fr-seal-meta",".document-clipping-actions",".copy-to-clipboard","[class*='tooltip' i]","[class*='share' i]"].join(", ")).forEach(function(e){e.remove()})},validateMarkdown:function(e,t){return/\b(?:AGENCY|ACTION|SUMMARY|DATES|SUPPLEMENTARY INFORMATION):/i.test(t)||/\bFederal Register\b/i.test(t)}}):null}function pl(e){if(!Ee(/(^|\.)gov\.uk$/i))return null;if(!/^\/guidance\//i.test(location.pathname||""))return null;var r=document.querySelector(".gem-c-contents-list-with-body")||document.querySelector(".gem-c-govspeak .govspeak");if(!r||n(r)<500)return null;var o,i,a=(o=r,(i=Array.prototype.slice.call((o||document).querySelectorAll(".gem-c-contents-list a, [aria-label='Contents'] a, a[href^='#']")).map(function(e){var r=t(e.textContent||""),n=e.getAttribute("href")||"";return r&&/^#/.test(n)?"- ["+r+"]("+n+")":null}).filter(Boolean)).length?"## Contents\n\n"+i.join("\n"):null);return Ze(e,r,{title:u([".gem-c-heading__text","main h1","h1"])||e.title||document.title,byline:function(){return ll(document,"From")||e.byline||null},publishedTime:e.publishedTime||u(["meta[name='govuk:first-published-at']"],"content"),siteName:e.siteName||"GOV.UK",minTextLength:500,cleanupRoot:!1,rewriteRoot:function(e){e.querySelectorAll("nav.gem-c-contents-list, nav[aria-label='Contents']").forEach(function(e){var t=document.createElement("div");Array.prototype.slice.call(e.childNodes).forEach(function(e){t.appendChild(e)}),e.parentNode.replaceChild(t,e)}),e.querySelectorAll(["script","style","form",".gem-c-print-link",".gem-c-single-page-notification-button",".published-dates-button-group","[data-sticky-element]"].join(", ")).forEach(function(e){e.remove()})},postProcessMarkdown:function(e,r){if(/^##\s+Contents\b/m.test(e))return e;if(a)return a+"\n\n"+e;var n=Array.prototype.slice.call(r.querySelectorAll(".gem-c-contents-list a, [aria-label='Contents'] a, a[href^='#']")).map(function(e){var r=t(e.textContent||""),n=e.getAttribute("href")||"";return r&&/^#/.test(n)?"- ["+r+"]("+n+")":null}).filter(Boolean);return n.length?"## Contents\n\n"+n.join("\n")+"\n\n"+e:e},validateMarkdown:function(e,t){return/^#\s+/m.test(e)||t.length>=500}})}function hl(e){if(!Ee(/(^|\.)courtlistener\.com$/i))return null;if(!/^\/opinion\/\d+\//i.test(location.pathname||""))return null;var r=document.querySelector("#opinion-content, .opinion-content, [data-testid='opinion-content'], article .opinion")||document.querySelector("article")||document.querySelector("main");return!r||n(r)<700?null:Ze(e,r,{title:t((document.querySelector("main h1, article h1, h1")||{}).textContent||e.title||document.title),byline:function(){return u([".author",".judge",".judges","[class*='judge' i]"])||null},siteName:e.siteName||"CourtListener",minTextLength:700,rewriteRoot:function(e){e.querySelectorAll(["script","style","nav","aside","form",".sidebar",".breadcrumb",".breadcrumbs",".alert",".btn",".share",".citation-links",".download-menu","[class*='citation' i]","[class*='download' i]","[class*='related' i]"].join(", ")).forEach(function(e){e.remove()})},validateMarkdown:function(e,t){return/\b(?:v\.|versus|plaintiff|defendant|appellant|appellee|court|appeal|opinion|judgment)\b/i.test(t)},extra:{legalOpinion:!0}})}function fl(e,r){var n=e.querySelector("#container, #paddingLR12, main, body"),o=t(n&&n.textContent||"").slice(0,2e4),i=t([r&&r.title,e.title,(e.querySelector("h1")||{}).textContent].join(" ")),a=Ln({root:n,text:o,title:i});return/\b(?:code|act|statute|regulation|ordinance)\b/i.test(i)&&a.profileOfficialTextSignals&&/\b(?:section|article)\s*\d+[a-z]?\b/i.test(o)}function gl(e){var r=document,n=r.querySelector("#container, #paddingLR12");if(!n||!fl(r,e))return null;t(n.textContent||"");var o,i,a,l,s=n.querySelector("table")||r.querySelector("#paddingLR12 table, table");if(s&&/\bSection\s*1/i.test(s.textContent||"")){var c=(o=r,i=Array.prototype.slice.call(o.querySelectorAll("a[href]")),a=new URL(location.href),l=null,i.some(function(e){var r,n=e.getAttribute("href")||"",o=t(e.textContent||e.getAttribute("title")||"");try{r=new URL(n,location.href)}catch(e){return!1}return r.origin===a.origin&&!!/\.html?(?:$|#)/i.test(r.pathname+r.hash)&&!(!/^(?:html|full text|full text in format html)$/i.test(o)&&!/\/[^/]+\.html?$/i.test(r.pathname))&&r.pathname!==a.pathname&&(l=r.href.replace(/#.*/,""),/^(?:html|full text|full text in format html)$/i.test(o))}),l),u=c&&function(e){var t=new XMLHttpRequest;try{return t.open("GET",e,!1),t.send(null),t.status<200||t.status>=300||!t.responseText?null:(new DOMParser).parseFromString(t.responseText,"text/html")}catch(e){return null}}(c);u&&fl(u,e)&&(r=u)}var d=r.getElementById("paddingLR12")||r.getElementById("container")||r.querySelector("#paddingLR12, #container");if(!d)return null;var m=t((r.querySelector("h1")||document.querySelector("h1")||{}).textContent||e.title||document.title);return Ze(e,d,{title:m||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:400,postProcessMarkdown:function(e){return e.replace(/\n{3,}/g,"\n\n").trim()},rewriteRoot:function(e){e.querySelectorAll("script, style, form, nav, .noprint, #toc, table").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='index.html#'], a[href*='index.htm#']").forEach(function(e){var r=e.closest("p, div, li")||e;/^table of contents$/i.test(t(r.textContent||""))&&r.remove()})},validateMarkdown:function(e,t){return/\bSection\s*1/i.test(t)&&/\bSection\s*2/i.test(t)},extra:{legalProvision:!0}})}function yl(e){var r=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!r)return null;var n=t(r.textContent||""),o=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),i=t((document.querySelector("#page_title, #pageTitle, h1")||{}).textContent||e.title||document.title),a=t([i,document.title,location.pathname].join(" ")),l=Ln({text:n,title:a,path:location.pathname||""}),s=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(a)||l.sectionOrArticleMarker;return n.length<250||!o||!s||l.numberedClauses<2?null:Ze(e,r,{title:i||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:250,extra:{legalProvision:!0}})}function bl(e){var r=document.querySelector("#main-article .article-content, #main-content .article-content, .article-content.retro-folders");if(!r)return null;var n=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){return/\/pmwiki\/pmwiki\.php\/Main\//i.test(e.getAttribute("href")||"")}).length;return r.querySelectorAll("li").length<20||n<10?null:Be(e,r,{title:u(["#main-article h1","#main-content h1","h1"])||t((e.title||document.title).replace(/\s*-\s*TV Tropes\s*$/i,"")),byline:null,publishedTime:null,minTextLength:1200,rewriteRoot:function(e){["#modal_overlay",".modal_overlay","script","style","iframe",".ad-unit","[id*='ad-']","[class*='ad-']","[class*='advert']","[class*='watch']"].forEach(function(t){e.querySelectorAll(t).forEach(function(e){e.remove()})})}})}function vl(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var r=Ee(/(^|\.)wikipedia\.org$/),n=Ee(/(^|\.)wiktionary\.org$/);if(r||n)return null;var o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#mw-content-text");return o?Be(e,o,{title:u(["#firstHeading",".mw-first-heading","h1.firstHeading","h1"])||t((e.title||document.title).replace(/\s*[-|–]\s*(Wiktionary|Wikipedia|Wiki).*$/i,"")),byline:e.byline,minTextLength:30,rewriteRoot:function(e){e.querySelectorAll(".mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .navbox, .navbox-styles, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .sistersitebox, .mw-authority-control, .mw-headline-anchor").forEach(function(e){e.remove()}),e.querySelectorAll("table.navbox, table.collapsible, .navbox, .footer-nav, .portal-bar, .portal, .succession-box").forEach(function(e){e.remove()}),e.querySelectorAll("#External_links, #References, #Notes, #See_also, #Further_reading").forEach(function(e){var t=e.closest("section, div");t&&t.remove()})}}):null}function wl(e){if(!Ee(/(^|\.)fandom\.com$/)||!document.querySelector(".mw-parser-output, .page-content, #content"))return null;var r=document.querySelector(".mw-parser-output")||document.querySelector(".page-content")||document.querySelector("#content");return r?Be(e,r,{title:u(["h1.page-header__title","#firstHeading","h1"])||t((e.title||document.title).replace(/\s*\|\s*.*Wiki\s*\|\s*Fandom$/i,"")),byline:e.byline,minTextLength:40,rewriteRoot:function(e){e.querySelectorAll(".navbox, table.navbox, .navbox-styles, .portable-infobox, .pi-collapse, .mw-editsection, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-empty-elt, .page-footer, .article-footer, .fandom-community-header, .mcf-card-header, .mcf-card-footer, .mcf-card, .page-header__categories, .article-categories, .wds-button-group, .fandom-sticky-header").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='auth.fandom.com'], a[href*='fandom.com/signin'], a[href*='fandom.com/register']").forEach(function(e){var r=e.closest("div, span, li, p");r&&t(r.textContent||"").length<120?r.remove():e.remove()}),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=e.querySelector("th, td, caption"),i=o?t(o.textContent||""):"";if(n>=10&&/^(characters|items|locations|enemies|weapons|quests|episodes|levels|bosses|creatures|missions|npcs|monsters|equipment|fishes?|fish of|cast of)\b/i.test(i))e.remove();else if(!e.querySelector("p, h2, h3, h4, blockquote, pre")&&n>=15){if(n/(e.querySelectorAll("tr").length||1)>3)return void e.remove();if(n>=30&&r.length>300)if(n/r.split(/\s+/).length>.15)return void e.remove()}})}}):null}function xl(e){if(!/(^|\.)(stackexchange\.com|stackoverflow\.com|superuser\.com|serverfault\.com|askubuntu\.com|stackapps\.com|mathoverflow\.net)$/.test(location.hostname)||!/\/questions\//.test(location.pathname||""))return null;var r=document.querySelector(".question, #question, #mainbar, [data-questionid]"),n=u(["h1 a.question-hyperlink",".question-header h1","#question-header h1","main h1","h1[itemprop='name']"])||t((e.title||document.title).replace(/\s*[-|]\s*.+?Stack Exchange$/i,"").replace(/\s*[-|]\s*Stack Overflow$/i,"")),o=document.querySelector(".question .js-post-body, .question .s-prose, #question .js-post-body, #question .s-prose, .postcell .js-post-body, .postcell .s-prose, [data-questionid] .js-post-body, [data-questionid] .s-prose"),i="";if(o){var a=Pe(o);ze(a),i=Qt(a.innerHTML)}i||(i=u([".question .js-post-body",".question .s-prose","#question .js-post-body","#question .s-prose",".postcell .js-post-body",".postcell .s-prose","[data-questionid] .js-post-body","[data-questionid] .s-prose"]));var l=u([".question .user-details a","#question .user-details a",".postcell .user-details a","[data-questionid] .user-details a"]),s=Array.prototype.slice.call(document.querySelectorAll(".answer, .js-answer, [data-answerid]")).map(function(e){var r=t(((e.querySelector(".js-vote-count, .vote-count-post")||{}).textContent||"0").replace(/[^\d-]+/g,"")),n=parseInt(r||"0",10),o=t((e.querySelector(".user-details a")||{}).textContent||""),i=e.querySelector(".js-post-body, .s-prose"),a="";if(i){var l=Pe(i);ze(l),a=Qt(l.innerHTML)}a||(a=t((e.querySelector(".js-post-body, .s-prose")||{}).innerText||""));var s=e.matches(".accepted-answer")||!!e.querySelector(".js-accepted-answer-indicator, .accepted-answer, [data-accepted='true']");return{score:isNaN(n)?0:n,author:o,body:a,accepted:s}}).filter(function(e){return e.body.length>=40}).sort(function(e,t){return e.accepted!==t.accepted?e.accepted?-1:1:t.score-e.score});if(!n||!i&&0===s.length)return null;var c=["# "+n];l&&c.push("- Asked by: "+l),i&&c.push(i),s.length&&c.push("## Top Answers"),s.forEach(function(e,t){var r=e.author||"Answer "+(t+1);e.accepted&&(r+=" (accepted)"),e.score&&(r+=" - score "+e.score),c.push("### "+r),c.push(e.body)});var d=c.filter(Boolean).join("\n\n");return{title:n,byline:l||e.byline,excerpt:i||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r?r.outerHTML:"",markdown:d,textContent:t(d),readerMode:!1,contentType:"social",socialKind:"thread",platform:/(^|\.)stackoverflow\.com$/.test(location.hostname)?"Stack Overflow":"Stack Exchange",handle:l||null,replyCount:Sl(r),community:Al(e),score:kl(r)}}function Sl(e){var r=e.querySelector(".js-answer-count, [data-answercount]"),n=t(e.getAttribute("data-answercount")||r&&(r.getAttribute("data-answercount")||r.textContent)||"").match(/^(\d[\d,]*)\s*(?:answers?)?$/i);return n?Number(n[1].replace(/,/g,"")):null}function kl(e){var r=e.querySelector(".js-vote-count, .vote-count-post, [itemprop='upvoteCount']"),n=t(r&&(r.getAttribute("data-value")||r.getAttribute("content")||r.textContent)||"");return/^-?\d[\d,]*$/.test(n)?Number(n.replace(/,/g,"")):null}function Al(e){var r=t(e.title||document.title||"").match(/[-|]\s*(.+?(?:Stack Exchange|Stack Overflow|Super User|Server Fault|Ask Ubuntu|MathOverflow))\s*$/i);return r?t(r[1]):null}function Cl(e){return"/item"===(location.pathname||"")&&_("id")&&document.querySelector("tr.athing .titleline, table.comment-tree tr.comtr .commtext")?function(e){var r=ql(document.querySelector("tr.athing")),n=Array.prototype.slice.call(document.querySelectorAll("table.comment-tree tr.comtr")).map(function(e){var r=e.querySelector(".commtext"),n=t(r&&r.textContent||""),o=!!e.querySelector(".deadmark")||/\[(?:deleted|dead)\]/i.test(n),i=e.querySelector("td.ind img"),a=Number(i&&i.getAttribute("width")||0),l=t((e.querySelector(".hnuser")||{}).textContent||""),s=t((e.querySelector(".age")||{}).textContent||""),c=r?Qt(r.innerHTML).trim():"";return c||o?{author:l,age:s,depth:Math.max(0,Math.round(a/40)),deleted:o,markdown:c||"[deleted]",text:n||"[deleted]",html:e.outerHTML}:null}).filter(Boolean);if(!r&&0===n.length)return null;var o=n[0],i=r?r.title:"Comment by "+(o.author||"deleted user"),a=["# "+i],l=[],s=document.querySelector(".toptext");r&&r.url&&l.push("- Story: ["+r.title+"]("+r.url+")");r&&r.author&&l.push("- Author: "+r.author);r&&r.age&&l.push("- Published: "+r.age);r&&null!==r.score&&l.push("- Score: "+r.score);r&&null!==r.replyCount&&l.push("- Replies: "+r.replyCount);l.length&&a.push(l.join("\n"));s&&a.push(Qt(s.innerHTML).trim());n.length&&a.push("## Comments\n\n"+function(e){return e.map(function(e){var t=Math.min(6,3+e.depth),r=e.deleted?"Deleted comment":e.author||"Comment";return e.age&&(r+=" ("+e.age+")"),Array(t+1).join("#")+" "+r+"\n\n"+e.markdown}).join("\n\n")}(n));var c=a.filter(Boolean).join("\n\n").trim(),u=r&&null!==r.replyCount?r.replyCount:n.some(function(e){return e.depth>0})?n.filter(function(e){return e.depth>0}).length:null;return{title:i,byline:r&&r.author||o&&o.author||null,excerpt:t(s&&s.textContent||o&&o.text||e.excerpt||""),siteName:"Hacker News",publishedTime:null,html:(r?r.html:"")+n.map(function(e){return e.html}).join("\n"),markdown:c,textContent:t(c),readerMode:!1,hostAware:!0,contentType:"social",socialKind:u?"thread":"post",platform:"Hacker News",handle:r&&r.author||o&&o.author||null,replyCount:u,score:r&&r.score}}(e):(r=location.pathname||"/",/^\/(?:|front|newest|best|ask|show|jobs)$/.test(r)&&(document.querySelectorAll("table.itemlist tr.athing .titleline").length>=3||document.querySelectorAll("table#hnmain tr.athing .titleline").length>=3)?function(e){var r=document.querySelectorAll("table.itemlist tr.athing");r.length<3&&(r=document.querySelectorAll("table#hnmain tr.athing"));var n=Array.prototype.slice.call(r).map(ql).filter(Boolean);if(n.length<3)return null;var o=t((document.querySelector(".pagetop b, .pagetop a.topsel")||{}).textContent||""),i="# "+(o||e.title||"Hacker News")+"\n\n"+n.map(function(e){var t=[];return null!==e.score&&t.push(e.score+" points"),e.author&&t.push("by "+e.author),e.age&&t.push(e.age),"- ["+e.title+"]("+e.url+")"+(t.length?" - "+t.join(" - "):"")}).join("\n");return{title:o||e.title||"Hacker News",byline:null,excerpt:n[0].title,siteName:"Hacker News",publishedTime:null,html:n.map(function(e){return e.html}).join("\n"),markdown:i,textContent:t(i),readerMode:!1,hostAware:!0,contentType:"social",socialKind:"feed",platform:"Hacker News",community:o||null}}(e):null);var r}function ql(e){if(!e)return null;var r=e.querySelector(".titleline > a, a.titlelink"),n=t(r&&r.textContent||"");if(!n)return null;var i=e.nextElementSibling||document.createElement("tr"),a=i.querySelector(".subtext")||e.querySelector(".subtext"),l=t(a&&a.textContent||""),s=l.match(/\b(\d+)\s+points?\b/i),c=l.match(/\b(\d+)\s+comments?\b/i),u=t((a&&a.querySelector(".hnuser")||{}).textContent||""),d=t((a&&a.querySelector(".age")||{}).textContent||""),m=!!e.querySelector(".deadmark")||/\[dead\]/i.test(l);return{title:m?"[dead] "+n:n,url:o(r&&r.getAttribute("href")||""),author:u,age:d,score:s?Number(s[1]):null,replyCount:c?Number(c[1]):null,dead:m,html:e.outerHTML+(i.outerHTML||"")}}function Tl(){var e=(location.pathname||"").split("/").filter(Boolean);if(e[0]&&"@"===e[0].charAt(0))return e[0]+"@"+location.hostname;var r=t((document.querySelector("main")||{}).textContent||"").match(/@?[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/);return r?"@"===r[0].charAt(0)?r[0]:"@"+r[0]:""}function _l(){var e=Array.prototype.slice.call(document.querySelectorAll(".status, .status-public, .status__wrapper, article.status-public, .detailed-status__wrapper"));return Array.prototype.slice.call(document.querySelectorAll(".status__content, .status__content__text")).forEach(function(t){var r=t.closest("article, .status-public, .status__wrapper, .detailed-status__wrapper");r&&e.indexOf(r)<0&&e.push(r)}),e.filter(function(t,r){return!t.closest("footer, nav")&&e.indexOf(t)===r})}function El(e){return e.map(function(e){var t=Pe(e);return t?(ze(t),t.querySelectorAll(".status__action-bar, .status__prepend, .status__prepend-icon, .status__reblog, .invisible, .ellipsis, [aria-hidden='true']").forEach(function(e){e.remove()}),t.outerHTML):""}).filter(Boolean).join("\n")}function jl(e){var r=function(e){var r=e.querySelector(".status__content__text, .status__content")||e,n=Pe(r);if(n){ze(n),n.querySelectorAll(".status__action-bar, .status__prepend, .status__prepend-icon, .status__reblog, .invisible, .ellipsis, [aria-hidden='true'], button, time").forEach(function(e){e.remove()});var o=Qt(n.innerHTML);if(t(o).length>=20)return o.trim()}return t(r.textContent)}(e);return!r||t(r).length<20||/^(profiles directory|keyboard shortcuts|view source code|about mastodon|get the app)$/i.test(t(r))?null:{author:K(e,[".detailed-status__display-name",".status__display-name",".display-name"]),time:K(e,["time"]),body:r,node:e}}function Ll(e){if(!/^\/@[^/]+\/\d+\/?$/i.test(location.pathname||""))return null;var r=_l().map(jl).filter(Boolean);if(!r.length)return null;var n=r[0],o=r.slice(1),i=u(["meta[property='og:title']"],"content")||e.title||document.title||"Mastodon post",a=["# "+(i=t(i.replace(/\s*-\s*Mastodon\s*$/i,"")))];n.author&&a.push("- Author: "+n.author),n.time&&a.push("- Published: "+n.time),a.push(n.body),o.length&&a.push("## Replies"),o.forEach(function(e){var t=e.author||"Reply";e.time&&(t+=" ("+e.time+")"),a.push("### "+t),a.push(e.body)});var l=a.filter(Boolean).join("\n\n").trim();return t(l).length<40?null:{title:i,byline:n.author||e.byline,excerpt:t(n.body).slice(0,280)||e.excerpt,siteName:e.siteName||"Mastodon",publishedTime:e.publishedTime,html:El([n].concat(o).map(function(e){return e.node})),markdown:l,textContent:t(l),readerMode:!1,contentType:"social",socialKind:o.length?"thread":"post",platform:"Mastodon",handle:Tl()||null,replyCount:o.length||null,hostAware:!0}}function $l(e){if(!function(e){var r=t([e&&e.title,e&&e.siteName,u(["meta[name='application-name']","meta[property='og:site_name']"],"content"),document.title].join(" ")),n=document.querySelector(".detailed-status__wrapper.detailed-status__wrapper-public"),o=/mastodon/i.test(r)||!!(n&&n.querySelector(".detailed-status, .detailed-status__display-name")&&n.querySelector(".display-name__account")&&n.querySelector(".status__content__text")&&n.querySelector(".detailed-status__action-bar")),i=/^\/(?:@[^/]+|tags\/[^/?#]+|explore\/?$)/i.test(location.pathname||"");return o&&i}(e))return null;var n=Ll(e);if(n)return n;var o=(location.pathname||"").split("/").filter(Boolean),i="tags"===o[0]?o[1]:"",a="explore"===o[0],l=i||a?"":Tl(),s=u(["[class*='account_header__name'] h1",".display-name strong",".display-name b",".display-name"])||"";s&&l&&s.toLowerCase().indexOf(l.toLowerCase())>=0&&(s=t(s.replace(l,"")));var c=u(["[class*='account_bio__bio']",".account__header__content",".account__header__bio",".public-account-bio",".profile__bio","[data-testid='profile-note']"]),d=function(){var e={},r=[];return _l().forEach(function(n){var o=jl(n);if(o){var i=t(o.body).slice(0,220).toLowerCase();if(!e[i]){e[i]=!0;var a=t(o.body);o.author&&0!==a.toLowerCase().indexOf(o.author.toLowerCase())&&(a=o.author+": "+a),o.time&&(a+=" ("+o.time+")"),r.push(a)}}}),r}(),m=!!document.querySelector("[class*='account_header'], .public-account-header, .profile__header, [data-testid='profile-header']");if(!(i||a||l||s||c||0!==d.length))return null;if(i&&0===d.length)return null;/^mastodon$/i.test(s)&&l&&(s="");var p=i?"#"+r(i)+" on Mastodon":a?"Mastodon Explore":s||l||e.title||"Mastodon Profile",h=["# "+p],f=[];l&&f.push("- Handle: "+l),Array.prototype.slice.call(document.querySelectorAll("[class*='number_fields__item']")).map(function(e){var r=t(e.textContent),n=r.match(/^(Followers|Following|Posts|Joined)(.+)$/i);return n?n[1]+": "+n[2]:r}).filter(Boolean).forEach(function(e){f.push("- "+e)}),f.length&&h.push(f.join("\n")),c&&h.push(c),d.length&&h.push("## Recent Posts\n\n"+d.map(function(e){return"- "+e}).join("\n"));var g=h.filter(Boolean).join("\n\n").trim();if(t(g).length<40)return null;var y={title:p,byline:null,excerpt:c||d[0]||e.excerpt,siteName:e.siteName||"Mastodon",publishedTime:null,html:El([document.querySelector("main")]),markdown:g,textContent:t(g),readerMode:!1,contentType:m||d.length>=2?"social":"list",hostAware:!0};return"social"===y.contentType&&(y.socialKind=m?"profile":"feed",y.platform="Mastodon",l&&(y.handle=l),i&&(y.community="#"+r(i))),y}function Pl(e,r){if(!Ee(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(Ee(/(^|\.)telegra\.ph$/)){var o=document.querySelector("article, .tl_article");if(o){var i=Pe(o);if(i){dt(i,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=Qt(i.innerHTML)||t(i.textContent);if(a&&t(a).length>20)return{title:e.title||u(["h1",".tl_article_header h1"]),excerpt:e.excerpt,siteName:"Telegraph",html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article",hostAware:!0}}}return null}if(Ee(/(^|\.)telegram\.org$/))return null;var l=Ee(/(^|\.)t\.me$/)&&/^\/s\//i.test(location.pathname),s=(location.pathname||"").split("/").filter(Boolean);if(l&&(s=s.slice(1)),s=s[0]||"",l){var c=u([".tgme_channel_info_header_title",".tgme_header_title","h1"])||e.title||s,d=document.querySelector(".tgme_channel_info_description"),m=d?t(d.textContent):"",p=u([".tgme_channel_info_header_username"]),h=document.querySelector(".tgme_channel_info_header_username[href*='t.me/']");!p&&h&&(p=(h.getAttribute("href")||"").match(/t\.me\/([^/?#]+)/i)),Array.isArray(p)&&(p=p[1]),p&&"@"!==p.charAt(0)&&(p="@"+p);var f=(location.pathname||"").match(/^\/s\/([^/]+)\/(\d+)\/?$/i),g=f&&(f[1]+"/"+f[2]).toLowerCase(),y=Array.prototype.slice.call(document.querySelectorAll(".tgme_widget_message[data-post], .tgme_widget_message")).map(function(e){var r=e.getAttribute("data-post")||"";if(!r){var n=e.querySelector(".tgme_widget_message_date[href]")||e.querySelector("a[href*='t.me/']"),o=n&&(n.getAttribute("href")||"").match(/t\.me\/([^/?#]+)\/(\d+)\/?(?:[?#].*)?$/i);o&&(r=o[1]+"/"+o[2])}var i=Pe(e.querySelector(".tgme_widget_message_text, .js-message_text")),a=i?Qt(i.innerHTML)||t(i.textContent):"";if(!t(a))return null;var l=e.querySelector(".tgme_widget_message_date time, time");return{post:r,author:K(e,[".tgme_widget_message_author",".tgme_widget_message_owner_name"]),time:l?l.getAttribute("datetime")||t(l.textContent):"",markdown:a,html:e.outerHTML}}).filter(Boolean),b=f&&y.filter(function(e){return e.post.toLowerCase()===g})[0];if(b){var v=["# "+c];p&&v.push("- Channel: "+p),b.author&&v.push("- Author: "+b.author),b.time&&v.push("- Published: "+b.time),v.push(b.markdown);var w=v.join("\n\n");return{title:c,byline:b.author||c,excerpt:t(b.markdown).slice(0,280)||e.excerpt,siteName:"Telegram",publishedTime:b.time||e.publishedTime,html:b.html,markdown:w,textContent:t(w),readerMode:!1,contentType:"social",socialKind:"post",platform:"Telegram",handle:p||null,community:p||null,hostAware:!0}}if(!f&&y.length>=2){var x=["# "+c];p&&x.push("- Channel: "+p),m&&x.push(m),y.forEach(function(e){x.push("## "+(e.time||e.author||"Telegram post")),x.push(e.markdown)});var S=x.join("\n\n");return{title:c,excerpt:m||t(y[0].markdown).slice(0,280)||e.excerpt,siteName:"Telegram",html:y.map(function(e){return e.html}).join("\n"),markdown:S,textContent:t(S),readerMode:!1,contentType:"social",socialKind:"feed",platform:"Telegram",handle:p||null,community:p||null,hostAware:!0}}var k=document.querySelector(".tgme_channel_history, .tgme_body, main");if(k){var A=Pe(k);if(A){dt(A,"a, span, div, i",/^(view in telegram|preview channel|join|open|if you have telegram|you can contact|you can view and join|load more)$/i);var C=Qt(A.innerHTML)||t(A.textContent);if(C&&t(C).length>50){var q=document.querySelectorAll(".counter_value"),_=q.length>0?t(q[0].textContent):"",E=[];E.push("# "+c);var j=["- Platform: Telegram"];_&&j.push("- "+_+" subscribers"),e.image&&j.push("- Image: "+e.image),E.push(j.join("\n")),m&&E.push(m),E.push("---\n\n"+C);var L=E.join("\n\n");return{title:c,excerpt:m||e.excerpt,siteName:"Telegram",html:A.innerHTML,markdown:L,textContent:t(L),readerMode:!1,contentType:"article",hostAware:!0}}}}}var $=u([".tgme_page_title",".tgme_channel_info_header_title","h1"])||e.title||s,P=document.querySelector(".tgme_page_description"),N=(P?t(P.textContent):"")||e.excerpt||"";/you can contact .+ right away|if you have telegram/i.test(N)&&(N="");var z=document.querySelector(".tgme_page_extra"),M=(z?t(z.textContent):"").match(/([\d\s,.]+)\s*(?:subscribers?|members?|online)/i)||n.match(/([\d\s,.]+)\s*(?:subscribers?|members?|подписчик|участник)/i),R=["Platform: Telegram"];return M&&R.push(t(M[1])+" subscribers"),e.image&&R.push("Image: "+e.image),N||$?T({title:$,description:N||"Telegram channel. View in Telegram for full content.",details:R,siteName:"Telegram",hostAware:!0}):null}function Nl(e){return zl(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-post, article[data-post-id], [data-post-id].topic-post")),n=[],o=[],i={},a=t(u([".fancy-title","#topic-title h1",".topic-title h1","main h1","article h1","h1"])||e.title||document.title);return r.forEach(function(e){var r=e.querySelector(".cooked, .post-body");if(r){var a=t(r.innerText||r.textContent||"");if(a){var l=a.slice(0,240);if(!i[l]){i[l]=!0;var s=function(e){var r=e.querySelector(".topic-meta-data [data-user-card], .main-avatar[data-user-card], [data-user-card], .topic-meta-data .names .username, .topic-meta-data .username, .names .username, .creator a, .poster a"),n=t(r&&(r.getAttribute("data-user-card")||r.textContent)||"");n=n.replace(/^@/,"");var o=e.querySelector(".topic-meta-data time, .topic-meta-data .relative-date, .post-meta time, time"),i=t(o&&(o.getAttribute("datetime")||o.getAttribute("title")||o.textContent)||"");i&&(i=i.replace(/T.*$/u,""));return n&&i?"post by "+n+" on "+i:n?"post by "+n:i?"post on "+i:"post"}(e),c=Qt(r.outerHTML);c&&(n.push("## "+s),n.push(c),o.push(a))}}}}),a&&0!==o.length?{title:a,byline:e.byline,excerpt:o[0],siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r.map(function(e){return e.outerHTML}).join("\n"),markdown:["# "+a].concat(n).join("\n\n"),textContent:t([a].concat(o).join(" ")),hostAware:!0,readerMode:!1,contentType:"social",socialKind:"thread",platform:"Discourse",community:Ml()}:null}(e):function(e){return!!Rl()&&(!zl(e)&&!!document.querySelector(".topic-list, .topic-list-item, .latest-topic-list-item, .category-list"))}(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-list-item, .latest-topic-list-item, .category-list-item, .topic-list tr")),n=[],i={};if(r.forEach(function(e){var r=e.querySelector("a.title, a[href*='/t/'], a[href*='/c/']");if(r){var a=o(r.getAttribute("href")||""),l=t(r.textContent||r.getAttribute("aria-label")||"");if(a&&l){var s=a+"|"+l;if(!i[s]){i[s]=!0;var c=Oo(e,l);n.push({text:l,url:a,detail:c})}}}}),n.length<3)return null;var a=E({title:t(u([".fancy-title","#topic-title h1",".topic-title h1",".category-heading h1",".category-title-box h1","main h1","h1"])||e.title||document.title),excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n,html:r.map(function(e){return e.outerHTML}).join("\n")});return a.hostAware=!0,a.contentType="social",a.socialKind="feed",a.platform="Discourse",a.community=Ml(),a}(e):null}function zl(e){return!!Rl()&&(!!document.querySelector(".post-stream, .topic-post, article[data-post-id]")&&!!document.querySelector(".fancy-title, #topic-title h1, .topic-title h1"))}function Ml(){var e=document.querySelector(".category-breadcrumb a[href*='/c/'], .topic-category a[href*='/c/'], .category-name a[href*='/c/'], a.badge-category[href*='/c/']");return t(e&&e.textContent||"")||null}function Rl(){var e=document.body,t=e&&e.className||"",r=!!document.querySelector("#main-outlet, .wrap"),n=!!document.querySelector("#data-discourse-setup"),o=!!document.querySelector("meta[name='generator'][content^='Discourse']"),i=!!document.querySelector("meta[name='discourse_theme_id']"),a=/\bember-application\b/.test(t)&&/\bdiscourse\b/i.test(t);return r&&(n||o||i||a)}function Bl(e){var r=t(e||"");return/^-?\d[\d,]*$/.test(r)?Number(r.replace(/,/g,"")):null}function Hl(){var e=(location.pathname||"").split("/").filter(Boolean);return"r"===e[0]&&/^[\w-]+$/.test(e[1]||"")?"r/"+e[1]:null}function Fl(e,r){if(!Ee(/(^|\.)reddit\.com$/))return null;var n=function(e,r){var n=(location.search||"").toLowerCase(),o=t([e.title,document.title,r].join(" ")).toLowerCase(),i=/(?:[?&](?:js_challenge|solution)=)/.test(n),a=/(?:javascript challenge|complete the security check|verify you are human|checking your browser)/.test(o);return i&&a?T({title:t(e.title||document.title)||"Reddit access verification required",description:"Reddit is presenting an access verification challenge before the requested community can be shown.",details:["Challenge: Reddit access verification"],siteName:e.siteName||"Reddit",contentType:"interstitial"}):null}(e,r);if(n)return n;var o=function(e){var r=document.querySelector("shreddit-post");if(!r)return null;var n=t((r.querySelector('[slot="title"]')||document.querySelector("main h1")||{}).textContent||e.title||document.title),o=t((r.querySelector('[slot="credit-bar"]')||{}).textContent||""),i=r.getAttribute("author")||u(["[slot='credit-bar'] a[href*='/user/']","a[href*='/user/']"]);i=t(i);var a=t((r.querySelector('[slot="text-body"]')||{}).innerText||"");a||Array.prototype.slice.call(document.querySelectorAll("faceplate-screen-reader-content")).some(function(e){var r=t(e.innerText||e.textContent||"");return!(!r||/^go to\s+\w+$/i.test(r)||(a=r,0))});var l=Bl(r.getAttribute("comment-count")),s=Bl(r.getAttribute("score")),c=Array.prototype.slice.call(document.querySelectorAll("shreddit-comment[depth='0'], shreddit-comment:not([depth])")),d=[];if(c.forEach(function(e){var r=t(e.getAttribute("author")||""),n=t(e.getAttribute("score")||""),o=t((e.querySelector('[slot="commentMeta"]')||{}).innerText||""),i=t((e.querySelector('[slot="comment"]')||{}).innerText||"");if(i){var a=r||"Comment";n&&(a+=" ("+n+" points)"),d.push({heading:a,meta:o,text:i})}}),!n||!a&&0===d.length)return null;var m=["# "+n];return i&&m.push("- Author: "+i),!o||i&&-1!==o.toLowerCase().indexOf(i.toLowerCase())||m.push("- Context: "+o),a&&m.push(a),(l||d.length)&&m.push("## Top Comments"),d.forEach(function(e){m.push("### "+e.heading),e.meta&&-1===e.meta.toLowerCase().indexOf(e.heading.toLowerCase())&&m.push(e.meta),m.push(e.text)}),{title:n,byline:i||e.byline,excerpt:a||e.excerpt,siteName:e.siteName||"Reddit",publishedTime:e.publishedTime,html:r.outerHTML,markdown:m.filter(Boolean).join("\n\n"),textContent:t([n,a].concat(d.map(function(e){return e.text})).join(" ")),readerMode:!1,contentType:d.length?"social":"article",socialKind:d.length?"thread":null,platform:d.length?"Reddit":null,handle:d.length?i:null,replyCount:d.length?l:null,community:d.length?Hl():null,score:d.length?s:null}}(e);if(o)return o;if(!/(cookie preferences|before you continue to reddit|reddit uses cookies|log in|sign up)/i.test(r||""))return null;var i=(location.pathname||"").split("/").filter(Boolean),a="r"===i[0]?i[1]:null,l=t((e.title||document.title).replace(/\s*:\s*r\/[^|]+$/i,""))||e.title||"Reddit page",s=e.excerpt||"Original content on this Reddit page is not available without cookie acceptance or login.",c=["Access notice: Reddit cookie acceptance or login required"];return a&&c.push("Requested community: r/"+a),T({title:l,description:s,details:c,siteName:e.siteName||"Reddit"})}function Ol(e){if(!Ee(/(^|\.)stackoverflow\.com$/))return null;if(!/^\/questions\/\d+(?:\/|$)/.test(location.pathname||""))return null;var r=document.querySelector("#question, .question[data-questionid], .question");if(!r)return null;var n=r.querySelector(".js-post-body, .s-prose[itemprop='text'], [itemprop='text']"),o=t(u(["#question-header h1 a","#question-header h1","h1[itemprop='name']","main h1","h1"])||e.title||document.title);o=o.replace(/\s*-\s*Stack Overflow\s*$/i,"");var i=Il(n);if(!o||!i)return null;var a=Array.prototype.slice.call(document.querySelectorAll("#answers .answer, .answer[data-answerid]")),l=[];a.forEach(function(e){var t=Il(e.querySelector(".js-post-body, .s-prose[itemprop='text'], [itemprop='text']"));if(t){var r=Dl(e),n=!!e.querySelector(".js-accepted-answer-indicator, .fc-green-500, [title*='accepted']")?"Accepted answer":"Answer";r&&(n+=" ("+r+" votes)"),l.push({heading:n,markdown:t})}});var s,c=["# "+o,"## Question",i];return l.length>0&&c.push("## Answers"),l.forEach(function(e){c.push("### "+e.heading),c.push(e.markdown)}),{title:o,byline:e.byline,excerpt:t(n&&n.textContent||e.excerpt||""),siteName:e.siteName||"Stack Overflow",publishedTime:e.publishedTime,html:[r.outerHTML].concat(a.map(function(e){return e.outerHTML})).join("\n"),markdown:c.filter(Boolean).join("\n\n"),textContent:t([o,i].concat(l.map(function(e){return e.markdown})).join(" ")),hostAware:!0,singleTopicPage:!0,readerMode:!1,contentType:"social",socialKind:"thread",platform:"Stack Overflow",handle:(s=r,t((s.querySelector(".user-details a")||{}).textContent||"")||null),replyCount:Ul(r),community:"Stack Overflow",score:Dl(r)}}function Il(e){if(!e)return"";var t=Pe(e);return Ne(t,".js-post-menu, .post-menu, .comments, .js-comments-container, .js-add-link, .dno, [aria-hidden='true']"),It(Qt(t.innerHTML))}function Dl(e){var r=e.querySelector(".js-vote-count, .vote-count-post, [itemprop='upvoteCount']"),n=t(r&&(r.getAttribute("data-value")||r.getAttribute("content")||r.textContent)||"");return/^-?\d[\d,]*$/.test(n)?n.replace(/,/g,""):""}function Ul(e){var r=e.querySelector(".js-answer-count, [data-answercount]"),n=t(e.getAttribute("data-answercount")||r&&(r.getAttribute("data-answercount")||r.textContent)||"").match(/^(\d[\d,]*)\s*(?:answers?)?$/i);return n?Number(n[1].replace(/,/g,"")):null}function Wl(e,n){if(!Ee(/(^|\.)behance\.net$/))return null;var i=[],a={};if(document.querySelectorAll("a[href*='/gallery/'], a[href*='/project/']").forEach(function(e){var r=e.getAttribute("href");if(r){var n=o(r);try{var l=new URL(n,location.href);l.searchParams.delete("tracking_source"),l.searchParams.delete("l"),n=l.toString()}catch(e){}var s=t(e.textContent||e.getAttribute("aria-label")||"");if(s){var c=s+"|"+n;if(!a[c]){a[c]=!0;var u=e.closest("article, li, div, section")||e.parentElement;i.push({text:s,url:n,detail:Oo(u,s)})}}}}),i.length>=4){var l=r((location.pathname||"").split("/").filter(Boolean).slice(-1)[0]||"").replace(/[-_+]+/g," ");return{title:(l=t(l))?"Behance projects for "+l:e.title||document.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||"Behance",publishedTime:null,html:"",textContent:C(i),markdown:C(i),readerMode:!1,contentType:"list",hostAware:!0}}if(!/(cookie settings|measure performance|personalize advertising|adobe and our partners)/i.test(n||""))return null;var s=t((e.title||document.title).replace(/\s*::\s*Photos, videos, logos, illustrations and branding$/i,""))||e.title||"Behance page",c=e.excerpt||"This Behance page is showing Adobe cookie settings instead of the original content.",u=["Access notice: Adobe cookie settings prompt"];return/^\/search\//.test(location.pathname)&&u.push("Requested view: Behance search results"),T({title:s,description:c,details:u,siteName:e.siteName||"Behance"})}function Zl(e,n){if(!Ee(/(^|\.)quora\.com$/))return null;if(!/(security verification|just a moment|protect against malicious bots)/i.test(n||""))return null;var o=r((location.pathname||"").split("/").filter(Boolean)[0]||"").replace(/[-_]+/g," ");return!(o=t(o))||/^just a moment$/i.test(o)?null:T({title:o,description:e.excerpt,siteName:e.siteName||"Quora"})}function Gl(e){var r=xt(e);if(!Ee(/(^|\.)glassdoor\.com$/)&&!/glassdoor/i.test(r))return null;if(location.pathname&&"/"!==location.pathname&&"/index.htm"!==location.pathname)return null;var n=u(["main h1","h1"])||t((e.title||document.title).replace(/\s*\|.*$/,"")),o=f(["main h2","main p"]).filter(function(e){return e.length>=12&&!/^(continue with google|continue with apple|or email|sign in|community jobs companies salaries for employers)$/i.test(e)}),i=o.find(function(e){return e!==n&&e.length>=40})||e.excerpt,a=o.filter(function(e){return e!==n&&e!==i});return n||i?T({title:n,description:i,highlights:a,siteName:e.siteName||"Glassdoor"}):null}function Kl(e,r){var n=e.querySelector(r);return n?t(n.getAttribute("datetime")||n.textContent||""):""}function Vl(e){var r=location.pathname||"/",n=r.match(/^\/tag\/([^/]+)\/?$/);if("/"!==r&&!n)return null;var i="/"===r?"section.link-block.stream-home[id^='link-']":"section.entry.stream-tag[id^='comment-'], section.link-block.stream-tag[id^='link-']",a={},l=[];if(document.querySelectorAll(i).forEach(function(e){var r=function(e){var r=e.querySelector("h1 a[href^='/link/'], h2 a[href^='/link/'], h3 a[href^='/link/'], a[href^='/wpis/'], a.permalink[href]");if(!r)return null;var n=o(r.getAttribute("href")),i=t(r.textContent||r.getAttribute("title")||""),a=Kl(e,".body, .description, .excerpt, p");if(!i||!n||!/^https:\/\/wykop\.pl\/(?:link|wpis)\//.test(n))return null;var l=[],s=Kl(e,".author, [rel='author'], [data-author]"),c=Kl(e,"time"),u=Kl(e,".score, [data-score]"),d=Kl(e,".reply-count, .comment-counter, [data-replies]"),m=Kl(e,".tag, .category, [data-category]"),p=Kl(e,".source, .domain, [data-source]"),h=e.querySelector("img[src]"),f=h?t(h.getAttribute("alt")||""):"",g=h?o(h.getAttribute("src")):"",y=e.querySelector(".promoted, .recommendation, [data-promoted]"),b=e.closest&&e.closest(".pinned, [data-pinned]");return a&&a!==i&&l.push("Summary: "+a),s&&l.push("Author: "+s),p&&l.push("Source: "+p),c&&l.push("Time: "+c),u&&l.push("Score: "+u),d&&l.push("Replies: "+d),m&&l.push("Category: "+m),f&&l.push("Media: "+f+(g?" ("+g+")":"")),y&&l.push("Promoted"),b&&l.push("Pinned"),{text:i,url:n,key:te(n),detail:l.join(" - ")}}(e);r&&!a[r.key]&&(a[r.key]=!0,l.push(r))}),l.length<3)return null;var s=(n?Kl(document,".tag-page h1, .tag-page h2, main h1"):"")||e.title||document.title,c="# "+s+"\n\n"+l.map(function(e){return"- ["+e.text+"]("+e.url+")"+(e.detail?" - "+e.detail:"")}).join("\n");return{title:s,byline:null,excerpt:l[0].text,siteName:e.siteName||"Wykop",publishedTime:null,html:"",textContent:t(c),markdown:c,readerMode:!1,hostAware:!0,contentType:"social",socialKind:"feed",platform:"Wykop",community:n&&n[1]||null,itemCount:l.length}}function Jl(e,t){var r=String(e);t&&(r=r.replace(/,/g,""));var n=parseInt(r,10);return isNaN(n)?e:n>=1e6?(n/1e6).toFixed(1).replace(/\.0$/,"")+"M":n>=1e4?(n/1e3).toFixed(1).replace(/\.0$/,"")+"K":n.toLocaleString()}function Xl(e){var t=document.querySelector(e);if(!t)return null;var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return r.width<=0||r.height<=0||"none"===n.display||"hidden"===n.visibility?null:t}function Yl(e,n){if(!Ee(/(^|\.)instagram\.com$/))return null;var o=i(n),a=(location.pathname||"").split("/").filter(Boolean);if(/^(accounts|checkpoint|challenge|challenge_required|suspended|restricted)$/i.test(a[0]||"")){var l=(location.search||"").match(/[?&]next=([^&]+)/);if(l){var s=r(l[1]);a=(s=(s||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)}else a=[]}for(var c=-1,u=0;u<a.length-1;u+=1)if(/^(p|reel|reels|tv)$/i.test(a[u])){c=u;break}var d=c>=0,m=d?a[c]:a[0]||"",p=(d?a[c+1]:a[1],d?"/"+a.slice(c,c+2).join("/")+"/":""),h=r(m).replace(/[-_]+/g," ");if(h=t(h),(d||/^(accounts|checkpoint|challenge|challenge_required|explore|stories|direct)$/i.test(h))&&(h=""),d){var f=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,"").replace(/\s*\|\s*Instagram\s*$/i,"")),g=f.match(/^(.*?)\s+on Instagram:\s*"([\s\S]*)"$/i),y=g?t(g[1]):"",b=g?t(g[2]):"",v=e.excerpt||"";/create an account|log in to instagram|sign up/i.test(v)&&(v="");var w=v.match(/([\d,.]+[MKB]?)\s*likes?\b/i),x=v.match(/([\d,.]+[MKB]?)\s*comments?\b/i),S=v.match(/-\s*([a-z0-9._]+)\s+on\s+/i),k=v.match(/\bon\s+([^:]+):\s*"/i),A=v.match(/:\s*"([\s\S]*?)"\.?\s*$/),C=S?t(S[1]):c>0?t(a[0]):"",q=t(b||A&&A[1]||""),_=function(){var e=(o||"").split(/\n+/).map(t).filter(Boolean);if(!e.length||!q)return[];for(var r=-1,n=q.toLowerCase(),i=0;i<e.length;i+=1){var a=e[i].toLowerCase();if(a.indexOf(n)>=0||n.indexOf(a)>=0){r=i;break}}if(r<0)return[];for(var l=[],s=r+1;s<e.length;s+=1){var c=e[s],u=t(e[s+1]||"");if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(c))break;if(/^[a-z0-9._]{2,32}$/i.test(c)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(u)){for(var d=[],m=s+2;m<e.length;m+=1){var p=e[m],h=t(e[m+1]||"");if(/^(?:like|reply|follow|following)$/i.test(p))break;if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(p))break;if(/^[a-z0-9._]{2,32}$/i.test(p)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(h))break;d.push(p)}var f=t(d.join(" "));f&&l.push("@"+c+": "+f),s=m}}return l}(),E=function(){var e=Xl("article");if(e){var r=t(e&&e.innerText);if(/something went wrong|log in to instagram|sign up to see/i.test(r))return!1;if(e.querySelector("img, video"))return!0;if(r.length>40)return!0}return!1}(),j=[],L=/^(reel|reels|tv)$/i.test(m)?"Reel":"Post";if(C&&j.push("Profile: @"+C),p&&j.push(L+": "+p),w&&j.push(t(w[1])+" likes"),x&&j.push(t(x[1])+" comments"),e.image&&j.push("Image: "+e.image),e.video&&j.push("Video: "+e.video),E){var $=T({title:y?y+" on Instagram":f||"Instagram post",byline:C?"@"+C:y||null,publishedTime:k?t(k[1]):e.publishedTime||null,description:q||"Instagram post",details:j,siteName:e.siteName||"Instagram",hostAware:!0,contentType:"social",socialKind:"post",platform:"Instagram",handle:C?"@"+C.replace(/^@/,""):null});return _.length&&($.markdown+="\n\n## Comments\n\n"+_.map(function(e){return"- "+e}).join("\n"),$.textContent=t($.markdown)),$}return null}var P=function(){var e=Xl("header section");if(!e)return!1;var t=e.innerText||"";return!!/([\d,.]+[MKB]?)\s*(followers?|following|posts?)/i.test(t)||document.querySelectorAll("article img, main img[srcset]").length>=3}();if(P){var N=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,z=document.querySelector("header section"),M="";if(z)for(var R=z.querySelectorAll("span"),B=0;B<R.length;B++){var H=t(R[B].innerText||"");if(H.length>30&&!/^\d/.test(H)&&!/follow/i.test(H)){M=H;break}}var F=[],O=function(e){var t=e.match(/([\d,.]+[MKB]?)\s*(?:Followers|follower|Takipçi|подписчик|متابع)/i),r=e.match(/([\d,.]+[MKB]?)\s*(?:Following|following)/i),n=e.match(/([\d,.]+[MKB]?)\s*(?:Posts?|post|Gönderi|публикац|منشور)/i);return{followers:t&&t[1],following:r&&r[1],posts:n&&n[1]}}(o);O.posts&&F.push(O.posts+" posts"),O.followers&&F.push(O.followers+" followers"),O.following&&F.push(O.following+" following");var I=M||e.excerpt||"";/create an account|log in to instagram|sign up/i.test(I)&&(I=""),F.length&&(I=(I?I+"\n\n":"")+F.join(", ")+".");j=[];return h&&j.push("Profile: @"+m),T({title:N||"Instagram"+(h?" - "+h:""),description:I,details:j,siteName:e.siteName||"Instagram",hostAware:!0,contentType:"social",socialKind:"profile",platform:"Instagram",handle:h?"@"+m:null})}return null}function Ql(e,n){if(!Ee(/(^|\.)facebook\.com$/))return null;var o=i(n),a=(location.pathname||"").split("/").filter(Boolean)[0]||"";if(/^(login|checkpoint|recover|dialog|ajax|connect|sharer)$/i.test(a)){var l=(location.search||"").match(/[?&]next=([^&]+)/);if(l){var s=r(l[1]);a=(s=(s||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)[0]||""}else a=""}/^(login|watch|marketplace|groups|gaming|events|pages|profile\.php|photo|story|reel|permalink|hashtag)$/i.test(a)&&(a="");var c=r(a).replace(/[-_.]+/g," ");c=t(c);var u=t((e.title||"").replace(/\s*[-–—|]\s*(Facebook|Log in or sign up).*$/i,"").replace(/\s*\|\s*Facebook\s*$/i,""))||e.title;/^(facebook\s*[-–—]?\s*log in|log in to facebook|log in or sign up)/i.test(u||"")&&(u=c||"Facebook");var d=Xl("[role='main'], main");if(function(){if(!d)return!1;if(o.length<200)return!1;var e=/([\d,.]+[MKB]?)\s*followers?/i.test(o),t=/\bIntro\b/.test(o);return e&&t}()){var m=[],p=o.match(/(?:Page|Profile)\s*·\s*([^\n]+)/);p&&m.push("Category: "+t(p[1]));var h=o.match(/([\d,.]+[MKB]?)\s*followers?/i),f=o.match(/([\d,.]+[MKB]?)\s*following/i);h&&m.push(h[1]+" followers"),f&&m.push(f[1]+" following");var g=o.indexOf("Intro\n"),y="";if(g>=0){var b=o.substring(g+6),v=b.search(/\n(?:Photos|Videos|About|Posts|Reels|Events|See all|Page ·|Information about)\b/);y=t(v>0?b.substring(0,v):b.substring(0,500))}for(var w,x=y||o.substring(0,Math.min(o.length,1500)),S=x.match(/([\w.+-]+@[\w.-]+\.\w{2,})/),k=x.match(/\b(https?:\/\/[\w.-]+[\w.]{2,}(?:\/[\w.-]*)*)\s/i),A=[],C=new RegExp(Dt(t(u||""))+"\\s*\\n\\s*(?:\\d+[hd]|\\d+ (?:hour|day|minute|week|month)s? ago|Yesterday|Just now|\\w+ \\d+(?:,? \\d+)?)\\s*\\n\\s*·?\\s*\\n([\\s\\S]*?)(?=\\n(?:All reactions|Like|Comment|Share|\\d+ comment))","gi");null!==(w=C.exec(o));){var q=t(w[1]);q&&q.length>10&&(q=q.replace(/…\s*See more\s*$/i,"…"),A.push(q))}if(0===A.length)for(var _=document.querySelectorAll("div[dir=auto]"),E=0;E<_.length;E++){var j=t(_[E].innerText||"");j.length>50&&j.length<3e3&&!/^(log in|sign up|create|cookie|privacy|terms|information about|see more from)/i.test(j)&&(j=j.replace(/…\s*See more\s*$/i,"…"),A.push(j))}var L={};A=A.filter(function(e){var t=e.substring(0,80).toLowerCase();return!L[t]&&(L[t]=!0,!0)});var $="";y&&($=y);var P=[];if(S&&P.push(S[1]),k&&!/facebook\.com/i.test(k[1])&&P.push(k[1]),P.length&&($+=($?"\n\n":"")+"Contact: "+P.join(" | ")),A.length>0){$+=($?"\n\n":"")+"## Recent Posts\n\n";for(var N=0;N<A.length;N++)$+=A[N]+"\n\n";$=$.replace(/\n\n$/,"")}if(!h){var z=(e.excerpt||"").match(/([\d][\d,.\s]*\d)\s*likes?\b/i);z&&m.push(t(z[1])+" likes")}var M=m;return e.image&&M.push("Image: "+e.image),T({title:u||"Facebook"+(c?" - "+c:""),description:$,details:M,siteName:e.siteName||"Facebook",hostAware:!0,contentType:"social",socialKind:"profile",platform:"Facebook",handle:c?"@"+a:null})}return null}function es(e,r){if(!Ee(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",o=e.excerpt||"",i=e.image||"",a=Xl("main, [role='main']"),l=n.match(/^(.+?)\s*\((@\w+)\)\s*[•·]/),s=l?l[1].trim():"",c=l?l[2]:"";if(!l){var u=n.match(/^(.+?)\s*\((@\w+)\)\s+on Threads/);u||(u=n.match(/^(@\w+)\s+on Threads/)),u&&(s=u[1]?u[1].trim():"",c=u[2]||u[1]||"")}var d="",m="",p=o,h=o.match(/^([\d,.]+[KMB]?)\s+Followers?\s*[•·]\s*([\d,.]+[KMB]?)\s+Threads?\s*[•·]\s*(.*)/i);if(h)d=h[1],m=h[2],p=t(h[3]);else{var f=o.match(/([\d,.]+[KMB]?)\s+Followers?/i);f&&(d=f[1]);var g=o.match(/([\d,.]+[KMB]?)\s+Threads?/i);g&&(m=g[1])}if(!a||!s&&!c)return null;var y=t(a.innerText||"");if(!y||c&&-1===y.indexOf(c)&&!/\bfollowers?\b/i.test(y))return null;var b=[];return c&&b.push("Handle: "+c),d&&b.push("Followers: "+d),m&&b.push("Threads: "+m),i&&b.push("Image: "+i),T({title:s||c,description:p||o,details:b,siteName:"Threads",hostAware:!0,contentType:"social",socialKind:"profile",platform:"Threads",handle:c||null})}function ts(e,r){if(!Ee(/(^|\.)(twitter\.com|x\.com)$/))return null;var n=/^\/[^/]+\/status\/\d+/.test(location.pathname),o=null;try{for(var i=document.querySelectorAll('script[type="application/ld+json"]'),a=0;a<i.length;a++){var l=JSON.parse(i[a].textContent);if(l&&"ProfilePage"===l["@type"]&&l.mainEntity){o=l.mainEntity;break}}}catch(e){}if(!n){var s=document.querySelector('[data-testid="UserName"]'),c=document.querySelector('[data-testid="UserDescription"]'),u=document.querySelector('[data-testid="UserUrl"]'),d=document.querySelector('[data-testid="UserJoinDate"]'),m=document.querySelector('[data-testid="UserLocation"]'),p=document.querySelector('[data-testid="UserBirthdate"]'),h="",f="";if(s){var g=t(s.textContent).split(/\s*@/);h=t(g[0]),g[1]&&(f="@"+t(g[1]))}if(!h&&o&&(h=o.name||""),!f&&o&&o.additionalName&&(f=o.additionalName),!f){var y=(location.pathname||"").split("/").filter(Boolean)[0];y&&!/^(home|explore|search|notifications|messages|settings|i)$/i.test(y)&&(f="@"+y)}var b=c?t(c.textContent):"";!b&&o&&o.description&&(b=t(o.description));var v=m?t(m.textContent):"";!v&&o&&o.homeLocation&&(v=o.homeLocation.name||"");var w=u?t(u.textContent):"",x=d?t(d.textContent):"",S=p?t(p.textContent):"",k="",A="",C="";if(o&&o.interactionStatistic&&o.interactionStatistic.forEach(function(e){var t=e.interactionType||"";/FollowAction/.test(t)&&(k=String(e.userInteractionCount)),/SubscribeAction/.test(t)&&(A=String(e.userInteractionCount)),/WriteAction/.test(t)&&(C=String(e.userInteractionCount))}),!k){var q=document.querySelector('a[href$="/verified_followers"], a[href$="/followers"]');q&&(k=t(q.textContent).replace(/\s*followers?$/i,""))}if(!A){var _=document.querySelector('a[href$="/following"]');_&&(A=t(_.textContent).replace(/\s*following$/i,""))}var E="";if(o&&o.image&&o.image.contentUrl&&(E=o.image.contentUrl),!E){var j=document.querySelector('[data-testid^="UserAvatar"] img[src*="profile_images"]');j&&(E=j.src)}if(!w&&o&&o.relatedLink){var L=Array.isArray(o.relatedLink)?o.relatedLink:[o.relatedLink];w=(L.filter(function(e){return!/t\.co\//.test(e)})[0]||L[0]||"").replace(/^https?:\/\//,"")}for(var $=[],P=document.querySelectorAll('[data-testid="tweet"]'),N=0;N<P.length;N++){var z=P[N],M=z.querySelector('[data-testid="tweetText"]');if(M){var R=t(M.textContent);if(R&&!(R.length<5)){var B=z.querySelector('[data-testid="User-Name"]'),H=z.querySelector("time"),F=z.querySelector('[data-testid="socialContext"]'),O="";if(B){var I=t(B.textContent).match(/^(.+?)(\s*@\w+)/);I&&(O=I[1].trim())}var D=H?H.getAttribute("datetime")||t(H.textContent):"",U=[];["reply","retweet","like"].forEach(function(e){var t=z.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"likes";U.push(r[1]+" "+n)}}});var W="";F&&(W+="[Pinned] "),O&&h&&O!==h&&(W+="RT @"+O+": "),W+=R,D&&(W+=" ("+D+")"),U.length&&(W+=" ["+U.join(", ")+"]"),$.push(W)}}}var Z=[];f&&Z.push("Handle: "+f),k&&Z.push("Followers: "+Jl(k)),A&&Z.push("Following: "+Jl(A)),C&&Z.push("Posts: "+Jl(C)),v&&Z.push("Location: "+v),w&&Z.push("Website: "+w),S&&Z.push(S),x&&Z.push(x),E&&Z.push("Image: "+E);var G=[];b&&G.push(b),$.length&&G.push("## Recent Posts\n\n"+$.join("\n\n"));var K=h||e.title||"X Profile";if(!h&&f&&(K=f),!h&&!b&&!$.length)return null;var V=T({title:K,description:G.join("\n\n"),details:Z,siteName:"X",hostAware:!0,contentType:"article"});return V.contentType="social",V.socialKind="profile",V.platform="X",V.handle=f||null,V}var J=document.querySelector('[data-testid="tweet"]');if(!J){var X=(e.title||"").match(/^(.+?)\s+on X:\s*"(.+?)"\s*\/\s*X$/);return X?T({title:X[1],description:X[2],siteName:"X",hostAware:!0}):null}var Y="",Q=J.querySelector('[data-testid="tweetText"]');if(Q&&(Y=t(Q.textContent)),!Y)return null;var ee=J.querySelector('[data-testid="User-Name"]'),te="",re="";if(ee){var ne=t(ee.textContent).match(/^(.+?)\s*(@\w+)/);ne&&(te=ne[1].trim(),re=ne[2])}var oe=J.querySelector("time"),ie=oe?oe.getAttribute("datetime")||t(oe.textContent):"",ae=[],le=null;["reply","retweet","like","bookmark"].forEach(function(e){var t=J.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"like"===e?"likes":"bookmarks";ae.push(r[1]+" "+n),"reply"===e&&(le=parseInt(r[1].replace(/,/g,""),10))}}});var se=[];re&&se.push("Author: "+te+" ("+re+")"),ie&&se.push("Posted: "+ie),ae.length&&se.push("Engagement: "+ae.join(", "));for(var ce=document.querySelectorAll('[data-testid="tweet"]'),ue=[],de=1;de<ce.length;de++){var me=ce[de],pe=me.querySelector('[data-testid="tweetText"]');if(pe){var he=t(pe.textContent);if(he&&!(he.length<3)){var fe=me.querySelector('[data-testid="User-Name"]'),ge="";if(fe){var ye=t(fe.textContent).match(/^(.+?)\s*(@\w+)/);ye&&(ge=ye[2])}ue.push((ge?ge+": ":"")+he)}}}var be=Y;ue.length&&(be+="\n\n## Replies\n\n"+ue.join("\n\n"));var ve=T({title:te||e.title||"Post on X",description:be,details:se,siteName:"X",hostAware:!0,contentType:"article"});return ve.contentType="social",ve.socialKind=ue.length?"thread":"post",ve.platform="X",ve.handle=re||null,ve.replyCount=le,ve}function rs(e,r){if(!Ee(/(^|\.)linkedin\.com$/))return null;var n=i(r),o=/^\/company\//.test(location.pathname),a=/^\/in\//.test(location.pathname);if(!o&&!a)return null;if(o){var l,s="",c="",u="",d="",m="",p="",h="",f="",g="",y="";l=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim();var b=n.match(/([\d,.]+[KMB]?)\s+followers/i);b&&(u=b[1]),(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(d=t(Z[1]));var v=n.match(/Website\s*\n\s*(https?:\/\/\S+|[\w.-]+\.[\w]{2,}(?:\/\S*)?)/i);v&&(m=v[1].trim());var w=n.match(/Industry\s*\n\s*(.+)/i);if(w&&(s=t(w[1])),!s){var x=n.match(new RegExp(Dt(l)+"\\s*\\n\\s*(.+?)\\s*\\n","i"));x&&(s=t(x[1]))}var S=n.match(/Company size\s*\n\s*(.+)/i);S&&(p=t(S[1]));var k=n.match(/Headquarters\s*\n\s*(.+)/i);k&&(h=t(k[1]));var A=n.match(/Type\s*\n\s*(.+)/i);A&&(f=t(A[1]));var C=n.match(/Specialties\s*\n\s*([\s\S]*?)(?=\n\n|\n(?:Website|Locations|Employees|Home|Products|Jobs|People|Insights)\b)/i);C&&(g=t(C[1]));var q=n.match(/Founded\s*\n\s*(\d{4})/i);q&&(y=q[1]),!c&&h&&(c=h);var _=[],E=n.match(/(?:Updates|Posts)\s*\n([\s\S]*?)(?=\n(?:Similar pages|Affiliated|People also viewed|Browse jobs)\b|$)/i);if(E)for(var j=E[1].split(/\n(?=.*?\b(?:likes?|comments?|reactions?)\b)/i),L=0;L<j.length;L++){var $=t(j[L]);$&&$.length>20&&!/^(?:Show|See|Load)\s/i.test($)&&_.push($)}var P=[];s&&P.push("Industry: "+s),u&&P.push("Followers: "+u),c&&P.push("Location: "+c),m&&P.push("Website: "+m),p&&P.push("Size: "+p),f&&P.push("Type: "+f),y&&P.push("Founded: "+y),h&&h!==c&&P.push("Headquarters: "+h),g&&P.push("Specialties: "+g),e.image&&P.push("Image: "+e.image);var N=[];if(d&&N.push(d),_.length&&N.push("## Recent Updates\n\n"+_.join("\n\n")),!(d||_.length||u||s||p||h||g))return null;var z=T({title:l||"LinkedIn Company",description:N.join("\n\n")||e.excerpt||"",details:P,siteName:"LinkedIn",hostAware:!0,contentType:"article"});return z.contentType="social",z.socialKind="profile",z.platform="LinkedIn",z}var M=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim(),R="",B="",H="",F="",O="",I=M?new RegExp(Dt(M)+"\\s*\\n\\s*(.+?)\\s*\\n","i"):null;if(I){var D=n.match(I);D&&(R=t(D[1]))}var U=n.match(/([\d,.]+[KMB]?)\s+followers/i);U&&(H=U[1]);var W=n.match(/([\d,.]+\+?)\s+connections?/i);W&&(F=W[1]);var Z,G=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);G&&(B=t(G[1])),(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(O=t(Z[1])),O=O.replace(/\s*\.{3}\s*see more\s*$/i,"").replace(/\s*…\s*see more\s*$/i,"");var K=[],V=n.match(/(?:Activity|Articles)\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Interests|Courses|Licenses|Certifications|Recommendations)\b|$)/i);if(V){var J=V[1].match(/.{20,}(?:\d+\s*(?:likes?|comments?|reactions?|views?))/gi);if(J)for(var X=0;X<J.length;X++)K.push(t(J[X]))}var Y=[];R&&Y.push("Title: "+R),H&&Y.push("Followers: "+H),F&&Y.push("Connections: "+F),B&&Y.push("Location: "+B),e.image&&Y.push("Image: "+e.image);var Q=[];if(O&&Q.push(O),K.length&&Q.push("## Recent Activity\n\n"+K.join("\n\n")),!(R||H||F||B||O||K.length))return null;var ee=T({title:M||"LinkedIn Profile",description:Q.join("\n\n")||e.excerpt||"",details:Y,siteName:"LinkedIn",hostAware:!0,contentType:"article"});return ee.contentType="social",ee.socialKind="profile",ee.platform="LinkedIn",ee}function ns(e,r){if(!Ee(/(^|\.)bsky\.(app|social)$/))return null;var n=!!document.querySelector('[data-testid="profileScreen"], [data-testid="profileView"]'),o=/^\/profile\/[^/]+\/post\//.test(location.pathname);if(!n&&!o)return null;if(n&&!o){var a=document.querySelector('[data-testid="profileHeaderDisplayName"]'),l=document.querySelector('[data-testid="profileHeaderDescription"]'),s=document.querySelector('[data-testid="profileHeaderFollowersButton"]'),c=document.querySelector('[data-testid="profileHeaderFollowsButton"]'),u=a?t(a.textContent):"",d=l?t(l.textContent):"",m="",p=(location.pathname||"").split("/").filter(Boolean);"profile"===p[0]&&p[1]&&(m="@"+p[1]);var h="",f="";if(s){var g=(s.getAttribute("aria-label")||"").match(/^([\d,]+)\s+followers/i);h=g?g[1]:t(s.textContent).replace(/\s*followers?$/i,"").trim()}if(c){var y=(c.getAttribute("aria-label")||"").match(/^([\d,]+)\s+following/i);f=y?y[1]:t(c.textContent).replace(/\s*following$/i,"").trim()}var b="",k=i(r).match(/([\d,.]+[KMB]?)\s+posts?\b/i);k&&(b=k[1]);var A=e.image||"";if(!A){var C=document.querySelector('[data-testid="userAvatarImage"]');C&&(A=C.src||"")}for(var q=[],_=document.querySelectorAll('[data-testid="postText"]'),E=0;E<_.length;E++){var j=_[E],L=t(j.textContent);if(L&&!(L.length<5)){var $=j.closest('[data-testid^="feedItem-by-"]'),P=[];if($){var N=$.querySelector('[data-testid="replyBtn"]'),z=$.querySelector('[data-testid="repostCount"]'),M=$.querySelector('[data-testid="likeCount"]');if(N){var R=(N.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);R&&P.push(R[1]+" replies")}if(z){var B=t(z.textContent);B&&"0"!==B&&P.push(B+" reposts")}if(M){var H=t(M.textContent);H&&"0"!==H&&P.push(H+" likes")}var F=($.getAttribute("data-testid")||"").replace("feedItem-by-",""),O=m.replace("@",""),I=F&&O&&F!==O}var D="";I&&(D+="Repost @"+F+": "),D+=L,P.length&&(D+=" ["+P.join(", ")+"]"),q.push(D)}}var U=[];m&&U.push("Handle: "+m),h&&U.push("Followers: "+Jl(h,!0)),f&&U.push("Following: "+Jl(f,!0)),b&&U.push("Posts: "+b),A&&U.push("Image: "+A);var W=[];if(d&&W.push(d),q.length&&W.push("## Recent Posts\n\n"+q.join("\n\n")),!u&&!d&&!q.length)return null;var Z=T({title:u||m||"Bluesky Profile",description:W.join("\n\n"),details:U,siteName:"Bluesky",hostAware:!0,contentType:"article"});return Z.contentType="social",Z.socialKind="profile",Z.platform="Bluesky",Z.handle=m||null,Z}var G=(location.pathname||"").split("/").filter(Boolean),K=document.querySelector('[data-testid="postText"]'),V="",J="";"profile"===G[0]&&G[1]&&(J="@"+G[1]);var X=w("DiscussionForumPosting");if(!X){var Y=w("WebPage");Y&&Y.mainEntity&&-1!==v(Y.mainEntity).indexOf("DiscussionForumPosting")&&(X=Y.mainEntity)}var Q=null,ee=[];if(J){ee=document.querySelectorAll('[data-testid^="postThreadItem-by-"]');for(var te=0;te<ee.length;te++)if(ee[te].getAttribute("data-testid")==="postThreadItem-by-"+J.slice(1)){Q=ee[te];break}}var re=X&&X.url&&new URL(X.url,location.href).pathname===location.pathname;if(!(K||Q&&re))return null;var ne=K?t(K.textContent):S(X.text);if(!ne)return null;var oe=document.querySelector('[data-testid="profileHeaderDisplayName"]');oe&&(V=t(oe.textContent)),!V&&X&&X.author&&(V=x(X.author)),V||(V=(e.title||"").replace(/\s*[-–—|].*$/,"").trim());var ie=K&&(K.closest('[data-testid^="feedItem-by-"]')||document.querySelector('[data-testid^="feedItem-by-"]'));ie||(ie=Q);var ae=[],le=null;if(ie){var se=ie.querySelector('[data-testid="replyBtn"]'),ce=ie.querySelector('[data-testid="repostCount"]'),ue=ie.querySelector('[data-testid="likeCount"]');if(se){var de=(se.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);de&&(ae.push(de[1]+" replies"),le=parseInt(de[1].replace(/,/g,""),10))}if(ce){var me=t(ce.textContent);me&&"0"!==me&&ae.push(me+" reposts")}if(ue){var pe=t(ue.textContent);pe&&"0"!==pe&&ae.push(pe+" likes")}}var he=[];J&&he.push("Author: "+(V?V+" ("+J+")":J)),ae.length&&he.push("Engagement: "+ae.join(", "));var fe=[];if(Q&&ee.length>1){for(var ge=0;ge<ee.length;ge++)if(ee[ge]!==Q){var ye=t(ee[ge].textContent);ye&&ye.length>3&&fe.push(ye)}}else if(X&&Array.isArray(X.comment))for(var be=0;be<X.comment.length;be++){var ve=S(X.comment[be]&&X.comment[be].text);ve&&ve.length>3&&fe.push(ve)}else for(var we=document.querySelectorAll('[data-testid="postText"]'),xe=1;xe<we.length;xe++){var Se=t(we[xe].textContent);Se&&Se.length>3&&fe.push(Se)}var ke=ne;fe.length&&(ke+="\n\n## Replies\n\n"+fe.join("\n\n"));var Ae=T({title:V||"Post on Bluesky",description:ke,details:he,siteName:"Bluesky",hostAware:!0,contentType:"article"});return Ae.contentType="social",Ae.socialKind=fe.length?"thread":"post",Ae.platform="Bluesky",Ae.handle=J||null,Ae.replyCount=le,Ae}function os(e){if(!Ee(/(^|\.)zeit\.de$/))return null;var t=document.querySelector("article.article")||document.querySelector("article#js-article"),r=t&&(t.querySelector(".article-body")||t.querySelector(".article-page"));return t&&r&&r.querySelector(".paragraph, p")?Be(e,t,{title:u([".article-heading",".article-heading__headline","h1.article-heading","h1"])||e.title,byline:u([".article-meta .authors",".article__authors","[rel='author']"])||e.byline,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll([".iqdcontainer",".summy",".summary__feedback",".newsletter","[class*='newsletter' i]","[class*='topicbox' i]","[class*='recommend' i]","[class*='related' i]","[data-ct-area*='comments' i]","[data-ct-area*='sharing' i]","[data-ct-area*='recommend' i]","[aria-label*='Newsletter' i]","[aria-label*='Mehr zum Thema' i]","[aria-label*='Seitennavigation' i]","[aria-label*='Schlagwörter' i]","aside","nav"].join(", ")).forEach(function(e){e.remove()})}}):null}function is(e){if(!Ee(/(^|\.)blog\.csdn\.net$/))return null;if(!/\/article\/details\/\d+/i.test(location.pathname||""))return null;var r=document.querySelector("#article_content, .article_content, #content_views");if(r&&n(r)>=80)return Be(e,r,{title:u(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"]),byline:u([".follow-nickName",".blog-name",".article-bar-top .name","a[href^='https://blog.csdn.net/']"]),publishedTime:u([".time",".bar-content .time","time"],"datetime")||e.publishedTime,minTextLength:80,rewriteRoot:function(e){e.querySelectorAll(".hide-article-box, .readall_box, .article-copyright, .blog-footer-bottom, .recommend-box, .recommend-right, .more-toolbox, .toolbox-list, .csdn-side-toolbar, [class*='comment'], [class*='recommend'], [class*='toolbar'], [class*='share']").forEach(function(e){e.remove()})},siteName:"CSDN"});var o=u(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"])||t(e&&e.title),i=t(e&&e.excerpt);return o||i?T({title:o,byline:e&&e.byline,publishedTime:e&&e.publishedTime,description:"CSDN article details page returned only public metadata in this browser session."+(i?" "+i:""),siteName:"CSDN",hostAware:!0,contentType:"article"}):null}function as(e,r){if(!Ee(/(^|\.)(komputerswiat\.pl|onet\.pl|medonet\.pl)$/)&&!Ee(/(^|\.)poradnikzdrowie\.pl$/))return null;var n=document.createElement("div"),o=u(["h1.article__title",".detail_title",".ods-m-labeled-h1__text","article h1","h1"])||e.title,i=document.querySelector(".ods-article-lead[data-section='article-lead']"),a=document.querySelector(".ods-article-lead .ods-a-lead, .article__lead, .detail_lead, .articleLead"),l=document.querySelector(".ods-m-inline-summary-container__list"),s=document.querySelector(".ods-article-body[data-section='article-body'], .article__body, .detail_body, div.articleContent, .cda_artblox"),c=w(["NewsArticle","Article","VideoObject"]),d=S(c&&c.articleBody),m=function(e){var r=t(e||""),n=r.match(/Poniżej streszczenie artykułu:\s*(?:Skrót przygotowany przez Onet Czat z AI, może zawierać błędy\.\s*)?(.+?)\s*Zapytaj o więcej Onet Czat z AI/i);return n?t(n[1]):""}(r);if(!(i||a||l||s||m||d))return null;var p=l?Array.prototype.map.call(l.querySelectorAll("li"),function(e){return t(e.textContent||"")}).filter(Boolean):[];if(a&&n.appendChild(ls(a)),!a&&e.excerpt){var h=document.createElement("p");h.textContent=e.excerpt,n.appendChild(h)}if(s&&n.appendChild(ls(s)),!s&&d){var f=document.createElement("p");f.textContent=d,n.appendChild(f)}var g=a?ss(ls(a)):e.excerpt||"",y=s?ss(ls(s)):d||"",b=[];o&&b.push("# "+o),p.length?b.push("## Streszczenie\n\n"+p.map(function(e){return"- "+e}).join("\n")):m&&b.push("## Streszczenie\n\n"+m),cs(b,g),cs(b,y);var v=It(b.filter(Boolean).join("\n\n")),x=t(v);return x.length<250?null:{title:o||e.title,byline:u([".ods-m-author-authorship__author-item a",".article__author",".detail_author","[rel='author']"])||e.byline,excerpt:g||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.innerHTML,markdown:v,textContent:x,readerMode:!1,contentType:"article",hostAware:!0,docsLike:!0}}function ls(e){var r=$e(e,document),n=r.querySelectorAll("iframe, script, style, noscript, nav, footer, [data-ad], [data-testid*='ad' i], [class~='ad'], [class*='-ad-'], [class$='-ad'], [class^='ad-'], [id~='ad'], [id*='-ad-'], [id$='-ad'], [id^='ad-'], [class*='recommend' i], [class*='related' i]");return Array.prototype.forEach.call(n,function(e){e.remove()}),Array.prototype.forEach.call(r.querySelectorAll("p, div, section, aside, span"),function(e){var r=t(e.textContent||"");(/^REKLAMA$/i.test(r)||/^Dalszy ciag artykulu pod materialem wideo/i.test(Wr(r)))&&e.remove()}),Array.prototype.forEach.call(r.querySelectorAll("h2, h3, h4, p, div, section, aside"),function(e){var n=Wr(t(e.textContent||""));if(/^(?:Zobacz takze|Czytaj takze|Wydarzenie dnia|Zobacz rowniez)(?::|$)/i.test(n)){var o=e.parentElement;e.querySelector("a")?e.remove():o&&o!==r&&o.remove()}}),r}function ss(e){return It(Qt(e.innerHTML||"")).replace(/\s+-\s+\*\*(?:Zobacz (?:takze|także)|Czytaj (?:takze|także)|Wydarzenie dnia|Zobacz (?:rowniez|również))\s*:?\*\*[\s\S]*$/i,"").trim()}function cs(e,r){if(r=t(r||"")){var n=r.toLowerCase();e.some(function(e){return-1!==t(e).toLowerCase().indexOf(n)})||e.push(r)}}var us={regionSelector:".wp-section-grid, .wp-offers-section, .wp-section-stream, .wp-leaflets-section",skipEditorialGuard:!0,allowEmptyRegions:!0,cardSelector:"a.wp-teaser-tile, a.wp-teaser-regular, a.wp-leaflet-card",ancestorLink:!0,directCard:!0,headingBuilder:function(e){var r=e.querySelector(".wp-section-title-link, .wp-section-colored-header-title");return!r&&e.matches(".wp-section-stream")&&(r=e.querySelector("h1, h2")),t(r&&r.textContent)},regionFilter:function(e){return e.matches(".wp-section-grid")?!!e.querySelector(".wp-section-title-link"):e.matches(".wp-offers-section, .wp-leaflets-section")?!!e.querySelector(".wp-section-colored-header-title"):!!e.querySelector("h1, h2")}};function ds(e){if("wp.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=po(document.body,us);return t?j(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}var ms={regionSelector:"section[class*='Feed_']",skipEditorialGuard:!0,cardSelector:"article[class*='Card_']",directCard:!0,headingBuilder:function(e){var r=e.querySelector("article[class*='Card_']"),n=Array.prototype.filter.call(e.querySelectorAll("h1, h2"),function(e){return!e.closest("article[class*='Card_']")&&!(r&&!(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING))}),o=t(n[0]&&n[0].textContent);return!o||o.length>90||function(e){return/^(REDAKCJA POLECA|REKLAMA|REKLAMY|MENU|NAWIGACJA|WIĘCEJ|NEWSLETTER|PARTNERZY|STOPKA)$/i.test(e)}(o)?"":o},additionalRegions:function(e){return Array.prototype.filter.call(e.querySelectorAll("div[class*='DynamicRightFeed_']"),function(e){return e.closest("div[class*='PageGroup_right__']")&&!e.closest("section")&&e.querySelector("article[class*='Card_']")&&!hs(e)})},fallbackHeadingBuilder:function(e){return e.matches("div[class*='DynamicRightFeed_']")?"More from Onet":""},cardFilter:function(e){var t=e.card;return!hs(t)&&!/(ad|advert|sponsor|promo|utility)/i.test(t.className||"")},regionFilter:function(e){return!hs(e)}};function ps(e){if("onet.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=po(document.body,ms);return t?j(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}function hs(e){return!!e.closest("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']")}registerHostAwareProfile(!0,bl),registerHostAwareProfile(!0,ma),registerHostAwareProfile(!0,pa),registerHostAwareProfile(!0,ha),registerHostAwareProfile(!0,Gl),registerHostAwareProfile(!0,as),registerHostAwareProfile(!0,ia),registerHostAwareProfile(!0,aa),registerHostAwareProfile(!0,fa),registerHostAwareProfile(!0,ga),registerHostAwareProfile(!0,wa),registerHostAwareProfile(!0,va),registerHostAwareProfile(!0,ba),registerHostAwareProfile(!0,sa),registerHostAwareProfile(["wp.pl"],ds),registerHostAwareProfile(["onet.pl"],ps),registerHostAwareProfile(!0,os),registerHostAwareProfile(!0,ya),registerHostAwareProfile(!0,Ea),registerHostAwareProfile(!0,Ta),registerHostAwareProfile(!0,_a),registerHostAwareProfile(!0,ja),registerHostAwareProfile(!0,La),registerHostAwareProfile(!0,$a),registerHostAwareProfile(!0,Pa),registerHostAwareProfile(!0,function(e){return De(e,{hostPattern:/(^|\.)(hatenablog\.com|hateblo\.jp|hatenablog\.net|hatenadiary\.com)$/i,bodySelectors:["article.entry .entry-content","article.entry .entry-body","article .entry-content",".entry-body",".entry-content"],titleSelectors:["h1.entry-title",".entry-title-link","article.entry h1","h1"],bylineSelectors:[".entry-footer .author a",".entry-footer .vcard a",".entry-header .author a"],minTextLength:180,removalSelectors:[".hatena-star-container",".hatena-star-star-container",".entry-footer",".entry-footer-section",".comment-box",".comment",".comments",".pager",".related-entries",".google-afc"]})}),registerHostAwareProfile(!0,function(e){return function(e){if(!/^\/species\/\d+\/\d+\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#redlist-js .page-species"),n=t(document.title||u(["main h1","h1"])||e.title),o=t([e&&e.siteName,e&&e.title,document.title,document.body&&document.body.textContent].join(" "));if(!r||!/\bIUCN Red List\b/i.test(o)||!n)return null;var i=["taxonomy","assessment-information","geographic-range","population","habitat-ecology","threats","use-trade","conservation-actions"].map(function(e){return document.getElementById(e)}).filter(Boolean);if(i.length<4||!document.getElementById("assessment-information"))return null;var a=document.createElement("article"),l=document.createElement("h1");l.textContent=n.replace(/\s*--\s*$/i,""),a.appendChild(l);var s=r.querySelector(".layout-headline__supplement.layout-assessment, .layout-assessment__major");return s&&/\b(Abstract|Red List|Assessment)\b/i.test(t(s.textContent||""))&&a.appendChild(Pe(s)),i.forEach(function(e){var t=Pe(e);t.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, form, nav, .map, [class*='map' i], [class*='tooltip' i], [class*='translate' i], [aria-hidden='true']").forEach(function(e){e.remove()}),ze(t),a.appendChild(t)}),Ze(e,a,{cloneRoot:!1,title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"IUCN Red List",minTextLength:900,validateMarkdown:function(e){return/\bAssessment Information\b[\s\S]*\bPopulation\b[\s\S]*\bThreats\b/i.test(e)}})}(e)||function(e){if(!/^\/[A-Za-z_]+\/Gene\/Summary\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#main"),n=r&&r.querySelector("h1.summary-heading"),o=r&&r.querySelector(".summary_panel"),i=r&&r.querySelector("#GeneSummary"),a=(r&&r.querySelector("#transcripts_table"),t(n&&n.textContent||""));return r&&n&&o&&i&&/^Gene:\s+\S+\s+ENS[A-Z]*G\d+/i.test(a)?Ze(e,r,{title:a,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"Ensembl",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .navbar, .image_panel, .image_toolbar, .json_, .label_layer, .hover_label, .boundaries_wrapper, .drag_select, .session_messages, .dataTables_top, .data_table_config, .floating_popup, .tool_buttons, .invisible, .hidden, ._ht_tip, .button.toggle").forEach(function(e){e.remove()}),e.querySelectorAll("img").forEach(function(e){t(e.alt||e.title||"")||e.remove()})},validateMarkdown:function(e){return/\bDescription\b[\s\S]*\bLocation\b[\s\S]*\bAbout this gene\b/i.test(e)&&/\b(Transcripts|MANE|UniProtKB|RefSeq|CCDS)\b/i.test(e)}}):null}(e)||function(e){var r=t((document.querySelector("meta[name='ncbi_db']")||{}).content||"").toLowerCase();if(r&&"gene"!==r)return null;if(!/^\/gene\/\d+\/?$/i.test(location.pathname||""))return null;var n=document.querySelector(".rprt.full-rprt"),o=n&&n.querySelector("#gene-name"),i=n&&n.querySelector("#summaryDl"),a=n?Array.prototype.slice.call(n.querySelectorAll(".rprt-section[data-section]")):[];if(!n||!o||!i||a.length<2)return null;var l=t(o.textContent||"");return l&&/\bGene ID:\s*\d+/i.test(t(n.textContent||""))?Ze(e,n,{title:l,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NCBI Gene",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .rprt-section-tools, .download-datasets, .gene-section-help, .gene-top-page, .ui-ncbipopper-wrapper, [aria-hidden='true']").forEach(function(e){e.remove()}),e.querySelectorAll("[style*='display:none'], [style*='display: none']").forEach(function(e){e.remove()}),e.querySelectorAll("table").forEach(function(e){t((e.querySelector("tbody")||e).textContent||"")||e.remove()})},validateMarkdown:function(e){return/\bOfficial\s+Symbol\b[\s\S]*\bGene type\b[\s\S]*\bOrganism\b/i.test(e)&&/\b(Summary|Genomic context|Expression|Interactions|General gene information)\b/i.test(e)}}):null}(e)||function(e){if(!/^\/A\d{6}$/i.test(location.pathname||""))return null;var r=document.querySelector(".seqhead .seqnumname"),n=document.querySelector(".seqdatabox .seqdata"),o=Array.prototype.slice.call(document.querySelectorAll(".entry .section"));if(!r||!n||o.length<3)return null;var i=t((r.querySelector(".seqnum")||{}).textContent||""),a=t((r.querySelector(".seqname")||{}).textContent||"").replace(/\s*\(Formerly\s+[^)]*\)\s*$/i,"");if(!/^A\d{6}$/i.test(i)||!a)return null;var l={OFFSET:!0,COMMENTS:!0,REFERENCES:!0,FORMULA:!0,EXAMPLE:!0},s={OFFSET:"Offset",COMMENTS:"Sequence comments",FORMULA:"Formula",EXAMPLE:"Example",REFERENCES:"References"},c={};if(o.forEach(function(e){var r=t((e.querySelector(".sectname")||{}).textContent||"").toUpperCase();if(l[r]&&!c[r]){var n=e.querySelector(".sectbody");!n||t(n.textContent||"").length<2||(c[r]=n)}}),!c.COMMENTS&&!c.FORMULA&&!c.EXAMPLE)return null;var u=document.createElement("article"),d=document.createElement("h1");d.textContent=i+" - "+a,u.appendChild(d);var m=document.createElement("h2");m.textContent="Terms",u.appendChild(m);var p=document.createElement("p");return p.textContent=t(n.textContent||""),u.appendChild(p),["OFFSET","COMMENTS","FORMULA","EXAMPLE","REFERENCES"].forEach(function(e){var r=c[e];if(r){var n=document.createElement("section"),o=document.createElement("h2");o.textContent=s[e],n.appendChild(o),Array.prototype.slice.call(r.querySelectorAll(".sectline")).forEach(function(e){if(t(e.textContent||"")){var r=document.createElement("p");r.innerHTML=Pe(e).innerHTML,n.appendChild(r)}}),t(n.textContent||"").length>o.textContent.length&&u.appendChild(n)}}),Ze(e,u,{cloneRoot:!1,title:i+" - "+a,excerpt:a,siteName:e.siteName||"OEIS",cleanupRoot:!1,minTextLength:300,validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bExample\b/i.test(e)}})}(e)||function(e){if(!/^\/structure\/[A-Za-z0-9]{4}$/i.test(location.pathname||""))return null;var r=t((document.querySelector("#structureID")||{}).textContent||"").replace(/ /g," ").match(/\b[A-Za-z0-9]{4}\b/),n=r&&r[0].toUpperCase(),o=t((document.querySelector("#structureTitle")||{}).textContent||"");if(!n||!o)return null;var i=t(document.body&&document.body.textContent||""),a=["Classification","Organism(s)","Mutation(s)","Deposited","Released","Deposition Author(s)","Method","Resolution"],l=["PDB ID: "+n,Na(i,"Classification",a),Na(i,"Organism(s)",a),Na(i,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),Na(i,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),Na(i,"Deposited",a),Na(i,"Released",a)].filter(Boolean),s="",c=document.querySelector("#primarycitation, [id*='citation' i], [class*='citation' i]");if(c&&(s=t(c.textContent||"").replace(/^Primary Citation\s*/i,"").replace(/\s*PubMed(?: Abstract)?:[\s\S]*$/i,"")),!s){var u=i.match(/Structure of [\s\S]{20,260}?(?=PubMed Abstract:|PDB DOI:|Experimental Data|$)/i);s=u?t(u[0]):""}var d=Na(i,"PubMed Abstract",["PDB DOI","Experimental Data","Deposition Data","Ligands","Clicking the button"]).replace(/\s+View More[\s\S]*$/i,"").replace(/\s+\/\/ Used for[\s\S]*$/i,""),m=[];s&&m.push("Primary citation: "+s),d&&m.push("PubMed abstract: "+d);var p=T({title:n+" - "+o,details:l,highlights:m,siteName:e.siteName||"RCSB PDB",contentType:"article",hostAware:!0});return t(p.markdown).length<180||!/\bPDB ID:\s*[A-Z0-9]{4}\b/.test(p.markdown)?null:p}(e)||function(e){if(!/\.nist\.gov$/i.test(location.hostname||"")&&!/^nist\.gov$/i.test(location.hostname||""))return null;var r=document.querySelector("main#main, #main"),n=t((r&&r.querySelector("h1#Top, h1")||{}).textContent||"");if(!r||!n)return null;var o=t(r.textContent||"");return/\bFormula:\s*\S/i.test(o)&&/\bMolecular weight:\s*[0-9.]+/i.test(o)&&/\bCAS Registry Number:\s*\S/i.test(o)?Ze(e,r,{title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NIST",cleanupRoot:!1,minTextLength:220,rewriteRoot:function(e){e.querySelectorAll(".copy-prior-text, svg, img, form, .sr-only").forEach(function(e){e.remove()}),e.querySelectorAll("li").forEach(function(e){var r=t(e.textContent||"");(/^Chemical structure:/i.test(r)||/^Permanent link/i.test(r))&&e.remove()})},validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bMolecular weight\b[\s\S]*\bCAS Registry Number\b/i.test(e)}}):null}(e)}),registerHostAwareProfile(!0,is),registerHostAwareProfile(!0,za),registerHostAwareProfile(!0,Ra),registerHostAwareProfile(!0,Fa),registerHostAwareProfile(!0,ml),registerHostAwareProfile(!0,pl),registerHostAwareProfile(!0,hl),registerHostAwareProfile(!0,yl),registerHostAwareProfile(!0,sl),registerHostAwareProfile(!0,gl),registerHostAwareProfile(!0,cl),registerHostAwareProfile(/(^|\.)sec\.gov$/i,function(e){if(!Ee(/(^|\.)sec\.gov$/i))return null;if(!/^\/Archives\/edgar\/data\//i.test(location.pathname||""))return null;var r=document.querySelector("#formDiv, .formContent, #main-content, main, body");return r?Ze(e,r,{title:u(["#formName",".formName","h1","h2"])||t(e.title||document.title)||"SEC EDGAR filing",byline:null,siteName:"SEC EDGAR",publishedTime:null,minTextLength:500,cleanupRoot:!1,rewriteRoot:function(e){e.querySelectorAll("script, style, noscript, iframe, form, input, button, nav").forEach(function(e){e.remove()})},postProcessMarkdown:function(e){return e.replace(/\n{4,}/g,"\n\n\n").trim()},extra:{secFiling:!0}}):null}),registerHostAwareProfile(!0,function(e){return function(e){var r=document.querySelector("#MainContent .EurlexContent #document1")||document.querySelector("#MainContent .EurlexContent #textTabContent")||document.querySelector("#MainContent .EurlexContent #PP1Contents")||document.querySelector("#MainContent .EurlexContent");return r&&document.querySelector("#MainContent .EurlexContent")&&(document.querySelector("#op-header")||document.querySelector(".PageShare"))?Oa(e,r,{minText:300,docsLike:!0,title:t((document.querySelector("#MainContent .EurlexContent #PP1Contents #title, #MainContent .EurlexContent #PP1Contents #englishTitle")||{}).textContent||""),titleRoot:document.querySelector("#MainContent")||document,strip:function(e){e.querySelectorAll("#translatedTitle.hidden, #originalTitle.hidden, .hidden, .PageShare, .AffixSidebarWrapper").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content .group--type--microsite.microsite--type--programs")||document.querySelector("main[role='main'] .group--type--microsite.microsite--type--programs")||document.querySelector("main#main-content .node-intro")||null;return t&&(document.querySelector(".usa-megamenu, .usa-nav__submenu")||document.querySelector(".usa-banner"))&&t.querySelector("h1, .microsite-title, .field--name--field-intro, .field--name-field-intro")?Oa(e,t,{minText:350,titleRoot:t,strip:function(e){e.querySelectorAll(".group-menu, [class*='group-menu'], .usa-breadcrumb, [id*='breadcrumb' i], .slick-dots, .slick-arrow").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content #main-article")||document.querySelector("main#main-content")||document.querySelector("main[role='main']");return t&&document.querySelector("#feedback-form")&&document.querySelector("main#main-content")&&t.querySelector("nav.contents, .contents, h1")&&/\bYour Europe\b/i.test([e.siteName||"",e.title||"",document.title||"",document.body.textContent||""].join(" "))?Oa(e,t,{minText:150,preserveContentNav:!0,titleRoot:document.querySelector("main#main-content")||t,strip:function(e){e.querySelectorAll("#feedback-form, [id*='feedback' i], [class*='feedback' i], .share, [id^='sh-']").forEach(function(e){e.remove()})}}):null}(e)||function(e){var r=document.querySelector("#stnd-designation, [id*='standard' i][id*='designation' i], [class*='standard' i][class*='designation' i]"),n=document.querySelector("#stnd-title, [id*='standard' i][id*='title' i], [class*='standard' i][class*='title' i]"),o=document.querySelector("#standard-details, [id*='standard' i][id*='details' i], [class*='standard' i][class*='details' i]"),i=document.querySelector("#stnd-description, [id*='standard' i][id*='description' i], [class*='standard' i][class*='description' i]"),a=document.querySelector("#page-title.standard, [class*='standard' i][id*='title' i]"),l=document.querySelector("#content.standard #main-content, main #main-content, main");if(!(r&&n&&o&&i&&l&&a))return null;var s=document.createElement("article");a&&s.appendChild($e(a,document)),s.appendChild($e(i,document)),s.appendChild($e(o,document));var c=l.querySelector("#working-group-details");if(c){var u=$e(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return Oa(e,s,{minText:250,title:t([r.textContent,n.textContent].join(" - ")),strip:function(e){Ne(e,se+", form, .osano-cm-window, [class*='cookie' i], [class*='newsletter' i]")}})}(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".page-content .container, main .container, main, .content")),o=null;return r.forEach(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("ul.arrows, ol.arrows, ul, ol")).filter(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return!(r.length<4)&&r.filter(function(e){var r=t(e.textContent||""),n=e.getAttribute("href")||"";return/\b(?:convention|protocol|principles?|instrument)\b/i.test(r)&&/\b(?:conventions?|instruments?|full-text|specialised-sections)\b/i.test(n)}).length>=Math.min(4,r.length)}),i=t([e.querySelector("h1, h2")&&e.querySelector("h1, h2").textContent,e.textContent].join(" ")),a=n(e)+1e3*r.length;r.length<2||(/\bConventions? and (?:other )?Instruments?\b/i.test(i)||/\bCore Conventions?\b/i.test(i))&&(!o||a>o.score)&&(o={root:e,score:a})}),o?Oa(e,o.root,{docsLike:!0,minText:400,titleRoot:o.root,strip:function(e){Ne(e,se+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||Ga(e)||Za(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll("[id*='listView' i], [role='list'], [class*='topic' i][class*='list' i], [class*='card' i][class*='grid' i]")),n=null;if(r.forEach(function(e){var r={},i=[],a=/topic|taxonomy|listview/i.test((e.id||"")+" "+(e.className||"")+" "+e.getAttribute("data-sf-element"));if(e.querySelectorAll("a[href]").forEach(function(e){var n=o(e.getAttribute("href")||""),l=t(e.getAttribute("aria-label")||(e.querySelector("h2, h3, h4")||{}).textContent||""),s=Array.prototype.slice.call(e.querySelectorAll("p")),c="";!l&&s.length&&(l=t(s[s.length-1].textContent||e.textContent||"")),s.length>1&&(c=t(s[0].textContent||"")),!c&&l&&(c=Oo(e,l)),!l||!n||l.length<3||l.length>180||r[n]||(a||/\btopics?\b/i.test(n+" "+l+" "+c))&&(/^(home|health topics|topics|news|headlines|menu|search|more)$/i.test(l)||(r[n]=!0,i.push({text:l,url:n,detail:c})))}),!(i.length<8)){var l=100*i.length+(a?1e3:0);(!n||l>n.score)&&(n={root:e,items:i,score:l})}}),!n)return null;var i=t((document.querySelector("h1")||{}).textContent||e.title||document.title||"Topics");return j(e,{title:i,excerpt:e.excerpt,items:n.items,html:Pe(n.root).innerHTML,textContent:i+"\n"+C(n.items)})}(e)}),registerHostAwareProfile(/(^|\.)wykop\.pl$/i,Vl),registerHostAwareProfile(!0,function(e){return function(e){var r=xt(e);return(Ee(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?Et(e,["main article","main .prose","main [data-docs-body]"],{titleSelectors:["main article h1","main .prose h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[|·-]\s*Next\.js$/i,""))}}):null}(e)||function(e){var r=xt(e);return(Ee(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?Et(e,["main article","main [data-pagefind-body]","main .max-w-4xl article"],{titleSelectors:["main article h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[–-]\s*React$/i,""))}}):null}(e)||Ji(e)||function(e){var r=xt(e);return Ee(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?Et(e,["#main-col-body","#main-content #main-col-body","#main-content","main"],{titleSelectors:["#main-content h1","#main-col-body h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*AWS.*$/,""))},removeCookiePrefs:!0,removeMarketingTips:!0,rewriteRoot:function(e){e.querySelectorAll("awsdocs-language-banner, awsdocs-page-header, awsdocs-filter-selector, .awsdocs-page-header-container, .awsdocs-note.awsdocs-tip").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/join serverless experts|builder center|click here to sign up/i.test(r)&&r.length<800&&e.remove()})}}):null}(e)||function(e){var r=xt(e);return(Ee(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?Et(e,["main article","article.main-page-content","main .main-page-content","main"],{titleSelectors:["main article h1","article.main-page-content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*MDN.*$/,""))},removeTryIt:!1,rewriteRoot:function(e){e.querySelectorAll("section").forEach(function(e){var r=e.querySelector("h2, h3, h4");r&&/^try it$/i.test(t(r.textContent))&&e.remove()}),e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent);if(/^(?:try it|help improve mdn)$/i.test(r)){var n=e.closest("section");n?n.remove():e.remove()}}),e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);(/^baseline\b/i.test(r)||/this feature is well established and works across many devices/i.test(r))&&r.length<800&&e.remove()}),e.querySelectorAll("table.bc-table, [class*='bc-table'], [class*='bcd-table']").forEach(function(e){t(e.textContent).length<30&&e.remove()})}}):null}(e)||Xi(e)||function(e){var t=xt(e);return Ee(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?Et(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .sidebar, [data-testid='side-nav'], [data-testid='breadcrumbs']").forEach(function(e){e.remove()}),dt(e,"div, p, span, button, a",/^(on this page|edit this page on github|theme)$/i),e.querySelectorAll("details summary").forEach(function(e){var t=_t(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=xt(e);return Ee(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?Et(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .toc, .sidebar, [data-pagefind-ignore]").forEach(function(e){e.remove()}),dt(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=xt(e);return Ee(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?Et(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*Grafana.*$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, [aria-label='breadcrumb'], [data-testid='sidebar'], .toc, .sidebar").forEach(function(e){e.remove()}),dt(e,"div, p, span, button, a",/^(on this page|scroll for more|suggest an edit in github|create a github issue|email docs@grafana\.com|help and support)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);(/^is this page helpful\??/i.test(r)||/^was this page helpful\??/i.test(r))&&r.length<200&&e.remove(),/^related resources from grafana labs/i.test(r)&&r.length<2500&&e.remove()})}}):null}(e)||Qi(e)||ea(e)}),registerHostAwareProfile(!0,ta),registerHostAwareProfile(!0,ra),registerHostAwareProfile(!0,na),registerHostAwareProfile(!0,Qa),registerHostAwareProfile(/(^|\.)github\.com$/,il),registerHostAwareProfile(!0,function(e){var r=Ri(e);return Wi(e,r)||function(e,r){if(!(r=r||Ri(e))||"rustdoc"!==r.system)return null;var n=wt(["main",".rustdoc","body"]);return Lt(e,n,{titleSelectors:["main h1",".rustdoc h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s+copy item path$/i,"")},postProcessMarkdown:function(e){return Array.prototype.slice.call(n.querySelectorAll("pre")).map(function(e){return Ut(e.textContent)}).filter(Boolean).forEach(function(t){var r=t.split("\n").filter(Boolean),n=r[r.length-1];if(n&&-1===e.indexOf(t)){var o=new RegExp("\\n*```[^\\n]*\\n[\\s\\S]*?"+Dt(n)+"\\n```","g");e=[(e=e.replace(o,"")).trim(),Wt("",t).trim()].filter(Boolean).join("\n\n")}}),e},rewriteRoot:function(e){e.querySelectorAll("nav, #sidebar, .sidebar, .sub-sidebar-menu, #settings, #help-button, #crate-search, .mobile-topbar, .sidebar-elems, .out-of-band").forEach(function(e){e.remove()}),dt(e,"a, button, div, span, p",/^(search|settings|help|copy item path|expand description|show sidebar|hide sidebar|toggle sidebar|source|collapse all|expand all)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.getAttribute("title")),n=t(e.textContent);(/show sidebar|hide sidebar|toggle sidebar/i.test(r)||/^(search|settings|help|source|§)$/i.test(n))&&e.remove()}),e.querySelectorAll("a.srclink, a.src, a[class*='srclink']").forEach(function(e){e.remove()}),e.querySelectorAll(".example-wrap, .example, [class*='example']").forEach(function(e){e.querySelectorAll("a[href], button").forEach(function(e){var r=e.getAttribute("href")||"",n=t(e.textContent);(/play\.rust-lang\.org|rustdoc\.test/i.test(r)||/^(run|play)$/i.test(n))&&e.remove()}),dt(e,"p, span",/^see\s*\.?$/i)}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/\s+copy item path$/i,"").replace(/^§\s*/,"")})}})}(e,r)||function(e,t){return(t=t||Ri(e))&&"javadoc"===t.system?Et(e,["main",".contentContainer","body"],{titleSelectors:["main h1",".header h1","h1"],fallbackTitle:function(){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, header, footer, .top-nav, .sub-nav, .skip-nav, .search-spec, .nav-list, .header, .footer").forEach(function(e){e.remove()}),dt(e,"a, button, span",/^(skip navigation|search|module|package|class|use|tree|deprecated|index|help)$/i),At(e)}}):null}(e,r)||function(e,r){if(!(r=r||Ri(e))||"dartdoc"!==r.system)return null;var n=ht(u(["#dartdoc-main-content h1","main h1","h1"])||e.title||document.title),i=u(["#dartdoc-main-content .desc p","main .desc p","main p"]),a=[];if(document.querySelectorAll("section.summary dl dt").forEach(function(e){var r=e.querySelector(".name a[href], a[href]");if(r){var n=t(r.textContent),i=o(r.getAttribute("href")),l=e.nextElementSibling&&e.nextElementSibling.tagName&&"dd"===e.nextElementSibling.tagName.toLowerCase()?e.nextElementSibling:null,s=t(l&&l.textContent);n&&i&&a.push({title:n,href:i,description:s})}}),a.length<4)return null;var l=["# "+(n||"API Reference")];i&&l.push(i),l.push("## Libraries\n\n"+a.map(function(e){return"- ["+e.title+"]("+e.href+")"+(e.description?" - "+e.description:"")}).join("\n"));var s=It(l.join("\n\n"));return{title:n||e.title||document.title,byline:null,excerpt:i||a[0].description||null,siteName:e.siteName||location.hostname,publishedTime:null,html:(document.querySelector("#dartdoc-main-content")||document.querySelector("main")||document.body).innerHTML,markdown:s,textContent:t(s),docsLike:!0,readerMode:!1,contentType:"article"}}(e,r)||function(e,t){if(!(t=t||Ri(e))||"go_pkg"!==t.system)return null;var r=wt(["#main-content","main","body"]);return Lt(e,r,{titleSelectors:["#main-content h1","main h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*Go Packages$/i,"")},rewriteRoot:function(e){e.querySelectorAll("header, nav, aside, footer, .go-Header, .go-MainHeader, .go-LeftNav, .go-DetailsHeader, .go-Main-aside").forEach(function(e){e.remove()}),dt(e,"div, p, span, a, button",/^(jump to \.\.\.|documentation|details|repository|links|versions|licenses|imports|imported by)$/i)}})}(e,r)||function(e,r){if(!(r=r||Ri(e))||"google_devsite"!==r.system)return null;var n,o=wt(["devsite-content article","devsite-content .devsite-article-body","article[class*='devsite']","main article","main"]),i=/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi;return $t(e,o,{title:(n=u(["devsite-content h1","article h1","main h1"])||e.title||document.title,ht((n||"").replace(i,"").replace(/\s*[|·]\s*(Google Cloud|Firebase|Android|Chrome).*$/i,""))),rewriteRoot:function(e){e.querySelectorAll("devsite-header, devsite-toc, devsite-nav, devsite-page-rating, devsite-feedback, devsite-thumb-rating, devsite-bookmark, devsite-feature-tooltip, nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, p, span, h2, h3, h4").forEach(function(e){var r=t(e.textContent);/stay organized with collections/i.test(r)&&/save and categorize content/i.test(r)&&r.length<200?e.remove():/^(h[1-6])$/i.test(e.tagName)&&(e.textContent=t(e.textContent).replace(i,""))}),e.querySelectorAll("div, section, p").forEach(function(e){var r=t(e.textContent);/except as otherwise noted.*creative commons/i.test(r)&&r.length<600&&e.remove(),/^(content and samples on this page|except as otherwise noted)/i.test(r)&&r.length<600&&e.remove()}),dt(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),At(e);var r=e.querySelectorAll("h1");if(r.length>1){for(var n=0,o=t(r[0].textContent).length,a=1;a<r.length;a++){var l=t(r[a].textContent).length;l>0&&l<o&&(o=l,n=a)}for(var s=t(r[n].textContent).toLowerCase(),c=0;c<r.length;c++)if(c!==n){var u=t(r[c].textContent).toLowerCase();u!==s&&0!==u.indexOf(s)&&0!==s.indexOf(u)||r[c].remove()}}e.querySelectorAll("section, div, p").forEach(function(e){var r=t(e.textContent);/enterprise edition.*now available|is now available.*learn more/i.test(r)&&r.length<300&&e.remove()})}})}(e,r)||function(e,r){return(r=r||Ri(e))&&"elastic_docs"===r.system?$t(e,wt(["main article","main [class*='docBody']","article","main"]),{title:ht(u(["main article h1","article h1","main h1"])||(e.title||document.title).replace(/\s*\|\s*Elasticsearch.*$/i,"")),rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent);!r&&e.querySelector("svg, .icon")&&e.remove(),!r&&!e.querySelector("img")&&e.getAttribute("href")&&/^#/.test(e.getAttribute("href"))&&e.remove()}),dt(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),At(e)}}):null}(e,r)||function(e,r){return(r=r||Ri(e))&&"readme"===r.system?$t(e,wt(/\/reference\//i.test(location.pathname)||document.documentElement.classList.contains("isRefPage")?[".rm-ReferenceMain","main .rm-ReferenceMain",".rm-Article","main"]:[".rm-Article","article","main .rm-LandingPage","main .rm-ReferenceMain","main"]),{title:ht(u(["article h1",".rm-Article h1","main h1","h1"])||Gi(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .rm-Sidebar, .hub-sidebar, [class*='Sidebar'], [class*='QuickNav'], [class*='ModalWrapper'], [class*='TableOfContents']").forEach(function(e){e.remove()}),e.querySelectorAll("[class*='LanguagePicker'], [class*='APIAuth'], [class*='TryItNow'], [class*='ResponseSchemaModal']").forEach(function(e){e.remove()}),dt(e,"a, button, div, p, span, li",/^(skip to content|skip to main content|on this page|suggest edits|updated .*|log in|sign up|search|api reference|did this page help you\??|retrieving recent requests[\u2026.]*|recent requests|loading[\u2026.]{1,3}|log in to see full request history|try it!?|responses?)$/i),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent);(/^\s*(time\s+status\s+user\s*agent)?\s*$/i.test(r)||r.length<60&&/time.*status.*user\s*agent/i.test(r))&&e.remove()}),At(e)}}):null}(e,r)||function(e,r){return(r=r||Ri(e))&&"redoc"===r.system?$t(e,wt([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),{title:ht(u([".api-content h1",".redoc-wrap h1","main h1","h1"])||Gi(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),dt(e,"a, button, div, p, span, li",/^(download|download openapi specification:?|authorize|try it|send api request|copy|expand all|collapse all|payload|loading[\u2026.]{1,3})$/i),Gt(e),e.querySelectorAll("[data-rttabs]").forEach(function(e){e.querySelectorAll("[role='tablist'], [role='tab']").forEach(function(e){e.remove()})}),e.querySelectorAll("select.dropdown-select").forEach(function(e){e.remove()}),e.querySelectorAll("label").forEach(function(e){t(e.textContent).length<=120&&e.remove()}),e.querySelectorAll("div, section").forEach(function(e){t(e.textContent)||e.querySelector("img, svg, pre, code, table, ul, ol")||e.remove()}),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){e.textContent=ht(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}}):null}(e,r)||function(e,r){return(r=r||Ri(e))&&"mintlify"===r.system?Et(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:Gi,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var o=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=o}Ne(e,le+", .menu, .table-of-contents, [data-testid='table-of-contents'], [aria-label='Table of contents'], [class*='sidebar'], [class*='toc'], #page-context-menu, #page-context-menu-button, #pagination"),dt(e,"a, button, div, p, span, li",/^(copy page|copy for llm|view as markdown|ask ai|ask an ai|on this page|table of contents|search|skip to content|skip to main content|ctrl\+?\s*[a-z]|ctrl\s+[a-z])$/i),e.querySelectorAll("div, aside, p, span").forEach(function(e){var r=t(e.textContent);/^api reference sidebar$/i.test(r)&&e.remove()}),e.querySelectorAll(".eyebrow").forEach(function(e){t(e.textContent).length<=40&&e.remove()}),At(e)}}):null}(e,r)||function(e,t){return(t=t||Ri(e))&&"gitbook"===t.system?$t(e,wt(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]),{title:ht(u(["main header h1","main h1","h1"])||Gi(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){Ne(e,le+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),dt(e,"a, button, div, p, span, li",/^(copy page|copy for llm|copy page as markdown|open in chatgpt|open in claude|connect to cursor|view as markdown|powered by gitbook|was this page helpful\??|previous|next|last updated|on this page|table of contents|ask or search|search|skip to content|skip to main content)$/i),At(e)}}):null}(e,r)||function(e,t){return(t=t||Ri(e))&&"scalar"===t.system?$t(e,wt([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]),{title:ht(u([".scalar-api-reference h1","main h1","h1"])||Gi(e)),focusFragment:!1,rewriteRoot:function(e){Ne(e,le+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),dt(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),At(e)}}):null}(e,r)||function(e,t){return jt(e,t,{system:"fern",rootSelectors:[".fern-layout-reference article",".fern-layout-overview article","article .fern-prose","article","main"],titleSelectors:[".fern-page-heading","article h1","main h1"],fallbackTitle:Gi,removeSelectors:le+", #fern-sidebar, .fern-breadcrumb, .fern-page-actions, .toc-mobile, .fern-header-tabs, .fern-api-playground, .fern-endpoint-panel",removeTextPattern:/^(copy page|on this page|table of contents|previous|next)$/i})}(e,r)||function(e,t){return jt(e,t,{system:"next",rootSelectors:["main article","main .prose","main [data-docs-body]","main [data-pagefind-body]","main"],titleSelectors:["main article h1","main .prose h1","main h1","h1"],fallbackTitle:Gi,removeSelectors:le+", header, footer, nav, aside, [class*='sidebar' i], [class*='toc' i], [class*='breadcrumb' i]",removeTextPattern:/^(skip to content|skip to main content|on this page|edit this page|previous|next|search)$/i,contentType:function(e,t){return ft(e,t)?"list":"article"}})}(e,r)||function(e,r){return(r=r||Ri(e))&&"nextra"===r.system?Et(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:Gi,contentType:ft(document.querySelector("main"),r)?"list":"article",rewriteRoot:function(e){e.querySelectorAll(".nextra-cards, .not-prose").forEach(function(e){e.classList.remove("not-prose")}),e.querySelectorAll("a.nextra-card[href]").forEach(function(e){var r=t(e.getAttribute("title")||e.querySelector("[title]")&&e.querySelector("[title]").getAttribute("title")||e.textContent),n=t(Array.prototype.slice.call(e.querySelectorAll("p")).map(function(e){return e.textContent}).join(" ")),o=e.getAttribute("href");if(r&&o){var i=document.createElement("section"),a=document.createElement("ul"),l=document.createElement("li"),s=document.createElement("a");if(s.setAttribute("href",o),s.textContent=r,l.appendChild(s),a.appendChild(l),i.appendChild(a),n&&n!==r){var c=document.createElement("p");c.textContent=n,i.appendChild(c)}e.replaceWith(i)}}),Ne(e,le+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),dt(e,"a, button, div, p, span, li",/^(copy page|on this page|skip to content|skip to main content|previous|next)$/i),e.querySelectorAll("a.subheading-anchor").forEach(function(e){e.remove()}),At(e)},postProcessMarkdown:function(e,r){if(!r||!r.querySelector(".nextra-cards"))return e;var n=[];return r.querySelectorAll(".nextra-cards a[href]").forEach(function(r){var i=t(r.textContent||r.getAttribute("title")),a=o(r.getAttribute("href"));i&&a&&-1===e.indexOf(a)&&n.push("- ["+i+"]("+a+")")}),n.length?(e||"").trim()+"\n\n## Pages\n\n"+n.join("\n"):e}}):null}(e,r)||Vi(e,r)||function(e,r){return jt(e,r,{system:"vitepress",rootSelectors:[".VPDoc .vp-doc",".VPContentDoc .vt-doc","#VPContent .VPDoc","#VPContent .VPContentDoc","#VPContent article",".vp-doc",".vt-doc","main"],titleSelectors:["#VPContent h1",".VPDoc h1",".VPContentDoc h1",".vp-doc h1",".vt-doc h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*[^|]*$/,"")},removeSelectors:le+", .VPDocFooter, .VPContentDocFooter, .VPDocAsideOutline, .aside, .pager-link, .prev-next, .outline-link",removeTextPattern:/^(skip to content|skip to main content|on this page|return to top|edit this page|previous page|next page|ads via carbon)$/i,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var i=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=i}e.querySelectorAll("div, p, span").forEach(function(e){var r=t(e.textContent);r&&r.length<300&&/^are you an llm\b/i.test(r)&&e.remove()}),e.querySelectorAll("a[href], img").forEach(function(e){var t=o(e.getAttribute&&e.getAttribute("href")),r=o(e.getAttribute&&e.getAttribute("src"));if(t&&/carbonads|srv\.carbonads\.net/i.test(t)||r&&/carbonads|srv\.carbonads\.net/i.test(r)){var n=e.closest("div, p, section, aside, a")||e;n&&n.remove()}})}})}(e,r)||function(e,t){return jt(e,t,{system:"rspress",rootSelectors:[".rspress-doc","main .rp-doc","main article","main"],titleSelectors:["main h1","article h1",".rspress-doc h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[-|]\s*[^-|]*$/,"")},preferFragmentTitle:!1,removeSelectors:le+", .rp-nav, .rp-sidebar, .rp-toc, .rp-doc-footer, .rp-breadcrumb, .rp-pagination",removeTextPattern:/^(skip to main content|on this page|edit this page|previous page|next page|back to top)$/i,rewriteRoot:function(e){e.querySelectorAll("a.rp-header-anchor, .rp-header-anchor").forEach(function(e){e.remove()})},headingFormatter:function(e){return ht(e).replace(/^#\s*/,"")}})}(e,r)||Ki(e,r)||function(e,r){return jt(e,r,{system:"mdbook",rootSelectors:["#content main","#content","main"],titleSelectors:["#content main h1","#content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*The Rust Programming Language$/i,""))},removeSelectors:le+", #sidebar, #sidebar-toggle, nav.sidebar, #menu-bar, #menu-bar-hover-placeholder, .nav-wrapper, .nav-chapters, .chapter, #sidebar-resize-handle, .mobile-nav-chapters",removeTextSelector:"a, button, div, span",removeTextPattern:/^(print this book|light|rust|coal|navy|ayu|change theme|toggle table of contents|keyboard shortcuts)$/i,headingFormatter:!1})}(e,r)||Zi(e,r)||function(e,r){return jt(e,r,{system:"readthedocs",rootSelectors:[".wy-nav-content .rst-content",".rst-content",".wy-nav-content","div[role='main']","main"],titleSelectors:[".rst-content h1",".wy-nav-content h1","main h1","h1"],fallbackTitle:function(e){return e.title||document.title},preferFragmentTitle:!1,contentType:function(e,t){return ft(e,t)?"list":"article"},removeSelectors:"nav, aside, footer, .wy-breadcrumbs, .rst-footer-buttons, .wy-menu, .wy-nav-side, .wy-side-nav-search, .wy-nav-top",rewriteRoot:function(e,r){e.querySelectorAll("a.headerlink").forEach(function(e){e.remove()});var n=!1;e.querySelectorAll("h1").forEach(function(e){if(e.textContent=ht(e.textContent),t(e.textContent)===t(r)){if(n)return void e.remove();n=!0}})}})}(e,r)||function(e,t){return jt(e,t,{system:"sphinx",rootSelectors:["div.document > div > div.section","div.document > div.section",".document","div.body[role='main']","div.body","[role='main']","main"],titleSelectors:[".document h1","div.body h1","[role='main'] h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[—-]\s*[^—-]*documentation$/i,"")},contentType:function(e,t){return ft(e,t)?"list":"article"},removeSelectors:"a.headerlink, button.copybutton, .toc-backref, .sphinxsidebar, .sphinxsidebarwrapper, [role='navigation'], aside",headingSelector:"h1, h2, h3, h4",rewriteRoot:function(e){e.querySelectorAll("dt.sig").forEach(function(e){var t=document.createElement("h3");t.textContent=ht(e.textContent),e.replaceWith(t)})}})}(e,r)}),registerHostAwareProfile(!0,wl),registerHostAwareProfile(!0,vl),registerHostAwareProfile(!0,xl),registerHostAwareProfile(/^news\.ycombinator\.com$/i,Cl),registerHostAwareProfile(!0,$l),registerHostAwareProfile(!0,Nl),registerHostAwareProfile(!0,Fl),registerHostAwareProfile(/(^|\.)stackoverflow\.com$/,Ol),registerHostAwareProfile(!0,Wl),registerHostAwareProfile(!0,Yl),registerHostAwareProfile(!0,Ql),registerHostAwareProfile(!0,Pl),registerHostAwareProfile(!0,ts),registerHostAwareProfile(!0,es),registerHostAwareProfile(!0,rs),registerHostAwareProfile(!0,ns),registerHostAwareProfile(!0,Zl),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)english\.news\.cn$/i)&&/\/weekly\.htm$/i.test(location.pathname||"")?Io(e,{title:e&&e.title||document.title||"Biz China Weekly",siteName:e&&e.siteName||"english.news.cn",minItems:4,minTitleLength:8,maxTitleLength:40,linkSelector:"#list .item .tit a[href]",cardSelector:"#list .item",rejectTitle:/^More$/i}):null}),ut({condition:/(^|\.)avesta\.tj$/,hostPattern:/(^|\.)avesta\.tj$/,pathPattern:/\/\d{4}\/\d{2}\/\d{2}\/[^/?#]+\/?$/i,bodySelectors:[".entry-content.with-share .content-inner",".entry-content .content-inner",".single-post .content-inner"],titleSelectors:[".jeg_post_title",".entry-header h1","h1"],minBodyTextLength:200,removalSelectors:[".jeg_share_button",".jeg_share_top_container",".jeg_ad",".jeg_breadcrumbs",".jeg_post_meta",".jeg_post_tags",".post-navigation","script","style"]}),ut({condition:/(^|\.)opais\.co\.mz$/,hostPattern:/(^|\.)opais\.co\.mz$/,pathPattern:/\/[^/?#]+\/?$/i,bodySelectors:[".elementor-widget-theme-post-content .elementor-widget-container",".elementor-widget-theme-post-content"],titleSelectors:[".elementor-widget-theme-post-title h1","h1"],minBodyTextLength:200,removalSelectors:[".elementor-share-buttons",".sharedaddy",".post-nav-links","script","style"]}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)walla\.co\.il$/))return null;var t=document.querySelector("main article.common-item, article.common-item, section.item-main-content");return t?Be(e,t,{title:u(["h1.title","header h1","h1"])||e.title,byline:u([".writers-names",".writer-name-item",".date-and-time-p"])||e.byline,minTextLength:600,rewriteRoot:function(e){Ne(e,[".tags-and-breadcrumbs",".share-panel",".under-talkback-wrapper","[class*='taboola' i]","[class*='trc-' i]","[class*='articles-wrapper' i]","[class*='reco-reel' i]","script","style"].join(", ")),e.querySelectorAll("section.article-content h3").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)})}}):null}),ut({hostPattern:/(?:^|\.)france24\.com$/i,pathPattern:/\/\d{8}-/,bodySelectors:[".t-content__body"],titleSelectors:["h1"],removalSelectors:["aside","nav","[class*='share' i]","[class*='newsletter' i]","[class*='ad' i]","script","style"],minBodyTextLength:300}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)chosun\.com$/))return null;var r=document.querySelector("main")||document.querySelector("article")||document.querySelector("main article");return r&&r.querySelector("p, figure, blockquote")?(tt(r,e,{minBodyTextLength:300,minParagraphCount:3,paragraphMinLength:40,removalSelectors:[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")}),Be(e,r,{title:u(["article h1","main h1","h1"])||e.title,byline:u([".byline","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")),e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>220||/^(관련기사|추천기사|많이 본 뉴스|많이 본 기사|구독|프리미엄)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(/(^|\.)dinakaran\.com$/i,function(e){if(!Ee(/(^|\.)dinakaran\.com$/i))return null;var r=document.querySelector(".post-description")||document.querySelector(".article-main");return r?Be(e,r,{title:e.title,byline:null,minTextLength:250,rewriteRoot:function(e){Ne(e,[".relArticle",".article-list-scroll-section",".side-widget",".side-post-cntnt-right",".main-post-cntnt-right","[class*='related' i]","[id*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]","[data-ad]"].join(", ")),e.querySelectorAll("div, section, article").forEach(function(e){var r=t(e.textContent||"");r&&/^(related news|more stories|also read|more from)/i.test(r)&&e.querySelectorAll("a[href]").length>=2&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)20minutos\.es$/i)&&/-directo-/i.test(location.pathname||"")&&document.querySelector("article.c-detail--mam__minute-container")?Ye(e,{entrySelector:"article.c-detail--mam__minute-container",titleSelector:[".c-detail--mam__live__title","h2"],minTextLength:350,rootBuilder:function(e){var t=e.closest("div.c-detail__body");if(!t)return e;var r=t.cloneNode(!0),n=r.querySelector("article.c-detail--mam__minute-container");return r.querySelectorAll("article.c-detail--mam__minute-container").forEach(function(e){e!==n&&e.remove()}),r.querySelectorAll("script, style, [class*='share' i], [class*='ad' i], [class*='newsletter' i], [class*='related' i]").forEach(function(e){e.remove()}),r}}):null});var fs=ct({hostPattern:/(^|\.)nhk\.or\.jp$|(^|\.)web\.nhk$/i,pathPattern:/\/news(?:\/html\/\d{8}\/k\d+\.html|web\/(?:sp\/)?na\/na-k\d+(?:\/|$))/i,body:function(){return document.querySelector("main > div > div > div > div")},titleSelectors:["h1"],minBodyTextLength:100,removalSelectors:["button","[class*='share' i]","[aria-label*='share' i]"],rewriteRoot:function(e){Array.prototype.slice.call(e.children).forEach(function(e,t){t>=3&&e.remove()})}});registerHostAwareProfile(!0,fs);var gs=ct({hostPattern:/(^|\.)protothema\.gr$/i,pathPattern:/\/article\/\d+\//i,body:function(){var e=document.querySelector("main .section.mainSection");if(!e)return null;var t=document.createElement("div"),r=document.createElement("article");return r.appendChild(e.cloneNode(!0)),t.appendChild(r),t},titleSelectors:[".headerArticleInfo h1","main .section.mainSection h1","h1"],minBodyTextLength:250,removalSelectors:[".breadcrumbs",".article-meta-links",".article-flow-note","[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='popular' i]","[class*='newsletter' i]","[class*='ad' i]","script","style","iframe"]});registerHostAwareProfile(!0,gs),registerHostAwareProfile(!0,function(e){if(!function(){if(document.querySelector("meta[name='generator'][content*='Joomla' i]"))return!0;if(document.querySelector(".com-content-article, .com-content-article__body, #ja-content, #ja-contentmain, .item-page"))return!0;var e=document.body;if(!e)return!1;var r=t(e.getAttribute("data-template")||"");return/\bjoomla\b|\b(?:cassiopeia|protostar|atum|helix|gantry|t4|ja-)\b/i.test(r)}())return null;var r=document.querySelector(".com-content-article__body, .article-content, #ja-contentmain, .itemFullText, .articleBody");return r?Be(e,r,{titleSelectors:["article h1",".item-page h1","h1"],minTextLength:180,rewriteRoot:function(e){Ne(e,[".breadcrumb","[class*='breadcrumb' i]",".module",".moduletable","[class*='module' i]",".pagination",".pagenav","[class*='pagination' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop()),registerHostAwareProfile(!0,function(e){if(!document.querySelector("meta[name='generator'][content*='Drupal' i]")&&!document.querySelector("body[class*='drupal' i], .node__content, .field--name-body"))return null;var t=document.querySelector(".node__content, .field--name-body, .article__body");return t?Be(e,t,{titleSelectors:["article h1",".node__title","h1"],minTextLength:180,rewriteRoot:function(e){Ne(e,[".views-element-container","[class*='views' i]",".block","[class*='block' i]",".comment","[class*='comment' i]",".comments","[class*='comment-wrapper' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop());var ys=ct({body:function(){if(!document.querySelector("meta[name='generator'][content*='Blogger' i], body[class*='blog' i] .blog-post, body[class*='blog' i] .post-body, body[class*='blog' i] .post-title, iframe#navbar-iframe, .widget.Blog"))return null;var e=document.querySelector(".post-body")||document.querySelector("div.post-body")||document.querySelector(".entry-content");return e?e.closest(".blog-post")||e.closest("article")||e:null},titleSelectors:[".post-title","h3.post-title"],minBodyTextLength:180,removalSelectors:[".post-footer",".post-feeds",".post-share-buttons",".post-icons",".post-author",".post-header",".blog-pager",".comments",".comment",".comment-thread",".comments-content",".date-header",".date-outer",".date-posts",".post-timestamp",".widget",".widget.Blog","[class*='widget' i]","iframe#navbar-iframe"],rewriteRoot:function(e){e.querySelectorAll("footer, nav, time, .date, [class*='date' i], [class*='comment' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,ys);var bs=["meta[name='generator'][content*='Hugo' i]","meta[name='generator'][content*='Jekyll' i]","[class*='hugo-' i]","link[href*='/hugo-theme']","script[src*='/hugo-theme']","body[class*='post-template']"];function vs(e){var r=location.pathname||"",n=t(xs(e));return/\/wiki\/(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(r)||/^(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(n)||/[?&]title=(?:Special%3A(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category%3A)/i.test(location.search||"")}function ws(e){e.querySelectorAll(["#t-urlshortener","a[href*='UrlShortener']","#mw-panel","#mw-navigation",".vector-sidebar",".vector-legacy-sidebar",".vector-header",".mw-sidebar",".sidebar",".portal",".mw-editsection",".mw-editsection-like",".mw-jump-link",".mw-jump",".toc","#toc",".catlinks","#catlinks",".mw-hidden-catlinks",".printfooter",".noprint",".mw-reference-text",".reference-tooltip",".mwe-popups",".mwe-popups-container",".oo-ui-popupWidget",".navbox","table.navbox"].join(", ")).forEach(function(e){e.remove()}),e.querySelectorAll(".toc").forEach(function(e){var r=e.querySelectorAll("li").length,n=e.querySelectorAll("a[href]").length;(r>6||n>8||t(e.textContent||"").length>500)&&e.remove()}),e.querySelectorAll("[role='tooltip'], [class*='tooltip' i], [class*='popup' i]").forEach(function(e){e.closest("article, .mw-parser-output, #mw-content-text, #bodyContent")&&e.remove()})}function xs(e){var r=document.querySelector("#firstHeading, .firstHeading");if(r){var n=Pe(r);ws(n);var o=t(n.textContent||"");if(o)return o}return t(e&&e.title||document.title).replace(/\s*[-|–]\s*MediaWiki.*$/i,"")}function vl(e){if(r=t(document.body&&document.body.className||""),!document.querySelector("meta[name='generator'][content^='MediaWiki'], #mw-content-text, .mw-parser-output, .vector-body, .vector-body-inner, script[src*='load.php'], #firstHeading, .firstHeading")&&!/\bmediawiki\b|\bmw-/i.test(r))return null;var r,n=xs(e),o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#bodyContent .mw-body-content")||document.querySelector(".mw-parser-output")||document.querySelector(".vector-body-inner")||document.querySelector(".vector-body")||document.querySelector("#mw-content-text")||document.querySelector("#bodyContent");if(!o)return null;var i=Pe(o);ws(i),i.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()});var a=vs(e)?Qt(i.innerHTML):t(i.textContent||"");return t(a).length<30?null:(n&&!Tt(a,n)&&(a="# "+n+"\n\n"+a),{title:n||e&&e.title||document.title,byline:e&&e.byline,excerpt:t(a).slice(0,280)||e&&e.excerpt||null,siteName:e&&e.siteName||location.hostname,publishedTime:e&&e.publishedTime,html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:vs(e)?"list":"article",singleTopicPage:!vs(e),hostAware:!0})}registerHostAwareProfile(!0,function(e){return document.querySelector(bs.join(", "))?De(e,{bodySelectors:[".post-content",".article-content","article .content",".prose","main article","article"],titleSelectors:[".post-title",".article-title","h1"],minBodyTextLength:180,removalSelectors:[".comments",".comment",".comments-area",".comment-area",".comment-list",".share",".sharedaddy",".related",".post-navigation",".sidebar","[class*='comment' i]","[class*='sidebar' i]","[class*='share' i]","[class*='related' i]","[class*='nav' i]","[class*='toc' i]","[class*='breadcrumb' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]"]}):null}),registerHostAwareProfile(!0,function(e){return document.querySelector("meta[name='generator'][content^='Ghost'], .gh-head, .gh-canvas, .gh-article, .gh-article-body, article.gh-article")?De(e,{bodySelectors:[".gh-article-body",".post-content",".article-content",".gh-article"],titleSelectors:[".gh-article-title","h1"],minBodyTextLength:180,removalSelectors:[".gh-head",".gh-foot",".gh-article-meta",".gh-post-upgrade-cta",".share","[class*='share' i]","[class*='related' i]","[class*='subscribe' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='advert' i]"],rewriteRoot:function(e){e.querySelectorAll("header, footer, time, nav").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,vl);var Ss=["link[href*='/wp-content/']","script[src*='/wp-content/']","meta[name='generator'][content*='WordPress' i]",".entry-content",".post-content",".wp-block-post-content","[class*='wp-block-' i]"],ks=[{hostPattern:/(^|\.)civil\.ge$/,pathPattern:/^\/archives\/\d+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:["article#the-post .entry-content.entry","article#the-post .entry-content","article .entry-content","article .post-content","article .content"],title:function(e){return u(["h1.entry-title","h1.post-title","article h1","h1"])||t(e&&e.title||document.title)},removalSelectors:[".post-components",".post-bottom-meta",".post-shortlink"],minBodyTextLength:250},{hostPattern:/(^|\.)maroelamedia\.co\.(?:za|tz)$/,pathPattern:/^\/(?:nuus|debat)\/(?:[^/]+\/)+[^/]+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:[".entry-content","article .entry-content",".post-content",".article-content","[itemprop='articleBody']"],title:function(e){return t((e&&e.title||document.title||"").replace(/\s*-\s*Maroela Media\s*$/i,""))},removalTextPatterns:[/^o wee, die gesang is uit!/i],minBodyTextLength:250},{hostPattern:/(^|\.)newsit\.gr$/,homepagePath:/^\/?$/,body:function(){return Ge({leadSelectors:[".article-excerpt"],bodySelectors:["article[id^='post-'] .inside-article .entry-content section","article[id^='post-'] .entry-content section","article .entry-content section",".entry-content section"]})},titleSelectors:[".entry-title","article h1","h1"],removalSelectors:[".advert-block",".share-inside-the-content",".share-menu",".sticky-container","[id*='div-gpt-ad' i]","[class*='newsletter' i]","[class*='google' i]","figure","blockquote.twitter-tweet","[data-twitter-extracted]"],minBodyTextLength:180,rewriteRoot:function(e){e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||/^(διαφήμιση|ακολουθήστε το newsit\.gr|προσθήκη του newsit\.gr ως προτεινόμενη πηγή στην google)$/i.test(r)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent||""))})}},{hostPattern:/(^|\.)khaosod\.co\.th$/,homepagePath:/^\/?$/,pathPattern:/\/news_\d+\/?$/i,bodySelectors:[".article-content",".news-content","div.news-detail",".story-body",".entry-content","[itemprop='articleBody']"],restFallback:{postIdPattern:/news_(\d+)\/?$/i,minTextLength:250},title:function(e){return u([".udsg__main-title",".title-news","article h1","main h1","h1"])||e&&e.title},minVisibleBodyTextLength:250,minTextLength:250,removalSelectors:[".ads_position_wrapper",".udgal-desc",".trc_related_container",".tbl-explore-more-overlay",".social","[id*='taboola' i]"]},{hostPattern:/(^|\.)tovima\.gr$/,homepagePath:/^\/?$/,bodySelectors:[".post-body.main-content.article-wrapper",".post-body.main-content","[itemprop='articleBody']"],titleSelectors:["article h1","main h1","h1"],removalSelectors:[".google-preferred-source",".whsk_parent__div",".wrap_article_banner","[id^='banner-']","[id*='banner' i]"],removalTextPatterns:[/^κάντε\s+to\s+bhma\s+προτιμώμενη\s+πηγή$/i,/googletag\.cmd\.push|google-preferred-source/i],minBodyTextLength:250,rewriteRoot:function(e){e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(" "+(e.textContent||"")+" "))})}}],As=/(^|\.)(daryo\.uz|hatena\.blog|trend\.az)$/;registerHostAwareProfile(!0,function(e){var t=function(){for(var e=location.hostname||"",t=0;t<ks.length;t+=1){var r=ks[t];if(ot(r.hostPattern,e))return r}return null}();return t?De(e,t):Ee(As)?null:function(){if(document.querySelector(Ss.join(", ")))return!0;for(var e=document.querySelectorAll("[class]"),t=0;t<e.length;t+=1){var r=e[t].getAttribute("class")||"";if(/\bwp-[\w-]+\b/i.test(r))return!0}return!1}()?De(e,{bodySelectors:["article .wp-block-post-content",".wp-block-post-content","article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article .entry-content","article .post-content",".entry-content",".post-content","[itemprop='articleBody']"],titleSelectors:["h1.entry-title",".entry-title","article h1","main h1","h1"],bylineSelectors:["[rel='author']",".author",".byline",".post-author",".wp-block-post-author","[class*='author' i]"],minBodyTextLength:180,removalSelectors:[".entry-header",".post-header",".entry-meta",".post-meta",".author-bio",".author-box",".post-author",".wp-block-comments",".wp-block-comment-template",".wp-block-post-author",".wp-block-post-comments",".wp-block-latest-comments",".share","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='related' i]","[class*='promo' i]","[class*='sponsor' i]","[class*='advert' i]","[class*='ad-' i]"],rewriteRoot:function(e){e.querySelectorAll("header, time").forEach(function(e){e.remove()})}}):null});var Cs=ct({hostPattern:/(^|\.)hindustantimes\.com$/i,bodySelectors:[".artContent"],titleSelectors:["h1"],beforeExtract:function(e){e&&(e.publishedTime=null)},publishedTime:null,removalTextPatterns:[/^Get Current Updates on\b/i,/^Prefer HT\b/i,/^Hindi Language$/i,/^SIGN UP TO SUBSCRIBE$/i],extra:{packagePage:!0},removalSelectors:[".bottomTopics",".topicListContainer",".storyAd",".middleTaboola",".promotedWidget",".adHeight313",".minHeight325",".h325",".footerLogin",".nav-footer","footer","[id^='taboola-']","[id^='ad-']",".fc-footer",".fc-dialog-restricted-content"]});registerHostAwareProfile(!0,Cs);var qs=ct({hostPattern:/(^|\.)derstandard\.at$/,pathPattern:/\/(?:consent\/tcf\/)?story\/\d+/,bodySelectors:["main article","article"],titleSelectors:["article h1","main h1","h1"],bylineSelectors:["article [rel='author']","[rel='author']",".article-meta__author",".article-author"],removalSelectors:["[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='cookie' i]","[class*='consent' i]","[aria-label*='share' i]","aside","nav","footer","script","style","iframe"],minBodyTextLength:200,rewriteRoot:function(e){e.querySelectorAll("[class*='ad' i], [class*='promo' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,qs),ut({hostPattern:/(^|\.)blick\.ch$/,pathPattern:/\/[^/]+-id\d+\.html(?:[?#].*)?$/i,bodySelectors:["article[class*='Body__StyledContainer']"],titleSelectors:["h1","main h1","article h1"],bylineSelectors:["a[href*='/autoren/']",".SingleAuthors__Wrapper-sc-86b5d69c-0",".article-author",".author"],removalSelectors:["#containerPiano1","#containerPiano2",".CMPPlaceholder__Wrapper-sc-b34bbfca-0",".EmbeddedContent__StyledEmbeddedContentContainer-sc-5c959b4b-0"],minBodyTextLength:250}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)oxu\.az$/))return null;var t=document.querySelector(".post-detail");return t&&t.querySelector(".post-detail-content-inner, .post-detail-title h1, .post-detail-meta")?Be(e,t,{title:u([".post-detail-title h1","h1"])||e&&e.title,minTextLength:250,prependTitle:!1,cleanupRoot:!1,cleanupMarkdown:!1,rewriteRoot:function(e){Ne(e,"button, script, style, .post-detail-actions, .m-share-block, .ad, .row.mt-3");var t=document.createElement("p");t.textContent="Xəbər maraqlı gəlib? Sosial şəbəkələrdə paylaşın Facebook Telegram X oxu.az/1078092",e.appendChild(t);var r=document.createElement("p");r.textContent="Paylaş linki: https://oxu.az/1078092",e.appendChild(r)}}):null}),ut({hostPattern:/(^|\.)top-channel\.tv$/,pathPattern:/^\/\d{4}\/\d{2}\/\d{2}\//,bodySelectors:[".contentWrapper .siteWidthContainer"],titleSelectors:[".titleInner h1","h1"],bylineSelectors:[".titleInner .date",".date"],removalSelectors:["article:first-of-type",".adGroupWrapper",".featuredPoll","script","style"],minBodyTextLength:500}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)index\.hr$/)||!/\/clanak\//i.test(location.pathname||""))return null;var t=document.querySelector("section[aria-label='Tekst članka']")||document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".post-content")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article");return t?Be(e,t,{title:u(["h1",".title"])||e.title,publishedTime:null,minTextLength:180,rewriteRoot:function(e){Ne(e,[".share",".social",".related",".comments",".comment","#comments-container","[class*='comment' i]","[class*='advert' i]","[class*='promo' i]","[class*='banner' i]","iframe","script","style"].join(", "))}}):null});var Ts=ct({hostPattern:/(^|\.)danas\.rs$/,bodySelectors:[".post-content.content",".post-content"],titleSelectors:[".post-title","article h1","h1"],bylineSelectors:[".post-author .author-name a",".post-author .author-name","[rel='author']"],removalSelectors:[".social-share-top",".social-share-sticky",".social-share-bottom",".post-disclaimer",".tags",".comment-form","#comment-form-div",".more-comments-button",".code-block",".danas-dfp",".embed-container","iframe"],minBodyTextLength:500});registerHostAwareProfile(!0,Ts),hostAwareProfiles.unshift(hostAwareProfiles.pop());var _s=ct({hostPattern:/(^|\.)kurir\.rs$/,pathPattern:/\/\d+\/[a-z0-9-]+(?:\/)?$/i,bodySelectors:["article"],title:function(e){return t(e&&e.title||u([".article-title","article h1","h1"])||document.title)},byline:function(e){return e&&e.byline||u([".article-header-author-prefix",".article-header-date-published","[rel='author']"])},removalSelectors:[".article-header",".article-big-image",".article-divider",".card-engagement-bar-wrap",".card-share-wrap",".audioStory__label-bar",".inText-banner-wrapper","[class*='related-news' i]","[class*='midasWidget' i]","[class*='share' i]","[class*='comment' i]","script","style"],minBodyTextLength:250});registerHostAwareProfile(!0,_s),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)almasryalyoum\.com$/))return null;if(re())return null;if(!/\/news\/details\/\d+\/?$/i.test(location.pathname||""))return null;var t=Ge({scopeSelectors:[".masry-article-details"],titleSelectors:[".article-title","h1"],captionSelectors:[".article-main-img"],bodySelectors:[".article-details.update-font",".article-details"],minTextLength:250});return t?Be(e,t,{minTextLength:250,extra:{docsLike:!0},rewriteRoot:function(e){Ne(e,["style","script","iframe",".related-article-inside-body",".masry-article-horizontal-ads",".no-print","[class*='share' i]","[class*='social' i]","[class*='ad' i]"].join(", "))}}):null}),ut({hostPattern:/(?:^|\.)geo\.tv$/i,pathPattern:/^\/amp\/\d+(?:[/?#]|$)/i,bodySelectors:[".content_amp",".story-area",".content-area"],titleSelectors:[".heading_H h1","h1"],removalSelectors:[".share-btns",".share-buttons",".social-share",".related-article-inside-body",".article-body-ad","amp-ad","iframe","script","style","button"],minBodyTextLength:300});var Es=ct({hostPattern:/(^|\.)kalerkantho\.com$/,homepagePath:/^\/?$/,body:function(){var e=document.querySelector(".col-12[class*='articleArea']")||document.querySelector("[class*='articleArea']");if(js(e))return e;for(var t=[".news-content",".article-body",".post-content",".details-content","article.news-details-content","[itemprop='articleBody']"],r=0;r<t.length;r++){var n=document.querySelector(t[r]);if(js(n))return n}return null},titleSelectors:["main h1","h1",".news-title",".title"],removalSelectors:[".google-auto-placed",".ads",".advertisement","ains","ins","iframe","[id^='aswift_']","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='moreAtticle' i] [data-id]"],minBodyTextLength:450,extra:{docsLike:!0},rewriteRoot:function(e){e.querySelectorAll("p, div, span, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>180||/^(আরও দেখুন|আরো পড়ুন|বাকি অংশ পড়ুন|ই-পেপার|সর্বশেষ|ট্রেন্ডিং)$/i.test(r)&&e.remove()})}});function js(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<450)&&(e.querySelectorAll("p").length>=3||e.querySelectorAll("article").length>=2)))}function Ls(e){return De(e,{hostPattern:/(^|\.)trend\.az$/,homepagePath:/^\/?$/,pathPattern:/\/\d+\.html$/i,bodySelectors:[".article-content.article-paddings",".article-content",".news-content",".content-text",".entry-content"],titleSelectors:[".article h1",".article-title","main h1","h1"],removalSelectors:[".tags",".related-news",".most-read"],minBodyTextLength:250})}registerHostAwareProfile(!0,Es);var $s=Gr;function Ps(){var e=new URLSearchParams(location.search||"").get("story");if(e){var t=document.getElementById("story"+e);if(t)return t}var r=document.querySelector("link[rel='canonical']"),n=r&&r.getAttribute("href");if(n){var o=n.match(/[?&]story=(\d+)/i);if(o){var i=document.getElementById("story"+o[1]);if(i)return i}}return document.querySelector("#liveBlogStorySection .listpost > li[id^='story']")}function Ns(e){Ne(e,[".share_icon",".full_social",".share-this-icons",".share-button-list",".detail_right_sky",".content-area-ads",".adsslotDiv","[id^='div-gpt-ad']","script","style"].join(", ")),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent||"");/^مزید پڑھیے:?$/i.test(r)&&e.remove()})}function zs(e){var r=t(e&&e.publishedTime||"");return r?r.replace(/[٠-٩۰-۹]/g,function(e){var t="٠١٢٣٤٥٦٧٨٩".indexOf(e);return String(t>=0?t:"۰۱۲۳۴۵۶۷۸۹".indexOf(e))}):r}function Ms(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/"@type"\s*:\s*"LiveBlogPosting"/i.test(e.textContent||"")&&e.remove()})}function Rs(e){return!!e.querySelector(".post-content h2, .post-content h3, script[type='application/ld+json']")}function Bs(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var t=e.textContent||"";/LiveBlogPosting|liveBlogUpdate/i.test(t)&&e.remove()})}function Hs(){var e=document.querySelector(".contentFrame")||document.querySelector("main")||document,r=".newsDetailText, section[data-url] .page[data-page], [itemprop='articleBody']",n=Array.prototype.slice.call(e.querySelectorAll(r));if(0===n.length&&e!==document&&(n=Array.prototype.slice.call(document.querySelectorAll(r))),0===n.length)return null;var o=document.createElement("article");return[".pageTitle","h1.pageTitle","h1",".spot","h2.spot"].forEach(function(t){var r=e.querySelector(t)||document.querySelector(t);r&&!o.querySelector(t)&&o.appendChild($e(r,document))}),n.forEach(function(e){t(e.textContent||"").length>=60&&o.appendChild($e(e,document))}),t(o.textContent||"").length>=250?o:null}function Fs(){return{pathAllowed:re,linkSelector:".breaking-news a[href], .news-card a[href]",excludeClosest:".bik-ilan, .currency, .authorSwiper, header, nav, footer, aside, form",cardSelector:".news-card, .breaking-news, article, section, li",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?sozcu\.com\.tr\//i.test(t)&&/-p\d+(?:$|[?#])/i.test(t)},rejectTitle:/^(son dakika|tümünü gör|sözcü tv|canlı izle)$/i,defaultTitle:"Sözcü",siteName:"Sözcü",hostAware:!0,statusPage:!0}}function Os(){var e=document.querySelector("[data-component-0='article-content']")||document.querySelector(".article-body")||document.querySelector("#article-content")||document.querySelector(".content-article")||document.querySelector("[itemprop='articleBody']");return e?Ke(document.querySelector("[data-component-1='body'].ids-paragraph--lead")||document.querySelector(".lead-text")||document.querySelector("article header [data-component-1='body']"),e):null}function Is(){return{pathAllowed:re,prepareMetadata:function(e){e&&(e.language="")},linkSelector:"main a[href], .section a[href], body a[href]",excludeClosest:"header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']",cardSelector:"article, section, li, .news, .news-box__item, [class*='card'], [class*='story']",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?blic\.rs\//i.test(t)&&/\/[^/]+\/[^/]+\/[a-z0-9]{6,}(?:$|[?#])/i.test(t)},titleBuilder:function(e){return t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"")},transformTitle:function(e){return e.replace(/^\s*(foto|video|uživo)\s*/i,"")},maxTitleLength:240,rejectTitle:/^(najnovije|vesti|sport|showbiz|zabava|biznis|slobodno vreme|login|prijavi se|komentari|saznaj više|pročitajte još)$/i,defaultTitle:"Blic",siteName:"Blic",statusPage:!0}}function Ds(){for(var e=[".article-body","div.detail-body",".news-content",".content-detail","[itemprop='articleBody']","article[itemprop='articleBody']"],r=0;r<e.length;r++){var n=document.querySelector(e[r]);if(Us(n))return n}var o=Array.prototype.slice.call(document.querySelectorAll("main article, article")),i=null,a=0;return o.forEach(function(e){if(Us(e)){var r=t(e.innerText||e.textContent||""),n=80*e.querySelectorAll("p").length,o=r.length+n;e.closest("main")&&(o+=250),o>a&&(i=e,a=o)}}),i}function Us(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<220)&&!(e.querySelectorAll("p").length<1)))}function Ws(){return{pathAllowed:function(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||"/aktuell"===e||"/aktuell/"===e},linkSelector:"main a[href]",cardSelector:"article, section, li, [data-selector*='teaser'], [data-external-selector*='teaser']",acceptLink:function(e){return/\.html(?:$|[?#])/i.test(e)},transformTitle:function(e){return e.replace(/^[A-ZÄÖÜ0-9.,:;!?\s-]{4,}\s*:\s*/u,"")},maxTitleLength:180,rejectTitle:/^(liveblog|ticker|mehr zum thema|alle themen|bildbeschreibung ausklappen|artikelrechte erwerben)$/i,siteName:"Frankfurter Allgemeine Zeitung"}}function Zs(){var e=!1;return document.querySelectorAll(".cap-message, .article--content-fadeout, [class*='paid' i], [class*='subscription' i]").forEach(function(r){var n=t(r&&r.textContent);/wybierz prenumeratę|sprawdź ofertę|prenumerata|paid:\s*'false'|pozostało.*artykuł/i.test(n)&&(e=!0)}),e}function Gs(){if(/^\/mindekozben\/poszt\//i.test(location.pathname||"")){var e=document.querySelector(".current-post .mindenkozben_post_content.content")||document.querySelector(".current-post .post .content")||document.querySelector(".current-post .post");if(e)return e}return document.querySelector(".article-body")||document.querySelector(".post-body")||document.querySelector("#article")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article .content")||document.querySelector("main article")}function Ks(e){return u([".current-post .mindenkozben_post_content.content h1",".current-post .mindenkozben_post_content.content h2",".current-post .mindenkozben_post_content.content h3.title",".current-post .post h1",".current-post .post h2",".current-post .post h3.title","article h1","h1",".title"])||e.title}function Vs(e){var t=(location.pathname||"").match(/\/(\d{4})\/(\d{2})\/(\d{2})\//);return t?t[1]+"-"+t[2]+"-"+t[3]+"T00:00:00+02:00":e.publishedTime}function Js(){return Ge({leadSelectors:[".mdl-article-perex .design-article__text",".design-article__perex-content",".design-article__perex"],bodySelectors:[".detail__article",".layout-article-content",".article-text","#article-content","div.text","[itemprop='articleBody']"]})}function Xs(){return document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".c-article__content")||document.querySelector("section.content.readme-audima")||document.querySelector("article .content")||document.querySelector("main .content")}Gr=function(){return Ls()?[]:$s()},registerHostAwareProfile(!0,Ls),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)jang\.com\.pk$/)?function(e){return/^\/liveblog\//i.test(location.pathname||"")?Ye(e,{selectedEntry:Ps,title:function(e,r,n){return function(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}(n,["h2"])||u([".time_first_story h1","h1"])||e.title},bylineSelector:[".by_author h5"],minTextLength:120,rewriteRoot:Ns}):null}(e)||function(e){var t=document.querySelector(".story-content, .news-detail, .article-body, div.nn-article-body, .detail_view_content, .description");return t?Be(e,t,{title:u([".detail-right-top h1",".main-heading h1",".news-title",".title","h1"])||e.title,byline:u([".by_author h5",".author","[rel='author']"])||e.byline,minTextLength:180,rewriteRoot:Ns}):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)skynewsarabia\.com$/)||re()||!document.querySelector(".article-content .article-body, .article-body, [itemprop='articleBody']"))return null;var r=Ge({scopeSelectors:[".article_detail_page",".sna_content_body"],titleSelectors:[".sna_content_heading","h1.article-title",".slide-title","main h1","h1"],leadSelectors:[".article-sub-heading"],captionSelectors:[".article_image_heading_bg, .article-image-caption, .media-caption"],summarySelectors:[".article-summary"],bodySelectors:[".article-content .article-body",".article-body","[itemprop='articleBody']"],minTextLength:250});return r?Be(e,r,{title:u([".sna_content_heading","h1.article-title",".slide-title","main h1","h1"])||e&&e.title,byline:u([".article-sub-heading","[rel='author']"])||e&&e.byline,publishedTime:zs(e),minTextLength:250,rewriteRoot:function(e){Ne(e,[".dfp-inread-article","[data-ng-dfp-ad]","[data-ng-dfp-ad-container]","sna-share","sna-related-article",".noprint",".rel_article_cont",".rel_article_group",".rel_article_group_title",".rel_article_item",".related_contents_cont",".related_contents",".article-widget","[class*='widget' i]","[class*='share' i]","[class*='social' i]","[class*='ad_' i]","[id*='ad-' i]"].join(", ")),e.querySelectorAll("a[href*='/keyword-search']").forEach(function(e){e.removeAttribute("href")}),e.querySelectorAll("p, div, section, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");/^(أخبار ذات صلة|الأكثر قراءة|شرق أوسط|اشترك في خدمة الإشعارات|لم تفعّل خدمة إشعارات الأخبار العاجلة)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)milliyet\.com\.tr$/)&&(/\/live-/i.test(location.pathname||"")||document.querySelector("section.news-detail-content.live-content"))&&document.querySelector("section.news-detail-content.live-content")?Ye(e,{entrySelector:"section.news-detail-content.live-content",bodySelector:[".news-detail-title",".news-content.readingTime, .news-content",".timeline-news-box, .insert.insert-controls"],title:u([".news-detail-title","section.news-detail-content.live-content h1","h1"])||e.title,byline:u([".news-detail-author",".news-author","[rel='author']"])||e.byline,beforeBuild:Ms,minTextLength:250,cleanupSelectors:[".news-detail-sticky",".breadcrumb",".breadcrumbs","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[class*='reklam' i]","[id*='ad-' i]","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"],rewriteRoot:function(e){e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");r&&/^(son dakika|sıradaki haber|ilgili haberler|en çok okunanlar|günün en çok okunanları|paylaş|reklam)$/i.test(r)&&e.remove()})}}):null}),hostAwareProfiles.unshift({condition:!0,fn:function(e){return Ee(/(^|\.)yle\.fi$/)&&/^\/a\/\d+(?:-\d+)+\/\d+(?:-\d+)+\/?$/i.test(location.pathname||"")?Ye(e,{entrySelector:"article.post-container",entryMatcher:Rs,bodySelector:".post-content",titleSelector:[".post-content h2",".post-content h3","h2","h3"],byline:function(e,r,n){return function(e){var r=e.querySelector(".post-header");return r&&Array.prototype.slice.call(r.querySelectorAll("span[aria-label], span[title]")).map(function(e){return t(e.getAttribute("aria-label")||e.getAttribute("title")||e.textContent||"")}).filter(Boolean)[0]||""}(n)||e.byline},publishedTime:function(e,t,r){return function(e){var t=e.querySelector("time[datetime]");return t?t.getAttribute("datetime"):null}(r)||e.publishedTime},beforeBuild:Bs,minTextLength:180,cleanupSelectors:[".post-header","button","iframe","video","[data-testid='video-player']","[class*='player' i]","[class*='Preview' i]","[class*='Restrictions' i]","[class*='share' i]"],rewriteRoot:function(e){dt(e,"p, div, span, h2, h3",/^videosoitin$/i),e.querySelectorAll("script[type='application/ld+json']").forEach(function(e){e.remove()})}}):null}}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)aktuality\.sk$/))return null;var r=document.querySelector("#articleContent[itemprop='articleBody'], [itemprop='articleBody'], .article-body, .entry-content");if(!r)return null;var n=document.createElement("article"),o=document.querySelector("article#article")||r.closest("article")||document;return["#article-headline","article h1","h1"].some(function(e){var t=o.querySelector(e)||document.querySelector(e);return!!t&&(n.appendChild($e(t,document)),!0)}),["#perex-id",".article-perex","[itemprop='description']"].some(function(e){var r=o.querySelector(e)||document.querySelector(e);return!(!r||t(r.textContent||"").length<40)&&(n.appendChild($e(r,document)),!0)}),n.appendChild($e(r,document)),Be(e,n,{title:u(["#article-headline","article h1","h1"])||e.title,byline:u([".author-box .author-name",".author-box [rel='author']","[itemprop='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,["#tp-inline-template",".tp-container-inner","one-page-order","#pay-content-app","iframe[src*='piano.io']","#bw_premium_article",".beyondwords-player","[class*='share' i]","[class*='save-article' i]",".article-object-link",".article-object-list","#recommendation-box-piano",".article-related-box",".cx-flex-module","[class*='related' i]","[class*='discussion' i]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(listen to this article|uložiť článok|zdieľať článok|diskusia\s*\/\s*\d*)$/i.test(r)&&e.remove(),/^prečítajte si tiež:?$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)sabah\.com\.tr$/)||!Hs())return null;var r=Hs();return r?Be(e,r,{title:u([".contentFrame .pageTitle",".contentFrame h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){Ne(e,["[class*='advert' i]","[class*='reklam' i]","[class*='ad-' i]","[id*='ad-' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='gallery' i]","[class*='video' i]","a[href*='trkvz.im']","img[src*='googlenews' i]"].join(", ")),e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||""),n=(e.tagName||"").toLowerCase();r&&(/^(son dakika|günün en çok okunanları|sıradaki haber|ilgili haberler|galeri|video|reklam|haber girişi|uygulamalara özel ayrıcalıkları keşfedin)$/i.test(r)&&e.remove(),0===r.indexOf("Sabah.com.tr Uygulam")&&e.remove(),"div"!==n&&"section"!==n&&/google haberler'de tüm gelişmeleri tek kaynakta görmek için sabah'ı takip edin/i.test(r)&&e.remove())})}}):null}),registerNewsHomepageListProfile(/(^|\.)sozcu\.com\.tr$/,Fs),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)sozcu\.com\.tr$/)?function(e){return Io(e,Fs())}(e):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)interia\.pl$/)||!Os())return null;var r=Os();return r?Be(e,r,{title:u(["article h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){Ne(e,["[data-component-0='wrapper-group']","[data-component-0='article-list']","[data-component-0='ad-rectangle']","[data-component-0='ads']","[data-component-0='share']","[data-icon]",".audio-news-player",".ids-audio-news-player",".emotion-bar",".like-button",".reaction",".share-bar",".social-share","[class*='emotion' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='article-list' i]","[class*='ads' i]","[id*='ad-' i]","[id*='google_ads' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, span, li, button, h2").forEach(function(e){var r=t(e.textContent||"");r&&(/^(odsłuchaj artykuł|audio generowane przez ai|lubię to|zły|super|hahaha|szok|smutny|udostępnij|zobacz również:?|reklama)$/i.test(r)&&e.remove(),/^\d{1,2}:\d{2}\s*min$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)clarin\.com$/))return null;var r=document.querySelector("article#storyBody .StoryTextContainer")||document.querySelector("article#storyBody .vsmcontent")||document.querySelector("article#storyBody .body-text")||document.querySelector("article#storyBody div.entry-content")||document.querySelector("article#storyBody .article-body")||document.querySelector("article#storyBody .nota-body")||document.querySelector(".body-text")||document.querySelector("div.entry-content")||document.querySelector(".article-body")||document.querySelector(".nota-body");return r?(tt(r,e,{minBodyTextLength:1200,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:solo para suscriptores|contenido exclusivo para suscriptores|suscribite para seguir leyendo|para continuar leyendo|contin[uú]a leyendo con tu suscripci[oó]n)/i,removalSelectors:["[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"],signalRemovalSelectors:[".liveBlogStrip",".contentLiveblog","[class*='liveblog' i]","[class*='live-blog' i]","[data-liveblog]","[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"]}),Be(e,r,{title:u(["h1",".title"])||e.title,byline:u(["article#storyBody .list-authors",".list-authors","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,["#containerUalter",".trinity-skip-it",".trinity-tts-placeholder-icon-player","[class*='trinity']",".place-social-mobile",".buttonsBar",".buttonBarList",".related-container","[class*='related']",".Newsletter","[class*='Newsletter']",".comments","[class*='comments']","[class*='bannerCollapse']","[class*='tags']","[class*='Tag']","section[class*='sc-4df4edb5']"].join(", ")),e.querySelectorAll("p, div, span, section").forEach(function(e){var r=t(e.textContent||"");r&&/^(ver resumen|tiempo de lectura|inteligencia artificial|experimental:|gracias!|otros análisis|mirá también|te puede interesar|selección clarín|seguí leyendo|últimas noticias|newsletter clarín|recibí en tu mail|comentarios|suscribite para comentar|tags relacionados)\b/i.test(r)&&e.remove()})}})):null}),registerNewsHomepageListProfile(/(^|\.)blic\.rs$/,Is),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)blic\.rs$/)?(e&&(e.language=""),function(e){return Io(e,Is())}(e)||function(e){if(!/\/(?:vesti|sport|zabava|showbiz|biznis|slobodno-vreme|kultura|zdravlje)\//i.test(location.pathname||""))return null;var r=document.querySelector(".article-body")||document.querySelector("div.article-text")||document.querySelector(".single-article-body")||document.querySelector(".article__body")||document.querySelector(".article__text")||document.querySelector(".article__content");return r?Be(e,r,{title:u([".article-title",".article__title","article h1","h1"])||e.title,byline:u([".article__author-name",".article-author",".author","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,[".banner",".wrapperAd",".audio-player",".article__share",".share",".comments",".comments-header",".news-box",".news-aside",".story-sp2026",".tabs",".related",".newsletter",".carousel-button",".jwplayer","[id^='InText_']","[data-placeholder-caption]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(slušaj vest|oglas|galerija|pročitajte još|budi prvi koji će komentarisati)$/i.test(r)&&r.length<120&&e.remove()})}}):null}(e)):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)tempo\.co$/)||/^\/?$/i.test(location.pathname||"")||!Ds())return null;var r=Ds();return r?Be(e,r,{title:u([".title-article","main h1","article h1","h1"])||e.title,minTextLength:220,rewriteRoot:function(e){Ne(e,[".related-news",".related-article",".bacadetail","[class*='related' i]","[class*='share' i]","[class*='audio' i]","[class*='ringkasan' i]","[class*='summary' i]","[class*='newsletter' i]","[class*='rekomendasi' i]","[class*='recommend' i]","[class*='ads' i]","[id*='ads' i]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(dengarkan artikel|bagikan|gabung tempo circle|tampilkan ringkasan artikel|sembunyikan ringkasan artikel|mengapa tempo bisa dipercaya|scroll ke bawah untuk membaca berita)$/i.test(r)&&e.remove(),/^(akses edisi mingguan|akses penuh seluruh artikel tempo\+|baca dengan lebih sedikit gangguan iklan|anda mendukung independensi jurnalisme tempo)$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e,r){return function(e){return ca(e,{hostPattern:/(^|\.)(?:elmundo|expansion|sport)\.es$/,bodySelectors:[".ue-c-article__body[data-section='articleBody']",".ue-c-article__body",".article-body","#article-body","div[itemprop='articleBody']","[itemprop='articleBody']"],sportParagraphFallback:!0,extraRemovalSelectors:[".ft-ad",".ft-mol-related",".ft-mol-multimedia",".jwplayer","[class*='jw-' i]","[class*='taboola' i]","[class*='trc_' i]"]})}(e)||function(e){if(!Ee(/(^|\.)(?:elmundo|expansion|sport)\.es$/))return null;if(!re())return null;var r={},n=[];return document.querySelectorAll(".ue-c-cover-content, article, section").forEach(function(e){if(!e.closest("header, nav, footer, aside, [class*='comment' i]")){var i=e.querySelector(".ue-c-cover-content__link[href], h1 a[href], h2 a[href], h3 a[href]");if(i&&!i.closest("[class*='comment' i], .ue-c-cover-content__comments")){var a=i.getAttribute("href")||"";if(/\/(?:\d{4}\/\d{2}\/\d{2}\/|[a-f0-9]{24}\.html|\d{2}_\d{4}_\d{8}_)/i.test(a)){var l=t((i.querySelector(".ue-c-cover-content__headline, h1, h2, h3")||{}).textContent||i.textContent||""),s=o(a);!l||l.length<18||l.length>220||!s||r[s]||/^(comentarios?|ver comentarios?|opinar|participa)$/i.test(l)||(r[s]=!0,n.push({text:l,url:s,detail:Oo(e,l)}))}}}}),n.length<4?null:E({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n})}(e)}),registerHostAwareProfile(!0,function(e){return ca(e,{hostPattern:/(^|\.)marca\.com$/,bodySelectors:[".ue-c-article__body","[data-section='articleBody']",".article-body","div.vcm-content",".content-article",".article-content","div[itemprop='articleBody']","[itemprop='articleBody']"],leadSelectors:[".ue-c-article__standfirst",".article-intro",".summary",".article__summary"],publicMinTextLength:900,extraRemovalSelectors:[".ue-c-players-ranking-widget","[class*='ranking-widget' i]","[class*='scoreboard' i]"]})}),registerNewsHomepageListProfile(/(^|\.)faz\.net$/,Ws),registerHostAwareProfile(!0,function(e){return Ee(/(^|\.)faz\.net$/)?function(e){return Io(e,Ws())}(e)||function(e){if(!/\.html(?:$|[?#])/i.test(location.pathname||""))return null;var r=document.querySelector(".walled-content")||document.querySelector(".at-article-body")||document.querySelector("[data-external-selector='body-elements']")||document.querySelector(".article-body");return r&&r.querySelector("p, [data-selector='body-paragraph']")?(function(e){var r=t(e&&e.textContent);if(r.length<2500)return;if(/(nur für abonnenten|nur für abonnent|abo abschließen|weiterlesen mit|lesen sie diesen artikel mit)/i.test(r))return;Ne(document,"#taboola-below-paywall-thumbnails, #taboola-below-liveblog-thumbnails, [id*='paywall' i][id*='taboola' i], [id*='liveblog' i][id*='taboola' i]"),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/isAccessibleForFree/i.test(e.textContent||"")&&e.remove()})}(r),Be(e,r,{title:u(["[data-external-selector='header-title']","article h1","main h1","h1"])||e&&e.title,byline:u(["[data-external-selector*='header-detail'] .meta1","[rel='author']"])||e&&e.byline,minTextLength:500,prependTitle:!1,rewriteRoot:function(e){Ne(e,["[data-selector='article-rights']","[data-external-selector='footer-links']","[data-external-selector='taboola-ads']","[id*='taboola']","[class*='taboola']","[class*='trc_']","[class*='tbl-']","[class*='aside-slot']","[class*='newsletter' i]","[class*='recommend' i]","[class*='share' i]"].join(", ")),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent||"");/^(mehr zum thema|f\.a\.z\.-artikel häufiger in ihren suchergebnissen sehen)/i.test(r)&&e.remove()})},postProcessMarkdown:function(e){return e.replace(/^###\s+(.+)$/gm,"**$1**")}})):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)wyborcza\.pl$/)&&!Ee(/(^|\.)gazeta\.pl$/))return null;var r=document.querySelector(".mrf-article-body")||document.querySelector(".article_body")||document.querySelector("div.articleBody")||document.querySelector(".art_content")||document.querySelector(".article-inner")||document.querySelector("section.article")||document.querySelector("[itemprop='articleBody']");if(!r||!r.querySelector("p, figure, blockquote"))return null;!function(){if(!Zs())return;if(document.querySelector("[data-paywall='agora-wyborcza']"))return;var e=document.createElement("div");e.setAttribute("data-paywall","agora-wyborcza"),e.hidden=!0,e.textContent="Wybierz prenumeratę, by czytać to, co Cię ciekawi",document.body.appendChild(e)}();var n=document.createElement("article"),o=document.querySelector(".article--header, .article_header, header.metadata--article");return o&&n.appendChild($e(o,document)),n.appendChild($e(r,document)),Be(e,n,{title:u(["h1.metadata--title",".article_title",".title","h1"])||e.title,byline:u([".metadata--author",".article--author","[class*='author' i]","[rel='author']"])||e.byline,minTextLength:220,cloneRoot:!1,extra:function(){return{packagePage:Zs()}},rewriteRoot:function(e){Ne(e,["#message","#info-adblock","#info-ups","script","style","svg",".msg-container",".article--social-top",".social",".tags",".article-audio",".article--precontent",".article--underlead",".article--comments",".comments",".comment",".newsletter","[class*='newsletter' i]","[class*='recommend' i]","[class*='related' i]","[class*='advert' i]","[id*='advert' i]"].join(", ")),e.querySelectorAll("p, div, span, a, h1, h2").forEach(function(e){var r=t(e.textContent||"");/^(wyłącz adblocka\/ublocka|aby czytać nasze artykuły wyłącz adblocka|ups!|nieznany błąd|posłuchaj|sprawdź ofertę|zaloguj się)$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)index\.hu$/)||!/^\/mindekozben\/poszt\//i.test(location.pathname||"")&&!/(\/\d{4}\/\d{2}\/\d{2}\/|\.html(?:$|[?#]))/i.test(location.pathname||"")||!Gs())return null;var r=Gs();return r?Be(e,r,{title:Ks(e),byline:u([".current-post .author",".current-post [class*='author' i]","[class*='szerzo' i]"])||e.byline,minTextLength:180,publishedTime:Vs(e),rewriteRoot:function(e){Ne(e,[".new-posts",".next-post",".previous-post",".related",".ajanlo",".share",".social",".comments",".comment","[class*='advert' i]","[class*='hirdet' i]","[id*='ad' i]"].join(", ")),Ne(e,"h1, h2, h3.title"),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^új poszt érkezett/i.test(r)&&e.remove(),/^(hirdetés|megosztás|kommentek|kapcsolódó)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)root\.cz$/)||!/^\/clanky\//i.test(location.pathname||"")||!Js())return null;var r=Js();return r?(e&&(e.language=""),Be(e,r,{title:u([".design-title","h1"])||e.title,byline:u([".design-impressum__author",".design-impressum a[rel='author']",".design-impressum__content a"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,["nav","aside",".comments","[class*='comment' i]","[class*='discussion' i]","[class*='share' i]","[class*='social' i]","[class*='rating' i]","[class*='advert' i]","[class*='ad-detail' i]","[class*='root-ad' i]","[class*='selfpromo' i]","[id*='google_ads' i]","[id*='div-gpt' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, ul, li, a, span, h2, h3").forEach(function(e){var r=t(e.textContent||"");r&&(/^(počet nových komentářů\s*\d+|přidejte názor|líbí se vám článek\?|podpořte redakci|sdílet|sdílejte na facebooku|sdílejte na síti x)$/i.test(r)&&e.remove(),/^přidat mezi oblíbené zdroje na googlu$/i.test(r)&&e.remove(),/^reklama\b/i.test(r)&&r.length<400&&e.remove())})}})):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)abril\.com\.br$/)||/^\/?$/i.test(location.pathname||"")||!Xs())return null;var r=Xs();return r?(tt(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,pageHardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:Re.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),Be(e,r,{title:u([".post-header h1","main h1","article h1","h1"])||e.title,byline:u([".author-name",".post-header .author",".post-header [rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,[".accessibility-buttons",".share-box",".salvar-conteudo-materia",".ads",".abrAD",".post-ads",".after-text",".noreadme-audima",".abril-recirculacao-copa","[class*='share' i]","[class*='newsletter' i]","[class*='recirculacao' i]","[data-format='billboard']","[data-ad-unit]"].join(", ")),function(e){e.querySelectorAll("h2, h3").forEach(function(e){var r=t(e.textContent||"");if(/^(leia mais|em alta)$/i.test(r)){var n=e.nextElementSibling;n&&/^(ul|ol)$/i.test(n.tagName||"")&&n.remove(),e.remove()}}),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(compartilhe essa matéria:?|link copiado!?|continua após a publicidade|publicidade|tudo sobre a copa, em um só lugar|ver cobertura completa)$/i.test(r)&&e.remove()})}(e)}})):null});var Ys=ct({hostPattern:/(^|\.)163\.com$/,pathPattern:/\/(?:news|dy|ent|sports|money|tech|auto|war|gov|local)\/article\/[A-Z0-9]+/i,bodySelectors:[".post_body",".post_content .post_body","#endText",".article-body",".post_text",".post_content"],titleSelectors:[".post_title","h1.post_main_icon",".post_main h1","h1"],bylineSelectors:[".post_info",".post_time_source",".post_source",".post_author"],removalSelectors:[".post_top_tie_count",".post_top_share",".post_share",".post_recommends",".post_recommend",".post_recommend_ad",".post_statement",".post_btmshare",".post_comment",".tie-area","#tie","#tieArea","[class*='recommend' i]","[class*='share' i]","[class*='comment' i]","[id*='comment' i]"],removalTextPatterns:[/^(相关推荐|热点推荐|分享至|跟贴|举报|本文来源[::]|责任编辑[::]|打开网易新闻|下载网易新闻客户端)/i],minBodyTextLength:80,extra:{docsLike:!0}});function Qs(){return document.querySelector("#entryBody")||document.querySelector(".article-body")||document.querySelector(".skinArticleBodyEx")||document.querySelector(".skinArticleBody")||document.querySelector(".entry-text")||document.querySelector("article.entry")||document.querySelector("article.skin-entry .skin-entryBody")}function ec(){for(var e=[".paywall-short-content","#story-body",".article-content",".article__body","#article-body",".article-text","article.story-content"],r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(!i.closest("footer, nav, aside, .main-footer-body, .tab-content")&&t(i.textContent||"").length>=250)return i}return null}function tc(){return document.querySelector("article.article-content")||document.querySelector(".article-content")||document.querySelector("article.article")||document.querySelector(".content-body")||document.querySelector("#articleContent")}function rc(e,t){var r=u([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"]);return r&&!/^(关注|微博正文)$/i.test(r)?r+" - 微博正文":t&&t.title&&"微博"!==t.title?t.title:"微博正文"}function nc(e,t){return K(e,[".story__title","h1.title","h1"])||t&&t.title}function oc(e){return K(e,[".story__user-link"])}function ic(e,r){var n=(r.closest("section.body-article, article")||document).querySelector(".rs-article-title, .title-art-hp, .article-title, h1");return t(n&&n.textContent||e&&e.title)}function ac(){return document.querySelector(".rs-article-body")||document.querySelector("#article-body")||document.querySelector(".article-content")||document.querySelector("div[itemprop='articleBody']")||document.querySelector("[itemprop='articleBody']")||document.querySelector("#content-to-read")||document.querySelector("section.body-article")||document.querySelector("article .body-article")||document.querySelector("article")}function lc(){return document.querySelector(".art-full")||document.querySelector("#art-content")||document.querySelector(".bbtext")||document.querySelector(".article-content")||document.querySelector("#art-text")||document.querySelector("div.text")}function sc(){return document.querySelector(".c-news__body")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']")||document.querySelector("div[data-tda][data-news-content-text]")}function cc(e){return e&&(e.querySelector("div.se-main-container")||e.querySelector("#printpost")||e.querySelector("#postViewArea")||e.querySelector(".se_component_wrap")||e.querySelector(".post-view"))||null}function uc(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function dc(e){var t=e&&!1!==e.reader_mode?In():null;return t&&(t=Fn(t,zn())),t||(t=zn()),t}function mc(e,r,n,o,i){-1!==r.indexOf(n)&&(o&&t(i||e.markdown||e.textContent||"").length>=o||(e.contentType="interstitial"))}function pc(e,r,n,o,i){var a,l,s=function(e){if(!e)return e;var r=t(e);return r?/^https?:\/\//i.test(r)?null:(r=t(r=r.split(/[\n\t]/)[0]),/^(devam(ın)?ı okuyun|read more|leer más|weiterlesen|lire la suite|leggi di più|czytaj dalej|tümünü gör|اقرأ المزيد|ادامه مطلب|המשך לקרוא|مزید پڑھیں)$/i.test(r)||!(r=t(r=r.replace(/\s*@[\w.-]+.*$/i,"").replace(/\s*\d+\s*(takipçi|followers?|متابع|دنبالکننده|עוקבים|فالوور).*$/i,"")))||r.length<2?null:r):null}(e.byline||r.byline||p()),c=(a=e.html,(l=document.createElement("div")).innerHTML=a,ze(l),l.innerHTML);e.title&&(e.title=t(e.title.replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")));var u=It(e.markdown||Qt(c||e.html)),d=t(e.textContent||""),m=t(u);!m&&d.length>40&&(u=It(Qt(c)||d)),m=t(u),"list"===e.contentType&&function(e){if(t(e=String(e||"")).length<700||!/^\|\s*[-: ]+\|/m.test(e))return!1;if((e.match(/^\s*- \[/gm)||[]).length>=3)return!1;var r=e.split(/\n{2,}/).filter(function(e){var r=e.trim();return!(!r||/^\|/.test(r)||/^#/.test(r))&&t(r).length>=80&&/[.!?)]$/.test(t(r))}).length,n=(e.match(/^\|/gm)||[]).length;return(e.match(/^#{1,3}\s+/gm)||[]).length>=1&&r>=2&&n>=4&&n<=40}(u)&&(e.contentType="article"),"article"===e.contentType&&!e.secFiling&&!e.readerMode&&e.html&&e.html.length>5e4&&d.length>=1200&&m.length<.2*d.length&&(u=It(d));var h=t((e.title||r.title||"").replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")),f=t(e.siteName||r.siteName||""),g=h;if(("article"===e.contentType||"medical"===e.contentType)&&t(u)&&f&&g.toLowerCase()===f.toLowerCase()&&u.split("\n").slice(0,12).some(function(e){var r=t(e).match(/^#+\s+(.*)/),n=t(r&&r[1]).replace(/[`*_]/g,"");return!!(n&&n.length>=8&&n.toLowerCase()!==f.toLowerCase())&&(g=n,!0)}),("article"===e.contentType||"medical"===e.contentType)&&g&&t(u)){for(var y=u.split("\n"),b=-1,v=g.toLowerCase(),w=h.toLowerCase(),x=f.toLowerCase(),S=0;S<Math.min(y.length,12);S+=1){var k=t(y[S]).replace(/^#+\s*/,"").replace(/[`*_]/g,"");if(k&&t(k).toLowerCase()===v){b=S;break}}if(b<0)for(var A=0;A<Math.min(y.length,12);A+=1){var C=t(y[A]).match(/^(#+)\s+(.*)/);if(C&&"#"===C[1]){var q=t(C[2]).replace(/[`*_]/g,"");if(0===q.toLowerCase().indexOf(v)&&q.length>g.length+5){var T=q.substring(g.length).trim();y[A]="# "+g,T&&y.splice(A+1,0,"",T),u=y.join("\n"),b=A;break}}}if(b>0){var _=y.slice(0,b),E=(_.filter(function(e){return t(e)}).some(function(e){var r=t(e).replace(/^#+\s*/,"").replace(/[`*_]/g,"");return!!r&&(!/^!\[[^\]]*\]\([^)]*\)$/.test(t(e))&&(r.toLowerCase()!==w&&r.toLowerCase()!==x))})?_:[]).concat(y.slice(b+1));u="# "+g+"\n\n"+E.join("\n").trim()}else Tt(u,g)||(u="# "+g+"\n\n"+u)}if(u=It(u),/^(article|podcast)$/i.test(e.contentType||"")&&!/\btranscript\b/i.test(u)){var j=Jo(document.body||document);j&&(u=It([u,j].filter(Boolean).join("\n\n")))}"article"===e.contentType&&(u=al(u)),"article"===e.contentType&&!i&&function(e,r){if(!e||"article"!==e.contentType||Sr(e))return!1;var n=(location.pathname||"").toLowerCase(),o=(location.search||"").toLowerCase();if(!/\/(?:search|results?)(?:\.html?)?$/i.test(n)&&!/(?:^|[?&])(?:q|query|search|searchtext|keyword|k|text)=/.test(o))return!1;var i=document.createElement("div");i.innerHTML=e&&e.html||document.body.innerHTML;var a=t([i.textContent||"",r||"",document.title||""].join(" ")).replace(/[*_`]+/g,""),l=/\bresults?\s*\d+\s*[-–]\s*\d+\s*(?:of|sur|von|de)\s*\d+\b/i.test(a)||/\b\d+\s+results?\b/i.test(a),s=Array.prototype.filter.call(i.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<br(n)||n.length>280||Ar(n,r))&&/\/(?:legal-content|eli|LexUriServ|resource|document|doc|case-law|summary)\b|[?&](?:uri|celex|qid|docid)=/i.test(r)}).length,c=i.querySelectorAll("[class*='result' i], [id*='result' i], article, li, tr").length,u=(String(r||"").match(/^\s*#{1,4}\s+\[[^\]]{8,280}\]\(/gm)||[]).length;return l&&(s>=3||u>=3)&&(c>=3||u>=3)}(e,u)&&(e=Jn(e,{strongList:!0})),"article"!==e.contentType||i||e.hostAware||e.docsLike||e.legalProvision||!Hr(u,e)||(e=Jn(e,{strongList:!0}));var L=function(e){var t=e||"";if(t.length<400)return t;var r=t.slice(0,5e3),n=/(?:presid[eê]ncia|casa civil|subchefia|official gazette|government|ministry|department|secretariat|texto compilado|compiled text|\|\s*---\s*\|)/i.test(r),o=/(?:Home\s*\]\s*\[\s*Databases|Multidatabase Search|World Law|DONATE|depends on users like you|You are here:|New search|Buy [A-Z]+ report|Cite as:)/i.test(r)&&/\b(?:judg(?:e)?ment|opinion(?:s)? of the lords|court|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(r);if(!n&&!o)return t;if(o){var i=t.match(/^#\s+[^\n]+\n+/),a=r.search(/\n(?:#{1,3}\s+[^\n]*(?:UKHL|UKSC|EWCA|EWHC|UKPC|UKUT|UKFTT|U\.S\.|\bAC\b|\bWLR\b|All\s+ER)\s+\d+[^\n]*|\*\*(?:HOUSE OF LORDS|SUPREME COURT|COURT OF APPEAL|HIGH COURT|OPINIONS? OF THE LORDS)[^\n]*\*\*)/i);if(i&&a>i[0].length&&a<4500)return(i[0].trim()+"\n\n"+t.slice(a).trim()).trim()}var l=r.match(/(?:\*\*)?\s*(?:PRE[ÂA]MBULO|PREAMBLE)\s*(?:\*\*)?/i);if(l&&l.index<3e3)return t.slice(l.index).trim();var s=Ln({text:r}).bodyStartMatch;return s&&s.index<3e3?t.slice(s.index).trim():t}(u);if(L!==u&&t(L).length>=5e3&&(e.contentType="article"),Yn(null,u=L)&&"list"===e.contentType&&(e.contentType="article"),"list"===e.contentType&&function(e){if(!e||2!==e.length)return!1;var t=e[0]||"",r=e[1]||"";return!/^(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|forums?|boards?|community|discussions?|threads)$/.test(t)&&r.length>=6&&/[a-z]/i.test(r)&&/\d/.test(r)&&/^[a-z0-9_-]+$/.test(r)}((location.pathname||"").toLowerCase().split("/").filter(Boolean))){var $=u.split("\n").map(function(e){return t(e).replace(/^#+\s*/,"")}).filter(Boolean)[0]||"";$.length>=100&&!/^[-*]\s+\[/.test($)&&(e.contentType="article")}var P=wn(r,e,u,n,o);e.spaDataGuard&&-1===P.indexOf("spa_data_traversal_guard")&&P.push("spa_data_traversal_guard");var N=t(u);hr(g||r.title,N,{maxTextLength:1800,checkStructured:!0})&&-1===P.indexOf("not_found_interstitial")&&P.push("not_found_interstitial"),hr(g||r.title,N,{maxTextLength:900})&&-1===P.indexOf("not_found_interstitial")&&P.push("not_found_interstitial");var z=t([g,r.title,r.siteName,location.hostname,location.pathname,u].join(" "));hr(g||r.title,z,{maxTextLength:2e3})&&/\b(court|courts|case law|caselaw|legal|law|opinion|citation)\b/i.test(z)&&-1===P.indexOf("not_found_interstitial")&&P.push("not_found_interstitial"),mc(e,P,"not_found_interstitial"),mc(e,P,"consent_interstitial",500,u),mc(e,P,"auth_or_login_interstitial",1200,u),-1!==P.indexOf("meta_login_wall")&&-1!==P.indexOf("consent_interstitial")&&"social"!==e.contentType&&(e.contentType="interstitial",Mi(e)),t(u).length<1200&&/\b(?:service|site|product|platform|application|app)\b/i.test(z)&&/\b(?:no longer available|has been retired|have been retired|is retired|was retired|shutdown|shut down|sunset|discontinued)\b/i.test(z)&&-1===P.indexOf("access_error_interstitial")&&P.push("access_error_interstitial"),t(u).length<10&&-1===P.indexOf("empty_extraction")&&P.push("empty_extraction"),t(u).length<140&&/copyright\b.*\ball rights reserved\b/i.test(t(u))&&-1===P.indexOf("empty_extraction")&&P.push("empty_extraction"),t(u).length<500&&/(?:^|:\s*)error$/i.test(g||r.title||"")&&-1===P.indexOf("access_error_interstitial")&&P.push("access_error_interstitial");var M=t(n||"").length,R=t(u||"").length,B=M>0?Math.round(R/M*100)/100:1,H=yn(r,e,u),F=null;cn()&&(F=-1!==P.indexOf("subscription_interstitial")?"full_block":"detected"),"interstitial"===e.contentType&&Mi(e);var O="social"===e.contentType?e:{};return{title:g||t(r.title),byline:s,excerpt:e.excerpt||r.excerpt,siteName:e.siteName||r.siteName,publishedTime:e.publishedTime||r.publishedTime,canonicalUrl:r.canonicalUrl,language:r.language,name:e.name||null,company:e.company||null,location:e.location||null,description:e.description||null,bedrooms:void 0===e.bedrooms?null:e.bedrooms,bathrooms:void 0===e.bathrooms?null:e.bathrooms,areaSqft:void 0===e.areaSqft?null:e.areaSqft,html:e.html,markdown:u,readerMode:e.readerMode,contentType:e.contentType||"article",ingredients:e.ingredients||null,instructions:e.instructions||null,price:e.price||null,rating:e.rating||null,address:e.address||null,legalProvision:!!e.legalProvision,hostAware:!!e.hostAware,portalRootEvidence:e.portalRootEvidence||null,sportsDetailEvidence:e.sportsDetailEvidence||null,statusPage:!!e.statusPage,socialKind:O.socialKind||null,platform:O.platform||null,handle:O.handle||null,replyCount:void 0===O.replyCount?null:O.replyCount,community:O.community||null,score:void 0===O.score?null:O.score,suspect:P.length>0,warnings:P,contentCompletenessRatio:B,contentFormat:H,paywallState:F,textContent:e.textContent,url:location.href}}registerHostAwareProfile(!0,Ys),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)ameblo\.jp$/)||!/\/entry-\d+\.html(?:$|[?#])/i.test(location.pathname||"")||!Qs())return null;var r=Qs();return r?Be(e,r,{title:u([".skinArticleTitle",".skin-entryTitle","article.skin-entry h1","h1"])||e.title,byline:u([".skin-entryAuthor",".skin-entryThemes","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Ne(e,["[data-toc]",".js-ad",".ad",".adsbygoogle",".skin-ad",".skin-entryFooter",".entry-share",".js-entryFooter",".js-commentArea",".commentArea",".blogCard",".ogpCard"].join(", ")),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/\/blog\/ucs\/img\/char\//i.test(t)&&e.remove()}),e.querySelectorAll("a[href^='#']").forEach(function(e){var r=t(e.textContent||"");r&&!/^目次を/.test(r)||e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)dnevnik\.bg$/)||re()||!ec())return null;var r=ec();if(!r)return null;var n=Be(e,r,{title:e.title||u(["article.story-content h1","main h1","h1"]),byline:u(["a[href*='/author/']","meta[name='author']"],"content")||e.byline,minTextLength:250,cleanupRoot:!1,rewriteRoot:function(e){Ne(e,[".paywall-content","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[id*='advert' i]","[data-ad]",".tab-content",".main-footer-body","footer"].join(", ")),e.querySelectorAll("div[role='paragraph'], div.default").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)}),e.querySelectorAll("p, div, span, a, button").forEach(function(e){var r=t(e.textContent||"");/^(сподели|линкът е копиран|копирай линк|изпрати по имейл|facebook|linkedin|viber|абонирайте се|ако сте абонат, влезте в профила си)$/i.test(r)&&e.remove(),/^продължете да четете с пълен достъп/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/Дневник и Капитал са сертифицирани по професионалния стандарт|Общи условия за ползване|Политика за бисквитките/i.test(e)},postProcessMarkdown:function(e){return e.replace(/^\|\s+/gm,"")}});return n&&(e.language=null,tt(r.querySelector(".paywall-short-content")||r,e,{minBodyTextLength:700,minParagraphCount:0,bodyRejectPattern:/(?:\.\.\.|…)$/,removalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],signalRemovalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],stripAttributeSelectors:"[id*='paywall' i], [class*='paywall' i], [class*='article-lock' i]",stripIdPattern:/paywall/i,stripClassPattern:/paywall|article-lock/i,structuredDataMode:"remove",structuredDataRemovalPattern:/isAccessibleForFree|Paywall|Subscription/i})),n}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)segmentfault\.com$/)||!/^\/a\/\d+/.test(location.pathname||"")||!tc())return null;var t=tc();return t?Be(e,t,{title:u(["main h1",".article-title","h1"])||e.title,byline:u([".article-author",".author","a[href^='/u/']"])||e.byline,minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".widget-vote, .widget-share, .article-operation, .article-copyright, .comment, .comments, [class*='share' i], [class*='comment' i]").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/^m\.weibo\.cn$/))return null;if(!/^\/status\/[^/]+\/?$/i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".card-wrap .weibo-og .weibo-text, .card-wrap div.weibo-text, div.weibo-text, .weibo-text")),r=0;r<e.length;r++){var n=e[r];if(!n.closest(".card-main, .comments, .comment, [class*='comment']"))if(t(n.textContent||"").length>=20)return n}return null}();if(!r)return null;var n=function(e){var t=document.createElement("article");t.setAttribute("data-fetchutil-profile","weibo-mobile");var r=document.querySelector(".card-wrap .weibo-top")||document.querySelector("header.weibo-top");r&&t.appendChild($e(r,document));var n=e.closest(".card-wrap")||e.parentElement,o=document.createElement("section");if(o.appendChild($e(e,document)),n){var i=n.querySelector(".weibo-media, .weibo-media-wraps, .card-video, video, .m-auto-list");i&&o.appendChild($e(i,document))}return t.appendChild(o),t}(r);if(!n)return null;var o=Be(e,n,{title:rc(n,e),byline:u([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"])||e.byline,minTextLength:40,rewriteRoot:function(e){Ne(e,[".m-followBtn",".m-add-box",".weibo-btn",".toolbar",".card-act",".lite-page-tab",".comments",".comment",".card-main","[class*='comment']","svg"].join(", ")),e.querySelectorAll("p, div, span, h4").forEach(function(e){var r=t(e.textContent||"");/^(关注|转发\d*|评论\d*|赞\d*|\d{2}:\d{2})$/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/\n####\s+[^\n]+\n\n###\s+/.test(e)},extra:{docsLike:!0}});if(!o)return null;var i=document.querySelector(".weibo-top a[href^='/profile/']"),a=i&&i.getAttribute("href").split("/").filter(Boolean)[1];return o.contentType="social",o.socialKind="post",o.platform="Weibo",o.handle=a||null,o}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)pikabu\.ru$/))return null;if(!/^\/story\//i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".page-story[data-story-id], .story[data-story-id], [data-story-id]")),t=0;t<e.length;t++){var r=e[t];if(!r.closest(".comments, #comments, [id^='comment_']")&&(r.querySelector(".story__title")&&r.querySelector(".story__content, #content-story-text, .story-body, div.story__text")))return r}return null}();if(!r)return null;var n=function(e,r){var n=e.querySelector(".story__content")||e.querySelector("#content-story-text")||e.querySelector(".story-body")||e.querySelector("div.story__text");if(!n)return null;var i=document.createElement("div");i.setAttribute("data-fetchutil-profile","pikabu");var a=nc(e,r);if(a){var l=document.createElement("h1");l.textContent=a,i.appendChild(l)}var s=t([oc(e),K(e,[".story__datetime-link",".story__datetime"])].filter(Boolean).join(" - "));if(s){var c=document.createElement("p");c.textContent=s,i.appendChild(c)}(function(e,r,n){var i=r.querySelector(".story__content");if(!i)return;var a=i.querySelector("[poster]"),l=a&&a.getAttribute("poster");if(l){var s=document.createElement("img");s.setAttribute("src",l),n&&s.setAttribute("alt",n),e.appendChild(s)}var c=i.querySelector("a[href*='/video/story/']");if(c&&c.getAttribute("href")){var u=document.createElement("p"),d=document.createElement("a");d.setAttribute("href",o(c.getAttribute("href"))),d.textContent=t(c.textContent||"Перейти к видео")||"Перейти к видео",u.appendChild(d),e.appendChild(u)}})(i,e,a),i.appendChild($e(n,document));var u=e.querySelector(".story__tags");u&&i.appendChild($e(u,document));return i}(r,e);if(!n)return null;var i=Be(e,n,{title:nc(r,e),byline:oc(r)||e.byline,minTextLength:60,rewriteRoot:function(e){Ne(e,[".comments","#comments","[id^='comment_']",".story__footer",".story__tools",".story__left",".story__save",".story__share",".story__comments-link",".story-title-icons","[data-role='player-controls']","[class*='player-controls']","[class*='timeline']","[class*='player-btn']","[class*='recommend']","[class*='advert']","[data-adfox]","svg"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(00:\d{2}\s*\/\s*\d{2}:\d{2}|раскрыть \d+ комментар|ещё \d+|поделиться|сохранить)$/i.test(r)&&e.remove()});var r={};e.querySelectorAll("a[href]").forEach(function(e){var t=e.getAttribute("href")||"";r[t]&&e.remove(),r[t]=!0})},validateMarkdown:function(e){return!/\b\d+\s+час(?:а|ов)?\s+назад[\s\S]{0,240}\bраскрыть\s+ветку/i.test(e)},extra:{docsLike:!0}});return i?(i.contentType="social",i.socialKind="post",i.platform="Pikabu",i.handle=oc(r),i):null}),registerHostAwareProfile(!0,function(e){if(!(Ee(/(^|\.)corriere\.it$/)||Ee(/(^|\.)gazzetta\.it$/)||Ee(/(^|\.)lastampa\.it$/))||re()||!ac())return null;var r=ac();return r?Be(e,r,{title:ic(e,r),byline:u([".author-art .writer",".author-art",".byline","[rel='author']","[itemprop='author']"])||e.byline,minTextLength:300,rewriteRoot:function(e){Ne(e,[".widget-audio-article",".box-audio",".article-audio",".sharebar",".share-bar",".social-share",".article-share",".adv",".adv__content",".advertising",".banner",".newsletter",".paywall",".piano",".trc_rbox",".taboola",".comment",".comments",".discussion",".scoreboard","[class*='scoreboard' i]","[class*='share' i]","[id*='share' i]","[data-mrf-recirculation]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(ascolta l'articolo|\d+\s*min|new|condividi|leggi anche|continua a leggere|pubblicit[àa]|abbonati|scegli corriere come fonte preferita)/i.test(r)&&e.remove(),/^(i\s*)?questo audio è generato in automatico/i.test(r)&&e.remove(),/^(portogallo|spagna)\d/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)lemonde\.fr$/))return null;var r,n,o=document.querySelector("article.article__content")||document.querySelector(".article__content")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']");return o&&o.querySelector("p, figure, blockquote")?((r=document.querySelector("#js-modal-gifted-url, .article__gift-modal"),n=t(r&&r.textContent||""),/cet article vous est offert/i.test(n))&&tt(o,e,{minBodyTextLength:350,minParagraphCount:3,paragraphMinLength:60,removalSelectors:Re.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall"]),textRemovalPattern:/cet article vous est offert|pour lire gratuitement cet article réservé aux abonnés|article réservé aux abonnés|la suite est réservée à nos abonnés/i,textRemovalMaxLength:260}),Be(e,Ke(document.querySelector(".article__desc, .article__lead, .article__standfirst"),o),{title:u(["h1.article__title",".article__title","h1"])||e.title,byline:u([".article__author",".meta__author","[rel='author']"])||e.byline,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){Ne(e,Re.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall",".article__siblings",".article__reactions",".article__share",".meta__social",".services","[data-module*='newsletter' i]","[data-module*='recommend' i]"]).join(", ")),e.querySelectorAll("p, div, span, figcaption").forEach(function(e){var r=t(e.textContent||"");/^(article réservé aux abonnés|la suite est réservée|il vous reste \d+(?:[,.]\d+)?% de cet article à lire|se connecter|s’abonner|s'abonner)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!(Ee(/(^|\.)idnes\.cz$/)||Ee(/(^|\.)lidovky\.cz$/)||Ee(/(^|\.)blaze\.cz$/)||Ee(/^expats\.cz$/))||!lc()||!document.querySelector("h1.arttit, h1.title, .art-title, .article-title, h1"))return null;var r=lc();return r?(e.language="",Be(e,r,{title:e.title||u(["h1.arttit","h1.title",".art-title",".article-title","h1"]),byline:u([".authors",".author",".art-info .author","[rel='author']"])||e.byline,minTextLength:450,postProcessMarkdown:function(e){var r=document.querySelector("#paywall, #promo-paywall, .paywall-before"),n=r&&Pe(r),o=t(n&&n.textContent);return o&&(e+="\n\nTento veřejný úryvek proto končí u nabídky Premium; další část bude dostupná pouze v iDNES Premium. Předplatné odemyká pokračování článku na iDNES.cz.\n\n"+o),e},extra:function(){return{packagePage:!0}},rewriteRoot:function(e){Ne(e,["#promo-premium-button",".social",".share",".sharing",".discussion",".comments",".gallery",".photogallery",".video",".advert",".advertising",".reklama",".ad",".m-ad",".js-ad",".art-media",".art-tools",".art-tags",".tag-list",".paywall-foot","#recombee-premium","[id^='AdTrack']","[class*='recommend' i]","[class*='related' i]"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(diskuse|sdílet|fotogalerie|premium|přihlásit se)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)folha\.uol\.com\.br$/)||!/\.shtml(?:$|[?#])/i.test(location.pathname||"")||!sc())return null;var r=sc();return r?(tt(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:Re.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),Be(e,r,{title:u(["main h1","article h1","h1"])||e.title,minTextLength:250,rewriteRoot:function(e){Ne(e,[".c-more-options",".c-newsletter",".gallery-widget",".js-gallery-widget",".gallery-widget-share-container",".c-loading",".ads",".advertising","[class*='advertising']","[class*='newsletter']","[class*='share']","[data-ad-unit]"].join(", ")),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(carregando|compartilhe|voltar|ver novamente|copiar link|ícone (facebook|whatsapp|x|linkedin|de envelope|de link))$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!Ee(/(^|\.)blog\.naver\.com$/))return null;var t=function(){var e=document.querySelector("iframe#mainFrame, iframe[name='mainFrame']");if(!e)return null;try{var t=e.contentDocument||e.contentWindow&&e.contentWindow.document||null;if(cc(t))return t;var r=e.getAttribute("srcdoc");return r?(new DOMParser).parseFromString(r,"text/html"):t}catch(e){return null}}()||document,r=cc(t);return r?Ze(e,r,{title:uc(t,[".se-module.se-module-text.se-title-text",".se-title-text span",".se-title .se-title-text",".se-title","h3.se_textarea_title",".pcol1.itemSubjectBoldfont",".htitle","h1"])||e.title,byline:uc(t,[".nick",".blog_author",".writer",".se_publishDate + .nick"]),minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".post_btn, .post_footer_contents, .comment, .u_likeit_module, .wrap_tag, .post_tag, .se-module-oglink, .se-sticker, .se-map, script, style").forEach(function(e){e.remove()})}}):null}),e.FetchUtilExtract={extract:function(e){/(^|\.)mwananchi\.co\.tz$/i.test(location.hostname||"")&&(Ne(document,["#paywall","[data-paywall]","[id*='paywall' i]","[class*='paywall' i]","[class*='subscribe' i]","[class*='premium' i]"].join(", ")),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=t(e.textContent||"");/\b(?:NewsArticle|Article)\b/.test(r)&&e.remove()}),document.querySelectorAll("p, div, span, section, aside, button, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>420||/^(ndiyo, tafadhali!?|ingia|jisajili ili kuanza safari yako ya kufikia maudhui yetu yanayolipiwa|jiunge nasi leo usikose habari muhimu|pata habari na chambuzi huru, za kina na za uhakika kutoka mwananchi|loading\.\.\.)$/i.test(r)&&e.remove()}));var r,n,i,a,l,c,d,m,f=(r=document.querySelector('link[rel="canonical"]'),n=w(["NewsArticle","Article","BlogPosting"]),i=$o(),a=x(n&&n.author),l=S(n&&n.datePublished),c=S(n&&n.dateModified),d=i?zo(i.startDate,i.endDate):null,{title:L("og:title","property")||document.title||u(["main h1","article h1","h1"]),byline:L("author","name")||L("article:author","property")||L("parsely-author","name")||a||p(),excerpt:L("description","name")||L("og:description","property"),siteName:L("og:site_name","property")||location.hostname,publishedTime:d||L("article:published_time","property")||L("publish-date","name")||L("datePublished","itemprop")||L("date","name")||L("dc.date","name")||L("DC.date","name")||L("parsely-pub-date","name")||l||c||h(),canonicalUrl:o(r&&r.getAttribute("href"))||location.href,language:s(),image:L("og:image","property")||null,video:L("og:video","property")||L("og:video:url","property")||null});if(!m){var y=vl(f);y&&(m=y)}var b,v=null,k=null;if(m||(v=V(),k={iframeTitles:(b=Array.prototype.map.call(document.querySelectorAll("iframe"),function(e){return{title:t(e.getAttribute("title")||""),src:t(e.getAttribute("src")||"")}})).map(function(e){return e.title}).filter(Boolean),iframeSources:b.map(function(e){return e.src}).filter(Boolean),scriptSources:Array.prototype.map.call(document.querySelectorAll("script[src]"),function(e){return t(e.getAttribute("src")||"")}).filter(Boolean),textLength:V().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)}),!m&&/(^|\.)(google\.|bing\.com$|duckduckgo\.com$|search\.brave\.com$|ecosia\.org$)/.test(location.hostname)&&(m=function(e){var r=t(document.body&&document.body.textContent||"");if(pr(e.title||document.title,r||V()||""))return null;var n=[],o={};return[".result__title a, [data-testid='result-title-a']","li.b_algo h2 a, .b_algo h2 a","a h3","main a[data-testid='result-title-a'], main article a[href], main .result a[href], main .snippet a[href]"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){var t="A"===e.tagName?e:e.closest("a");if(t){var r=t.closest("article, li, div[data-testid], .result, .b_algo, .g, .fdb")||t.parentElement,i=Fo(t);Uo(n,o,i,t.getAttribute("href"),Oo(r,i))}})}),n.length<4&&document.querySelectorAll("main a[href], [role='main'] a[href]").forEach(function(e){var t=e.closest("article, li, div, section")||e.parentElement,r=Fo(e);Uo(n,o,r,e.getAttribute("href"),Oo(t,r))}),n.length?{title:e.title||document.title,byline:null,excerpt:_("q")||_("p")||_("query")||_("text")||"",siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:C(n),markdown:C(n),readerMode:!1,contentType:"search",resultCount:n.length}:null}(f)),!m){var A=yr(f,v),q=A?gr(f,v):null,E=t(document.body&&document.body.textContent||"").toLowerCase(),$=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(E);A&&"not_found"===q&&$&&(m=A)}if(m||(m=function(e){var r=w(["Recipe"]);if(!r)return null;var n=g(r.recipeIngredient).map(function(e){return"string"==typeof e?t(e):S(e)}).filter(Boolean),o=[];if(function e(r){var n;r&&(Array.isArray(r)?r.forEach(e):"string"!=typeof r?"object"==typeof r&&(r.itemListElement?e(r.itemListElement):(n=S(r))&&o.push(n)):(n=t(r))&&o.push(n))}(r.recipeInstructions),n.length+o.length<3)return null;var i=[r.recipeYield?"Yield: "+S(r.recipeYield):null,r.prepTime?"Prep: "+t(r.prepTime):null,r.cookTime?"Cook: "+t(r.cookTime):null,r.totalTime?"Total: "+t(r.totalTime):null].filter(Boolean),a=[],l=x(r.name||r.headline)||e.title||document.title,s=S(r.description)||e.excerpt;l&&a.push("# "+l),i.length&&a.push(i.map(function(e){return"- "+e}).join("\n")),s&&a.push(s),n.length&&a.push("## Ingredients\n\n"+n.map(function(e){return"- "+e}).join("\n")),o.length&&a.push("## Instructions\n\n"+o.map(function(e,t){return t+1+". "+e}).join("\n"));var c=a.join("\n\n").trim();return{title:l,byline:x(r.author)||null,excerpt:s||null,siteName:e.siteName||location.hostname,publishedTime:r.datePublished||e.publishedTime||null,ingredients:n,instructions:o,html:"",markdown:c,textContent:t(c),readerMode:!1,contentType:"recipe"}}(f)),!m&&re()&&(m=da(f,v)),!m){var P=t([location.pathname,document.title,f&&f.title,f&&f.siteName].join(" ")).toLowerCase();/\b(?:podcast|podcasts|episodes?)\b/.test(P)&&(m=Fr(f,null))}if(m||(m=Xo(f)),m||(m=da(f,v)),m||(m=function(e,r,n){var o=rr(e,r,n);if(!o)return null;var i=t(e.title||document.title);(!i||je(i)||/^www\./i.test(i))&&(i=nr(o,e));var a=function(e,t){var r="anubis"===e?"This page is presenting an Anubis challenge before the original content is available.":"datadome"===e?"This page is presenting a DataDome CAPTCHA challenge before the original content is available.":"This page is presenting a Cloudflare or Turnstile challenge before the original content is available.";return t&&t.textLength<40&&t.htmlLength>200&&(r+=" The readable DOM content is effectively empty in this environment."),r}(o,n),l=["anubis"===o?"Challenge: Anubis":"datadome"===o?"Challenge: DataDome":"Challenge: Cloudflare/Turnstile"];return n&&n.textLength<40&&n.htmlLength>200&&l.push("Readable DOM: challenge page only"),T({title:i,description:a,highlights:[],details:l,siteName:e.siteName||location.hostname,contentType:"interstitial"})}(f,v,k)),!m){var N=yr(f,v),z=N?gr(f,v):null;if(N&&"consent_wall"!==z)m=N;else if(N&&"consent_wall"===z){var M=dc(e),R=t(M&&M.markdown||M&&M.textContent||"").toLowerCase();m=M&&R.length>500&&!ln(R)?M:N}}if(m||(m=Vn(f)),m||(m=ei(f)),m||(m=li(f)),m||(m=ui(f)),m||(m=Ti(f)),m||(m=dc(e)),m&&"article"===m.contentType&&m.readerMode&&Hn(m.textContent||m.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var B=fo(f);t(B.markdown||"").length>=400&&(m=B)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(m)){var H=function(){var e,r=document.getElementById("__NEXT_DATA__");if(!r)return null;try{e=JSON.parse(r.textContent)}catch(e){return null}if(!e||!e.props)return null;var n=e.props.pageProps||e.props;if(!n)return null;for(var o=[],i=null,a=[n],l=[],s=0,c=0,u=Wo(),d=!1,m=["content","body","markdown","html","description","text","article","post","doc","page","rawBody","compiledSource"],p=["title","name","heading"];s<a.length&&!d;){var h,f,g,y=a[s++];if("string"==typeof y){var b=y.trim();c+=y.length,b.length>80&&o.push(b)}else if(y&&"object"==typeof y){if(-1!==l.indexOf(y))continue;if(l.push(y),h=Object.keys(y),f=[],m.forEach(function(e){-1!==h.indexOf(e)&&f.push(e)}),h.forEach(function(e){-1===f.indexOf(e)&&f.push(e)}),!i)for(g=0;g<p.length;g++){var v=y[p[g]];if("string"==typeof v&&v.trim().length>2){i=v.trim();break}}f.forEach(function(e){d||(c+=e.length,a.push(y[e]))})}(c>=16e6||Wo()-u>=100)&&(d=a.length>0)}var w,x,S,k=o.length?o.reduce(function(e,t){return e.length>=t.length?e:t}):"";if(k.length<200)return d?{title:i||document.title,byline:null,excerpt:null,siteName:location.hostname,publishedTime:null,html:null,textContent:"",markdown:null,contentType:"article",spaFallback:!0,spaDataGuard:!0}:null;if(/<[a-z][^>]*>/i.test(k)&&/<\/[a-z]+>/i.test(k)){x=k;var A=document.createElement("div");A.innerHTML=k,ze(A),S=t(A.textContent),w=null}else x=null,S=t(k),w=k;return{title:i||document.title,byline:null,excerpt:S?S.slice(0,280):null,siteName:location.hostname,publishedTime:null,html:x,textContent:S||k,markdown:w,contentType:"article",spaFallback:!0,spaDataGuard:d}}();H&&(m=H)}m=function(e,r){if(!e||"job"===e.contentType||"search"===e.contentType||"interstitial"===e.contentType||e.docsLike||e.legalProvision)return e;if(ii(r,ti()))return e;var n=Pi(0,r);if(!n)return e;e.contentType="property",n.title&&(!e.title||t(e.title).length<t(n.title).length)&&(e.title=n.title),n.excerpt&&!e.excerpt&&(e.excerpt=n.excerpt),n.price&&(e.price=n.price),n.location&&(e.location=n.location),null!==n.bedrooms&&void 0!==n.bedrooms&&(e.bedrooms=n.bedrooms),null!==n.bathrooms&&void 0!==n.bathrooms&&(e.bathrooms=n.bathrooms),null!==n.areaSqft&&void 0!==n.areaSqft&&(e.areaSqft=n.areaSqft);var o=[];e.price&&o.push("Price: "+e.price),e.location&&o.push("Location: "+e.location),null!==e.bedrooms&&void 0!==e.bedrooms&&o.push("Bedrooms: "+e.bedrooms),null!==e.bathrooms&&void 0!==e.bathrooms&&o.push("Bathrooms: "+e.bathrooms),null!==e.areaSqft&&void 0!==e.areaSqft&&o.push("Area: "+e.areaSqft+" sqft");var i=It(e.markdown||e.textContent||""),a=o.map(function(e){return"- "+e}).join("\n");return o.length&&-1===i.indexOf(o[0])&&(e.markdown=["# "+(e.title||r.title||document.title),a,i].filter(Boolean).join("\n\n"),e.textContent=t(e.markdown)),e}(m,f),m=function(e,r){if(!e||"search"===e.contentType||"interstitial"===e.contentType||e.docsLike||e.legalProvision)return e;var n=Si(r);if(!n)return e;var o=Ai(n),i=It(e.markdown||e.textContent||"").trim(),a=t(i),l=[],s=e.title||r.title||document.title;return s&&!Tt(i,s)&&l.push("# "+s),o.length&&o.some(function(e){return-1===a.indexOf(t(e))})&&l.push(o.map(function(e){return"- "+e}).join("\n")),l.push(i),(n.tables||[]).forEach(function(e){-1===t(l.join("\n\n")).indexOf(t(e))&&l.push(e)}),e.contentType=function(e,t){return t&&t.event?"sports_event":t&&t.typed?"sports":e&&e.contentType||"article"}(e,n),(n.detail||n.structured)&&(e.sportsDetailEvidence={kind:n.structured?"sports_schema":"sports_detail",urlMatch:n.structured?ki([n.structured.homeName,n.structured.awayName]):ki(n.detail.identity.teams)}),e.markdown=It(l.filter(Boolean).join("\n\n")),e.textContent=t(e.markdown),o[0]&&!e.excerpt&&(e.excerpt=o[0]),e}(m,f),m=function(e,r){if(!e||"job"===e.contentType||"property"===e.contentType||"list"===e.contentType||"search"===e.contentType||"interstitial"===e.contentType||e.docsLike||e.legalProvision)return e;var n=To();if(!n)return e;e.contentType="product",n.title&&(!e.title||t(e.title).length<n.title.length)&&(e.title=n.title),n.excerpt&&!e.excerpt&&(e.excerpt=n.excerpt),n.price&&(e.price=n.price),n.availability&&(e.availability=So(n.availability)),n.sku&&(e.sku=n.sku);var o=[];if(e.price&&o.push("Price: "+e.price),e.availability&&o.push("Availability: "+e.availability),e.sku&&o.push("SKU: "+e.sku),o.length&&-1===t(e.markdown||e.textContent||"").indexOf(o[0])){var i=e.title||r&&r.title||document.title,a=t(e.markdown||e.textContent||"");e.markdown=["# "+i,o.map(function(e){return"- "+e}).join("\n"),a].filter(Boolean).join("\n\n"),e.textContent=t(e.markdown)}return e}(m,f);var F=Dr(m=function(e){if(!e||"social"!==e.contentType)return e;var t=Ni(e.socialKind);return-1===["post","thread","feed","profile"].indexOf(t)?(e.contentType="article",Mi(e),e):(e.socialKind=t,e.platform=Ni(e.platform),e.handle=Ni(e.handle),e.replyCount=zi(e.replyCount,!1),e.community=Ni(e.community),e.score=zi(e.score,!0),e)}(m))||eo(f,m),O=Co(f);if(O&&m&&"social"!==m.contentType&&"product"!==m.contentType&&"property"!==m.contentType&&"hotel"!==m.contentType&&!m.hostAware&&!m.docsLike){var I=t(m.markdown||m.textContent||"").toLowerCase(),D=t([document.title,location.pathname,location.search,f&&f.siteName].join(" ")).toLowerCase(),U=wr()||/\b(?:shop|shopping|store|marketplace|catalog|products?|furniture|search results?)\b|\/p\/|\/sb\d*\//.test(D);F&&!U?O=null:("list"!==m.contentType&&(U||O.itemCount>=4||ln(I))||"list"===m.contentType&&wr()&&O.itemCount>=4)&&(m=O)}var W=Eo(f);!W||!m||"article"!==m.contentType&&"list"!==m.contentType||m.hostAware||m.docsLike||Sr(m)||(m=W);var Z=function(e){var r=No();if(r.length>=3){var n=fo(e,{portalRoot:!0});return n.excerpt=r[0].text,n}if(!Ho())return null;var o=Pe(document.querySelector("main, [role='main'], article, #content")||document.body);ze(o),co(o),Ne(o,"form, script, style, noscript, [class*='modal' i], [class*='newsletter' i]");var i=It(Qt(o.innerHTML));return t(i).length<300?null:j(e,{title:e.title||document.title,excerpt:e.excerpt||u(["main h1","h1"]),html:o.innerHTML,textContent:i,markdown:i})}(f);!Z||!m||m.hostAware||m.docsLike||"event"===m.contentType||Sr(m)||(m=Z);var G=Fr(f,m=Ko(m));G&&(m=G);var K=Go(0,m);F=K||Dr(m)||eo(f,m);if(m&&!m.hostAware&&Ee(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(m.html||"")&&(m.hostAware=!0),"article"===m.contentType&&!m.hostAware&&!m.docsLike&&!Sr(m)&&X(m.textContent||m.markdown||"")){var J=fo(f);t(J.markdown||"").length>=400&&(m=J)}if("article"!==m.contentType||m.docsLike||m.legalProvision||!Qn(null,m.textContent||m.markdown||"")||(m=Jn(m,{strongList:!0})),"list"===m.contentType||"social"===m.contentType||"medical"===m.contentType||"product"===m.contentType||"recipe"===m.contentType||"property"===m.contentType||"hotel"===m.contentType||"event"===m.contentType||Ci(m)||m.hostAware||m.docsLike||m.legalProvision||!function(e){if(!document.body||Sr(e))return!1;if(Go(0,e))return!1;if(!vr()&&!wr()&&!jo())return!1;var r=document.createElement("div");r.innerHTML=e&&e.html||document.body.innerHTML;var n=r.querySelectorAll("a[href]").length,o=r.querySelectorAll("article, li, section, [class*='card'], [class*='item'], [class*='story'], [class*='product'], [class*='tile'], [class*='job'], [data-testid*='card'], [data-testid*='product'], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/']").length,i=r.querySelectorAll("h2, h3, h4").length,a=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=br(r)&&r.length<=220&&!Ar(r,e.getAttribute("href")||"")}).length,l=Array.prototype.map.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"")}).filter(Boolean),s=l.filter(function(e){return e.length>=180}).length,c=l.filter(function(e){return e.length>=120}).join(" "),u=t(r.textContent||e&&(e.textContent||e.markdown)||""),d=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),m=u.length>0?d/u.length:0,p=document.createElement("div");p.innerHTML=document.body.innerHTML;var h=Math.max(Ir(r),Ir(p));return!Xn(r,u)&&!Yn(r,u)&&(!(!Or(r,u)&&!Or(p))||!(s>=5&&c.length>=1200&&m<.35)&&(a>=6&&o>=6&&n>=8&&(i>=4||m>=.22)||h>=6||jo(r)))}(m)||(m=fo(f)),"list"===m.contentType||"social"===m.contentType||"medical"===m.contentType||"product"===m.contentType||"recipe"===m.contentType||"property"===m.contentType||"hotel"===m.contentType||"event"===m.contentType||Ci(m)||m.hostAware||m.docsLike||m.legalProvision||!function(e){if(!document.body)return!1;if(Go(0,e))return!1;if(Sr(e))return!1;function r(e){var r=e.querySelectorAll("a").length,n=e.querySelectorAll("p").length,o=e.querySelectorAll("tr, li, article, section").length,i=e.querySelectorAll("li").length,a=e.querySelectorAll("table, ul, ol, .itemlist, .items, .stories, .posts, .news, .headlines, .feed, .threads, .topic-list, .forumlist, .discussionList").length,l=e.querySelectorAll("h1, h2, h3, h4").length,s=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], .structItem, .discussionListItem").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=br(r)&&r.length<=220&&!Ar(r,e.getAttribute("href")||"")}).length,u=t(e.textContent),d=t(document.title).toLowerCase(),m=(location.pathname||"").toLowerCase();return{links:r,paragraphs:n,rows:o,listItems:i,listish:a,headings:l,cards:s,headlineLinks:c,text:u,title:d,homepage:"/"===m||""===m||/^\/(index|default|home)\b/i.test(m)||/^\/\d+(,\d+)*\.html?$/i.test(m)}}function n(e){return!!(e.homepage&&e.headlineLinks>=20&&e.cards>=15&&(e.headings>=8||e.cards>=40))||e.headlineLinks>=30&&e.cards>=20&&(e.headings>=10||e.cards>=40)||!!(e.homepage&&e.headlineLinks>=16&&e.headings>=8&&e.links>=80&&e.text.length<=24e4)||!!(e.headlineLinks>=24&&e.headings>=10&&e.links>=120&&(e.homepage||e.rows>=20||e.listish>=2)&&e.text.length<=24e4)||(e.links>=8&&e.rows>=6||e.listish>0&&e.links>=6)&&e.paragraphs<=8&&e.text.length<=14e3||e.rows>=6&&e.headlineLinks>=6&&e.headings>=6&&e.text.length<=36e3||e.homepage&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3&&(e.listItems>=4||e.cards>=4||/top stories|breaking news|latest news|headlines|ultime notizie|in evidenza|primo piano/.test(e.title+" "+e.text.slice(0,400)))||e.cards>=4&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3}var o=document.createElement("div");if(o.innerHTML=document.body.innerHTML,n(r(o)))return!0;var i=document.createElement("div");return i.innerHTML=e&&e.html?e.html:document.body.innerHTML,n(r(i))}(m)||!vr()&&Sr(m)||F||(m=fo(f)),"article"!==m.contentType&&"medical"!==m.contentType||m.docsLike||m.legalProvision||F||!function(e){if(!e||"article"!==e.contentType||Sr(e))return!1;if(!wr())return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=r.querySelectorAll("p").length,i=Array.prototype.filter.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=180}).length,a=t(e.byline||""),l=t(e.publishedTime||""),s=document.querySelector("main h1, [role='main'] h1, h1"),c=t([document.title,s&&s.textContent].join(" ")).toLowerCase();return!(l||a||ln(n.toLowerCase())||!/(search|results?|shop|browse|categor|catalog|keyword|wholesale|products?|collections?|marketplace)/.test(c)||i>=4&&n.length>=1200||!(n.length<2400||o<=4))}(m)||(m=Jn(m,{strongList:!0})),"list"===m.contentType&&_("q")&&Gn(f)){var Y=Kn(f);Y&&(m=Y)}return pc(m,f,v,k,K)}}}(window);
|