fetch_util 0.5.1 → 0.5.2
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 +6 -0
- data/lib/fetch_util/assets/extract.js +1 -1
- data/lib/fetch_util/version.rb +1 -1
- metadata +1 -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){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($("Content-Language","http-equiv"))||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,Dt(er(n.innerHTML))}return Dt(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=oo(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(){return _("q")||_("p")||_("query")||_("text")||""}function j(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 L(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 $(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function P(e){return e.join("|")}function N(e,t){return new RegExp("^(?:"+P(e)+")$",t||"i")}function z(e,t,r){return new RegExp("^\\s*(?:"+P(e)+")"+(t||"")+"\\s*$",r||"gmi")}function M(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}var R="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",B=/(cookie|privacy|consent|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|隐私|принять|ኩኪ)/i,H=[/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],F=/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,O=/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,I=["video player is loading.","videosoitin","play video","playback speed","fullscreen","mute","unmute"],D=[/^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/],U=/^(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)$/,Z=/^\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,G=[/^(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 K(e,t){for(var r=0;r<t.length;r+=1)if(t[r].test(e))return!0;return!1}function V(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 J(){if(!document.body)return"";var e=t(document.body.innerText||"");if(e&&(!B.test(e)||!X(e)))return e;var r=Pe(document.body,document);return r.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),Ae(r),t(r.textContent)}function X(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(!!K(r,H)&&(r.match(F)||[]).length>=2)}function Y(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(r.match(O)||[]).length>=2}function Q(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function ee(e){var r=t(e||"").toLowerCase();return!(!r||r.length>120)&&(U.test(r)||Z.test(r))}function te(e){return K(e||"",G)}function re(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 ne(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(e)}function oe(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 ie(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}Lr(e)||Lr(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 ae,le="nav, aside, footer, script, style, noscript, template",se=le+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",ce=le+", .breadcrumb, .site-header, .site-footer, .region-sidebar",ue="[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']",de=N(["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"),me=(ae="i",new RegExp("^(?:"+P(["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"])+")",ae||"i")),pe=/^(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!?)$/,he=N(["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"),fe="[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']",ge="[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']",ye="[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']",be=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),ve=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"),we=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),xe=N(["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"),Se=N(["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 ke(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&&X(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")||""))&&X(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)&&X(n))return!0}catch(e){}return!!(X(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function Ae(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){ke(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){ke(e)&&e.remove()}),e):e}function Ce(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 qe(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 Te(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();pe.test(r)&&n(e)<60&&e.remove(),ee(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||he.test(r)&&e.remove()}),e.querySelectorAll(fe).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(ge).forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll(ye).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 _e(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&xe.test(r)&&e.parentElement){for(var n=[],o=e.nextElementSibling;o;){var i=o.tagName;if(/^H[1-4]$/.test(i)&&!xe.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&&xe.test(r.slice(0,120)))e.querySelectorAll("a[href]").length>=2&&r.length<5e3&&e.remove()}})}function Ee(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 je(e,t){if(t=t||location.hostname||"",!e)return!1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)if(je(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 Le(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function $e(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(e,t);n&&r.appendChild(n)}),r}function Pe(e,t){try{return e.cloneNode(!0)}catch(r){return $e(e,t)}}function Ne(e,r){if(ke(e))return document.createElement("div");var n,i=Pe(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)&&!(X(r)||te(r)||ee(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()}),Ae(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 ze(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function Me(e){return Ae(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||Se.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(ue).forEach(function(e){e.remove()}),_e(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!!te(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=be.test(o),l=ve.test(n),s=we.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();de.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();me.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;(Q(e.textContent)||(r=e.textContent,n=t(r||"").toLowerCase(),-1!==I.indexOf(n)||K(n,D)))&&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()}),Ce(e),qe(e),Te(e),Ee(e),e}function Re(e,t,r,n,o,i){return"function"==typeof e?e(t,r,n,o,i):e}var Be=["[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]","[class*='piano-offer' i]"];function He(e,t,r){return Ge(e,t,r)}var Fe=["article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article[id^='post-'] [itemprop='articleBody']",".entry-content",".post-content","[itemprop='articleBody']"],Oe=["h1.entry-title",".entry-title","article h1","main h1","h1"],Ie=["[rel='author']",".author",".byline",".post-author","[class*='author' i]"],De=[".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 Ue(e,r){if((r=r||{}).hostPattern&&!it(r.hostPattern,location.hostname))return null;if(r.pathPattern&&!it(r.pathPattern,location.pathname||""))return null;if(r.homepagePath&&it(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 at({bodySelectors:e.bodySelectors||Fe});for(var n=e.bodySelectors||Fe,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?He(e,n,{title:Ze(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){ze(e,function(e){return De.concat(e.removalSelectors||[])}(r).join(", ")),ct(e,r.removalTextPatterns),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)}}):null}function Ze(e,r){return"function"==typeof r.title?r.title(e):void 0!==r.title?r.title:u(r.titleSelectors||Oe)||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||Ie)}function Ge(e,r,n){if(!r)return null;var o=!1===(n=n||{}).cloneRoot?r:Ne(r);if(!o)return null;"function"==typeof n.rewriteRoot&&n.rewriteRoot(o,r),!1!==n.cleanupRoot&&Me(o);var i=er(o.innerHTML);!1!==n.cleanupMarkdown&&(i=Dt(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&&!_t(i,l)&&(i="# "+l+"\n\n"+i);var s=t(i),c=Re(n.excerpt,e,o,r,i,a);void 0===c&&!1!==n.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var d=Re(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:Re(n.siteName,e,o,r,i,a)||e&&e.siteName||location.hostname,publishedTime:null===n.publishedTime?null:Re(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=Re(n.extra,e,o,r,i,a)||{};Object.keys(p).forEach(function(e){m[e]=p[e]})}return m}function Ke(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 Je(o,r,e.titleSelectors,i,!1),Je(o,r,e.leadSelectors,i,!1),Je(o,r,e.summarySelectors,i,!1),Je(o,r,e.captionSelectors||e.mediaCaptionSelectors,i,!1),n=Je(o,r,e.bodySelectors,i,!0),(!1===e.requireBody||n)&&t(o.textContent||"").length>=(e.minTextLength||0)?o:null}function Ve(e,t){var r=document.createElement("article");return e&&r.appendChild(Pe(e,document)),t&&r.appendChild(Pe(t,document)),r}function Je(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=Xe(t,i[l]);if(s&&(Ye(e,s,n)&&(a=!0),a&&!o))return!0}return a}function Xe(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 Ye(e,r,n){var o=t(r.textContent||"");return!(!o||n.indexOf(o)>=0)&&(n.push(o),e.appendChild(Pe(r,document)),!0)}function Qe(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(Pe(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?et(r.title,e,o,n):tt(n,r.titleSelector),i.byline=void 0!==r.byline?et(r.byline,e,o,n):tt(n,r.bylineSelector),i.publishedTime=void 0!==r.publishedTime?et(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&&ze(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=Re(r.extra,e,t,n,o,i)||{};return a.isolatedLiveblogEntry=!0,a},He(e,o,i)}function et(e,t,r,n){return"function"==typeof e?e(t,r,n):e}function tt(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 rt(e,r,n){n=n||{};var o=e||document.body;if(!o)return e;var i=o.cloneNode(!0);nt(i,n.removalSelectors),ot(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)||(nt(o,n.removalSelectors),ot(o,n.textRemovalPattern,n.textRemovalMaxLength),nt(document,n.signalRemovalSelectors||n.removalSelectors),ot(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 nt(e,t){e&&t&&ze(e,Array.isArray(t)?t.join(", "):t)}function ot(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 it(e,t){return!e||(t=t||"",e instanceof RegExp?e.test(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e))}function at(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 lt(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 st(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 ct(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 ut(e){return e=e||{},function(t){if(!it(e.hostPattern,location.hostname))return null;if(e.pathPattern&&!it(e.pathPattern,location.pathname||""))return null;if(e.homepagePath&&it(e.homepagePath,location.pathname||""))return null;"function"==typeof e.beforeExtract&&e.beforeExtract(t);var r=at(e);return r?He(t,r,{title:lt(e,t),titleSelectors:e.titleSelectors,byline:st(e,t),publishedTime:e.publishedTime,minTextLength:e.minBodyTextLength||0,contentType:e.contentType||"article",extra:e.extra,rewriteRoot:function(t,r){ze(t,(e.removalSelectors||[]).join(", ")),ct(t,e.removalTextPatterns),"function"==typeof e.rewriteRoot&&e.rewriteRoot(t,r)}}):null}}function dt(e){e=e||{},registerHostAwareProfile(void 0===e.condition||e.condition,ut(e))}function mt(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function pt(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function ht(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 pt(e.getAttribute("href"))}).length,o=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&o.length<900}function ft(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 gt(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 yt(e,r){return r=r||{},mt(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),mt(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()}),mt(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()}}),mt(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=ft(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||pt(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||ht(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()}),mt(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&mt(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 bt(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 vt(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 wt(e,r,n){for(var o=0;o<r.length;o+=1)for(var i=vt(e,r[o],n),a=0;a<i.length;a+=1){var l=t(i[a].textContent);if(l)return l}return""}function xt(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function St(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function kt(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),ft(e||"")||null):null}function At(e,t,r,n){var o=u(t||[]);return o||"function"!=typeof r||(o=r(e)),o||"string"!=typeof r||(o=r),kt(o,n,e)}function Ct(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return ft(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function qt(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 Tt(e){var t=qt(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),ft((r||t).textContent)||null}function _t(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 Et(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 jt(e,t,r){return $t(e,xt(t),r)}function Lt(e,t,r){if(!(t=t||Oi(e))||t.system!==r.system)return null;var n=r.headingFormatter||function(e){return ft(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&&mt(e,r.removeTextSelector||"a, button, div, p, span, li",r.removeTextPattern),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,a),!1!==r.headingFormatter&&Ct(e,r.headingSelector,n)}},a=null;!1===r.preferFragmentTitle?(a=At(e,r.titleSelectors,r.fallbackTitle,o),i.title=a):(i.titleSelectors=r.titleSelectors,i.fallbackTitle=r.fallbackTitle,i.titleFormatter=o);var l=xt(r.rootSelectors);return"function"==typeof r.contentType?i.contentType=r.contentType(l,t):r.contentType&&(i.contentType=r.contentType),$t(e,l,i)}function $t(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:Tt(t);o=kt(o,r.titleFormatter,e)||At(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=o}return Pt(e,t,n)}function Pt(e,r,n){if(!r)return null;var o,i=!1===(n=n||{}).focusFragment?r:function(e){var r=qt(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=Ne(i,n.preserveSelector);if(Me(a),yt(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{o=er(a.innerHTML).trim()}catch(e){o=""}"function"==typeof n.postProcessMarkdown&&(o=n.postProcessMarkdown(o,a));var l=ft(n.title||Tt(r)||bt(a,["h1","header h1","h2"])||"")||null,s=n.description||bt(a,["p"]);return o?(l&&!_t(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 Nt=z(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),zt=z(["(?: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)"]),Mt=M(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","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"]),Rt=M(["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 z([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"])),Bt=z(["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.*"),Ht=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+R+"\\/[^)]*\\)","gi"),Ft=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+R+"\\b[^\\n]*$","gmi"),Ot=[/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 It(e,t){var r=e;return t.forEach(function(e){r=r.replace(e,"")}),r}function Dt(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(Nt,"").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(zt,"").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(Bt,"").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(Ht,"").replace(Ft,"").replace(/\n{3,}/g,"\n\n").trim();n=It(n,Mt),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=It(n,Rt)),n=function(e){var t=e||"";if(t.length<300)return t;var r=Math.floor(.35*t.length),n=-1;return Ot.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 Ut(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Zt(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 Gt(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 Kt(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 Vt(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Jt(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=Jt(e.children[t]);if(r)return r}return null}function Xt(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=Jt(r[n-1]),i=Jt(r[n]);if(o&&i){var a=Vt(o.textContent),l=Vt(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 Yt(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=Et(r.textContent),a=t(i.replace(new RegExp("^"+Ut(o)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(i),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return Et(e.textContent)}).filter(Boolean).join(" ");s||(s=Et(e.textContent).replace(new RegExp("^"+Ut(o)+"\\s*"+Ut(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=Et(r[1].textContent);return n&&o?"- `"+n+"`: "+o:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function Qt(e,r){var n=Yt(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(Xt(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 er(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),Me(r),function(e){mt(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=Zt((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=Gt(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")||Gt(t)||Gt(e);t.textContent=Zt(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"+Qt(t,e)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=Zt(r?r.textContent:t.textContent);return n?Wt(r&&r.getAttribute("data-language")||Gt(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 tr(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function rr(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 nr(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=tr(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=tr(n),i=!r||t(r).length<120;return!rr(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)&&!rr(r)||i&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(o)&&!rr(o))}(o,i,n)?"cloudflare":null}function or(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(Le(o))return o}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function ir(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 ar(e,n){if(!ir(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 lr="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 sr(e){return new RegExp(lr,e||"")}function cr(e){return new RegExp("^(?:"+lr+")",e||"")}function ur(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function dr(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 mr(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function pr(e,r,n,o){!(n=t(n||""))||n.length>o||ur(n)||r[n]||(r[n]=!0,e.push(n))}function hr(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=sr(),a=cr();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))||!!sn(o)&&(i.test(n)||a.test(o)))}function fr(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 gr(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 yr(e,r){var n=t(e.title||document.title),o=t([r||"",document.body&&document.body.textContent||""].join(" ")),i=(n+" "+o).toLowerCase(),a=gr(o);return ir(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":hr(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":fr(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 br(e,r){var n=yr(e,r);if(!n)return null;if("meta_login"===n)return ar(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&&!ur(e)}),a=i.find(function(e){return e!==o&&e.length>=12})||e.excerpt||t(r||""),l=[],s=[];if("human_verification"===n)o&&!Le(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){dr(r)&&pr(t,e,mr(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){dr(t)&&pr(r,e,mr(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){dr(t)&&pr(n,e,mr(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(dr(t)){var r=mr(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)&&pr(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&&!Le(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&&!Le(o)||(o="Login required"),l.push("Access notice: login or account required")):"js_redirect"===n&&(o&&!Le(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 vr(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function wr(){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 xr(){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 Sr(){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 kr(e){if(!document.body)return!1;if(!Sr())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 Ar(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function Cr(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 qr(){return location.origin+location.pathname}function Tr(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function _r(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=Tr((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=Tr([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:qr(),keywords:a,sectionFragments:l.slice(0,4)}}function Er(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 jr(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 Lr(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)||Er(n)}function $r(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 Pr(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<vr(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(Cr(l,i)||Br(e)||Br(e.parentElement)||Mr(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)&&jr(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=$r(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,(Lr(o)||Lr(o&&o.parentElement))&&(a-=260),(Er(e)||Er(n))&&(a-=220),a}(l,u,m,r||e.parentElement,n);return p===-1/0?null:{text:l,url:u,detail:m,rankScore:p,card:Nr(e,r)}}function Nr(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 zr(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 Mr(e){return zr(e,Br)}function Rr(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 Br(e){return Rr(e,!0)}function Hr(e){return Rr(e,!1)}function Fr(e,n){if(!e||kr(n))return!1;if(Yn(null,e)||Qn(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(!wr()&&!xr())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!==qr()&&(Ar(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 Or(e,r){if(!document.body)return null;if(r&&"article"!==r.contentType&&"list"!==r.contentType)return null;if(r&&"list"===r.contentType){if(!ne())return null;if(r.docsLike)return null;var n=go(e,{portalRoot:!0});return n.portalRootEvidence?(r.portalRootEvidence=n.portalRootEvidence,r):null}if(!r&&!ne())return null;if(r&&(r.hostAware||r.docsLike))return null;if(sn(document.body.textContent||""))return null;if(r&&fr(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=go(e,{portalRoot:!0});return o.portalRootEvidence?o:null}function Ir(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||kr())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=no(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 Dr(e){var r=qr(),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<vr(a)||a.length>220||Cr(a,l||""))&&l){try{i=new URL(l,location.href)}catch(e){return}i.origin===location.origin&&i.origin+i.pathname!==r&&Ar(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname)}}),n.length}function Ur(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=Sr();return!eo(n,o)&&(!(!Yn(n,o)&&!Qn(n,o))||(!wr()&&o.length>=280&&c<.5||!(wr()&&c>.5)&&(!(wr()&&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 Zr(e){var r=_r(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(Br(e)||Lr(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>=vr(r)&&!Cr(r,e.getAttribute("href")||"")&&!Br(e.parentElement)&&!Br(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<vr(n))){var i=o(e.getAttribute("href"));if(i){var a=$r(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 Gr(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 Kr(){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 Vr(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 Jr(){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 Xr(e){try{return new URL(e||location.href,location.href)}catch(e){return null}}function Yr(e){return(e&&e.hostname||"").replace(/^www\./i,"").toLowerCase()}function Qr(e){return e?r(e.pathname||"").split("/").filter(Boolean).map(function(e){return e.replace(/\.(?:html?|shtml|php|aspx?)$/i,"").toLowerCase()}):[]}function en(e){return Wr(t(r(e||""))).toLowerCase().replace(/[^a-z0-9]+/g," ").trim().replace(/\s+/g," ")}function tn(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 rn(e){return!(!e||!e.length)&&(1===e.filter(tn).length&&e.every(function(e){return tn(e)||e.length<=24||/^\d+$/.test(e)||/^[a-z]{2}$/i.test(e)||/^[a-z0-9]{6,}$/i.test(e)}))}function nn(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=Qr(Xr(location.href)),s=Kr(),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=rn(l)&&s.length>=2&&(p>=1||h>=1||p/s.length>=m||h/s.length>=m);return function(e){var t=Xr(location.href),r=Xr(e&&e.canonicalUrl);if(!t||!r)return!1;if(Yr(t)!==Yr(r))return!1;var n=Qr(t),o=Qr(r);if(n.join("/")===o.join("/"))return rn(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,!tn(n[a])||!tn(o[a])))return!1;return 1===i}(e)&&Gr(d)||Gr(a)||Gr(d)&&rn(l)||f}function on(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 an={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 ln(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=an[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 sn(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!sr("i").test(r))return!1;if(cr("i").test(r))return!0;var n=r.match(sr("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function cn(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 un(){var e=w(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=$("article:content_tier","property")||$("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 dn(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=$n({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 mn(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,8e3),$("citation","name"),$("DC.title","name")].join(" ")).toLowerCase(),a=pn(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 pn(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 hn(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike)return!1;if(je(/(^|\.)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,$("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,$("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)||$("article:modified_time","property")||$("article:modified_time","name")||$("dateModified","property")||$("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($("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,$("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 fn(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 gn(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 je(/(^|\.)lenta\.ru$/)&&/^\/news\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||"")?(a>=1||l>=1)&&s>=2:!!(u&&Ur(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 yn(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:er(r.innerHTML||"")||""}}function bn(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((yn(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=yn(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 vn(e,r,n,o,i,a,l,s,c,u,d,m,p,h,f,g,y){var b,v=[],w=sn(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=sr("i"),s=cr(),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||sn(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||cn(o)||cn(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 wn(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=Kr().length>=2,L=je(/(^|\.)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(gn(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=fn(["[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=fn(["[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=Kr(),B=n&&"list"===n.contentType&&(_("q")||_("_nkw")||_("st")||/^\/search\//.test(location.pathname));if(!y&&!b&&R.length>=2&&!B&&!c&&!pn(r(location.pathname||"").toLowerCase())&&!mn(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||nn(e,n,i,o)||on(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=Vr([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var r=Vr(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&&!pn(r(location.pathname||"").toLowerCase())&&!mn(s,i)){var Z=Jr()||(e.language||"").slice(0,2).toLowerCase();!Z||!an[Z]||g||ln(Z,i)||Z!==Jr()&&nn(e,n,i,o)||on(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=Xr(location.href),a=Xr(e.canonicalUrl),l=Qr(i),s=Qr(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=en(l[l.length-1]||""),p=en(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 W=yn(n,o).markdown||o||"",G=bn(e,n,W),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||sn(i)||fr(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,W,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=yn(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,W,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)||dn(s,i)||q.push("multi_topic_page")}if(!y&&!b&&n&&"article"===n.contentType&&!wr()&&(un()&&-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&&hn(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(je(/(^|\.)(prnewswire\.com|globenewswire\.com|businesswire\.com)$/i))return!1;if(dn(e,r)||mn(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 xn(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||!Gr(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=nr(e,o,i),p=yr(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=ne(),a=i||wr(),l=(t.match(/\[[^\]]+\]\([^)]+\)/g)||[]).length,s=ie(document),c=!!e.portalRootEvidence;return!(sn(r)||sn(n))&&!fr(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=fr(l,t([s,w].join(" ")).toLowerCase(),{maxTextLength:1100}),k=document.querySelectorAll("main a[href], article a[href]").length>=3||r&&"list"===r.contentType,A=sn(s),C=s.length>500&&!(A&&!k),q=gn(r,n,s);return a=(a=a.concat(vn(e,r,n,s,c,u,0,h,y,m,p,S,k,C,b,v,i))).concat(wn(e,r,n,s,c,u,l,h,y,g,f,x,m,p,q,d))}var Sn=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,kn=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,An=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,Cn=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,qn=/(?: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,Tn=/\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,_n=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,En=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,jn=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,Ln=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function $n(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:Sn.test(l),officialStatuteTitle:kn.test(a),officialTextSignals:Tn.test(l),profileOfficialTextSignals:_n.test(o),translationAttribution:En.test(l),provisionMarkers:(o.match(An)||[]).length,structuralMarkers:(o.match(Cn)||[]).length,legalTerms:qn.test(o),numberedClauses:(o.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:jn.test(o),bodyStartMatch:o.match(Ln)}}function Pn(e){return e&&e.querySelectorAll?(ze(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]"),Ee(e),_e(e),e):e}function Nn(){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=$n({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=$n({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=Ne(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 zn(e){if(!e||ke(e))return-1/0;if(!Rn(e)&&Bn(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&&(X(o)||te(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&&In(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&&Fn(i)||l<1800&&Y(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 Mn(){if(Bn(document.body)&&!Rn(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=Nn();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=Ne(t);Pn(r);var n=zn(r);return!e||n>e.score?{node:t,score:n}:e},null),a=Ne(i&&i.score>-1/0?i.node:document.body),l=Rn(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("")):"";Hn(a),Pn(a),Hn(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 Rn(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 Bn(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 Hn(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 Fn(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 On(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=Y(i),f=Fn(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:Ur(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 In(r,n,i)}(e)&&Ur(r)&&a.length>=1200&&m<.25||h&&a.length>=Math.max(1e3,2*i.length)||Ur(r)&&(i.length<240||p)&&a.length>=Math.max(600,3*i.length)?r:e:e}function In(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 Dn(){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=$e(t,e);r&&e.head.appendChild(r)}),document.body){var t=$e(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();if(Bn(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),Ae(r),!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output, .mw-parser-output")||Me(r),Pn(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 Bn(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 Un(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 Zn(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=Un(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 Gn(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!!Q(n)||(!!te(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 Kn(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),i=J().slice(0,2e3).toLowerCase(),a=!!_("q"),l=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,$("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 Vn(e){var r=Un(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 Jn(e){if(!Kn(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||te(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=Zn(t);!r||r.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(Zn).indexOf(r)&&e.push(t)}}function s(e){var r=Ne(e);return r.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),Me(r),t(r.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var r=a(e.textContent||"");if(!(!r||r.length<12||te(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(Zn).indexOf(Zn(r))&&i.push(r)}});var c=f([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"]).filter(function(e){return e&&e.length<=40&&!te(e)}),d=f([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"]).filter(function(e){return e&&e.length<=120&&!Q(e)&&!te(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&&!te(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=Zn(e);return!n||n.length<10?r.indexOf(e)===t:r.map(Zn).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=Dt(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=Ne(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){Gn(e)&&e.remove()}),Me(o);var i=Dt(er(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=Dt([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=Vn(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&&!Gn(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),Gn(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=Ne(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){Gn(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=Zn(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(l),Me(l);var s=Dt(er(l.innerHTML)),c=t(s);if(c.length<40)return i;var d=u(["h1"])||t(e&&e.title||document.title);return d&&!_t(s,d)&&(s="# "+d+"\n\n"+s),Wn(c=t(s=Dt(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 Xn(e,t){return!e||!kr(e)||t&&t.strongList?(e&&(e.contentType="list"),e):e}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=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 Qn(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=$n({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 eo(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 to(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<vr(n)||l.length<220)&&(!!(i&&o.length>=40)||(!(!i||!a)||!!(i&&l.length>=320)))}function ro(e,t,r){if(!r)return!1;var n=r.text+"|"+r.url,o=r.canonicalKey||re(r.url);return!t[n]&&!t["url:"+o]&&(t[n]=!0,t["url:"+o]=!0,r.canonicalKey=o,e.push(r),!0)}function no(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 oo(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 io(e,r){var n=oo(e,r)[0];return n?t(n.textContent):""}function ao(e,r){e.summary=io(r,"[class*='summary'], [class*='description'], [class*='excerpt'], p"),e.category=io(r,"[class*='category'], [class*='eyebrow'], [class*='kicker']");var n=oo(r,"time")[0];n&&(e.time=t(n.getAttribute("datetime")||n.textContent)),e.image=function(e){var r=oo(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=io(r,"figcaption")}function lo(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=_r(),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)||Cr(e,t)||Er(e)}function u(e,t){var r=Pr(e,t,a);r&&!c(r.text,r.url)&&ro(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&&!Cr(r,e.getAttribute("href")||"")&&!Br(e)&&!Br(e.parentElement)&&!Mr(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>=vr(r)&&r.length<=220))}).forEach(function(e){var t=e.closest("tr, li, article, section, div")||e.parentElement;u(e,t)});return i}function so(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=_r(),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(!(Hr(e)||Hr(e.parentElement)||function(e){return zr(e,Hr)}(e))){var i=Pr(e,o,n);i&&ro(r,t,i)}}),r}function co(e){return(e||[]).reduce(function(e,t,r){var o=Math.max(0,t&&t.rankScore?t.rankScore:n(t&&t.text));return o=Math.min(o,1200),r>=8&&(o=Math.round(o/2)),e+o},0)}function uo(e){return Ae(e),Ce(e),qe(e),Te(e),Ee(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){Br(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 mo(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:"",rankScore:i.length};return a.canonicalKey=re(a.url),a.url=a.canonicalKey,a.card=e,ao(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=oo(e,"a[href]"),c=oo(e,"h1 a[href], h2 a[href], h3 a[href], h4 a[href]")[0];if(e.matches&&e.matches("a[href]")&&(s=[e]),!c&&!oo(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=Pr(r,e,_r());return n&&(!t||n.rankScore>t.rankScore)?r:t},null)),!u&&r&&r.ancestorLink&&(u=e.closest("a[href]"));var d=Pr(u,e,_r());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:"",rankScore:p.length})}return d?(d.domIndex=Array.prototype.indexOf.call(document.querySelectorAll("a[href]"),u),d.canonicalKey=re(d.url),d.url=d.canonicalKey,d.card=Nr(u,e),ao(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 po(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||oe(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!Lr(e)&&!Lr(e.parentElement)}(e))&&(!r.regionFilter||r.regionFilter(e))){var l=mo(e,r).filter(function(e){if(r.cardFilter&&!r.cardFilter(e))return!1;var t=re(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 ho(e,t){if(kr())return null;var r=po(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+co(n)}}function fo(e){var r=Ne(e);uo(r);var n=ho(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=lo(r),i=co(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||Er(n)||X(n)||Y(n)||jr(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=so(e),s=co(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 go(e,r){r=r||{};var o=[];function i(e){e&&-1===o.indexOf(e)&&o.push(e)}i(Zr(e)),function(e){var t=_r(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)&&(Br(e)||Lr(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=Pr(e,r,t);if(n&&!(n.rankScore<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=fo(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)||fo(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=ne()&&!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 L(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 yo=null;function bo(){if(yo)return yo;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)}}),yo=e,e}function vo(e){return null==e?"":Array.isArray(e)?vo(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function wo(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function xo(e){return So(e&&(e.price||e.priceSpecification&&e.priceSpecification.price),e&&(e.priceCurrency||e.priceSpecification&&e.priceSpecification.priceCurrency))}function So(e,t){if(e=vo(e).replace(/\s+/g,""),t=vo(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 ko(e){return a(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function Ao(e,r){var n=bo().find(function(n){return function(e,r,n){var i=vo(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),l=wo(e),s=vo(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=wo(n),a=n.aggregateRating||n.reviewRating,l=[],s=xo(i),c=vo(i&&i.availability),u=vo(a&&a.ratingValue),d=vo(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),u&&l.push(Co(u,d)),c&&l.push(ko(c)),l}function Co(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function qo(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&&xr()&&!c(p))return null;var b=function(e,r,n){if(!e)return"";var o=t(e.textContent||""),i=Ao(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=So(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(Co(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(Co(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(ko(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 no(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:L(e,{excerpt:n[0].text,items:n})}function To(){return So(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 _o(){var e,r,n,o,i=bo().find(function(e){var t=wo(e);return vo(e&&e.name)||xo(t)||vo(e&&e.sku)})||null,a=wo(i),l=vo(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=xo(a)||To()||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=So(a.getAttribute("content")||a.getAttribute("aria-label")||a.textContent,r);if(l)return l}}return""}(s),d=t($("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=V(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=vo(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 bo().length>1&&!f&&!p&&!h||!S||k<2?null:{title:vo(i&&i.name),excerpt:vo(i&&i.description),price:c,availability:vo(a&&a.availability),sku:vo(i&&(i.sku||i.mpn||i.gtin13)||h)}}function Eo(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)JobPosting$/i.test(e)})})||null}function jo(e){if(!Lo(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=no(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:vr,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 L(e,{excerpt:n[0].text,textContent:i,markdown:i,items:n})}function Lo(e){if(!(e=e||document.body)||kr())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<vr(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 $o(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(?:Event|EventReservation|WorkEvent)$/i.test(e)})})}function Po(){var e=$o();return e.length>1&&No()?null:e[0]||null}function No(){var e=r(location.pathname||"").toLowerCase(),n=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")).toLowerCase();if(je(/(^|\.)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=zo().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 zo(){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=Bo(n)||Bo(l),c=Ho(n)||Ho(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 Mo(e,t){var r=S(e),n=S(t);return r&&n&&r!==n?r+" - "+n:r||n||null}function Ro(e){if(!e)return null;if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(Ro).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 Bo(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 Mo(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 Ho(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 Fo(){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 Oo(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function Io(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 Do(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):Oo(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=Io(e.closest(u)||e.parentElement,d);n[c]=!0,i.push({text:d,url:c,detail:m})}}}}),i.length<a)return null;var d=j({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 Uo(e,t){return!0===e||!1!==e&&("function"==typeof e?e(t):je(e))}function Zo(e){try{var t=new URL(e,location.href),r=t.hostname===location.hostname||Wo(location.hostname)&&Wo(t.hostname)||/(^|\.)bing\.com$/i.test(location.hostname)&&/(^|\.)bing\.com$/i.test(t.hostname)||/(^|\.)duckduckgo\.com$/i.test(location.hostname)&&/(^|\.)duckduckgo\.com$/i.test(t.hostname);return!/^https?:$/i.test(t.protocol)||r?null:t.href}catch(e){return null}}function Wo(e){return/(^|\.)google\.[a-z]{2,3}(?:\.[a-z]{2})?$/i.test(e)}function Go(e,r,n,i,a){n=t(n);var l=i;if(i=function(e){try{var t=new URL(e,location.href);if(u=location.hostname,d=t.hostname,m=u.toLowerCase().replace(/^www\./,""),p=d.toLowerCase().replace(/^www\./,""),/^google\.[a-z]{2,3}(?:\.[a-z]{2})?$/.test(m)&&m===p&&"/url"===t.pathname){var r=t.searchParams.get("q")||t.searchParams.get("url");if(!r)return null;try{r=decodeURIComponent(r)}catch(e){return null}return Zo(r)}if(/(^|\.)bing\.com$/i.test(location.hostname)&&/(^|\.)bing\.com$/i.test(t.hostname)&&"/ck/a"===t.pathname){var n=t.searchParams.get("u")||"";if(!/^a1[A-Za-z0-9_-]+={0,2}$/.test(n))return null;var i=n.slice(2).replace(/-/g,"+").replace(/_/g,"/");if(i.length%4==1)return null;i+="=".repeat((4-i.length%4)%4);try{for(var a=atob(i),l="",s=0;s<a.length;s+=1)l+="%"+("0"+a.charCodeAt(s).toString(16)).slice(-2);return Zo(decodeURIComponent(l))}catch(e){return null}}if(/(^|\.)duckduckgo\.com$/i.test(location.hostname)&&/(^|\.)duckduckgo\.com$/i.test(t.hostname)&&/^\/l\//.test(t.pathname)){var c=t.searchParams.get("uddg");if(!c)return null;try{c=decodeURIComponent(c)}catch(e){return null}return Zo(c)}}catch(e){}var u,d,m,p;return o(e)}(i),a=t(a),i&&n&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more|people also ask|related searches)$/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 Ko(e){var r,n=(r=location.hostname.toLowerCase(),/(^|\.)google\./.test(r)?"google":/(^|\.)duckduckgo\.com$/.test(r)?"duckduckgo":"bing.com"===r||/\.bing.com$/.test(r)?"bing":"search.brave.com"===r?"brave":"ecosia.org"===r||/\.ecosia.org$/.test(r)?"ecosia":null);if(!n)return null;var o=t(document.body&&document.body.textContent||"");if(hr(e.title||document.title,o||J()||""))return null;if(function(e){return/captcha|verify you are human|unusual traffic|security check|before you continue|enable javascript to continue/i.test(e)}(o))return null;var i=[],a={};return function(e){var t={google:".MjjYud, .g",duckduckgo:"article[data-testid='result'], .result",bing:"li.b_algo, .b_algo",brave:"[data-testid='result'], .snippet, .fdb",ecosia:"article[data-test-id='result'], .result"};return t[e]?document.querySelectorAll(t[e]):[]}(n).forEach(function(e){if(!function(e,r){var n=t([e.getAttribute("aria-label")||"",e.getAttribute("data-text-ad")||"",e.className||""].join(" "));return!!/\b(ad|advert|sponsored|promoted)\b/i.test(n)||!("google"!==r||!e.matches(".uEierd")&&!e.closest(".uEierd"))||!!e.querySelector(".related-question-pair, .related-searches, [data-async-context*='related']")||"duckduckgo"===r&&e.matches(".result--ad, [data-testid='result-ad']")}(e,n)){var r=function(e,t){var r=e.querySelector({google:"h3",duckduckgo:".result__title a, a.result__a, a[data-testid='result-title-a']",bing:"h2 a",brave:"a[data-testid='result-title'], a.result-header, h2 a, h3 a",ecosia:"a.result-title, a[data-test-id='result-title'], h2 a, h3 a"}[t]||"h2 a, h3 a");return r?"A"===r.tagName?r:r.closest("a"):null}(e,n);if(r){var o=Oo(r);Go(i,a,o,r.getAttribute("href"),function(e,t,r){return Io(e.querySelector({google:".VwiC3b, .yXK7lf, [data-sncf], .IsZvec",duckduckgo:".result__snippet, [data-testid='result-snippet']",bing:".b_caption p",brave:".snippet-description, [data-testid='result-description'], .description",ecosia:".result-snippet, [data-test-id='result-snippet']"}[r]||"")||e,t)}(e,o,n))}}}),i.length?{title:e.title||document.title,byline:null,excerpt:E(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:C(i),markdown:C(i),readerMode:!1,contentType:"search",resultCount:i.length}:function(e){return{title:e.title||document.title,byline:null,excerpt:E(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:"",markdown:"",readerMode:!1,contentType:"search",resultCount:0}}(e)}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(Uo(r.condition,e)){var n=Do(e,"function"==typeof r.config?r.config(e):r.config);if(n)return n}}return null}});function Vo(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function Jo(){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 Xo(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)&&(!!Jo()||(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 Yo(e,t){return e&&"interstitial"!==e.contentType&&"product"!==e.contentType&&w(["MedicalWebPage"])?(e.contentType="medical",e):e}function Qo(e){var t=Ne(e||document.body);return Me(t),ze(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 ei(e){var r=[],i={};function a(e,n){var o=t(n=Dt(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",er(Qo(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",er(Qo(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 ti(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=Qo(l),c=Dt(er(s.innerHTML)),d=k(r.description||e&&e.excerpt),m=c;d&&t(d).length>t(c).length&&(m=d);var p=ei(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=Dt(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 ri(e){var r=t(e.title||""),n=t(e.company||""),o=t(e.location||""),i=Dt(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 ni(e){if(!function(){if(Eo())return!0;if(Lo(document.body))return!1;var e=t([location.pathname,document.title,$("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]"])||$("og:site_name","property")||e.siteName,i=u(["[data-testid*='location' i]","[class*='job-location' i]","[class*='location' i]","[class*='office' i]"]),a=Ne(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='content' i], [class*='body' i], .job-post, .job-posting, .opening")||r);Me(a),ze(a,"nav, header, footer, aside, form, script, style, noscript, [class*='apply' i], [id*='apply' i]");var l=Dt(er(a.innerHTML));return ri({title:n||e.title||document.title,company:o,location:i,description:l,html:a.innerHTML})}function oi(e){return function(e){var r,n=Eo();return n?ri({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)||ni(e)}function ii(){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 ai(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(ai).filter(Boolean).join(", ")):t("object"!=typeof e?String(e):e.name||e.text||e.description||e.value||""):""}function li(e){if(!e)return"";if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(li).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,ai(r.addressCountry)].filter(Boolean).join(", "))||ai(e)}function si(){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=So(i.getAttribute("content")||i.getAttribute("aria-label")||i.textContent,t);if(a)return a}}return""}function ci(e,r){var n=t([location.hostname,location.pathname,document.title,e&&e.title,$("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),si()&&(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 ui(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 di(e){var r=ii();if(!ci(e,r))return ui(e);var n,o,i=document.querySelector("main, article, [role='main'], [data-testid='property-page'], [data-testid='pdp-container'], #site-content")||document.body,a=ai(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]),So(o&&(o.price||o.minPrice||o.priceSpecification&&o.priceSpecification.price),o&&(o.priceCurrency||o.priceSpecification&&o.priceSpecification.priceCurrency))||To()||si()),s=function(e){var t=e&&(e.aggregateRating||e.reviewRating||e.rating||e.starRating);Array.isArray(t)&&(t=t[0]);var r=ai(t&&(t.ratingValue||t.value)),n=ai(t&&t.bestRating)||"5",o=ai(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=li(r&&(r.address||r.location)||u(["[itemprop='address']","[data-testid*='address' i]","[class*='address' i]"])),d=function(e,r){var n=ai(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=Ne(o);Me(i),ze(i,"nav, header, footer, aside, form, script, style, noscript, button, [role='button']");var a=Dt(er(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 mi(e){var r=t(e.title||""),n=t(e.dateText||""),o=t(e.location||""),i=Dt(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 pi(e){if(!function(){if(No())return!1;if(Po())return!0;if($o().length>1&&No())return!1;if(Fo())return!1;var e=t([location.hostname,location.pathname,document.title,$("og:type","property")].join(" ")).toLowerCase();if(!/\b(eventbrite|events?|conference|summit|workshop|webinar|meetup|tickets?)\b/.test(e))return!1;if(je(/(^|\.)eventbrite\.com$/)&&/^\/e\//i.test(location.pathname||""))return!0;var r=t(document.body&&document.body.textContent).toLowerCase(),n=0,o=Bo(document.querySelector("main, article, [role='main']")||document.body)||$("startDate","itemprop")||$("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=Ne(r);Me(n),ze(n,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i], [class*='modal' i]");var o=Ne(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='about' i], [class*='summary' i], article, section")||r);return Me(o),ze(o,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i]"),mi({title:u(["main h1","article h1","h1"])||e.title||document.title,dateText:Bo(r)||e.publishedTime,location:Ho(r),description:Dt(er(o.innerHTML))||e.excerpt,siteName:e.siteName,html:n.innerHTML})}function hi(e){return function(e){if(No())return null;var t=Po();return t?mi({title:S(t.name)||S(t.title)||e.title||document.title,dateText:Mo(t.startDate,t.endDate),location:Ro(t.location),description:k(t.description)||e.excerpt,siteName:e.siteName,html:"string"==typeof t.description?t.description:""}):null}(e)||pi(e)}function fi(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)||xi(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=Dt(er(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 gi(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 yi(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 bi(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(SportsEvent|VideoGame)$/i.test(e)})})}function vi(e){return x(e)||S(e)||""}function wi(e){return null==e?"":"number"==typeof e?String(e):"string"==typeof e?t(e):Array.isArray(e)?wi(e[0]):t(e.score||e.result||e.value||e.points||"")}function xi(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===Ai(e).length;var a=Number(i[1]),l=Number(i[2]);return!(!Number.isFinite(a)||!Number.isFinite(l))&&(a<=250&&l<=250)}function Si(e){return t([location.hostname,location.pathname,document.title,e&&e.title,e&&e.siteName,e&&e.excerpt,$("article:section","property"),$("og:type","property")].join(" ")).toLowerCase()}function ki(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||"");xi(o)&&!n[o]&&(n[o]=!0,r.push({text:o,node:e}))}}),r}function Ai(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 Ci(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=Ai(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 qi(e){var r=function(){var e=bi()[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=vi(t),o=vi(r),i=wi(t&&(t.score||t.result||t.points)),l=wi(r&&(r.score||r.result||r.points));return{title:vi(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=ki(n),i=o.map(function(e){return e.text});[document.title,e&&e.title].forEach(function(e){xi(e=t(e))&&-1===i.indexOf(e)&&i.push(e)});var l=fi(n),s=l.map(function(e){return e.markdown}),c=r&&(r.homeScore||r.awayScore),u=bi().length>0,d=function(e,t,r){for(var n=0;n<(e||[]).length;n+=1){var o=e[n],i=Ci(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(gi(e,i))return!0;var t=a&&yi(a.node);return!!t&&t===yi(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=Si(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]")||bi().length>0}(e);return(h||u||d)&&(p||/\b(sport|sports|football|soccer|nba|game recap|box score)\b/.test(Si(e)))?{structured:r,scoreLines:i,tables:s,tableEvidence:l,typed:m,event:m,detail:d}:null}function Ti(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 _i(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 Ei(e){return e&&("sports"===e.contentType||"sports_event"===e.contentType)}function ji(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)PressRelease$/i.test(e)})})||null}function Li(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 L(e,{title:e.title||document.title,excerpt:r[0].text,textContent:i,markdown:i,items:r})}(e);if(!function(e){if(ji())return!0;var r=t([document.title,e&&e.title,e&&e.excerpt,e&&e.siteName,$("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=ji(),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?Ne(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;Me(d),Pn(d),ze(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=Dt(er(d.innerHTML)),h=t(p||d.textContent||"");return h.length<250?null:(a&&p&&!_t(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 Pi(e){var t=e&&(e.offers||e.offer);Array.isArray(t)&&(t=t[0]);var r=t&&t.priceSpecification;return So(t&&(t.price||t.lowPrice||r&&r.price),t&&(t.priceCurrency||r&&r.priceCurrency))}function Ni(e){if(null==e)return null;if(Array.isArray(e))return Ni(e[0]);if("object"==typeof e)return Ni(e.value||e.amount||e.name||e.text);var t=String(e).replace(/,/g,"").match(/\d+(?:\.\d+)?/);return t?Number(t[0]):null}function zi(e){if(!e)return null;if(Array.isArray(e))return zi(e[0]);if("object"==typeof e){var r=t(e.unitCode||e.unitText||e.name||"").toLowerCase(),n=Ni(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 Ni(e)}function Mi(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 Ri(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)||Pi(e)})||null,i=t([location.pathname,document.title,r&&r.title,r&&r.excerpt,$("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&&Pi(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=So(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=Ni(o&&(o.numberOfBedrooms||o.bedrooms))||Mi(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=Ni(o&&(o.numberOfBathroomsTotal||o.numberOfBathrooms||o.bathrooms))||Mi(s,[/\b(\d+(?:\.\d+)?)\s*(?:baths?|bathrooms?|ba)\b/i]),f=zi(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 Bi(e){return t(e||"")||null}function Hi(e,t){if("number"==typeof e)return isFinite(e)&&Math.floor(e)===e?!t&&e<0?null:e:null;var r=Bi(e);if(!r||!/^-?\d+$/.test(r))return null;var n=Number(r);return!isFinite(n)||!t&&n<0?null:n}function Fi(e){e.socialKind=null,e.platform=null,e.handle=null,e.replyCount=null,e.community=null,e.score=null}function Oi(e){var t=c(e,[function(t,r,n){return[St(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 Ii("stldocs",t);if(/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(o)))return Ii("starlight",t);if(/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav"))return Ii("mkdocs",t);if(document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname))return Ii("readme",t);if(document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']"))return Ii("redoc",t);if(/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview"))return Ii("fern",t);if(/nextra/.test(o)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container"))return Ii("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 Ii("next",t);if(/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav"))return Ii("vitepress",t);if(/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav"))return Ii("rspress",t);if(/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle"))return Ii("mdbook",t);if(/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards"))return Ii("antora",t);if(/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']"))return Ii("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 Ii("gitbook",t);if(document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]"))return Ii("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 Ii("docusaurus",t);if(/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search"))return Ii("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?Ii("javadoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?Ii("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?Ii("go_pkg",t):/readthedocs/.test(o)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?Ii("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")?Ii("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(o)?Ii("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(o)&&document.querySelector("[class*='docBody'], article[class*='doc']")?Ii("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?Ii("generic_docs",t):null}function Ii(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function Di(e){if(!e)return null;var r=bt(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=bt(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=bt(e,["p","[class*='description']","[class*='summary-description']"]);i&&(i=Et(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 vt(e,"section, div, details",".stldocs-property").forEach(function(e){if(!e.closest(".stldocs-property")){var n=wt(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var o=Zi(e).map(function(e){return Gi(e,0)}).filter(Boolean);o.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:o}))}}}),t}(e),a}function Ui(e,t){return wt(e,[t],".stldocs-property")}function Zi(e){return vt(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function Wi(e){return e=t(e),/^("|').+("|')$/.test(e)}function Gi(e,r){if(!e)return null;r=r||0;var n=t(Ui(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||Wi(n)?null:{declaration:n,description:Et(Ui(e,".stldocs-property-description, [class*='property-description']"))||null,fields:Zi(e).map(function(e){return Gi(e,r+1)}).filter(Boolean)}}function Ki(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"+Ki(e.fields,t+" ")),r}).join("\n")}function Vi(e,r){if(!(r=r||Oi(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=Ne(n||document.body);Me(o),yt(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=Di(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(Ui(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!Wi(r)&&!n[r]){var a=Et(Ui(e,".stldocs-property-description, [class*='property-description']")),l=Zi(e).map(function(e){return Gi(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=Et(t(s.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=Et(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"+Ki(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(Ki(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 Pt(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()}),mt(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 Ji(e,r){if(!(r=r||Oi(e))||"antora"!==r.system)return null;var n=xt(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var i=bt(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=wt(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 Pt(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 Xi(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function Yi(e,r){if(!(r=r||Oi(e))||"mkdocs"!==r.system)return null;var n="";return jt(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),ze(e,se+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),mt(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 Qi(e,r){return Lt(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:Xi,removeSelectors:se+", .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 gt(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),ze(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 ea(e){var r=St(e);if(!je(/(^|\.)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 $t(e,i,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){mt(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 ta(e){var r=St(e);return je(/(^|\.)docs\.github\.com$/)||/github docs/i.test(r)?$t(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}()||xt(["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()}),mt(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}}):null}function ra(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 na(e){var r=St(e);if(!je(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=_("method"),o=$t(e,xt(["#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()}),mt(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\\[['\"]"+Ut(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 ra(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 oa(e){var r=St(e);if(!je(/(^|\.)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=bt(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=j({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):jt(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),mt(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}function ia(e){var r=St(e).toLowerCase();if(!je(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=xt(["#main","main article","main","article"]);if(!n)return null;var o=bt(n,["p"]),i=$t(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()}),mt(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),mt(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){ht(e)&&e.remove()})}});if(!i)return null;var a=t(o||i.excerpt);if(a&&-1===i.markdown.indexOf(a)){var l=i.markdown;_t(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 aa(e){var r=St(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(je(/(^|\.)(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=xt(["#bodyContent","#content","#main","main"]);return o?$t(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()}),mt(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),mt(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("ul, ol, div, section").forEach(function(e){ht(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 la(e){var t=St(e).toLowerCase();return je(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?aa(e):null}function sa(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 ca(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($("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=sa(["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||sa(["#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 ua(e){if(!je(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!_("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=ca(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=sa(["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 da(e,r){if(r=r||{},!document.body||!ne())return null;if(ie(document))return null;if(kr())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']")||Lr(e.parentElement)||r.length>=6&&r.length<=90&&!oe(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 re(e).replace(/([?&])(?:utm_[^&=]+|fbclid|gclid|dclid|msclkid|mc_cid|mc_eid)=[^&]*&?/gi,"$1").replace(/[?&]$/,"")}(a);if(a&&!r[s]&&!oe(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=Io(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 ma(e){if(ne()){var r=go(e,{portalRoot:!0});if(r.portalRootEvidence)return r}var n=da(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:j({title:o,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:a,textContent:t(a)})}function pa(e,r){if(!je((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(Pe(e,document))}),i}(r);return n&&n.querySelector("p, figure, blockquote")?(rt(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:Be.concat(["[data-piano-offer]"])}),He(e,Ve(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){ze(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(Be,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 ha(e,t,r){return!0===e||!1!==e&&("function"==typeof e?e(t):je(e,r))}function fa(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&&ha(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&&ha(l.condition,e,r)){var s=l.fn(e,t);if(s)return s}}return null}function ga(e){var r=St(e);if(!je(/(^|\.)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?j({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 ya(e,n){var o=St(e);if(!je(/(^|\.)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 ba(e,r){var n=St(e);if(!je(/(^|\.)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=Io(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?j({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 va(e){if(!je(/(^|\.)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:L(e,{title:e.title||document.title,excerpt:n[0].text,items:n})}function wa(e){if(!je(/(^|\.)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 xa(e){var r=St(e);if(!je(/(^|\.)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 L(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 Sa(e){var r=St(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=Io(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:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:i})}function ka(e){var t=St(e);if(!je(/(^|\.)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=Oo(e),a=o(t),l=Io(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:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}function Aa(e){var t=St(e);if(!je(/(^|\.)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=Oo(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),i=o(e.getAttribute("href")),a=Io(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:j({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 Ca(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function qa(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=Ne(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()}),Me(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)}Me(a);var c=Dt(er(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 Ta(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 _a(e){return Ca(e||[])}function Ea(e,r){if(r.signalSelectors&&!Ca(r.signalSelectors))return null;var n=_a(r.abstractSelectors),o=_a(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=Ta(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:qa({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 ja={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(Ta(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 La(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)?qa({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=Mn(),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,""),qa({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))})}),Dt(e.join("\n").trim())},minTextLength:300})}function Pa(e){return Ea(e,ja.highwire)}function Na(e){return Ea(e,ja.elsevier)}function za(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)}),qa({metadata:e,abstractRoot:l,title:a,excerpt:i.text,details:d,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}function Ma(e){var r=document.querySelector("blockquote.abstract"),n=je(/(^|\.)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 Ra(e){return Ea(e,ja.generic)}function Ba(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 Ha(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?He(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 Fa(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 Oa(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=He(e,l,{title:c&&0===c.toLowerCase().indexOf(i.toLowerCase())?c:Fa(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 Ia(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 Da(){var e={},r=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(n){if(Ia(n)){var o=V(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=V(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=V(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 Ua(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=Da(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(Ia(t)){var r=V(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=V(e,["strong"]),r=V(e,[".whitespace-pre-wrap","p"]),o=V(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=Dt(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:L(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 Za(e,r,i){if(i=i||{},!r||n(r)<(i.minText||200))return null;var a=i.preserveContentNav?Pe(r,document):Ne(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)}),Me(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=er(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&&!_t(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 Wa(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 Ga(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 Ka(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=Ga(e,t);i&&(r=i.text+"|"+(i.url||""),n[r]||(n[r]=!0,o.push(i)))}}),o}function Va(e,r,n){if(n=n||{},!r)return null;if("list"===n.contentType){var o,i=Ka(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),L(e,{title:o,excerpt:e.excerpt,items:i,html:Ne(r).innerHTML,textContent:o+"\n"+C(i)}))}return Za(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=Ga(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),ze(e,ce+", [class*='breadcrumb' i], [class*='social' i], [class*='share' i], [class*='embed' i], [class*='newsletter' i], form"),n.strip&&n.strip(e)}})}function Ja(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:Wa,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=Ka(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?Va(e,r.root,r.config):null}function Xa(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:Va(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){ze(e,ce+", .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 Ya(e){return!!document.querySelector(e)}function Qa(){return Ya("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 el(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 tl(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=Ne(n);Me(l);var s=er(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 rl(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||Qa()?{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']")||Ya(".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")||Ya(".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']")||Ya(".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)||Ya("#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 nl(e){var r=rl(e);return r&&el(r)?tl(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 ol(e){return e&&e.querySelector("[data-testid='comment-body'], .comment-body, .js-comment-body, .markdown-body[itemprop='text'], [itemprop='text']")}function il(e){var r=e&&e.querySelector("a.author, [data-testid='comment-author'], a[data-hovercard-type='user']");return t(r&&r.textContent||"").replace(/^@/,"")}function al(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 ll(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 sl(e){var r=ol(e);if(!r||!t(r.textContent))return"";var n=Ne(r);return ze(n,".js-comment-actions, .timeline-comment-actions, .reaction-summary-item, [aria-label='Add reaction']"),Dt(er(n.innerHTML))}function cl(e){var r=function(){if(!je(/(^|\.)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(ol(t[r])&&il(t[r]))return t[r];return null}(n),i=sl(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=il(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=sl(e);if(o){var i=il(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(ol(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:al(n),community:r.community,score:ll(o)}}function ul(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,$("description","name"),$("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 dl(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 ml(e){var r=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!r||!eo(r,r.textContent||""))return null;var n=Ne(r),o=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),i=document.createElement("h1");i.textContent=o,n.insertBefore(i,n.firstChild),Me(n);var a=Dt(er(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 pl(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?Ge(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 hl(){return dl(document,"Publication Date")||u(["#metadata_content_area .metadata a[href*='/documents/']"])}function fl(){return dl(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 gl(e){if(!je(/(^|\.)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=dl(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)?Ge(e,i,{title:r,byline:fl,publishedTime:hl,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 yl(e){if(!je(/(^|\.)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 Ge(e,r,{title:u([".gem-c-heading__text","main h1","h1"])||e.title||document.title,byline:function(){return dl(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 bl(e){if(!je(/(^|\.)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:Ge(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 vl(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=$n({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 wl(e){var r=document,n=r.querySelector("#container, #paddingLR12");if(!n||!vl(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&&vl(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 Ge(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 xl(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=$n({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:Ge(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 Sl(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:He(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 kl(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var r=je(/(^|\.)wikipedia\.org$/),n=je(/(^|\.)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?He(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 Al(e){if(!je(/(^|\.)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?He(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 Cl(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=Ne(o);Me(a),i=er(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=Ne(i);Me(l),a=er(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:ql(r),community:_l(e),score:Tl(r)}}function ql(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 Tl(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 _l(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 El(e){return"/item"===(location.pathname||"")&&_("id")&&document.querySelector("tr.athing .titleline, table.comment-tree tr.comtr .commtext")?function(e){var r=jl(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?er(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(er(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(jl).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 jl(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 Ll(){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 Pl(e){return e.map(function(e){var t=Ne(e);return t?(Me(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 Nl(e){var r=function(e){var r=e.querySelector(".status__content__text, .status__content")||e,n=Ne(r);if(n){Me(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=er(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:V(e,[".detailed-status__display-name",".status__display-name",".display-name"]),time:V(e,["time"]),body:r,node:e}}function zl(e){if(!/^\/@[^/]+\/\d+\/?$/i.test(location.pathname||""))return null;var r=$l().map(Nl).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:Pl([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:Ll()||null,replyCount:o.length||null,hostAware:!0}}function Ml(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=zl(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?"":Ll(),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=Nl(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:Pl([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 Rl(e,r){if(!je(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(je(/(^|\.)telegra\.ph$/)){var o=document.querySelector("article, .tl_article");if(o){var i=Ne(o);if(i){mt(i,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=er(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(je(/(^|\.)telegram\.org$/))return null;var l=je(/(^|\.)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=Ne(e.querySelector(".tgme_widget_message_text, .js-message_text")),a=i?er(i.innerHTML)||t(i.textContent):"";if(!t(a))return null;var l=e.querySelector(".tgme_widget_message_date time, time");return{post:r,author:V(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=Ne(k);if(A){mt(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=er(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 Bl(e){return Hl(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=er(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:Fl()}:null}(e):function(e){return!!Ol()&&(!Hl(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=Io(e,l);n.push({text:l,url:a,detail:c})}}}}),n.length<3)return null;var a=j({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=Fl(),a}(e):null}function Hl(e){return!!Ol()&&(!!document.querySelector(".post-stream, .topic-post, article[data-post-id]")&&!!document.querySelector(".fancy-title, #topic-title h1, .topic-title h1"))}function Fl(){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 Ol(){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 Il(e){var r=t(e||"");return/^-?\d[\d,]*$/.test(r)?Number(r.replace(/,/g,"")):null}function Dl(){var e=(location.pathname||"").split("/").filter(Boolean);return"r"===e[0]&&/^[\w-]+$/.test(e[1]||"")?"r/"+e[1]:null}function Ul(e,r){if(!je(/(^|\.)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=Il(r.getAttribute("comment-count")),s=Il(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?Dl():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 Zl(e){if(!je(/(^|\.)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=Wl(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=Wl(e.querySelector(".js-post-body, .s-prose[itemprop='text'], [itemprop='text']"));if(t){var r=Gl(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:Kl(r),community:"Stack Overflow",score:Gl(r)}}function Wl(e){if(!e)return"";var t=Ne(e);return ze(t,".js-post-menu, .post-menu, .comments, .js-comments-container, .js-add-link, .dno, [aria-hidden='true']"),Dt(er(t.innerHTML))}function Gl(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 Kl(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 Vl(e,n){if(!je(/(^|\.)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:Io(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 Jl(e,n){if(!je(/(^|\.)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 Xl(e){var r=St(e);if(!je(/(^|\.)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 Yl(e,r){var n=e.querySelector(r);return n?t(n.getAttribute("datetime")||n.textContent||""):""}function Ql(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=Yl(e,".body, .description, .excerpt, p");if(!i||!n||!/^https:\/\/wykop\.pl\/(?:link|wpis)\//.test(n))return null;var l=[],s=Yl(e,".author, [rel='author'], [data-author]"),c=Yl(e,"time"),u=Yl(e,".score, [data-score]"),d=Yl(e,".reply-count, .comment-counter, [data-replies]"),m=Yl(e,".tag, .category, [data-category]"),p=Yl(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:re(n),detail:l.join(" - ")}}(e);r&&!a[r.key]&&(a[r.key]=!0,l.push(r))}),l.length<3)return null;var s=(n?Yl(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 es(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 ts(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 rs(e,n){if(!je(/(^|\.)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=ts("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=ts("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 ns(e,n){if(!je(/(^|\.)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=ts("[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(Ut(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 os(e,r){if(!je(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",o=e.excerpt||"",i=e.image||"",a=ts("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 is(e,r){if(!je(/(^|\.)(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 Z="";F&&(Z+="[Pinned] "),O&&h&&O!==h&&(Z+="RT @"+O+": "),Z+=R,D&&(Z+=" ("+D+")"),U.length&&(Z+=" ["+U.join(", ")+"]"),$.push(Z)}}}var W=[];f&&W.push("Handle: "+f),k&&W.push("Followers: "+es(k)),A&&W.push("Following: "+es(A)),C&&W.push("Posts: "+es(C)),v&&W.push("Location: "+v),w&&W.push("Website: "+w),S&&W.push(S),x&&W.push(x),E&&W.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:W,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 as(e,r){if(!je(/(^|\.)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]),(W=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(d=t(W[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(Ut(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(Ut(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 Z=n.match(/([\d,.]+\+?)\s+connections?/i);Z&&(F=Z[1]);var W,G=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);G&&(B=t(G[1])),(W=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(O=t(W[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 ls(e,r){if(!je(/(^|\.)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: "+es(h,!0)),f&&U.push("Following: "+es(f,!0)),b&&U.push("Posts: "+b),A&&U.push("Image: "+A);var Z=[];if(d&&Z.push(d),q.length&&Z.push("## Recent Posts\n\n"+q.join("\n\n")),!u&&!d&&!q.length)return null;var W=T({title:u||m||"Bluesky Profile",description:Z.join("\n\n"),details:U,siteName:"Bluesky",hostAware:!0,contentType:"article"});return W.contentType="social",W.socialKind="profile",W.platform="Bluesky",W.handle=m||null,W}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 ss(e){if(!je(/(^|\.)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")?He(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 cs(e){if(!je(/(^|\.)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 He(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 us(e,r){if(!je(/(^|\.)(komputerswiat\.pl|onet\.pl|medonet\.pl)$/)&&!je(/(^|\.)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(ds(a)),!a&&e.excerpt){var h=document.createElement("p");h.textContent=e.excerpt,n.appendChild(h)}if(s&&n.appendChild(ds(s)),!s&&d){var f=document.createElement("p");f.textContent=d,n.appendChild(f)}var g=a?ms(ds(a)):e.excerpt||"",y=s?ms(ds(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),ps(b,g),ps(b,y);var v=Dt(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 ds(e){var r=Pe(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 ms(e){return Dt(er(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 ps(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 hs={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 fs(e){if("wp.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=ho(document.body,hs);return t?L(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}var gs={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_']")&&!bs(e)})},fallbackHeadingBuilder:function(e){return e.matches("div[class*='DynamicRightFeed_']")?"More from Onet":""},cardFilter:function(e){var t=e.card;return!bs(t)&&!/(ad|advert|sponsor|promo|utility)/i.test(t.className||"")},regionFilter:function(e){return!bs(e)}};function ys(e){if("onet.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=ho(document.body,gs);return t?L(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}function bs(e){return!!e.closest("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']")}registerHostAwareProfile(!0,Sl),registerHostAwareProfile(!0,ga),registerHostAwareProfile(!0,ya),registerHostAwareProfile(!0,ba),registerHostAwareProfile(!0,Xl),registerHostAwareProfile(!0,us),registerHostAwareProfile(!0,ca),registerHostAwareProfile(!0,ua),registerHostAwareProfile(!0,va),registerHostAwareProfile(!0,wa),registerHostAwareProfile(!0,Aa),registerHostAwareProfile(!0,ka),registerHostAwareProfile(!0,Sa),registerHostAwareProfile(!0,ma),registerHostAwareProfile(["wp.pl"],fs),registerHostAwareProfile(["onet.pl"],ys),registerHostAwareProfile(!0,ss),registerHostAwareProfile(!0,xa),registerHostAwareProfile(!0,Pa),registerHostAwareProfile(!0,La),registerHostAwareProfile(!0,$a),registerHostAwareProfile(!0,Na),registerHostAwareProfile(!0,za),registerHostAwareProfile(!0,Ma),registerHostAwareProfile(!0,Ra),registerHostAwareProfile(!0,function(e){return Ue(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(Ne(s)),i.forEach(function(e){var t=Ne(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()}),Me(t),a.appendChild(t)}),Ge(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)?Ge(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||""))?Ge(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=Ne(e).innerHTML,n.appendChild(r)}}),t(n.textContent||"").length>o.textContent.length&&u.appendChild(n)}}),Ge(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,Ba(i,"Classification",a),Ba(i,"Organism(s)",a),Ba(i,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),Ba(i,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),Ba(i,"Deposited",a),Ba(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=Ba(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)?Ge(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,cs),registerHostAwareProfile(!0,Ha),registerHostAwareProfile(!0,Oa),registerHostAwareProfile(!0,Ua),registerHostAwareProfile(!0,gl),registerHostAwareProfile(!0,yl),registerHostAwareProfile(!0,bl),registerHostAwareProfile(!0,xl),registerHostAwareProfile(!0,ml),registerHostAwareProfile(!0,wl),registerHostAwareProfile(!0,pl),registerHostAwareProfile(/(^|\.)sec\.gov$/i,function(e){if(!je(/(^|\.)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?Ge(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"))?Za(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")?Za(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(" "))?Za(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(Pe(a,document)),s.appendChild(Pe(i,document)),s.appendChild(Pe(o,document));var c=l.querySelector("#working-group-details");if(c){var u=Pe(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return Za(e,s,{minText:250,title:t([r.textContent,n.textContent].join(" - ")),strip:function(e){ze(e,ce+", 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?Za(e,o.root,{docsLike:!0,minText:400,titleRoot:o.root,strip:function(e){ze(e,ce+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||Xa(e)||Ja(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=Io(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 L(e,{title:i,excerpt:e.excerpt,items:n.items,html:Ne(n.root).innerHTML,textContent:i+"\n"+C(n.items)})}(e)}),registerHostAwareProfile(/(^|\.)wykop\.pl$/i,Ql),registerHostAwareProfile(!0,function(e){return function(e){var r=St(e);return(je(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?jt(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=St(e);return(je(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?jt(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)||ea(e)||function(e){var r=St(e);return je(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?jt(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=St(e);return(je(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?jt(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)||ta(e)||function(e){var t=St(e);return je(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?jt(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()}),mt(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=Et(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=St(e);return je(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?jt(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()}),mt(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=St(e);return je(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?jt(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()}),mt(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)||na(e)||oa(e)}),registerHostAwareProfile(!0,ia),registerHostAwareProfile(!0,aa),registerHostAwareProfile(!0,la),registerHostAwareProfile(!0,nl),registerHostAwareProfile(/(^|\.)github\.com$/,cl),registerHostAwareProfile(!0,function(e){var r=Oi(e);return Vi(e,r)||function(e,r){if(!(r=r||Oi(e))||"rustdoc"!==r.system)return null;var n=xt(["main",".rustdoc","body"]);return $t(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 Zt(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]*?"+Ut(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()}),mt(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()}),mt(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||Oi(e))&&"javadoc"===t.system?jt(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()}),mt(e,"a, button, span",/^(skip navigation|search|module|package|class|use|tree|deprecated|index|help)$/i),Ct(e)}}):null}(e,r)||function(e,r){if(!(r=r||Oi(e))||"dartdoc"!==r.system)return null;var n=ft(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=Dt(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||Oi(e))||"go_pkg"!==t.system)return null;var r=xt(["#main-content","main","body"]);return $t(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()}),mt(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||Oi(e))||"google_devsite"!==r.system)return null;var n,o=xt(["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 Pt(e,o,{title:(n=u(["devsite-content h1","article h1","main h1"])||e.title||document.title,ft((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()}),mt(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),Ct(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||Oi(e))&&"elastic_docs"===r.system?Pt(e,xt(["main article","main [class*='docBody']","article","main"]),{title:ft(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()}),mt(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),Ct(e)}}):null}(e,r)||function(e,r){return(r=r||Oi(e))&&"readme"===r.system?Pt(e,xt(/\/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:ft(u(["article h1",".rm-Article h1","main h1","h1"])||Xi(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()}),mt(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()}),Ct(e)}}):null}(e,r)||function(e,r){return(r=r||Oi(e))&&"redoc"===r.system?Pt(e,xt([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),{title:ft(u([".api-content h1",".redoc-wrap h1","main h1","h1"])||Xi(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),mt(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),Kt(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=ft(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}}):null}(e,r)||function(e,r){return(r=r||Oi(e))&&"mintlify"===r.system?jt(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:Xi,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}ze(e,se+", .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"),mt(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()}),Ct(e)}}):null}(e,r)||function(e,t){return(t=t||Oi(e))&&"gitbook"===t.system?Pt(e,xt(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]),{title:ft(u(["main header h1","main h1","h1"])||Xi(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){ze(e,se+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),mt(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),Ct(e)}}):null}(e,r)||function(e,t){return(t=t||Oi(e))&&"scalar"===t.system?Pt(e,xt([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]),{title:ft(u([".scalar-api-reference h1","main h1","h1"])||Xi(e)),focusFragment:!1,rewriteRoot:function(e){ze(e,se+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),mt(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),Ct(e)}}):null}(e,r)||function(e,t){return Lt(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:Xi,removeSelectors:se+", #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 Lt(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:Xi,removeSelectors:se+", 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 gt(e,t)?"list":"article"}})}(e,r)||function(e,r){return(r=r||Oi(e))&&"nextra"===r.system?jt(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:Xi,contentType:gt(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)}}),ze(e,se+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),mt(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()}),Ct(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)||Qi(e,r)||function(e,r){return Lt(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:se+", .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 Lt(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:se+", .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 ft(e).replace(/^#\s*/,"")}})}(e,r)||Yi(e,r)||function(e,r){return Lt(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:se+", #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)||Ji(e,r)||function(e,r){return Lt(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 gt(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=ft(e.textContent),t(e.textContent)===t(r)){if(n)return void e.remove();n=!0}})}})}(e,r)||function(e,t){return Lt(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 gt(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=ft(e.textContent),e.replaceWith(t)})}})}(e,r)}),registerHostAwareProfile(!0,Al),registerHostAwareProfile(!0,kl),registerHostAwareProfile(!0,Cl),registerHostAwareProfile(/^news\.ycombinator\.com$/i,El),registerHostAwareProfile(!0,Ml),registerHostAwareProfile(!0,Bl),registerHostAwareProfile(!0,Ul),registerHostAwareProfile(/(^|\.)stackoverflow\.com$/,Zl),registerHostAwareProfile(!0,Vl),registerHostAwareProfile(!0,rs),registerHostAwareProfile(!0,ns),registerHostAwareProfile(!0,Rl),registerHostAwareProfile(!0,is),registerHostAwareProfile(!0,os),registerHostAwareProfile(!0,as),registerHostAwareProfile(!0,ls),registerHostAwareProfile(!0,Jl),registerHostAwareProfile(!0,function(e){return je(/(^|\.)english\.news\.cn$/i)&&/\/weekly\.htm$/i.test(location.pathname||"")?Do(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}),dt({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"]}),dt({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(!je(/(^|\.)walla\.co\.il$/))return null;var t=document.querySelector("main article.common-item, article.common-item, section.item-main-content");return t?He(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){ze(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}),dt({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(!je(/(^|\.)chosun\.com$/))return null;var r=document.querySelector("main")||document.querySelector("article")||document.querySelector("main article");return r&&r.querySelector("p, figure, blockquote")?(rt(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(", ")}),He(e,r,{title:u(["article h1","main h1","h1"])||e.title,byline:u([".byline","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){ze(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(!je(/(^|\.)dinakaran\.com$/i))return null;var r=document.querySelector(".post-description")||document.querySelector(".article-main");return r?He(e,r,{title:e.title,byline:null,minTextLength:250,rewriteRoot:function(e){ze(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 je(/(^|\.)20minutos\.es$/i)&&/-directo-/i.test(location.pathname||"")&&document.querySelector("article.c-detail--mam__minute-container")?Qe(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 vs=ut({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,vs);var ws=ut({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,ws),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?He(e,r,{titleSelectors:["article h1",".item-page h1","h1"],minTextLength:180,rewriteRoot:function(e){ze(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?He(e,t,{titleSelectors:["article h1",".node__title","h1"],minTextLength:180,rewriteRoot:function(e){ze(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 xs=ut({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,xs);var Ss=["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 ks(e){var r=location.pathname||"",n=t(Cs(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 As(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 Cs(e){var r=document.querySelector("#firstHeading, .firstHeading");if(r){var n=Ne(r);As(n);var o=t(n.textContent||"");if(o)return o}return t(e&&e.title||document.title).replace(/\s*[-|–]\s*MediaWiki.*$/i,"")}function kl(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=Cs(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=Ne(o);As(i),i.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()});var a=ks(e)?er(i.innerHTML):t(i.textContent||"");return t(a).length<30?null:(n&&!_t(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:ks(e)?"list":"article",singleTopicPage:!ks(e),hostAware:!0})}registerHostAwareProfile(!0,function(e){return document.querySelector(Ss.join(", "))?Ue(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")?Ue(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,kl);var qs=["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]"],Ts=[{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 Ke({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||"")+" "))})}}],_s=/(^|\.)(daryo\.uz|hatena\.blog|trend\.az)$/;registerHostAwareProfile(!0,function(e){var t=function(){for(var e=location.hostname||"",t=0;t<Ts.length;t+=1){var r=Ts[t];if(it(r.hostPattern,e))return r}return null}();return t?Ue(e,t):je(_s)?null:function(){if(document.querySelector(qs.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}()?Ue(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 Es=ut({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,Es);var js=ut({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,js),dt({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(!je(/(^|\.)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")?He(e,t,{title:u([".post-detail-title h1","h1"])||e&&e.title,minTextLength:250,prependTitle:!1,cleanupRoot:!1,cleanupMarkdown:!1,rewriteRoot:function(e){ze(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}),dt({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(!je(/(^|\.)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?He(e,t,{title:u(["h1",".title"])||e.title,publishedTime:null,minTextLength:180,rewriteRoot:function(e){ze(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 Ls=ut({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,Ls),hostAwareProfiles.unshift(hostAwareProfiles.pop());var $s=ut({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(!je(/(^|\.)almasryalyoum\.com$/))return null;if(ne())return null;if(!/\/news\/details\/\d+\/?$/i.test(location.pathname||""))return null;var t=Ke({scopeSelectors:[".masry-article-details"],titleSelectors:[".article-title","h1"],captionSelectors:[".article-main-img"],bodySelectors:[".article-details.update-font",".article-details"],minTextLength:250});return t?He(e,t,{minTextLength:250,extra:{docsLike:!0},rewriteRoot:function(e){ze(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}),dt({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 Ps=ut({hostPattern:/(^|\.)kalerkantho\.com$/,homepagePath:/^\/?$/,body:function(){var e=document.querySelector(".col-12[class*='articleArea']")||document.querySelector("[class*='articleArea']");if(Ns(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(Ns(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 Ns(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 zs(e){return Ue(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,Ps);var Ms=Kr;function Rs(){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 Bs(e){ze(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 Hs(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 Fs(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/"@type"\s*:\s*"LiveBlogPosting"/i.test(e.textContent||"")&&e.remove()})}function Os(e){return!!e.querySelector(".post-content h2, .post-content h3, script[type='application/ld+json']")}function Is(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var t=e.textContent||"";/LiveBlogPosting|liveBlogUpdate/i.test(t)&&e.remove()})}function Ds(){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(Pe(r,document))}),n.forEach(function(e){t(e.textContent||"").length>=60&&o.appendChild(Pe(e,document))}),t(o.textContent||"").length>=250?o:null}function Us(){return{pathAllowed:ne,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 Zs(){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?Ve(document.querySelector("[data-component-1='body'].ids-paragraph--lead")||document.querySelector(".lead-text")||document.querySelector("article header [data-component-1='body']"),e):null}function Ws(){return{pathAllowed:ne,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 Gs(){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(Ks(n))return n}var o=Array.prototype.slice.call(document.querySelectorAll("main article, article")),i=null,a=0;return o.forEach(function(e){if(Ks(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 Ks(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<220)&&!(e.querySelectorAll("p").length<1)))}function Vs(){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 Js(){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 Xs(){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 Ys(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 Qs(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 ec(){return Ke({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 tc(){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")}Kr=function(){return zs()?[]:Ms()},registerHostAwareProfile(!0,zs),registerHostAwareProfile(!0,function(e){return je(/(^|\.)jang\.com\.pk$/)?function(e){return/^\/liveblog\//i.test(location.pathname||"")?Qe(e,{selectedEntry:Rs,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:Bs}):null}(e)||function(e){var t=document.querySelector(".story-content, .news-detail, .article-body, div.nn-article-body, .detail_view_content, .description");return t?He(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:Bs}):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)skynewsarabia\.com$/)||ne()||!document.querySelector(".article-content .article-body, .article-body, [itemprop='articleBody']"))return null;var r=Ke({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?He(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:Hs(e),minTextLength:250,rewriteRoot:function(e){ze(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 je(/(^|\.)milliyet\.com\.tr$/)&&(/\/live-/i.test(location.pathname||"")||document.querySelector("section.news-detail-content.live-content"))&&document.querySelector("section.news-detail-content.live-content")?Qe(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:Fs,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 je(/(^|\.)yle\.fi$/)&&/^\/a\/\d+(?:-\d+)+\/\d+(?:-\d+)+\/?$/i.test(location.pathname||"")?Qe(e,{entrySelector:"article.post-container",entryMatcher:Os,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:Is,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){mt(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(!je(/(^|\.)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(Pe(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(Pe(r,document)),!0)}),n.appendChild(Pe(r,document)),He(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){ze(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(!je(/(^|\.)sabah\.com\.tr$/)||!Ds())return null;var r=Ds();return r?He(e,r,{title:u([".contentFrame .pageTitle",".contentFrame h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){ze(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$/,Us),registerHostAwareProfile(!0,function(e){return je(/(^|\.)sozcu\.com\.tr$/)?function(e){return Do(e,Us())}(e):null}),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)interia\.pl$/)||!Zs())return null;var r=Zs();return r?He(e,r,{title:u(["article h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){ze(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(!je(/(^|\.)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?(rt(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]"]}),He(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){ze(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$/,Ws),registerHostAwareProfile(!0,function(e){return je(/(^|\.)blic\.rs$/)?(e&&(e.language=""),function(e){return Do(e,Ws())}(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?He(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){ze(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(!je(/(^|\.)tempo\.co$/)||/^\/?$/i.test(location.pathname||"")||!Gs())return null;var r=Gs();return r?He(e,r,{title:u([".title-article","main h1","article h1","h1"])||e.title,minTextLength:220,rewriteRoot:function(e){ze(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 pa(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(!je(/(^|\.)(?:elmundo|expansion|sport)\.es$/))return null;if(!ne())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:Io(e,l)}))}}}}),n.length<4?null:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n})}(e)}),registerHostAwareProfile(!0,function(e){return pa(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$/,Vs),registerHostAwareProfile(!0,function(e){return je(/(^|\.)faz\.net$/)?function(e){return Do(e,Vs())}(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;ze(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),He(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){ze(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(!je(/(^|\.)wyborcza\.pl$/)&&!je(/(^|\.)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(!Js())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(Pe(o,document)),n.appendChild(Pe(r,document)),He(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:Js()}},rewriteRoot:function(e){ze(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(!je(/(^|\.)index\.hu$/)||!/^\/mindekozben\/poszt\//i.test(location.pathname||"")&&!/(\/\d{4}\/\d{2}\/\d{2}\/|\.html(?:$|[?#]))/i.test(location.pathname||"")||!Xs())return null;var r=Xs();return r?He(e,r,{title:Ys(e),byline:u([".current-post .author",".current-post [class*='author' i]","[class*='szerzo' i]"])||e.byline,minTextLength:180,publishedTime:Qs(e),rewriteRoot:function(e){ze(e,[".new-posts",".next-post",".previous-post",".related",".ajanlo",".share",".social",".comments",".comment","[class*='advert' i]","[class*='hirdet' i]","[id*='ad' i]"].join(", ")),ze(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(!je(/(^|\.)root\.cz$/)||!/^\/clanky\//i.test(location.pathname||"")||!ec())return null;var r=ec();return r?(e&&(e.language=""),He(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){ze(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(!je(/(^|\.)abril\.com\.br$/)||/^\/?$/i.test(location.pathname||"")||!tc())return null;var r=tc();return r?(rt(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:Be.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),He(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){ze(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 rc=ut({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 nc(){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 oc(){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 ic(){return document.querySelector("article.article-content")||document.querySelector(".article-content")||document.querySelector("article.article")||document.querySelector(".content-body")||document.querySelector("#articleContent")}function ac(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 lc(e,t){return V(e,[".story__title","h1.title","h1"])||t&&t.title}function sc(e){return V(e,[".story__user-link"])}function cc(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 uc(){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 dc(){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 mc(){return document.querySelector(".c-news__body")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']")||document.querySelector("div[data-tda][data-news-content-text]")}function pc(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 hc(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 fc(e){var t=e&&!1!==e.reader_mode?Dn():null;return t&&(t=On(t,Mn())),t||(t=Mn()),t}function gc(e,r,n,o,i){-1!==r.indexOf(n)&&(o&&t(i||e.markdown||e.textContent||"").length>=o||(e.contentType="interstitial"))}function yc(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,Me(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=Dt(e.markdown||er(c||e.html)),d=t(e.textContent||""),m=t(u);!m&&d.length>40&&(u=Dt(er(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=Dt(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 _t(u,g)||(u="# "+g+"\n\n"+u)}if(u=Dt(u),/^(article|podcast)$/i.test(e.contentType||"")&&!/\btranscript\b/i.test(u)){var j=ei(document.body||document);j&&(u=Dt([u,j].filter(Boolean).join("\n\n")))}"article"===e.contentType&&(u=ul(u)),"article"===e.contentType&&!i&&function(e,r){if(!e||"article"!==e.contentType||kr(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<vr(n)||n.length>280||Cr(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=Xn(e,{strongList:!0})),"article"!==e.contentType||i||e.hostAware||e.docsLike||e.legalProvision||!Fr(u,e)||(e=Xn(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=$n({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"),Qn(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=xn(r,e,u,n,o);e.spaDataGuard&&-1===P.indexOf("spa_data_traversal_guard")&&P.push("spa_data_traversal_guard");var N=t(u);fr(g||r.title,N,{maxTextLength:1800,checkStructured:!0})&&-1===P.indexOf("not_found_interstitial")&&P.push("not_found_interstitial"),fr(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(" "));fr(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"),gc(e,P,"not_found_interstitial"),gc(e,P,"consent_interstitial",500,u),gc(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",Fi(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=bn(r,e,u),F=null;un()&&(F=-1!==P.indexOf("subscription_interstitial")?"full_block":"detected"),"interstitial"===e.contentType&&Fi(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,rc),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)ameblo\.jp$/)||!/\/entry-\d+\.html(?:$|[?#])/i.test(location.pathname||"")||!nc())return null;var r=nc();return r?He(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){ze(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(!je(/(^|\.)dnevnik\.bg$/)||ne()||!oc())return null;var r=oc();if(!r)return null;var n=He(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){ze(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,rt(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(!je(/(^|\.)segmentfault\.com$/)||!/^\/a\/\d+/.test(location.pathname||"")||!ic())return null;var t=ic();return t?He(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(!je(/^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(Pe(r,document));var n=e.closest(".card-wrap")||e.parentElement,o=document.createElement("section");if(o.appendChild(Pe(e,document)),n){var i=n.querySelector(".weibo-media, .weibo-media-wraps, .card-video, video, .m-auto-list");i&&o.appendChild(Pe(i,document))}return t.appendChild(o),t}(r);if(!n)return null;var o=He(e,n,{title:ac(n,e),byline:u([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"])||e.byline,minTextLength:40,rewriteRoot:function(e){ze(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(!je(/(^|\.)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=lc(e,r);if(a){var l=document.createElement("h1");l.textContent=a,i.appendChild(l)}var s=t([sc(e),V(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(Pe(n,document));var u=e.querySelector(".story__tags");u&&i.appendChild(Pe(u,document));return i}(r,e);if(!n)return null;var i=He(e,n,{title:lc(r,e),byline:sc(r)||e.byline,minTextLength:60,rewriteRoot:function(e){ze(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=sc(r),i):null}),registerHostAwareProfile(!0,function(e){if(!(je(/(^|\.)corriere\.it$/)||je(/(^|\.)gazzetta\.it$/)||je(/(^|\.)lastampa\.it$/))||ne()||!uc())return null;var r=uc();return r?He(e,r,{title:cc(e,r),byline:u([".author-art .writer",".author-art",".byline","[rel='author']","[itemprop='author']"])||e.byline,minTextLength:300,rewriteRoot:function(e){ze(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(!je(/(^|\.)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))&&rt(o,e,{minBodyTextLength:350,minParagraphCount:3,paragraphMinLength:60,removalSelectors:Be.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}),He(e,Ve(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){ze(e,Be.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(!(je(/(^|\.)idnes\.cz$/)||je(/(^|\.)lidovky\.cz$/)||je(/(^|\.)blaze\.cz$/)||je(/^expats\.cz$/))||!dc()||!document.querySelector("h1.arttit, h1.title, .art-title, .article-title, h1"))return null;var r=dc();return r?(e.language="",He(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&&Ne(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){ze(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(!je(/(^|\.)folha\.uol\.com\.br$/)||!/\.shtml(?:$|[?#])/i.test(location.pathname||"")||!mc())return null;var r=mc();return r?(rt(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:Be.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),He(e,r,{title:u(["main h1","article h1","h1"])||e.title,minTextLength:250,rewriteRoot:function(e){ze(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(!je(/(^|\.)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(pc(t))return t;var r=e.getAttribute("srcdoc");return r?(new DOMParser).parseFromString(r,"text/html"):t}catch(e){return null}}()||document,r=pc(t);return r?Ge(e,r,{title:hc(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:hc(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||"")&&(ze(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=Po(),a=x(n&&n.author),l=S(n&&n.datePublished),c=S(n&&n.dateModified),d=i?Mo(i.startDate,i.endDate):null,{title:$("og:title","property")||document.title||u(["main h1","article h1","h1"]),byline:$("author","name")||$("article:author","property")||$("parsely-author","name")||a||p(),excerpt:$("description","name")||$("og:description","property"),siteName:$("og:site_name","property")||location.hostname,publishedTime:d||$("article:published_time","property")||$("publish-date","name")||$("datePublished","itemprop")||$("date","name")||$("dc.date","name")||$("DC.date","name")||$("parsely-pub-date","name")||l||c||h(),canonicalUrl:o(r&&r.getAttribute("href"))||location.href,language:s(),image:$("og:image","property")||null,video:$("og:video","property")||$("og:video:url","property")||null});if(!m){var y=kl(f);y&&(m=y)}var b,v,k,A,C=null,q=null;if(m||(C=J(),q={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:J().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)}),!m&&(v=location.hostname.toLowerCase().replace(/^www\./,""),k=location.pathname,(A=_("q"))&&A.trim()&&!(/^google\.[a-z]{2,3}(?:\.[a-z]{2})?$/.test(v)?"/"!==k&&"/search"!==k:/^bing\.com$/.test(v)?"/search"!==k:/(^|\.)duckduckgo\.com$/.test(v)?"/"!==k&&"/html"!==k&&"/html/"!==k:"search.brave.com"!==v&&!/^ecosia\.org$/.test(v)||"/search"!==k))&&(m=Ko(f)),m&&"search"===m.contentType)return yc(m,f,C,q,null);if(!m){var E=br(f,C),j=E?yr(f,C):null,P=t(document.body&&document.body.textContent||"").toLowerCase(),N=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(P);E&&"not_found"===j&&N&&(m=E)}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&&ne()&&(m=fa(f,C)),!m){var z=t([location.pathname,document.title,f&&f.title,f&&f.siteName].join(" ")).toLowerCase();/\b(?:podcast|podcasts|episodes?)\b/.test(z)&&(m=Or(f,null))}if(m||(m=ti(f)),m||(m=fa(f,C)),m||(m=function(e,r,n){var o=nr(e,r,n);if(!o)return null;var i=t(e.title||document.title);(!i||Le(i)||/^www\./i.test(i))&&(i=or(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,C,q)),!m){var M=br(f,C),R=M?yr(f,C):null;if(M&&"consent_wall"!==R)m=M;else if(M&&"consent_wall"===R){var B=fc(e),H=t(B&&B.markdown||B&&B.textContent||"").toLowerCase();m=B&&H.length>500&&!sn(H)?B:M}}if(m||(m=Jn(f)),m||(m=oi(f)),m||(m=di(f)),m||(m=hi(f)),m||(m=Li(f)),m||(m=fc(e)),m&&"article"===m.contentType&&m.readerMode&&Fn(m.textContent||m.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var F=go(f);t(F.markdown||"").length>=400&&(m=F)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(m)){var O=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=Vo(),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||Vo()-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,Me(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}}();O&&(m=O)}m=function(e,r){if(!e||"job"===e.contentType||"search"===e.contentType||"interstitial"===e.contentType||e.docsLike||e.legalProvision)return e;if(ci(r,ii()))return e;var n=Ri(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=Dt(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=qi(r);if(!n)return e;var o=_i(n),i=Dt(e.markdown||e.textContent||"").trim(),a=t(i),l=[],s=e.title||r.title||document.title;return s&&!_t(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?Ti([n.structured.homeName,n.structured.awayName]):Ti(n.detail.identity.teams)}),e.markdown=Dt(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=_o();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=ko(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 I=Ur(m=function(e){if(!e||"social"!==e.contentType)return e;var t=Bi(e.socialKind);return-1===["post","thread","feed","profile"].indexOf(t)?(e.contentType="article",Fi(e),e):(e.socialKind=t,e.platform=Bi(e.platform),e.handle=Bi(e.handle),e.replyCount=Hi(e.replyCount,!1),e.community=Bi(e.community),e.score=Hi(e.score,!0),e)}(m))||to(f,m),D=qo(f);if(D&&m&&"social"!==m.contentType&&"product"!==m.contentType&&"property"!==m.contentType&&"hotel"!==m.contentType&&!m.hostAware&&!m.docsLike){var U=t(m.markdown||m.textContent||"").toLowerCase(),Z=t([document.title,location.pathname,location.search,f&&f.siteName].join(" ")).toLowerCase(),W=xr()||/\b(?:shop|shopping|store|marketplace|catalog|products?|furniture|search results?)\b|\/p\/|\/sb\d*\//.test(Z);I&&!W?D=null:("list"!==m.contentType&&(W||D.itemCount>=4||sn(U))||"list"===m.contentType&&xr()&&D.itemCount>=4)&&(m=D)}var G=jo(f);!G||!m||"article"!==m.contentType&&"list"!==m.contentType||m.hostAware||m.docsLike||kr(m)||(m=G);var K=function(e){var r=zo();if(r.length>=3){var n=go(e,{portalRoot:!0});return n.excerpt=r[0].text,n}if(!Fo())return null;var o=Ne(document.querySelector("main, [role='main'], article, #content")||document.body);Me(o),uo(o),ze(o,"form, script, style, noscript, [class*='modal' i], [class*='newsletter' i]");var i=Dt(er(o.innerHTML));return t(i).length<300?null:L(e,{title:e.title||document.title,excerpt:e.excerpt||u(["main h1","h1"]),html:o.innerHTML,textContent:i,markdown:i})}(f);!K||!m||m.hostAware||m.docsLike||"event"===m.contentType||kr(m)||(m=K);var V=Or(f,m=Yo(m));V&&(m=V);var X=Xo(0,m);I=X||Ur(m)||to(f,m);if(m&&!m.hostAware&&je(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(m.html||"")&&(m.hostAware=!0),"article"===m.contentType&&!m.hostAware&&!m.docsLike&&!kr(m)&&Y(m.textContent||m.markdown||"")){var Q=go(f);t(Q.markdown||"").length>=400&&(m=Q)}if("article"!==m.contentType||m.docsLike||m.legalProvision||!eo(null,m.textContent||m.markdown||"")||(m=Xn(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||Ei(m)||m.hostAware||m.docsLike||m.legalProvision||!function(e){if(!document.body||kr(e))return!1;if(Xo(0,e))return!1;if(!wr()&&!xr()&&!Lo())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>=vr(r)&&r.length<=220&&!Cr(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(Dr(r),Dr(p));return!Yn(r,u)&&!Qn(r,u)&&(!(!Ir(r,u)&&!Ir(p))||!(s>=5&&c.length>=1200&&m<.35)&&(a>=6&&o>=6&&n>=8&&(i>=4||m>=.22)||h>=6||Lo(r)))}(m)||(m=go(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||Ei(m)||m.hostAware||m.docsLike||m.legalProvision||!function(e){if(!document.body)return!1;if(Xo(0,e))return!1;if(kr(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>=vr(r)&&r.length<=220&&!Cr(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)||!wr()&&kr(m)||I||(m=go(f)),"article"!==m.contentType&&"medical"!==m.contentType||m.docsLike||m.legalProvision||I||!function(e){if(!e||"article"!==e.contentType||kr(e))return!1;if(!xr())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||sn(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=Xn(m,{strongList:!0})),"list"===m.contentType&&_("q")&&Kn(f)){var ee=Vn(f);ee&&(m=ee)}return yc(m,f,C,q,X)}}}(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($("Content-Language","http-equiv"))||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,Ut(tr(n.innerHTML))}return Ut(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=r&&r.matches&&r.matches("tr")?e.detail:"",o=(n?[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 o?t+=" - "+o:e.detail&&(t+=" - "+e.detail),t}).join("\n")}function q(e,r){if(!e||!e.querySelector)return"";var n=po(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(){return _("q")||_("p")||_("query")||_("text")||""}function j(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 L(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:void 0===t.publishedTime?null:t.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 $(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function P(e){return e.join("|")}function N(e,t){return new RegExp("^(?:"+P(e)+")$",t||"i")}function z(e,t,r){return new RegExp("^\\s*(?:"+P(e)+")"+(t||"")+"\\s*$",r||"gmi")}function M(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}var R="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",B=/(cookie|privacy|consent|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|隐私|принять|ኩኪ)/i,H=[/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],F=/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,O=/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,I=["video player is loading.","videosoitin","play video","playback speed","fullscreen","mute","unmute"],D=[/^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/],U=/^(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)$/,Z=/^\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,G=[/^(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 K(e,t){for(var r=0;r<t.length;r+=1)if(t[r].test(e))return!0;return!1}function V(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 J(){if(!document.body)return"";var e=t(document.body.innerText||"");if(e&&(!B.test(e)||!X(e)))return e;var r=Pe(document.body,document);return r.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),Ae(r),t(r.textContent)}function X(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(!!K(r,H)&&(r.match(F)||[]).length>=2)}function Y(e){var r=t(e||"").toLowerCase();return!(!r||r.length>5e3)&&(r.match(O)||[]).length>=2}function Q(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function ee(e){var r=t(e||"").toLowerCase();return!(!r||r.length>120)&&(U.test(r)||Z.test(r))}function te(e){return K(e||"",G)}function re(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 ne(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(e)}function oe(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 ie(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}$r(e)||$r(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 ae,le="nav, aside, footer, script, style, noscript, template",se=le+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",ce=le+", .breadcrumb, .site-header, .site-footer, .region-sidebar",ue="[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']",de=N(["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"),me=(ae="i",new RegExp("^(?:"+P(["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"])+")",ae||"i")),pe=/^(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!?)$/,he=N(["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"),fe="[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']",ge="[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']",ye="[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']",be=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),ve=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"),we=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),xe=N(["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"),Se=N(["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 ke(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&&X(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")||""))&&X(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)&&X(n))return!0}catch(e){}return!!(X(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function Ae(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){ke(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){ke(e)&&e.remove()}),e):e}function Ce(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 qe(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 Te(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();pe.test(r)&&n(e)<60&&e.remove(),ee(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||he.test(r)&&e.remove()}),e.querySelectorAll(fe).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(ge).forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll(ye).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 _e(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&xe.test(r)&&e.parentElement){for(var n=[],o=e.nextElementSibling;o;){var i=o.tagName;if(/^H[1-4]$/.test(i)&&!xe.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&&xe.test(r.slice(0,120)))e.querySelectorAll("a[href]").length>=2&&r.length<5e3&&e.remove()}})}function Ee(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 je(e,t){if(t=t||location.hostname||"",!e)return!1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)if(je(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 Le(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function $e(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(e,t);n&&r.appendChild(n)}),r}function Pe(e,t){try{return e.cloneNode(!0)}catch(r){return $e(e,t)}}function Ne(e){for(var t=e;t&&1===t.nodeType;){var r=window.getComputedStyle?window.getComputedStyle(t):null;if(t.hidden)return!0;if(r&&("none"===r.display||"hidden"===r.visibility||"collapse"===r.visibility))return!0;t=t.parentElement}return!1}function ze(e,r){if(ke(e))return document.createElement("div");var n,i=Pe(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)&&!(X(r)||te(r)||ee(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()}),Ae(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 Me(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function Re(e){return Ae(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||Se.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(ue).forEach(function(e){e.remove()}),_e(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!!te(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=be.test(o),l=ve.test(n),s=we.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();de.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();me.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;(Q(e.textContent)||(r=e.textContent,n=t(r||"").toLowerCase(),-1!==I.indexOf(n)||K(n,D)))&&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()}),Ce(e),qe(e),Te(e),Ee(e),e}function Be(e,t,r,n,o,i){return"function"==typeof e?e(t,r,n,o,i):e}var He=["[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]","[class*='piano-offer' i]"];function Fe(e,t,r){return Ke(e,t,r)}var Oe=["article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article[id^='post-'] [itemprop='articleBody']",".entry-content",".post-content","[itemprop='articleBody']"],Ie=["h1.entry-title",".entry-title","article h1","main h1","h1"],De=["[rel='author']",".author",".byline",".post-author","[class*='author' i]"],Ue=[".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 Ze(e,r){if((r=r||{}).hostPattern&&!at(r.hostPattern,location.hostname))return null;if(r.pathPattern&&!at(r.pathPattern,location.pathname||""))return null;if(r.homepagePath&&at(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 lt({bodySelectors:e.bodySelectors||Oe});for(var n=e.bodySelectors||Oe,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?Fe(e,n,{title:We(e,r),byline:Ge(e,r),publishedTime:r.publishedTime,minTextLength:r.minBodyTextLength||r.minTextLength||0,contentType:r.contentType||"article",extra:r.extra,rewriteRoot:function(e,t){Me(e,function(e){return Ue.concat(e.removalSelectors||[])}(r).join(", ")),ut(e,r.removalTextPatterns),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)}}):null}function We(e,r){return"function"==typeof r.title?r.title(e):void 0!==r.title?r.title:u(r.titleSelectors||Ie)||t(e&&e.title)}function Ge(e,t){return"function"==typeof t.byline?t.byline(e):void 0!==t.byline?t.byline:e&&e.byline||u(t.bylineSelectors||De)}function Ke(e,r,n){if(!r)return null;var o=!1===(n=n||{}).cloneRoot?r:ze(r);if(!o)return null;"function"==typeof n.rewriteRoot&&n.rewriteRoot(o,r),!1!==n.cleanupRoot&&Re(o);var i=tr(o.innerHTML);!1!==n.cleanupMarkdown&&(i=Ut(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&&!Et(i,l)&&(i="# "+l+"\n\n"+i);var s=t(i),c=Be(n.excerpt,e,o,r,i,a);void 0===c&&!1!==n.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var d=Be(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:Be(n.siteName,e,o,r,i,a)||e&&e.siteName||location.hostname,publishedTime:null===n.publishedTime?null:Be(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=Be(n.extra,e,o,r,i,a)||{};Object.keys(p).forEach(function(e){m[e]=p[e]})}return m}function Ve(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 Xe(o,r,e.titleSelectors,i,!1),Xe(o,r,e.leadSelectors,i,!1),Xe(o,r,e.summarySelectors,i,!1),Xe(o,r,e.captionSelectors||e.mediaCaptionSelectors,i,!1),n=Xe(o,r,e.bodySelectors,i,!0),(!1===e.requireBody||n)&&t(o.textContent||"").length>=(e.minTextLength||0)?o:null}function Je(e,t){var r=document.createElement("article");return e&&r.appendChild(Pe(e,document)),t&&r.appendChild(Pe(t,document)),r}function Xe(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=Ye(t,i[l]);if(s&&(Qe(e,s,n)&&(a=!0),a&&!o))return!0}return a}function Ye(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 Qe(e,r,n){var o=t(r.textContent||"");return!(!o||n.indexOf(o)>=0)&&(n.push(o),e.appendChild(Pe(r,document)),!0)}function et(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(Pe(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?tt(r.title,e,o,n):rt(n,r.titleSelector),i.byline=void 0!==r.byline?tt(r.byline,e,o,n):rt(n,r.bylineSelector),i.publishedTime=void 0!==r.publishedTime?tt(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&&Me(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=Be(r.extra,e,t,n,o,i)||{};return a.isolatedLiveblogEntry=!0,a},Fe(e,o,i)}function tt(e,t,r,n){return"function"==typeof e?e(t,r,n):e}function rt(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 nt(e,r,n){n=n||{};var o=e||document.body;if(!o)return e;var i=o.cloneNode(!0);ot(i,n.removalSelectors),it(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)||(ot(o,n.removalSelectors),it(o,n.textRemovalPattern,n.textRemovalMaxLength),ot(document,n.signalRemovalSelectors||n.removalSelectors),it(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 ot(e,t){e&&t&&Me(e,Array.isArray(t)?t.join(", "):t)}function it(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 at(e,t){return!e||(t=t||"",e instanceof RegExp?e.test(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e))}function lt(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 st(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 ct(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 ut(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 dt(e){return e=e||{},function(t){if(!at(e.hostPattern,location.hostname))return null;if(e.pathPattern&&!at(e.pathPattern,location.pathname||""))return null;if(e.homepagePath&&at(e.homepagePath,location.pathname||""))return null;"function"==typeof e.beforeExtract&&e.beforeExtract(t);var r=lt(e);return r?Fe(t,r,{title:st(e,t),titleSelectors:e.titleSelectors,byline:ct(e,t),publishedTime:e.publishedTime,minTextLength:e.minBodyTextLength||0,contentType:e.contentType||"article",extra:e.extra,rewriteRoot:function(t,r){Me(t,(e.removalSelectors||[]).join(", ")),ut(t,e.removalTextPatterns),"function"==typeof e.rewriteRoot&&e.rewriteRoot(t,r)}}):null}}function mt(e){e=e||{},registerHostAwareProfile(void 0===e.condition||e.condition,dt(e))}function pt(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function ht(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function ft(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 ht(e.getAttribute("href"))}).length,o=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&o.length<900}function gt(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 yt(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 bt(e,r){return r=r||{},pt(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),pt(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()}),pt(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()}}),pt(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=gt(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||ht(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||ft(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()}),pt(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&pt(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 vt(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 wt(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 xt(e,r,n){for(var o=0;o<r.length;o+=1)for(var i=wt(e,r[o],n),a=0;a<i.length;a+=1){var l=t(i[a].textContent);if(l)return l}return""}function St(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function kt(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function At(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),gt(e||"")||null):null}function Ct(e,t,r,n){var o=u(t||[]);return o||"function"!=typeof r||(o=r(e)),o||"string"!=typeof r||(o=r),At(o,n,e)}function qt(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return gt(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function Tt(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 _t(e){var t=Tt(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),gt((r||t).textContent)||null}function Et(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 jt(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 Lt(e,t,r){return Pt(e,St(t),r)}function $t(e,t,r){if(!(t=t||ta(e))||t.system!==r.system)return null;var n=r.headingFormatter||function(e){return gt(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&&pt(e,r.removeTextSelector||"a, button, div, p, span, li",r.removeTextPattern),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,a),!1!==r.headingFormatter&&qt(e,r.headingSelector,n)}},a=null;!1===r.preferFragmentTitle?(a=Ct(e,r.titleSelectors,r.fallbackTitle,o),i.title=a):(i.titleSelectors=r.titleSelectors,i.fallbackTitle=r.fallbackTitle,i.titleFormatter=o);var l=St(r.rootSelectors);return"function"==typeof r.contentType?i.contentType=r.contentType(l,t):r.contentType&&(i.contentType=r.contentType),Pt(e,l,i)}function Pt(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:_t(t);o=At(o,r.titleFormatter,e)||Ct(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=o}return Nt(e,t,n)}function Nt(e,r,n){if(!r)return null;var o,i=!1===(n=n||{}).focusFragment?r:function(e){var r=Tt(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=ze(i,n.preserveSelector);if(Re(a),bt(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{o=tr(a.innerHTML).trim()}catch(e){o=""}"function"==typeof n.postProcessMarkdown&&(o=n.postProcessMarkdown(o,a));var l=gt(n.title||_t(r)||vt(a,["h1","header h1","h2"])||"")||null,s=n.description||vt(a,["p"]);return o?(l&&!Et(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 zt=z(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),Mt=z(["(?: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)"]),Rt=M(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","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"]),Bt=M(["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 z([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"])),Ht=z(["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.*"),Ft=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+R+"\\/[^)]*\\)","gi"),Ot=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+R+"\\b[^\\n]*$","gmi"),It=[/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 Dt(e,t){var r=e;return t.forEach(function(e){r=r.replace(e,"")}),r}function Ut(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(zt,"").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(Mt,"").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(Ht,"").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(Ft,"").replace(Ot,"").replace(/\n{3,}/g,"\n\n").trim();n=Dt(n,Rt),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=Dt(n,Bt)),n=function(e){var t=e||"";if(t.length<300)return t;var r=Math.floor(.35*t.length),n=-1;return It.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 Zt(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Wt(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function Gt(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}function Kt(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 Vt(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 Jt(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Xt(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=Xt(e.children[t]);if(r)return r}return null}function Yt(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=Xt(r[n-1]),i=Xt(r[n]);if(o&&i){var a=Jt(o.textContent),l=Jt(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 Qt(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=jt(r.textContent),a=t(i.replace(new RegExp("^"+Zt(o)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(i),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return jt(e.textContent)}).filter(Boolean).join(" ");s||(s=jt(e.textContent).replace(new RegExp("^"+Zt(o)+"\\s*"+Zt(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=jt(r[1].textContent);return n&&o?"- `"+n+"`: "+o:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function er(e,r){var n=Qt(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(Yt(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 tr(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),Re(r),function(e){pt(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=Wt((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=Kt(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")||Kt(t)||Kt(e);t.textContent=Wt(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"+er(t,e)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=Wt(r?r.textContent:t.textContent);return n?Gt(r&&r.getAttribute("data-language")||Kt(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 rr(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function nr(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 or(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=rr(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=rr(n),i=!r||t(r).length<120;return!nr(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)&&!nr(r)||i&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(o)&&!nr(o))}(o,i,n)?"cloudflare":null}function ir(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(Le(o))return o}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function ar(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 lr(e,n){if(!ar(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 sr="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 cr(e){return new RegExp(sr,e||"")}function ur(e){return new RegExp("^(?:"+sr+")",e||"")}function dr(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function mr(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 pr(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function hr(e,r,n,o){!(n=t(n||""))||n.length>o||dr(n)||r[n]||(r[n]=!0,e.push(n))}function fr(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=cr(),a=ur();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))||!!gn(o)&&(i.test(n)||a.test(o)))}function gr(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 yr(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 br(e,r){var n=t(e.title||document.title),o=t([r||"",document.body&&document.body.textContent||""].join(" ")),i=(n+" "+o).toLowerCase(),a=yr(o);return ar(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":fr(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":gr(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 vr(e,r){var n=br(e,r);if(!n)return null;if("meta_login"===n)return lr(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&&!dr(e)}),a=i.find(function(e){return e!==o&&e.length>=12})||e.excerpt||t(r||""),l=[],s=[];if("human_verification"===n)o&&!Le(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){mr(r)&&hr(t,e,pr(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){mr(t)&&hr(r,e,pr(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){mr(t)&&hr(n,e,pr(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(mr(t)){var r=pr(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)&&hr(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&&!Le(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&&!Le(o)||(o="Login required"),l.push("Access notice: login or account required")):"js_redirect"===n&&(o&&!Le(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 wr(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function xr(){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 Sr(){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 kr(){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 Ar(e){if(!document.body)return!1;if(!kr())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 Cr(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function qr(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 Tr(){return location.origin+location.pathname}function _r(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function Er(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=_r((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=_r([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:Tr(),keywords:a,sectionFragments:l.slice(0,4)}}function jr(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 Lr(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 $r(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)||jr(n)}function Pr(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 Nr(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;var u=n&&n.tableIndexPage&&r&&r.matches&&r.matches("tr");if(l.length<(u?2:wr(l))||l.length>220)return null;var d=o(i);if(!d)return null;try{s=new URL(d,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(d))return null;if(/\/(privacycontrols?|privacy|cookies?|consent)\b/i.test(d)&&l.length<80)return null;if(qr(l,i)||Hr(e)||Hr(e.parentElement)||Rr(e))return null;var m=e.querySelector("h1, h2, h3, h4, p")?e:r,p=r&&r.matches&&r.matches("tr")?yo(r,l):t(m&&m.textContent||"").replace(l,"").replace(/\s*[|·]\s*/g," - ");if(p=p.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(d)&&Lr(l+" "+p))return null;if(/\/(tv|spored)\//i.test(d)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(l+" "+p)||/\b\d{1,2}\.\d{2}\b/.test(l+" "+p)))return null;var h=function(e,r,n,o,i){if(!r)return-1/0;var a=e.length,l=Pr(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,($r(o)||$r(o&&o.parentElement))&&(a-=260),(jr(e)||jr(n))&&(a-=220),a}(l,d,p,r||e.parentElement,n);if(h===-1/0)return null;var f={text:l,url:d,detail:p,rankScore:h,card:zr(e,r)};return r&&r.matches&&r.matches("tr")&&p&&(f.dedupeKey=re(d)+"|row:"+t(p).toLowerCase()),f}function zr(e,t){return e&&e.closest&&e.closest("tr, article, li, [class*='card'], [class*='story'], [class*='teaser'], [class*='item'], [class*='result'], [class*='news'], [class*='headline']")||t||e&&e.parentElement}function Mr(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 Rr(e){return Mr(e,Hr)}function Br(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 Hr(e){return Br(e,!0)}function Fr(e){return Br(e,!1)}function Or(e,n){if(!e||Ar(n))return!1;if(ao(null,e)||lo(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(!xr()&&!Sr())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!==Tr()&&(Cr(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 Ir(e){return Array.prototype.filter.call(e.children||[],function(e){return e.matches&&e.matches("th, td")})}function Dr(e,t,r){var n=parseInt(e[t]||e.getAttribute(r)||"1",10);return n>0?n:1}function Ur(e){var r=Array.prototype.filter.call(e.querySelectorAll("thead tr"),function(e){var t=Ir(e);return!Ne(e)&&t.some(function(e){return"TH"===e.tagName})});if(r.length||(r=Array.prototype.filter.call(e.querySelectorAll("tr"),function(e){var t=Ir(e);return!Ne(e)&&t.length&&t.every(function(e){return"TH"===e.tagName})})),!r.length)return[];var n=[];r.forEach(function(e,t){n[t]||(n[t]=[]);var r=0;Ir(e).forEach(function(e){for(;n[t][r];)r+=1;for(var o=Dr(e,"colSpan","colspan"),i=Dr(e,"rowSpan","rowspan"),a=t;a<t+i;a+=1){n[a]||(n[a]=[]);for(var l=r;l<r+o;l+=1)n[a][l]=e}r+=o})});for(var o=n.reduce(function(e,t){return Math.max(e,t.length)},0),i=[],a=0;a<o;a+=1){var l=[];r.forEach(function(e,r){var o=t(((n[r]||[])[a]||{}).textContent||"");o&&l[l.length-1]!==o&&l.push(o)}),i.push(l.join(" / "))}return i.filter(Boolean).length>=2?i:[]}function Zr(e,r,n,i){for(var a=null==i?0:i,l=null==i?r.length:i+1,s=a;s<l;s+=1)if(r[s]){var c=Array.prototype.filter.call(r[s].querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",o=t(e.textContent||e.getAttribute("aria-label")||""),i=n||wr(o);return r&&"#"!==r[0]&&!/^(javascript:|mailto:)/i.test(r)&&o.length>=i&&o.length<=220});if(c.length){c.sort(function(e,r){return t(r.textContent||"").length-t(e.textContent||"").length});var u=o(c[0].getAttribute("href"));if(u&&re(u)!==Tr())return{cellIndex:s,url:re(u),link:c[0]}}}return null}function Wr(e,r){var n=Array.prototype.filter.call(e.querySelectorAll("tr"),function(n){if(n.closest("table")!==e||n.closest("thead, tfoot")||Ne(n))return!1;var o=Ir(n),i=t(n.textContent||"");return function(e){return e.reduce(function(e,t){return e+Dr(t,"colSpan","colspan")},0)}(o)===r.length&&!n.querySelector("table")&&i.length>=8&&i.length<=600});if(n.length<6)return null;var o={};n.forEach(function(e){var t=Ir(e);t.forEach(function(e,r){var n=Zr(0,t,2,r);n&&(o[r]||(o[r]=[]),o[r].push(n))})});var i=Object.keys(o).map(function(e){var n,i=parseInt(e,10),a=o[e],l={};return a.forEach(function(e){l[e.url]=!0}),{column:i,count:a.length,distinctCount:Object.keys(l).length,role:(n=r[i],n=t(n||"").toLowerCase(),/\b(?:actions?|controls?|logs?|status|state|details?|downloads?|view|open|edit|delete)\b/.test(n)?0:/\b(?:id|name|title|package|target|chroot|record|pollster|research|reference|entry|item|case|candidate|team|source)\b/.test(n)?2:1)}}).filter(function(e){return e.count>=6&&e.count/n.length>=.65&&e.distinctCount>=4&&e.distinctCount/e.count>=.6}).sort(function(e,t){return t.role-e.role||t.count-e.count||t.distinctCount-e.distinctCount||e.column-t.column});return i.length&&i[0].role>0?{primaryColumn:i[0].column}:null}function Gr(){if(!document.body)return null;var e=Array.prototype.map.call(document.querySelectorAll("p"),function(e){return Ne(e)?"":t(e.textContent||"")}).filter(function(e){return e.length>=180});return e.length>=3&&e.join(" ").length>=700?null:Array.prototype.find.call(document.querySelectorAll("table"),function(e){if(Ne(e)||e.querySelector("table"))return!1;if(function(e){var r=e.closest("article, main, [role='main']")||document.body,n=Array.prototype.map.call(r.querySelectorAll("p"),function(e){return Ne(e)?"":t(e.textContent||"")}).filter(function(e){return e.length>=120});if(n.length<2)return!1;var o=n.join(" ").length;if(o<400)return!1;if("ARTICLE"===r.tagName)return!0;var i=t(e.textContent||"").length;return o>=500&&o>=.75*i}(e))return!1;var r=Ur(e);if(r.length<3)return!1;var n=t([location.pathname,document.title,(document.querySelector("h1")||{}).textContent,(e.querySelector("caption")||{}).textContent].join(" ")),o=t(r.join(" ")),i=t(n+" "+o),a=/(poll|survey|opinion|result|archive|history|tracker|record|ranking|standing|sonda|umfrag|sondag|sondeo|peiling|enqu[eê]te)/i.test(i),l=/\bbuilds?\b/i.test(n)&&/\b(?:builds?|status|state|chroots?|packages?|versions?|submitted|targets?|architectures?|platforms?|logs?)\b/i.test(o),s=/\bmonitor(?:ing)?\b/i.test(n)&&/\b(?:packages?|status|state|builds?|targets?|architectures?|chroots?|versions?|releases?|platforms?)\b/i.test(o);return!(!a&&!l&&!s)&&!!Wr(e,r)})||null}function Kr(e){if(!document.body||Ar(e))return!1;if(di(null,e))return!1;if(Gr())return!0;if(!xr()&&!Sr()&&!Zo())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>=wr(r)&&r.length<=220&&!qr(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(Xr(r),Xr(p));return!ao(r,u)&&!lo(r,u)&&(!(!Jr(r,u)&&!Jr(p))||!(s>=5&&c.length>=1200&&m<.35)&&(a>=6&&o>=6&&n>=8&&(i>=4||m>=.22)||h>=6||Zo(r)))}function Vr(e,r){if(!document.body)return null;if(r&&"article"!==r.contentType&&"list"!==r.contentType)return null;if(r&&"list"===r.contentType){if(!ne())return null;if(r.docsLike)return null;var n=jo(e,{portalRoot:!0});return n.portalRootEvidence?(r.portalRootEvidence=n.portalRootEvidence,r):null}if(!r&&!ne())return null;if(r&&(r.hostAware||r.docsLike))return null;if(gn(document.body.textContent||""))return null;if(r&&gr(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=jo(e,{portalRoot:!0});return o.portalRootEvidence?o:null}function Jr(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||Ar())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=mo(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 Xr(e){var r=Tr(),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<wr(a)||a.length>220||qr(a,l||""))&&l){try{i=new URL(l,location.href)}catch(e){return}i.origin===location.origin&&i.origin+i.pathname!==r&&Cr(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname)}}),n.length}function Yr(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=kr();return!so(n,o)&&(!(!ao(n,o)&&!lo(n,o))||(!xr()&&o.length>=280&&c<.5||!(xr()&&c>.5)&&(!(xr()&&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 Qr(e){var r=Er(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(Hr(e)||$r(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>=wr(r)&&!qr(r,e.getAttribute("href")||"")&&!Hr(e.parentElement)&&!Hr(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<wr(n))){var i=o(e.getAttribute("href"));if(i){var a=Pr(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 en(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 tn(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 rn(){return en(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 nn(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 on(){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 an(e){try{return new URL(e||location.href,location.href)}catch(e){return null}}function ln(e){return(e&&e.hostname||"").replace(/^www\./i,"").toLowerCase()}function sn(e){return e?r(e.pathname||"").split("/").filter(Boolean).map(function(e){return e.replace(/\.(?:html?|shtml|php|aspx?)$/i,"").toLowerCase()}):[]}function cn(e){return en(t(r(e||""))).toLowerCase().replace(/[^a-z0-9]+/g," ").trim().replace(/\s+/g," ")}function un(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 dn(e){return!(!e||!e.length)&&(1===e.filter(un).length&&e.every(function(e){return un(e)||e.length<=24||/^\d+$/.test(e)||/^[a-z]{2}$/i.test(e)||/^[a-z0-9]{6,}$/i.test(e)}))}function mn(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=sn(an(location.href)),s=rn(),c=en([e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" ")).toLowerCase(),u=en(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=dn(l)&&s.length>=2&&(p>=1||h>=1||p/s.length>=m||h/s.length>=m);return function(e){var t=an(location.href),r=an(e&&e.canonicalUrl);if(!t||!r)return!1;if(ln(t)!==ln(r))return!1;var n=sn(t),o=sn(r);if(n.join("/")===o.join("/"))return dn(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,!un(n[a])||!un(o[a])))return!1;return 1===i}(e)&&tn(d)||tn(a)||tn(d)&&dn(l)||f}function pn(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 hn={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 fn(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=hn[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 gn(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!cr("i").test(r))return!1;if(ur("i").test(r))return!0;var n=r.match(cr("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function yn(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 bn(){var e=w(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=$("article:content_tier","property")||$("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 vn(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=Fn({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 wn(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,8e3),$("citation","name"),$("DC.title","name")].join(" ")).toLowerCase(),a=xn(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 xn(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 Sn(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike)return!1;if(je(/(^|\.)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,$("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,$("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)||$("article:modified_time","property")||$("article:modified_time","name")||$("dateModified","property")||$("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($("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,$("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 kn(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 An(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 je(/(^|\.)lenta\.ru$/)&&/^\/news\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||"")?(a>=1||l>=1)&&s>=2:!!(u&&Yr(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 Cn(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:tr(r.innerHTML||"")||""}}function qn(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((Cn(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=Cn(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 Tn(e,r,n,o,i,a,l,s,c,u,d,m,p,h,f,g,y){var b,v=[],w=gn(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=cr("i"),s=ur(),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||gn(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||yn(o)||yn(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 _n(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=rn().length>=2,L=je(/(^|\.)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(An(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=kn(["[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=kn(["[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=rn(),B=n&&"list"===n.contentType&&(_("q")||_("_nkw")||_("st")||/^\/search\//.test(location.pathname));if(!y&&!b&&R.length>=2&&!B&&!c&&!xn(r(location.pathname||"").toLowerCase())&&!wn(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=en(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=en(s);!(R.filter(function(e){return-1!==U.indexOf(e)}).length/R.length<D)||g||mn(e,n,i,o)||pn(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=nn([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var r=nn(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&&!xn(r(location.pathname||"").toLowerCase())&&!wn(s,i)){var Z=on()||(e.language||"").slice(0,2).toLowerCase();!Z||!hn[Z]||g||fn(Z,i)||Z!==on()&&mn(e,n,i,o)||pn(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=an(location.href),a=an(e.canonicalUrl),l=sn(i),s=sn(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=cn(l[l.length-1]||""),p=cn(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 W=Cn(n,o).markdown||o||"",G=qn(e,n,W),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||gn(i)||gr(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,W,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=Cn(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,W,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)||vn(s,i)||q.push("multi_topic_page")}if(!y&&!b&&n&&"article"===n.contentType&&!xr()&&(bn()&&-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&&Sn(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(je(/(^|\.)(prnewswire\.com|globenewswire\.com|businesswire\.com)$/i))return!1;if(vn(e,r)||wn(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 En(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||!tn(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=or(e,o,i),p=br(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=ne(),a=i||xr(),l=(t.match(/\[[^\]]+\]\([^)]+\)/g)||[]).length,s=ie(document),c=!!e.portalRootEvidence;return!(gn(r)||gn(n))&&!gr(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=gr(l,t([s,w].join(" ")).toLowerCase(),{maxTextLength:1100}),k=document.querySelectorAll("main a[href], article a[href]").length>=3||r&&"list"===r.contentType,A=gn(s),C=s.length>500&&!(A&&!k),q=An(r,n,s);return a=(a=a.concat(Tn(e,r,n,s,c,u,0,h,y,m,p,S,k,C,b,v,i))).concat(_n(e,r,n,s,c,u,l,h,y,g,f,x,m,p,q,d))}var jn=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,Ln=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,$n=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,Pn=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,Nn=/(?: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,zn=/\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,Mn=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,Rn=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,Bn=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,Hn=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function Fn(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:jn.test(l),officialStatuteTitle:Ln.test(a),officialTextSignals:zn.test(l),profileOfficialTextSignals:Mn.test(o),translationAttribution:Rn.test(l),provisionMarkers:(o.match($n)||[]).length,structuralMarkers:(o.match(Pn)||[]).length,legalTerms:Nn.test(o),numberedClauses:(o.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:Bn.test(o),bodyStartMatch:o.match(Hn)}}function On(e){return e&&e.querySelectorAll?(Me(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]"),Ee(e),_e(e),e):e}function In(){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=Fn({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=Fn({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=ze(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 Dn(e){if(!e||ke(e))return-1/0;if(!Zn(e)&&Wn(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&&(X(o)||te(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&&Jn(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&&Kn(i)||l<1800&&Y(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 Un(){if(Wn(document.body)&&!Zn(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=In();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=ze(t);On(r);var n=Dn(r);return!e||n>e.score?{node:t,score:n}:e},null),a=ze(i&&i.score>-1/0?i.node:document.body),l=Zn(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("")):"";Gn(a),On(a),Gn(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 Zn(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 Wn(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 Gn(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 Kn(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 Vn(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=Y(i),f=Kn(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:Yr(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 Jn(r,n,i)}(e)&&Yr(r)&&a.length>=1200&&m<.25||h&&a.length>=Math.max(1e3,2*i.length)||Yr(r)&&(i.length<240||p)&&a.length>=Math.max(600,3*i.length)?r:e:e}function Jn(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 Xn(){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=$e(t,e);r&&e.head.appendChild(r)}),document.body){var t=$e(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();if(Wn(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),Ae(r),!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output, .mw-parser-output")||Re(r),On(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 Wn(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 Yn(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 Qn(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 eo(e,r){var n=Yn(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 to(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!!Q(n)||(!!te(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 ro(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),i=J().slice(0,2e3).toLowerCase(),a=!!_("q"),l=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,$("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 no(e){var r=Yn(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 oo(e){if(!ro(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||te(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=Qn(t);!r||r.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(Qn).indexOf(r)&&e.push(t)}}function s(e){var r=ze(e);return r.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),Re(r),t(r.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var r=a(e.textContent||"");if(!(!r||r.length<12||te(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(Qn).indexOf(Qn(r))&&i.push(r)}});var c=f([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"]).filter(function(e){return e&&e.length<=40&&!te(e)}),d=f([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"]).filter(function(e){return e&&e.length<=120&&!Q(e)&&!te(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&&!te(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=Qn(e);return!n||n.length<10?r.indexOf(e)===t:r.map(Qn).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=Ut(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=ze(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){to(e)&&e.remove()}),Re(o);var i=Ut(tr(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=Ut([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=no(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&&!to(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),to(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=ze(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){to(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=Qn(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(l),Re(l);var s=Ut(tr(l.innerHTML)),c=t(s);if(c.length<40)return i;var d=u(["h1"])||t(e&&e.title||document.title);return d&&!Et(s,d)&&(s="# "+d+"\n\n"+s),eo(c=t(s=Ut(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 io(e,t){return!e||!Ar(e)||t&&t.strongList?(e&&(e.contentType="list"),e):e}function ao(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 lo(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=Fn({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 so(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 co(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<wr(n)||l.length<220)&&(!!(i&&o.length>=40)||(!(!i||!a)||!!(i&&l.length>=320)))}function uo(e,t,r){if(!r)return!1;var n=r.canonicalKey||re(r.url),o=r.dedupeKey||n,i=r.text+"|"+o;return!t[i]&&!t["url:"+o]&&(t[i]=!0,t["url:"+o]=!0,r.canonicalKey=n,e.push(r),!0)}function mo(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 po(e,t){var r="tr, 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 ho(e,r){var n=po(e,r)[0];return n?t(n.textContent):""}function fo(e){return Array.prototype.filter.call(e.children||[],function(e){return e.matches&&e.matches("th, td")})}function go(e){var r=t(e.innerText||e.textContent||"");if(r)return r;var n=[];return[e].concat(Array.prototype.slice.call(e.querySelectorAll("[aria-label], [title], img[alt]"))).forEach(function(e){var r=t(e.getAttribute("aria-label")||e.getAttribute("title")||e.getAttribute("alt")||"");r&&-1===n.indexOf(r)&&n.push(r)}),n.join(" ")}function yo(e,r){var n=fo(e),o=e.closest&&e.closest("table"),i=o?Ur(o):[],a=n.findIndex(function(e){return-1!==go(e).indexOf(r)}),l=0;return n.map(function(e,n){var o=i[l]||"";l+=Dr(e,"colSpan","colspan");var s=go(e),c=s.indexOf(r);return-1!==c&&(s=t(s.slice(0,c)+" "+s.slice(c+r.length))),s?n!==a&&o&&o.toLowerCase()!==s.toLowerCase()?o+": "+s:s:""}).filter(Boolean).join(" | ")}function bo(e,r){e.summary=ho(r,"[class*='summary'], [class*='description'], [class*='excerpt'], p"),e.category=ho(r,"[class*='category'], [class*='eyebrow'], [class*='kicker']");var n=po(r,"time")[0];n&&(e.time=t(n.getAttribute("datetime")||n.textContent)),e.image=function(e){var r=po(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=ho(r,"figcaption")}function vo(e){return Ne(e)}function wo(e,t){if(e&&t)if(1===e.nodeType&&vo(e))t.remove();else{var r=Array.prototype.slice.call(e.childNodes||[]),n=Array.prototype.slice.call(t.childNodes||[]);r.forEach(function(e,t){wo(e,n[t])})}}function xo(e){if(!e||vo(e))return document.createElement("div");var t=Pe(e,document);return wo(e,t),ze(t)}function So(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=Er(),l=Gr();a.tableIndexPage=!!l;var s=[location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" "),c=/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/i.test(s);function u(e,t,r){var n=a.tableIndexPage&&r&&r.matches&&r.matches("tr");return e.length<(n?2:c?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)||qr(e,t)||jr(e)}function d(e,t){var r=Nr(e,t,a);r&&!u(r.text,r.url,t)&&uo(i,o,r)}if(a.tableIndexPage&&e.matches&&e.matches("table")){var m=function(e){if(!e)return null;var t=Ur(e),r=t.length>=3?Wr(e,t):null;return r&&r.primaryColumn}(l);return Array.prototype.forEach.call(e.querySelectorAll("tr"),function(r){if(r.closest("table")===e&&!r.closest("thead, tfoot")){var n=Zr(0,fo(r),2,m);if(n){var a=t(n.link.textContent||n.link.getAttribute("aria-label")||""),l=yo(r,a),s={text:a,url:n.url,detail:l,rankScore:a.length+l.length,card:r,canonicalKey:n.url,dedupeKey:n.url+"|row:"+t(l).toLowerCase()};uo(i,o,s)}}}),i}(n.forEach(function(e){!e.matches("tr")&&e.querySelectorAll("tr a[href]").length>=2||d(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&&!qr(r,e.getAttribute("href")||"")&&!Hr(e)&&!Hr(e.parentElement)&&!Rr(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");if(!n||"#"===n[0]||/^(javascript:|mailto:)/i.test(n))return!1;var o=a.tableIndexPage&&e.closest("tr");return!(r.length<(o?2:wr(r)))&&(!u(r,n,o)&&((o||r.length>=wr(r))&&r.length<=220))}).forEach(function(e){var t=e.closest("tr, li, article, section, div")||e.parentElement;d(e,t)});return i}function ko(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=Er();n.tableIndexPage=!!Gr();var 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("tr, article, section, li, div")||e.parentElement;if(!(Fr(e)||Fr(e.parentElement)||function(e){return Mr(e,Fr)}(e))){var i=Nr(e,o,n);i&&uo(r,t,i)}}),r}function Ao(e){return(e||[]).reduce(function(e,t,r){var o=Math.max(0,t&&t.rankScore?t.rankScore:n(t&&t.text));return o=Math.min(o,1200),r>=8&&(o=Math.round(o/2)),e+o},0)}function Co(e){return Ae(e),Ce(e),qe(e),Te(e),Ee(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){Hr(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 qo(e,r){var n=[],i=[];return function(e,t){var r=t&&t.cardSelector||["tr","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:"",rankScore:i.length};return a.canonicalKey=re(a.url),a.url=a.canonicalKey,a.card=e,bo(a,e),a}}var l=e.querySelectorAll("tr, 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=po(e,"a[href]"),c=po(e,"h1 a[href], h2 a[href], h3 a[href], h4 a[href]")[0];if(e.matches&&e.matches("a[href]")&&(s=[e]),!c&&!po(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=Nr(r,e,Er());return n&&(!t||n.rankScore>t.rankScore)?r:t},null)),!u&&r&&r.ancestorLink&&(u=e.closest("a[href]"));var d=Nr(u,e,Er());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:"",rankScore:p.length})}return d?(d.domIndex=Array.prototype.indexOf.call(document.querySelectorAll("a[href]"),u),d.canonicalKey=re(d.url),d.url=d.canonicalKey,d.card=zr(u,e),bo(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 To(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||oe(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!$r(e)&&!$r(e.parentElement)}(e))&&(!r.regionFilter||r.regionFilter(e))){var l=qo(e,r).filter(function(e){if(r.cardFilter&&!r.cardFilter(e))return!1;var t=re(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 _o(e,t){if(Ar())return null;var r=To(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+Ao(n)}}function Eo(e){var r=xo(e);Co(r);var n=_o(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=So(r),i=Ao(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||jr(n)||X(n)||Y(n)||Lr(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=ko(r),s=Ao(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 jo(e,r){r=r||{};var o=[];function i(e){e&&-1===o.indexOf(e)&&o.push(e)}i(Qr(e)),function(e){var t=Er(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)&&(Hr(e)||$r(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=Nr(e,r,t);if(n&&!(n.rankScore<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=Gr(),l=a?Eo(a):o.reduce(function(e,t){var r=Eo(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)||Eo(document.body),s=Array.prototype.filter.call(l.root.querySelectorAll("h2, h3, h4"),function(e){return!e.closest("article, li, [class*='card' i], [class*='item' i]")}).length,c=t([location.pathname,document.title,e.title].join(" ")),u=/\b(?:docs?|documentation|api|library|libraries|reference|class|module|namespace|package)\b/i.test(c),d=ne()&&!u&&l.items.length>=10&&t(l.markdown).length>=3e3,m=d?2:0,p=d?s:0,h=Math.max(l.sectionCount||0,p,m);return L(e,{title:e.title||document.title,excerpt:l.items[0]?l.items[0].text:e.excerpt,html:l.root.innerHTML,textContent:l.markdown,markdown:l.markdown,items:l.items,portalRootEvidence:r.portalRoot&&h>=2&&l.items.length>=4?{namedSectionCount:h,canonicalCardCount:l.items.length}:null})}var Lo=null;function $o(){if(Lo)return Lo;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)}}),Lo=e,e}function Po(e){return null==e?"":Array.isArray(e)?Po(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function No(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function zo(e){return Mo(e&&(e.price||e.priceSpecification&&e.priceSpecification.price),e&&(e.priceCurrency||e.priceSpecification&&e.priceSpecification.priceCurrency))}function Mo(e,t){if(e=Po(e).replace(/\s+/g,""),t=Po(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 Ro(e){return a(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function Bo(e,r){var n=$o().find(function(n){return function(e,r,n){var i=Po(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),l=No(e),s=Po(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=No(n),a=n.aggregateRating||n.reviewRating,l=[],s=zo(i),c=Po(i&&i.availability),u=Po(a&&a.ratingValue),d=Po(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),u&&l.push(Ho(u,d)),c&&l.push(Ro(c)),l}function Ho(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function Fo(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&&Sr()&&!c(p))return null;var b=function(e,r,n){if(!e)return"";var o=t(e.textContent||""),i=Bo(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=Mo(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(Ho(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(Ho(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(Ro(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 mo(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:L(e,{excerpt:n[0].text,items:n})}function Oo(){return Mo(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 Io(){var e,r,n,o,i=$o().find(function(e){var t=No(e);return Po(e&&e.name)||zo(t)||Po(e&&e.sku)})||null,a=No(i),l=Po(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=zo(a)||Oo()||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=Mo(a.getAttribute("content")||a.getAttribute("aria-label")||a.textContent,r);if(l)return l}}return""}(s),d=t($("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=V(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=Po(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 $o().length>1&&!f&&!p&&!h||!S||k<2?null:{title:Po(i&&i.name),excerpt:Po(i&&i.description),price:c,availability:Po(a&&a.availability),sku:Po(i&&(i.sku||i.mpn||i.gtin13)||h)}}function Do(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)JobPosting$/i.test(e)})})||null}function Uo(e){if(!Zo(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=mo(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:wr,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 L(e,{excerpt:n[0].text,textContent:i,markdown:i,items:n})}function Zo(e){if(!(e=e||document.body)||Ar())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<wr(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 Wo(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(?:Event|EventReservation|WorkEvent)$/i.test(e)})})}function Go(){var e=Wo();return e.length>1&&Ko()?null:e[0]||null}function Ko(){var e=r(location.pathname||"").toLowerCase(),n=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")).toLowerCase();if(je(/(^|\.)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=Vo().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 Vo(){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=Yo(n)||Yo(l),c=Qo(n)||Qo(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 Jo(e,t){var r=S(e),n=S(t);return r&&n&&r!==n?r+" - "+n:r||n||null}function Xo(e){if(!e)return null;if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(Xo).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 Yo(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 Jo(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 Qo(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 ei(){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 ti(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function ri(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 ni(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):ti(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=ri(e.closest(u)||e.parentElement,d);n[c]=!0,i.push({text:d,url:c,detail:m})}}}}),i.length<a)return null;var d=j({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 oi(e,t){return!0===e||!1!==e&&("function"==typeof e?e(t):je(e))}function ii(e){try{var t=new URL(e,location.href),r=t.hostname===location.hostname||ai(location.hostname)&&ai(t.hostname)||/(^|\.)bing\.com$/i.test(location.hostname)&&/(^|\.)bing\.com$/i.test(t.hostname)||/(^|\.)duckduckgo\.com$/i.test(location.hostname)&&/(^|\.)duckduckgo\.com$/i.test(t.hostname);return!/^https?:$/i.test(t.protocol)||r?null:t.href}catch(e){return null}}function ai(e){return/(^|\.)google\.[a-z]{2,3}(?:\.[a-z]{2})?$/i.test(e)}function li(e,r,n,i,a){n=t(n);var l=i;if(i=function(e){try{var t=new URL(e,location.href);if(u=location.hostname,d=t.hostname,m=u.toLowerCase().replace(/^www\./,""),p=d.toLowerCase().replace(/^www\./,""),/^google\.[a-z]{2,3}(?:\.[a-z]{2})?$/.test(m)&&m===p&&"/url"===t.pathname){var r=t.searchParams.get("q")||t.searchParams.get("url");if(!r)return null;try{r=decodeURIComponent(r)}catch(e){return null}return ii(r)}if(/(^|\.)bing\.com$/i.test(location.hostname)&&/(^|\.)bing\.com$/i.test(t.hostname)&&"/ck/a"===t.pathname){var n=t.searchParams.get("u")||"";if(!/^a1[A-Za-z0-9_-]+={0,2}$/.test(n))return null;var i=n.slice(2).replace(/-/g,"+").replace(/_/g,"/");if(i.length%4==1)return null;i+="=".repeat((4-i.length%4)%4);try{for(var a=atob(i),l="",s=0;s<a.length;s+=1)l+="%"+("0"+a.charCodeAt(s).toString(16)).slice(-2);return ii(decodeURIComponent(l))}catch(e){return null}}if(/(^|\.)duckduckgo\.com$/i.test(location.hostname)&&/(^|\.)duckduckgo\.com$/i.test(t.hostname)&&/^\/l\//.test(t.pathname)){var c=t.searchParams.get("uddg");if(!c)return null;try{c=decodeURIComponent(c)}catch(e){return null}return ii(c)}}catch(e){}var u,d,m,p;return o(e)}(i),a=t(a),i&&n&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more|people also ask|related searches)$/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 si(e){var r,n=(r=location.hostname.toLowerCase(),/(^|\.)google\./.test(r)?"google":/(^|\.)duckduckgo\.com$/.test(r)?"duckduckgo":"bing.com"===r||/\.bing.com$/.test(r)?"bing":"search.brave.com"===r?"brave":"ecosia.org"===r||/\.ecosia.org$/.test(r)?"ecosia":null);if(!n)return null;var o=t(document.body&&document.body.textContent||"");if(fr(e.title||document.title,o||J()||""))return null;if(function(e){return/captcha|verify you are human|unusual traffic|security check|before you continue|enable javascript to continue/i.test(e)}(o))return null;var i=[],a={};return function(e){var t={google:".MjjYud, .g",duckduckgo:"article[data-testid='result'], .result",bing:"li.b_algo, .b_algo",brave:"[data-testid='result'], .snippet, .fdb",ecosia:"article[data-test-id='result'], .result"};return t[e]?document.querySelectorAll(t[e]):[]}(n).forEach(function(e){if(!function(e,r){var n=t([e.getAttribute("aria-label")||"",e.getAttribute("data-text-ad")||"",e.className||""].join(" "));return!!/\b(ad|advert|sponsored|promoted)\b/i.test(n)||!("google"!==r||!e.matches(".uEierd")&&!e.closest(".uEierd"))||!!e.querySelector(".related-question-pair, .related-searches, [data-async-context*='related']")||"duckduckgo"===r&&e.matches(".result--ad, [data-testid='result-ad']")}(e,n)){var r=function(e,t){var r=e.querySelector({google:"h3",duckduckgo:".result__title a, a.result__a, a[data-testid='result-title-a']",bing:"h2 a",brave:"a[data-testid='result-title'], a.result-header, h2 a, h3 a",ecosia:"a.result-title, a[data-test-id='result-title'], h2 a, h3 a"}[t]||"h2 a, h3 a");return r?"A"===r.tagName?r:r.closest("a"):null}(e,n);if(r){var o=ti(r);li(i,a,o,r.getAttribute("href"),function(e,t,r){return ri(e.querySelector({google:".VwiC3b, .yXK7lf, [data-sncf], .IsZvec",duckduckgo:".result__snippet, [data-testid='result-snippet']",bing:".b_caption p",brave:".snippet-description, [data-testid='result-description'], .description",ecosia:".result-snippet, [data-test-id='result-snippet']"}[r]||"")||e,t)}(e,o,n))}}}),i.length?{title:e.title||document.title,byline:null,excerpt:E(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:C(i),markdown:C(i),readerMode:!1,contentType:"search",resultCount:i.length}:function(e){return{title:e.title||document.title,byline:null,excerpt:E(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:"",markdown:"",readerMode:!1,contentType:"search",resultCount:0}}(e)}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(oi(r.condition,e)){var n=ni(e,"function"==typeof r.config?r.config(e):r.config);if(n)return n}}return null}});function ci(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function ui(){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 di(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)&&(!!ui()||(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 mi(e,t){return e&&"interstitial"!==e.contentType&&"product"!==e.contentType&&w(["MedicalWebPage"])?(e.contentType="medical",e):e}function pi(e){var t=ze(e||document.body);return Re(t),Me(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 hi(e){var r=[],i={};function a(e,n){var o=t(n=Ut(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",tr(pi(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",tr(pi(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 fi(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=pi(l),c=Ut(tr(s.innerHTML)),d=k(r.description||e&&e.excerpt),m=c;d&&t(d).length>t(c).length&&(m=d);var p=hi(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=Ut(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 gi(e){var r=t(e.title||""),n=t(e.company||""),o=t(e.location||""),i=Ut(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 yi(e){if(!function(){if(Do())return!0;if(Zo(document.body))return!1;var e=t([location.pathname,document.title,$("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]"])||$("og:site_name","property")||e.siteName,i=u(["[data-testid*='location' i]","[class*='job-location' i]","[class*='location' i]","[class*='office' i]"]),a=ze(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='content' i], [class*='body' i], .job-post, .job-posting, .opening")||r);Re(a),Me(a,"nav, header, footer, aside, form, script, style, noscript, [class*='apply' i], [id*='apply' i]");var l=Ut(tr(a.innerHTML));return gi({title:n||e.title||document.title,company:o,location:i,description:l,html:a.innerHTML})}function bi(e){return function(e){var r,n=Do();return n?gi({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)||yi(e)}function vi(){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 wi(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(wi).filter(Boolean).join(", ")):t("object"!=typeof e?String(e):e.name||e.text||e.description||e.value||""):""}function xi(e){if(!e)return"";if("string"==typeof e)return t(e);if(Array.isArray(e))return t(e.map(xi).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,wi(r.addressCountry)].filter(Boolean).join(", "))||wi(e)}function Si(){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=Mo(i.getAttribute("content")||i.getAttribute("aria-label")||i.textContent,t);if(a)return a}}return""}function ki(e,r){var n=t([location.hostname,location.pathname,document.title,e&&e.title,$("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),Si()&&(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 Ci(e){var r=vi();if(!ki(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=wi(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]),Mo(o&&(o.price||o.minPrice||o.priceSpecification&&o.priceSpecification.price),o&&(o.priceCurrency||o.priceSpecification&&o.priceSpecification.priceCurrency))||Oo()||Si()),s=function(e){var t=e&&(e.aggregateRating||e.reviewRating||e.rating||e.starRating);Array.isArray(t)&&(t=t[0]);var r=wi(t&&(t.ratingValue||t.value)),n=wi(t&&t.bestRating)||"5",o=wi(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=xi(r&&(r.address||r.location)||u(["[itemprop='address']","[data-testid*='address' i]","[class*='address' i]"])),d=function(e,r){var n=wi(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=ze(o);Re(i),Me(i,"nav, header, footer, aside, form, script, style, noscript, button, [role='button']");var a=Ut(tr(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 qi(e){var r=t(e.title||""),n=t(e.dateText||""),o=t(e.location||""),i=Ut(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 Ti(e){if(!function(){if(Ko())return!1;if(Go())return!0;if(Wo().length>1&&Ko())return!1;if(ei())return!1;var e=t([location.hostname,location.pathname,document.title,$("og:type","property")].join(" ")).toLowerCase();if(!/\b(eventbrite|events?|conference|summit|workshop|webinar|meetup|tickets?)\b/.test(e))return!1;if(je(/(^|\.)eventbrite\.com$/)&&/^\/e\//i.test(location.pathname||""))return!0;var r=t(document.body&&document.body.textContent).toLowerCase(),n=0,o=Yo(document.querySelector("main, article, [role='main']")||document.body)||$("startDate","itemprop")||$("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=ze(r);Re(n),Me(n,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i], [class*='modal' i]");var o=ze(r.querySelector("[data-testid*='description' i], [class*='description' i], [class*='about' i], [class*='summary' i], article, section")||r);return Re(o),Me(o,"nav, header, footer, aside, form, script, style, noscript, [class*='ticket' i], [class*='checkout' i]"),qi({title:u(["main h1","article h1","h1"])||e.title||document.title,dateText:Yo(r)||e.publishedTime,location:Qo(r),description:Ut(tr(o.innerHTML))||e.excerpt,siteName:e.siteName,html:n.innerHTML})}function _i(e){return function(e){if(Ko())return null;var t=Go();return t?qi({title:S(t.name)||S(t.title)||e.title||document.title,dateText:Jo(t.startDate,t.endDate),location:Xo(t.location),description:k(t.description)||e.excerpt,siteName:e.siteName,html:"string"==typeof t.description?t.description:""}):null}(e)||Ti(e)}function Ei(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)||zi(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=Ut(tr(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 ji(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 Li(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 $i(){return b().filter(function(e){return v(e).some(function(e){return/(?:^|\/)(SportsEvent|VideoGame)$/i.test(e)})})}function Pi(e){return x(e)||S(e)||""}function Ni(e){return null==e?"":"number"==typeof e?String(e):"string"==typeof e?t(e):Array.isArray(e)?Ni(e[0]):t(e.score||e.result||e.value||e.points||"")}function zi(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===Bi(e).length;var a=Number(i[1]),l=Number(i[2]);return!(!Number.isFinite(a)||!Number.isFinite(l))&&(a<=250&&l<=250)}function Mi(e){return t([location.hostname,location.pathname,document.title,e&&e.title,e&&e.siteName,e&&e.excerpt,$("article:section","property"),$("og:type","property")].join(" ")).toLowerCase()}function Ri(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||"");zi(o)&&!n[o]&&(n[o]=!0,r.push({text:o,node:e}))}}),r}function Bi(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 Hi(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=Bi(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 Fi(e){var r=function(){var e=$i()[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=Pi(t),o=Pi(r),i=Ni(t&&(t.score||t.result||t.points)),l=Ni(r&&(r.score||r.result||r.points));return{title:Pi(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=Ri(n),i=o.map(function(e){return e.text});[document.title,e&&e.title].forEach(function(e){zi(e=t(e))&&-1===i.indexOf(e)&&i.push(e)});var l=Ei(n),s=l.map(function(e){return e.markdown}),c=r&&(r.homeScore||r.awayScore),u=$i().length>0,d=function(e,t,r){for(var n=0;n<(e||[]).length;n+=1){var o=e[n],i=Hi(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(ji(e,i))return!0;var t=a&&Li(a.node);return!!t&&t===Li(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=Mi(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]")||$i().length>0}(e);return(h||u||d)&&(p||/\b(sport|sports|football|soccer|nba|game recap|box score)\b/.test(Mi(e)))?{structured:r,scoreLines:i,tables:s,tableEvidence:l,typed:m,event:m,detail:d}:null}function Oi(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 Ii(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 Di(e){return e&&("sports"===e.contentType||"sports_event"===e.contentType)}function Ui(){return b().find(function(e){return v(e).some(function(e){return/(?:^|\/)PressRelease$/i.test(e)})})||null}function Zi(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 L(e,{title:e.title||document.title,excerpt:r[0].text,textContent:i,markdown:i,items:r})}(e);if(!function(e){if(Ui())return!0;var r=t([document.title,e&&e.title,e&&e.excerpt,e&&e.siteName,$("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=Ui(),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?ze(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;Re(d),On(d),Me(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=Ut(tr(d.innerHTML)),h=t(p||d.textContent||"");return h.length<250?null:(a&&p&&!Et(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 Wi(e){return A(e)||""}function Gi(e){var t=e&&(e.offers||e.offer);Array.isArray(t)&&(t=t[0]);var r=t&&t.priceSpecification;return Mo(t&&(t.price||t.lowPrice||r&&r.price),t&&(t.priceCurrency||r&&r.priceCurrency))}function Ki(e){if(null==e)return null;if(Array.isArray(e))return Ki(e[0]);if("object"==typeof e)return Ki(e.value||e.amount||e.name||e.text);var t=String(e).replace(/,/g,"").match(/\d+(?:\.\d+)?/);return t?Number(t[0]):null}function Vi(e){if(!e)return null;if(Array.isArray(e))return Vi(e[0]);if("object"==typeof e){var r=t(e.unitCode||e.unitText||e.name||"").toLowerCase(),n=Ki(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 Ki(e)}function Ji(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 Xi(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)||Wi(e.address)||Gi(e)})||null,i=t([location.pathname,document.title,r&&r.title,r&&r.excerpt,$("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&&Gi(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=Mo(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&&Wi(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=Ki(o&&(o.numberOfBedrooms||o.bedrooms))||Ji(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=Ki(o&&(o.numberOfBathroomsTotal||o.numberOfBathrooms||o.bathrooms))||Ji(s,[/\b(\d+(?:\.\d+)?)\s*(?:baths?|bathrooms?|ba)\b/i]),f=Vi(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 Yi(e){return t(e||"")||null}function Qi(e,t){if("number"==typeof e)return isFinite(e)&&Math.floor(e)===e?!t&&e<0?null:e:null;var r=Yi(e);if(!r||!/^-?\d+$/.test(r))return null;var n=Number(r);return!isFinite(n)||!t&&n<0?null:n}function ea(e){e.socialKind=null,e.platform=null,e.handle=null,e.replyCount=null,e.community=null,e.score=null}function ta(e){var t=c(e,[function(t,r,n){return[kt(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 ra("stldocs",t);if(/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(o)))return ra("starlight",t);if(/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav"))return ra("mkdocs",t);if(document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname))return ra("readme",t);if(document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']"))return ra("redoc",t);if(/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview"))return ra("fern",t);if(/nextra/.test(o)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container"))return ra("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 ra("next",t);if(/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav"))return ra("vitepress",t);if(/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav"))return ra("rspress",t);if(/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle"))return ra("mdbook",t);if(/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards"))return ra("antora",t);if(/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']"))return ra("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 ra("gitbook",t);if(document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]"))return ra("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 ra("docusaurus",t);if(/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search"))return ra("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?ra("javadoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?ra("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?ra("go_pkg",t):/readthedocs/.test(o)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?ra("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")?ra("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(o)?ra("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(o)&&document.querySelector("[class*='docBody'], article[class*='doc']")?ra("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?ra("generic_docs",t):null}function ra(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function na(e){if(!e)return null;var r=vt(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=vt(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=vt(e,["p","[class*='description']","[class*='summary-description']"]);i&&(i=jt(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 wt(e,"section, div, details",".stldocs-property").forEach(function(e){if(!e.closest(".stldocs-property")){var n=xt(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var o=ia(e).map(function(e){return la(e,0)}).filter(Boolean);o.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:o}))}}}),t}(e),a}function oa(e,t){return xt(e,[t],".stldocs-property")}function ia(e){return wt(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function aa(e){return e=t(e),/^("|').+("|')$/.test(e)}function la(e,r){if(!e)return null;r=r||0;var n=t(oa(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||aa(n)?null:{declaration:n,description:jt(oa(e,".stldocs-property-description, [class*='property-description']"))||null,fields:ia(e).map(function(e){return la(e,r+1)}).filter(Boolean)}}function sa(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"+sa(e.fields,t+" ")),r}).join("\n")}function ca(e,r){if(!(r=r||ta(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=ze(n||document.body);Re(o),bt(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=na(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(oa(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!aa(r)&&!n[r]){var a=jt(oa(e,".stldocs-property-description, [class*='property-description']")),l=ia(e).map(function(e){return la(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=jt(t(s.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=jt(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"+sa(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(sa(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 Nt(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()}),pt(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 ua(e,r){if(!(r=r||ta(e))||"antora"!==r.system)return null;var n=St(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var i=vt(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=xt(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 Nt(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 da(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function ma(e,r){if(!(r=r||ta(e))||"mkdocs"!==r.system)return null;var n="";return Lt(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),Me(e,se+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),pt(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 pa(e,r){return $t(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:da,removeSelectors:se+", .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 yt(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),Me(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 ha(e){var r=kt(e);if(!je(/(^|\.)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 Pt(e,i,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){pt(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 fa(e){var r=kt(e);return je(/(^|\.)docs\.github\.com$/)||/github docs/i.test(r)?Pt(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}()||St(["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()}),pt(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}}):null}function ga(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 ya(e){var r=kt(e);if(!je(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=_("method"),o=Pt(e,St(["#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()}),pt(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\\[['\"]"+Zt(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 ga(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 ba(e){var r=kt(e);if(!je(/(^|\.)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=vt(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=j({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):Lt(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),pt(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}function va(e){var r=kt(e).toLowerCase();if(!je(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=St(["#main","main article","main","article"]);if(!n)return null;var o=vt(n,["p"]),i=Pt(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()}),pt(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),pt(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){ft(e)&&e.remove()})}});if(!i)return null;var a=t(o||i.excerpt);if(a&&-1===i.markdown.indexOf(a)){var l=i.markdown;Et(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 wa(e){var r=kt(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(je(/(^|\.)(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=St(["#bodyContent","#content","#main","main"]);return o?Pt(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()}),pt(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),pt(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("ul, ol, div, section").forEach(function(e){ft(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 xa(e){var t=kt(e).toLowerCase();return je(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?wa(e):null}function Sa(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 ka(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($("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=Sa(["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||Sa(["#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(!je(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!_("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=ka(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=Sa(["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 Ca(e,r){if(r=r||{},!document.body||!ne())return null;if(ie(document))return null;if(Ar())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']")||$r(e.parentElement)||r.length>=6&&r.length<=90&&!oe(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 re(e).replace(/([?&])(?:utm_[^&=]+|fbclid|gclid|dclid|msclkid|mc_cid|mc_eid)=[^&]*&?/gi,"$1").replace(/[?&]$/,"")}(a);if(a&&!r[s]&&!oe(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=ri(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 qa(e){if(ne()){var r=jo(e,{portalRoot:!0});if(r.portalRootEvidence)return r}var n=Ca(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:j({title:o,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:a,textContent:t(a)})}function Ta(e,r){if(!je((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(Pe(e,document))}),i}(r);return n&&n.querySelector("p, figure, blockquote")?(nt(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:He.concat(["[data-piano-offer]"])}),Fe(e,Je(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){Me(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(He,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 _a(e,t,r){return!0===e||!1!==e&&("function"==typeof e?e(t):je(e,r))}function Ea(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&&_a(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&&_a(l.condition,e,r)){var s=l.fn(e,t);if(s)return s}}return null}function ja(e){var r=kt(e);if(!je(/(^|\.)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?j({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 La(e,n){var o=kt(e);if(!je(/(^|\.)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 $a(e,r){var n=kt(e);if(!je(/(^|\.)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=ri(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?j({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 Pa(e){if(!je(/(^|\.)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:L(e,{title:e.title||document.title,excerpt:n[0].text,items:n})}function Na(e){if(!je(/(^|\.)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 za(e){var r=kt(e);if(!je(/(^|\.)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 L(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 Ma(e){var r=kt(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=ri(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:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:i})}function Ra(e){var t=kt(e);if(!je(/(^|\.)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=ti(e),a=o(t),l=ri(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:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}function Ba(e){var t=kt(e);if(!je(/(^|\.)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=ti(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),i=o(e.getAttribute("href")),a=ri(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:j({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 Ha(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function Fa(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=ze(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()}),Re(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)}Re(a);var c=Ut(tr(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 Oa(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 Ia(e){return Ha(e||[])}function Da(e,r){if(r.signalSelectors&&!Ha(r.signalSelectors))return null;var n=Ia(r.abstractSelectors),o=Ia(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=Oa(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:Fa({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 Ua={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(Oa(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 Za(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)?Fa({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 Wa(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=Un(),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,""),Fa({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))})}),Ut(e.join("\n").trim())},minTextLength:300})}function Ga(e){return Da(e,Ua.highwire)}function Ka(e){return Da(e,Ua.elsevier)}function Va(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)}),Fa({metadata:e,abstractRoot:l,title:a,excerpt:i.text,details:d,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}function Ja(e){var r=document.querySelector("blockquote.abstract"),n=je(/(^|\.)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 Xa(e){return Da(e,Ua.generic)}function Ya(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 Qa(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?Fe(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 el(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 tl(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=Fe(e,l,{title:c&&0===c.toLowerCase().indexOf(i.toLowerCase())?c:el(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 rl(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 nl(){var e={},r=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(n){if(rl(n)){var o=V(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=V(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=V(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 ol(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=nl(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(rl(t)){var r=V(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=V(e,["strong"]),r=V(e,[".whitespace-pre-wrap","p"]),o=V(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=Ut(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:L(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 il(e,r,i){if(i=i||{},!r||n(r)<(i.minText||200))return null;var a=i.preserveContentNav?Pe(r,document):ze(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)}),Re(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=tr(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&&!Et(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 al(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 ll(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 sl(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=ll(e,t);i&&(r=i.text+"|"+(i.url||""),n[r]||(n[r]=!0,o.push(i)))}}),o}function cl(e,r,n){if(n=n||{},!r)return null;if("list"===n.contentType){var o,i=sl(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),L(e,{title:o,excerpt:e.excerpt,items:i,html:ze(r).innerHTML,textContent:o+"\n"+C(i)}))}return il(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=ll(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),Me(e,ce+", [class*='breadcrumb' i], [class*='social' i], [class*='share' i], [class*='embed' i], [class*='newsletter' i], form"),n.strip&&n.strip(e)}})}function ul(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:al,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=sl(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?cl(e,r.root,r.config):null}function dl(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:cl(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){Me(e,ce+", .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 ml(e){return!!document.querySelector(e)}function pl(){return ml("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 hl(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 fl(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=ze(n);Re(l);var s=tr(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 gl(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||pl()?{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']")||ml(".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")||ml(".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']")||ml(".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)||ml("#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 yl(e){var r=gl(e);return r&&hl(r)?fl(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 bl(e){return e&&e.querySelector("[data-testid='comment-body'], .comment-body, .js-comment-body, .markdown-body[itemprop='text'], [itemprop='text']")}function vl(e){var r=e&&e.querySelector("a.author, [data-testid='comment-author'], a[data-hovercard-type='user']");return t(r&&r.textContent||"").replace(/^@/,"")}function wl(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 xl(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 Sl(e){var r=bl(e);if(!r||!t(r.textContent))return"";var n=ze(r);return Me(n,".js-comment-actions, .timeline-comment-actions, .reaction-summary-item, [aria-label='Add reaction']"),Ut(tr(n.innerHTML))}function kl(e){var r=function(){if(!je(/(^|\.)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(bl(t[r])&&vl(t[r]))return t[r];return null}(n),i=Sl(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=vl(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=Sl(e);if(o){var i=vl(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(bl(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:wl(n),community:r.community,score:xl(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,$("description","name"),$("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 Cl(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 ql(e){var r=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!r||!so(r,r.textContent||""))return null;var n=ze(r),o=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),i=document.createElement("h1");i.textContent=o,n.insertBefore(i,n.firstChild),Re(n);var a=Ut(tr(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 Tl(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?Ke(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 _l(){return Cl(document,"Publication Date")||u(["#metadata_content_area .metadata a[href*='/documents/']"])}function El(){return Cl(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 jl(e){if(!je(/(^|\.)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=Cl(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)?Ke(e,i,{title:r,byline:El,publishedTime:_l,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 Ll(e){if(!je(/(^|\.)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 Ke(e,r,{title:u([".gem-c-heading__text","main h1","h1"])||e.title||document.title,byline:function(){return Cl(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 $l(e){if(!je(/(^|\.)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:Ke(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 Pl(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=Fn({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 Nl(e){var r=document,n=r.querySelector("#container, #paddingLR12");if(!n||!Pl(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&&Pl(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 Ke(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 zl(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=Fn({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:Ke(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 Ml(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:Fe(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 Rl(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var r=je(/(^|\.)wikipedia\.org$/),n=je(/(^|\.)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?Fe(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 Bl(e){if(!je(/(^|\.)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?Fe(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 Hl(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=ze(o);Re(a),i=tr(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=ze(i);Re(l),a=tr(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:Fl(r),community:Il(e),score:Ol(r)}}function Fl(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 Ol(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 Il(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 Dl(e){return"/item"===(location.pathname||"")&&_("id")&&document.querySelector("tr.athing .titleline, table.comment-tree tr.comtr .commtext")?function(e){var r=Ul(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?tr(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(tr(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(Ul).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 Ul(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 Zl(){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 Wl(){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 Gl(e){return e.map(function(e){var t=ze(e);return t?(Re(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 Kl(e){var r=function(e){var r=e.querySelector(".status__content__text, .status__content")||e,n=ze(r);if(n){Re(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=tr(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:V(e,[".detailed-status__display-name",".status__display-name",".display-name"]),time:V(e,["time"]),body:r,node:e}}function Vl(e){if(!/^\/@[^/]+\/\d+\/?$/i.test(location.pathname||""))return null;var r=Wl().map(Kl).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:Gl([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:Zl()||null,replyCount:o.length||null,hostAware:!0}}function Jl(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=Vl(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?"":Zl(),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 Wl().forEach(function(n){var o=Kl(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:Gl([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 Xl(e,r){if(!je(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(je(/(^|\.)telegra\.ph$/)){var o=document.querySelector("article, .tl_article");if(o){var i=ze(o);if(i){pt(i,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=tr(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(je(/(^|\.)telegram\.org$/))return null;var l=je(/(^|\.)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=ze(e.querySelector(".tgme_widget_message_text, .js-message_text")),a=i?tr(i.innerHTML)||t(i.textContent):"";if(!t(a))return null;var l=e.querySelector(".tgme_widget_message_date time, time");return{post:r,author:V(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=ze(k);if(A){pt(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=tr(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 Yl(e){return Ql(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=tr(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:es()}:null}(e):function(e){return!!ts()&&(!Ql(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=ri(e,l);n.push({text:l,url:a,detail:c})}}}}),n.length<3)return null;var a=j({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=es(),a}(e):null}function Ql(e){return!!ts()&&(!!document.querySelector(".post-stream, .topic-post, article[data-post-id]")&&!!document.querySelector(".fancy-title, #topic-title h1, .topic-title h1"))}function es(){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 ts(){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 rs(e){var r=t(e||"");return/^-?\d[\d,]*$/.test(r)?Number(r.replace(/,/g,"")):null}function ns(){var e=(location.pathname||"").split("/").filter(Boolean);return"r"===e[0]&&/^[\w-]+$/.test(e[1]||"")?"r/"+e[1]:null}function os(e,r){if(!je(/(^|\.)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=rs(r.getAttribute("comment-count")),s=rs(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?ns():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 is(e){if(!je(/(^|\.)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=as(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=as(e.querySelector(".js-post-body, .s-prose[itemprop='text'], [itemprop='text']"));if(t){var r=ls(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:ss(r),community:"Stack Overflow",score:ls(r)}}function as(e){if(!e)return"";var t=ze(e);return Me(t,".js-post-menu, .post-menu, .comments, .js-comments-container, .js-add-link, .dno, [aria-hidden='true']"),Ut(tr(t.innerHTML))}function ls(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 ss(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 cs(e,n){if(!je(/(^|\.)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:ri(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 us(e,n){if(!je(/(^|\.)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 ds(e){var r=kt(e);if(!je(/(^|\.)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 ms(e,r){var n=e.querySelector(r);return n?t(n.getAttribute("datetime")||n.textContent||""):""}function ps(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=ms(e,".body, .description, .excerpt, p");if(!i||!n||!/^https:\/\/wykop\.pl\/(?:link|wpis)\//.test(n))return null;var l=[],s=ms(e,".author, [rel='author'], [data-author]"),c=ms(e,"time"),u=ms(e,".score, [data-score]"),d=ms(e,".reply-count, .comment-counter, [data-replies]"),m=ms(e,".tag, .category, [data-category]"),p=ms(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:re(n),detail:l.join(" - ")}}(e);r&&!a[r.key]&&(a[r.key]=!0,l.push(r))}),l.length<3)return null;var s=(n?ms(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 hs(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 fs(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 gs(e,n){if(!je(/(^|\.)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=fs("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=fs("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 ys(e,n){if(!je(/(^|\.)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=fs("[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(Zt(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 bs(e,r){if(!je(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",o=e.excerpt||"",i=e.image||"",a=fs("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 vs(e,r){if(!je(/(^|\.)(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 Z="";F&&(Z+="[Pinned] "),O&&h&&O!==h&&(Z+="RT @"+O+": "),Z+=R,D&&(Z+=" ("+D+")"),U.length&&(Z+=" ["+U.join(", ")+"]"),$.push(Z)}}}var W=[];f&&W.push("Handle: "+f),k&&W.push("Followers: "+hs(k)),A&&W.push("Following: "+hs(A)),C&&W.push("Posts: "+hs(C)),v&&W.push("Location: "+v),w&&W.push("Website: "+w),S&&W.push(S),x&&W.push(x),E&&W.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:W,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 ws(e,r){if(!je(/(^|\.)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]),(W=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(d=t(W[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(Zt(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(Zt(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 Z=n.match(/([\d,.]+\+?)\s+connections?/i);Z&&(F=Z[1]);var W,G=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);G&&(B=t(G[1])),(W=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(O=t(W[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 xs(e,r){if(!je(/(^|\.)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: "+hs(h,!0)),f&&U.push("Following: "+hs(f,!0)),b&&U.push("Posts: "+b),A&&U.push("Image: "+A);var Z=[];if(d&&Z.push(d),q.length&&Z.push("## Recent Posts\n\n"+q.join("\n\n")),!u&&!d&&!q.length)return null;var W=T({title:u||m||"Bluesky Profile",description:Z.join("\n\n"),details:U,siteName:"Bluesky",hostAware:!0,contentType:"article"});return W.contentType="social",W.socialKind="profile",W.platform="Bluesky",W.handle=m||null,W}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 Ss(e){if(!je(/(^|\.)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")?Fe(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 ks(e){if(!je(/(^|\.)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 Fe(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(!je(/(^|\.)(komputerswiat\.pl|onet\.pl|medonet\.pl)$/)&&!je(/(^|\.)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(Cs(a)),!a&&e.excerpt){var h=document.createElement("p");h.textContent=e.excerpt,n.appendChild(h)}if(s&&n.appendChild(Cs(s)),!s&&d){var f=document.createElement("p");f.textContent=d,n.appendChild(f)}var g=a?qs(Cs(a)):e.excerpt||"",y=s?qs(Cs(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),Ts(b,g),Ts(b,y);var v=Ut(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 Cs(e){var r=Pe(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(en(r)))&&e.remove()}),Array.prototype.forEach.call(r.querySelectorAll("h2, h3, h4, p, div, section, aside"),function(e){var n=en(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 qs(e){return Ut(tr(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 Ts(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 _s={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 Es(e){if("wp.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=_o(document.body,_s);return t?L(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}var js={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_']")&&!$s(e)})},fallbackHeadingBuilder:function(e){return e.matches("div[class*='DynamicRightFeed_']")?"More from Onet":""},cardFilter:function(e){var t=e.card;return!$s(t)&&!/(ad|advert|sponsor|promo|utility)/i.test(t.className||"")},regionFilter:function(e){return!$s(e)}};function Ls(e){if("onet.pl"!==(location.hostname||"").replace(/^www\./i,"")||"/"!==location.pathname)return null;var t=_o(document.body,js);return t?L(e,{title:e&&e.title,excerpt:e&&e.excerpt,markdown:t.markdown,textContent:t.markdown,items:t.items,hostAware:!0}):null}function $s(e){return!!e.closest("aside, nav, header, footer, [role='navigation'], [role='complementary'], [role='banner'], [role='contentinfo']")}registerHostAwareProfile(!0,Ml),registerHostAwareProfile(!0,ja),registerHostAwareProfile(!0,La),registerHostAwareProfile(!0,$a),registerHostAwareProfile(!0,ds),registerHostAwareProfile(!0,As),registerHostAwareProfile(!0,ka),registerHostAwareProfile(!0,Aa),registerHostAwareProfile(!0,Pa),registerHostAwareProfile(!0,Na),registerHostAwareProfile(!0,Ba),registerHostAwareProfile(!0,Ra),registerHostAwareProfile(!0,Ma),registerHostAwareProfile(!0,qa),registerHostAwareProfile(["wp.pl"],Es),registerHostAwareProfile(["onet.pl"],Ls),registerHostAwareProfile(!0,Ss),registerHostAwareProfile(!0,za),registerHostAwareProfile(!0,Ga),registerHostAwareProfile(!0,Za),registerHostAwareProfile(!0,Wa),registerHostAwareProfile(!0,Ka),registerHostAwareProfile(!0,Va),registerHostAwareProfile(!0,Ja),registerHostAwareProfile(!0,Xa),registerHostAwareProfile(!0,function(e){return Ze(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(ze(s)),i.forEach(function(e){var t=ze(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()}),Re(t),a.appendChild(t)}),Ke(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)?Ke(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||""))?Ke(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=ze(e).innerHTML,n.appendChild(r)}}),t(n.textContent||"").length>o.textContent.length&&u.appendChild(n)}}),Ke(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,Ya(i,"Classification",a),Ya(i,"Organism(s)",a),Ya(i,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),Ya(i,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),Ya(i,"Deposited",a),Ya(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=Ya(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)?Ke(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,ks),registerHostAwareProfile(!0,Qa),registerHostAwareProfile(!0,tl),registerHostAwareProfile(!0,ol),registerHostAwareProfile(!0,jl),registerHostAwareProfile(!0,Ll),registerHostAwareProfile(!0,$l),registerHostAwareProfile(!0,zl),registerHostAwareProfile(!0,ql),registerHostAwareProfile(!0,Nl),registerHostAwareProfile(!0,Tl),registerHostAwareProfile(/(^|\.)sec\.gov$/i,function(e){if(!je(/(^|\.)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?Ke(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"))?il(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")?il(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(" "))?il(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(Pe(a,document)),s.appendChild(Pe(i,document)),s.appendChild(Pe(o,document));var c=l.querySelector("#working-group-details");if(c){var u=Pe(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return il(e,s,{minText:250,title:t([r.textContent,n.textContent].join(" - ")),strip:function(e){Me(e,ce+", 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?il(e,o.root,{docsLike:!0,minText:400,titleRoot:o.root,strip:function(e){Me(e,ce+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||dl(e)||ul(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=ri(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 L(e,{title:i,excerpt:e.excerpt,items:n.items,html:ze(n.root).innerHTML,textContent:i+"\n"+C(n.items)})}(e)}),registerHostAwareProfile(/(^|\.)wykop\.pl$/i,ps),registerHostAwareProfile(!0,function(e){return function(e){var r=kt(e);return(je(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?Lt(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=kt(e);return(je(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?Lt(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)||ha(e)||function(e){var r=kt(e);return je(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?Lt(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=kt(e);return(je(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?Lt(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)||fa(e)||function(e){var t=kt(e);return je(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?Lt(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()}),pt(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=jt(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=kt(e);return je(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?Lt(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()}),pt(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=kt(e);return je(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?Lt(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()}),pt(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)||ya(e)||ba(e)}),registerHostAwareProfile(!0,va),registerHostAwareProfile(!0,wa),registerHostAwareProfile(!0,xa),registerHostAwareProfile(!0,yl),registerHostAwareProfile(/(^|\.)github\.com$/,kl),registerHostAwareProfile(!0,function(e){var r=ta(e);return ca(e,r)||function(e,r){if(!(r=r||ta(e))||"rustdoc"!==r.system)return null;var n=St(["main",".rustdoc","body"]);return Pt(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 Wt(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]*?"+Zt(n)+"\\n```","g");e=[(e=e.replace(o,"")).trim(),Gt("",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()}),pt(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()}),pt(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||ta(e))&&"javadoc"===t.system?Lt(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()}),pt(e,"a, button, span",/^(skip navigation|search|module|package|class|use|tree|deprecated|index|help)$/i),qt(e)}}):null}(e,r)||function(e,r){if(!(r=r||ta(e))||"dartdoc"!==r.system)return null;var n=gt(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=Ut(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||ta(e))||"go_pkg"!==t.system)return null;var r=St(["#main-content","main","body"]);return Pt(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()}),pt(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||ta(e))||"google_devsite"!==r.system)return null;var n,o=St(["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 Nt(e,o,{title:(n=u(["devsite-content h1","article h1","main h1"])||e.title||document.title,gt((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()}),pt(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),qt(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||ta(e))&&"elastic_docs"===r.system?Nt(e,St(["main article","main [class*='docBody']","article","main"]),{title:gt(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()}),pt(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),qt(e)}}):null}(e,r)||function(e,r){return(r=r||ta(e))&&"readme"===r.system?Nt(e,St(/\/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:gt(u(["article h1",".rm-Article h1","main h1","h1"])||da(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()}),pt(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()}),qt(e)}}):null}(e,r)||function(e,r){return(r=r||ta(e))&&"redoc"===r.system?Nt(e,St([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),{title:gt(u([".api-content h1",".redoc-wrap h1","main h1","h1"])||da(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),pt(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),Vt(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=gt(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}}):null}(e,r)||function(e,r){return(r=r||ta(e))&&"mintlify"===r.system?Lt(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:da,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}Me(e,se+", .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"),pt(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()}),qt(e)}}):null}(e,r)||function(e,t){return(t=t||ta(e))&&"gitbook"===t.system?Nt(e,St(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]),{title:gt(u(["main header h1","main h1","h1"])||da(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){Me(e,se+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),pt(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),qt(e)}}):null}(e,r)||function(e,t){return(t=t||ta(e))&&"scalar"===t.system?Nt(e,St([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]),{title:gt(u([".scalar-api-reference h1","main h1","h1"])||da(e)),focusFragment:!1,rewriteRoot:function(e){Me(e,se+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),pt(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),qt(e)}}):null}(e,r)||function(e,t){return $t(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:da,removeSelectors:se+", #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 $t(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:da,removeSelectors:se+", 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 yt(e,t)?"list":"article"}})}(e,r)||function(e,r){return(r=r||ta(e))&&"nextra"===r.system?Lt(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:da,contentType:yt(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)}}),Me(e,se+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),pt(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()}),qt(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)||pa(e,r)||function(e,r){return $t(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:se+", .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 $t(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:se+", .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 gt(e).replace(/^#\s*/,"")}})}(e,r)||ma(e,r)||function(e,r){return $t(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:se+", #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)||ua(e,r)||function(e,r){return $t(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 yt(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=gt(e.textContent),t(e.textContent)===t(r)){if(n)return void e.remove();n=!0}})}})}(e,r)||function(e,t){return $t(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 yt(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=gt(e.textContent),e.replaceWith(t)})}})}(e,r)}),registerHostAwareProfile(!0,Bl),registerHostAwareProfile(!0,Rl),registerHostAwareProfile(!0,Hl),registerHostAwareProfile(/^news\.ycombinator\.com$/i,Dl),registerHostAwareProfile(!0,Jl),registerHostAwareProfile(!0,Yl),registerHostAwareProfile(!0,os),registerHostAwareProfile(/(^|\.)stackoverflow\.com$/,is),registerHostAwareProfile(!0,cs),registerHostAwareProfile(!0,gs),registerHostAwareProfile(!0,ys),registerHostAwareProfile(!0,Xl),registerHostAwareProfile(!0,vs),registerHostAwareProfile(!0,bs),registerHostAwareProfile(!0,ws),registerHostAwareProfile(!0,xs),registerHostAwareProfile(!0,us),registerHostAwareProfile(!0,function(e){return je(/(^|\.)english\.news\.cn$/i)&&/\/weekly\.htm$/i.test(location.pathname||"")?ni(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}),mt({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"]}),mt({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(!je(/(^|\.)walla\.co\.il$/))return null;var t=document.querySelector("main article.common-item, article.common-item, section.item-main-content");return t?Fe(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){Me(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}),mt({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(!je(/(^|\.)chosun\.com$/))return null;var r=document.querySelector("main")||document.querySelector("article")||document.querySelector("main article");return r&&r.querySelector("p, figure, blockquote")?(nt(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(", ")}),Fe(e,r,{title:u(["article h1","main h1","h1"])||e.title,byline:u([".byline","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){Me(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(!je(/(^|\.)dinakaran\.com$/i))return null;var r=document.querySelector(".post-description")||document.querySelector(".article-main");return r?Fe(e,r,{title:e.title,byline:null,minTextLength:250,rewriteRoot:function(e){Me(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 je(/(^|\.)20minutos\.es$/i)&&/-directo-/i.test(location.pathname||"")&&document.querySelector("article.c-detail--mam__minute-container")?et(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 Ps=dt({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,Ps);var Ns=dt({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,Ns),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?Fe(e,r,{titleSelectors:["article h1",".item-page h1","h1"],minTextLength:180,rewriteRoot:function(e){Me(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?Fe(e,t,{titleSelectors:["article h1",".node__title","h1"],minTextLength:180,rewriteRoot:function(e){Me(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 zs=dt({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,zs);var Ms=["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 Rs(e){var r=location.pathname||"",n=t(Hs(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 Bs(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 Hs(e){var r=document.querySelector("#firstHeading, .firstHeading");if(r){var n=ze(r);Bs(n);var o=t(n.textContent||"");if(o)return o}return t(e&&e.title||document.title).replace(/\s*[-|–]\s*MediaWiki.*$/i,"")}function Rl(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=Hs(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=ze(o);Bs(i),i.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()});var a=Rs(e)?tr(i.innerHTML):t(i.textContent||"");return t(a).length<30?null:(n&&!Et(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:Rs(e)?"list":"article",singleTopicPage:!Rs(e),hostAware:!0})}registerHostAwareProfile(!0,function(e){return document.querySelector(Ms.join(", "))?Ze(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")?Ze(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,Rl);var Fs=["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]"],Os=[{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 Ve({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||"")+" "))})}}],Is=/(^|\.)(daryo\.uz|hatena\.blog|trend\.az)$/;registerHostAwareProfile(!0,function(e){var t=function(){for(var e=location.hostname||"",t=0;t<Os.length;t+=1){var r=Os[t];if(at(r.hostPattern,e))return r}return null}();return t?Ze(e,t):je(Is)?null:function(){if(document.querySelector(Fs.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}()?Ze(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 Ds=dt({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,Ds);var Us=dt({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,Us),mt({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(!je(/(^|\.)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")?Fe(e,t,{title:u([".post-detail-title h1","h1"])||e&&e.title,minTextLength:250,prependTitle:!1,cleanupRoot:!1,cleanupMarkdown:!1,rewriteRoot:function(e){Me(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}),mt({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(!je(/(^|\.)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?Fe(e,t,{title:u(["h1",".title"])||e.title,publishedTime:null,minTextLength:180,rewriteRoot:function(e){Me(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 Zs=dt({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,Zs),hostAwareProfiles.unshift(hostAwareProfiles.pop());var Ws=dt({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,Ws),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)almasryalyoum\.com$/))return null;if(ne())return null;if(!/\/news\/details\/\d+\/?$/i.test(location.pathname||""))return null;var t=Ve({scopeSelectors:[".masry-article-details"],titleSelectors:[".article-title","h1"],captionSelectors:[".article-main-img"],bodySelectors:[".article-details.update-font",".article-details"],minTextLength:250});return t?Fe(e,t,{minTextLength:250,extra:{docsLike:!0},rewriteRoot:function(e){Me(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}),mt({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 Gs=dt({hostPattern:/(^|\.)kalerkantho\.com$/,homepagePath:/^\/?$/,body:function(){var e=document.querySelector(".col-12[class*='articleArea']")||document.querySelector("[class*='articleArea']");if(Ks(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(Ks(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 Ks(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 Vs(e){return Ze(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,Gs);var Js=rn;function Xs(){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 Ys(e){Me(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 Qs(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 ec(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/"@type"\s*:\s*"LiveBlogPosting"/i.test(e.textContent||"")&&e.remove()})}function tc(e){return!!e.querySelector(".post-content h2, .post-content h3, script[type='application/ld+json']")}function rc(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var t=e.textContent||"";/LiveBlogPosting|liveBlogUpdate/i.test(t)&&e.remove()})}function nc(){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(Pe(r,document))}),n.forEach(function(e){t(e.textContent||"").length>=60&&o.appendChild(Pe(e,document))}),t(o.textContent||"").length>=250?o:null}function oc(){return{pathAllowed:ne,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 ic(){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?Je(document.querySelector("[data-component-1='body'].ids-paragraph--lead")||document.querySelector(".lead-text")||document.querySelector("article header [data-component-1='body']"),e):null}function ac(){return{pathAllowed:ne,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 lc(){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(sc(n))return n}var o=Array.prototype.slice.call(document.querySelectorAll("main article, article")),i=null,a=0;return o.forEach(function(e){if(sc(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 sc(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<220)&&!(e.querySelectorAll("p").length<1)))}function cc(){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 uc(){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 dc(){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 mc(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 pc(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 hc(){return Ve({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 fc(){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")}rn=function(){return Vs()?[]:Js()},registerHostAwareProfile(!0,Vs),registerHostAwareProfile(!0,function(e){return je(/(^|\.)jang\.com\.pk$/)?function(e){return/^\/liveblog\//i.test(location.pathname||"")?et(e,{selectedEntry:Xs,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:Ys}):null}(e)||function(e){var t=document.querySelector(".story-content, .news-detail, .article-body, div.nn-article-body, .detail_view_content, .description");return t?Fe(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:Ys}):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)skynewsarabia\.com$/)||ne()||!document.querySelector(".article-content .article-body, .article-body, [itemprop='articleBody']"))return null;var r=Ve({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?Fe(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:Qs(e),minTextLength:250,rewriteRoot:function(e){Me(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 je(/(^|\.)milliyet\.com\.tr$/)&&(/\/live-/i.test(location.pathname||"")||document.querySelector("section.news-detail-content.live-content"))&&document.querySelector("section.news-detail-content.live-content")?et(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:ec,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 je(/(^|\.)yle\.fi$/)&&/^\/a\/\d+(?:-\d+)+\/\d+(?:-\d+)+\/?$/i.test(location.pathname||"")?et(e,{entrySelector:"article.post-container",entryMatcher:tc,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:rc,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){pt(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(!je(/(^|\.)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(Pe(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(Pe(r,document)),!0)}),n.appendChild(Pe(r,document)),Fe(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){Me(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(!je(/(^|\.)sabah\.com\.tr$/)||!nc())return null;var r=nc();return r?Fe(e,r,{title:u([".contentFrame .pageTitle",".contentFrame h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){Me(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$/,oc),registerHostAwareProfile(!0,function(e){return je(/(^|\.)sozcu\.com\.tr$/)?function(e){return ni(e,oc())}(e):null}),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)interia\.pl$/)||!ic())return null;var r=ic();return r?Fe(e,r,{title:u(["article h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){Me(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(!je(/(^|\.)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?(nt(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]"]}),Fe(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){Me(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$/,ac),registerHostAwareProfile(!0,function(e){return je(/(^|\.)blic\.rs$/)?(e&&(e.language=""),function(e){return ni(e,ac())}(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?Fe(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){Me(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(!je(/(^|\.)tempo\.co$/)||/^\/?$/i.test(location.pathname||"")||!lc())return null;var r=lc();return r?Fe(e,r,{title:u([".title-article","main h1","article h1","h1"])||e.title,minTextLength:220,rewriteRoot:function(e){Me(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 Ta(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(!je(/(^|\.)(?:elmundo|expansion|sport)\.es$/))return null;if(!ne())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:ri(e,l)}))}}}}),n.length<4?null:j({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n})}(e)}),registerHostAwareProfile(!0,function(e){return Ta(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$/,cc),registerHostAwareProfile(!0,function(e){return je(/(^|\.)faz\.net$/)?function(e){return ni(e,cc())}(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;Me(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),Fe(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){Me(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(!je(/(^|\.)wyborcza\.pl$/)&&!je(/(^|\.)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(!uc())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(Pe(o,document)),n.appendChild(Pe(r,document)),Fe(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:uc()}},rewriteRoot:function(e){Me(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(!je(/(^|\.)index\.hu$/)||!/^\/mindekozben\/poszt\//i.test(location.pathname||"")&&!/(\/\d{4}\/\d{2}\/\d{2}\/|\.html(?:$|[?#]))/i.test(location.pathname||"")||!dc())return null;var r=dc();return r?Fe(e,r,{title:mc(e),byline:u([".current-post .author",".current-post [class*='author' i]","[class*='szerzo' i]"])||e.byline,minTextLength:180,publishedTime:pc(e),rewriteRoot:function(e){Me(e,[".new-posts",".next-post",".previous-post",".related",".ajanlo",".share",".social",".comments",".comment","[class*='advert' i]","[class*='hirdet' i]","[id*='ad' i]"].join(", ")),Me(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(!je(/(^|\.)root\.cz$/)||!/^\/clanky\//i.test(location.pathname||"")||!hc())return null;var r=hc();return r?(e&&(e.language=""),Fe(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){Me(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(!je(/(^|\.)abril\.com\.br$/)||/^\/?$/i.test(location.pathname||"")||!fc())return null;var r=fc();return r?(nt(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:He.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),Fe(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){Me(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 gc=dt({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 yc(){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 bc(){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 vc(){return document.querySelector("article.article-content")||document.querySelector(".article-content")||document.querySelector("article.article")||document.querySelector(".content-body")||document.querySelector("#articleContent")}function wc(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 xc(e,t){return V(e,[".story__title","h1.title","h1"])||t&&t.title}function Sc(e){return V(e,[".story__user-link"])}function kc(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 Cc(){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 qc(){return document.querySelector(".c-news__body")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']")||document.querySelector("div[data-tda][data-news-content-text]")}function Tc(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 _c(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 Ec(e){var t=e&&!1!==e.reader_mode?Xn():null;return t&&(t=Vn(t,Un())),t||(t=Un()),t}function jc(e,r,n,o,i){-1!==r.indexOf(n)&&(o&&t(i||e.markdown||e.textContent||"").length>=o||(e.contentType="interstitial"))}function Lc(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,Re(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=Ut(e.markdown||tr(c||e.html)),d=t(e.textContent||""),m=t(u);!m&&d.length>40&&(u=Ut(tr(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=Ut(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 Et(u,g)||(u="# "+g+"\n\n"+u)}if(u=Ut(u),/^(article|podcast)$/i.test(e.contentType||"")&&!/\btranscript\b/i.test(u)){var j=hi(document.body||document);j&&(u=Ut([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||Ar(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<wr(n)||n.length>280||qr(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=io(e,{strongList:!0})),"article"!==e.contentType||i||e.hostAware||e.docsLike||e.legalProvision||!Or(u,e)||(e=io(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=Fn({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"),lo(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=En(r,e,u,n,o);e.spaDataGuard&&-1===P.indexOf("spa_data_traversal_guard")&&P.push("spa_data_traversal_guard");var N=t(u);gr(g||r.title,N,{maxTextLength:1800,checkStructured:!0})&&-1===P.indexOf("not_found_interstitial")&&P.push("not_found_interstitial"),gr(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(" "));gr(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"),jc(e,P,"not_found_interstitial"),jc(e,P,"consent_interstitial",500,u),jc(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",ea(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=qn(r,e,u),F=null;bn()&&(F=-1!==P.indexOf("subscription_interstitial")?"full_block":"detected"),"interstitial"===e.contentType&&ea(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:"list"===e.contentType?e.publishedTime||null: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,gc),registerHostAwareProfile(!0,function(e){if(!je(/(^|\.)ameblo\.jp$/)||!/\/entry-\d+\.html(?:$|[?#])/i.test(location.pathname||"")||!yc())return null;var r=yc();return r?Fe(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){Me(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(!je(/(^|\.)dnevnik\.bg$/)||ne()||!bc())return null;var r=bc();if(!r)return null;var n=Fe(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){Me(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,nt(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(!je(/(^|\.)segmentfault\.com$/)||!/^\/a\/\d+/.test(location.pathname||"")||!vc())return null;var t=vc();return t?Fe(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(!je(/^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(Pe(r,document));var n=e.closest(".card-wrap")||e.parentElement,o=document.createElement("section");if(o.appendChild(Pe(e,document)),n){var i=n.querySelector(".weibo-media, .weibo-media-wraps, .card-video, video, .m-auto-list");i&&o.appendChild(Pe(i,document))}return t.appendChild(o),t}(r);if(!n)return null;var o=Fe(e,n,{title:wc(n,e),byline:u([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"])||e.byline,minTextLength:40,rewriteRoot:function(e){Me(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(!je(/(^|\.)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=xc(e,r);if(a){var l=document.createElement("h1");l.textContent=a,i.appendChild(l)}var s=t([Sc(e),V(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(Pe(n,document));var u=e.querySelector(".story__tags");u&&i.appendChild(Pe(u,document));return i}(r,e);if(!n)return null;var i=Fe(e,n,{title:xc(r,e),byline:Sc(r)||e.byline,minTextLength:60,rewriteRoot:function(e){Me(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=Sc(r),i):null}),registerHostAwareProfile(!0,function(e){if(!(je(/(^|\.)corriere\.it$/)||je(/(^|\.)gazzetta\.it$/)||je(/(^|\.)lastampa\.it$/))||ne()||!Ac())return null;var r=Ac();return r?Fe(e,r,{title:kc(e,r),byline:u([".author-art .writer",".author-art",".byline","[rel='author']","[itemprop='author']"])||e.byline,minTextLength:300,rewriteRoot:function(e){Me(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(!je(/(^|\.)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))&&nt(o,e,{minBodyTextLength:350,minParagraphCount:3,paragraphMinLength:60,removalSelectors:He.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}),Fe(e,Je(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){Me(e,He.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(!(je(/(^|\.)idnes\.cz$/)||je(/(^|\.)lidovky\.cz$/)||je(/(^|\.)blaze\.cz$/)||je(/^expats\.cz$/))||!Cc()||!document.querySelector("h1.arttit, h1.title, .art-title, .article-title, h1"))return null;var r=Cc();return r?(e.language="",Fe(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&&ze(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){Me(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(!je(/(^|\.)folha\.uol\.com\.br$/)||!/\.shtml(?:$|[?#])/i.test(location.pathname||"")||!qc())return null;var r=qc();return r?(nt(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:He.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),Fe(e,r,{title:u(["main h1","article h1","h1"])||e.title,minTextLength:250,rewriteRoot:function(e){Me(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(!je(/(^|\.)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(Tc(t))return t;var r=e.getAttribute("srcdoc");return r?(new DOMParser).parseFromString(r,"text/html"):t}catch(e){return null}}()||document,r=Tc(t);return r?Ke(e,r,{title:_c(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:_c(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||"")&&(Me(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=Go(),a=x(n&&n.author),l=S(n&&n.datePublished),c=S(n&&n.dateModified),d=i?Jo(i.startDate,i.endDate):null,{title:$("og:title","property")||document.title||u(["main h1","article h1","h1"]),byline:$("author","name")||$("article:author","property")||$("parsely-author","name")||a||p(),excerpt:$("description","name")||$("og:description","property"),siteName:$("og:site_name","property")||location.hostname,publishedTime:d||$("article:published_time","property")||$("publish-date","name")||$("datePublished","itemprop")||$("date","name")||$("dc.date","name")||$("DC.date","name")||$("parsely-pub-date","name")||l||c||h(),canonicalUrl:o(r&&r.getAttribute("href"))||location.href,language:s(),image:$("og:image","property")||null,video:$("og:video","property")||$("og:video:url","property")||null});if(!m){var y=Rl(f);y&&(m=y)}var b,v,k,A,C=null,q=null;if(m||(C=J(),q={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:J().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)}),!m&&(v=location.hostname.toLowerCase().replace(/^www\./,""),k=location.pathname,(A=_("q"))&&A.trim()&&!(/^google\.[a-z]{2,3}(?:\.[a-z]{2})?$/.test(v)?"/"!==k&&"/search"!==k:/^bing\.com$/.test(v)?"/search"!==k:/(^|\.)duckduckgo\.com$/.test(v)?"/"!==k&&"/html"!==k&&"/html/"!==k:"search.brave.com"!==v&&!/^ecosia\.org$/.test(v)||"/search"!==k))&&(m=si(f)),m&&"search"===m.contentType)return Lc(m,f,C,q,null);if(!m){var E=vr(f,C),j=E?br(f,C):null,P=t(document.body&&document.body.textContent||"").toLowerCase(),N=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(P);E&&"not_found"===j&&N&&(m=E)}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&&ne()&&(m=Ea(f,C)),!m){var z=t([location.pathname,document.title,f&&f.title,f&&f.siteName].join(" ")).toLowerCase();/\b(?:podcast|podcasts|episodes?)\b/.test(z)&&(m=Vr(f,null))}if(m||(m=fi(f)),m||(m=Ea(f,C)),m||(m=function(e,r,n){var o=or(e,r,n);if(!o)return null;var i=t(e.title||document.title);(!i||Le(i)||/^www\./i.test(i))&&(i=ir(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,C,q)),!m){var M=vr(f,C),R=M?br(f,C):null;if(M&&"consent_wall"!==R)m=M;else if(M&&"consent_wall"===R){var B=Ec(e),H=t(B&&B.markdown||B&&B.textContent||"").toLowerCase();m=B&&H.length>500&&!gn(H)?B:M}}if(m||(m=oo(f)),m||(m=bi(f)),m||(m=Ci(f)),m||(m=_i(f)),m||(m=Zi(f)),m||(m=Ec(e)),m&&"article"===m.contentType&&m.readerMode&&Kn(m.textContent||m.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var F=jo(f);t(F.markdown||"").length>=400&&(m=F)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(m)){var O=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=ci(),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||ci()-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,Re(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}}();O&&(m=O)}m=function(e,r){if(!e||"job"===e.contentType||"search"===e.contentType||"interstitial"===e.contentType||e.docsLike||e.legalProvision)return e;if(ki(r,vi()))return e;var n=Xi(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=Ut(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=Fi(r);if(!n)return e;var o=Ii(n),i=Ut(e.markdown||e.textContent||"").trim(),a=t(i),l=[],s=e.title||r.title||document.title;return s&&!Et(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?Oi([n.structured.homeName,n.structured.awayName]):Oi(n.detail.identity.teams)}),e.markdown=Ut(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=Io();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=Ro(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 I=Yr(m=function(e){if(!e||"social"!==e.contentType)return e;var t=Yi(e.socialKind);return-1===["post","thread","feed","profile"].indexOf(t)?(e.contentType="article",ea(e),e):(e.socialKind=t,e.platform=Yi(e.platform),e.handle=Yi(e.handle),e.replyCount=Qi(e.replyCount,!1),e.community=Yi(e.community),e.score=Qi(e.score,!0),e)}(m))||co(f,m),D=Fo(f);if(D&&m&&"social"!==m.contentType&&"product"!==m.contentType&&"property"!==m.contentType&&"hotel"!==m.contentType&&!m.hostAware&&!m.docsLike){var U=t(m.markdown||m.textContent||"").toLowerCase(),Z=t([document.title,location.pathname,location.search,f&&f.siteName].join(" ")).toLowerCase(),W=Sr()||/\b(?:shop|shopping|store|marketplace|catalog|products?|furniture|search results?)\b|\/p\/|\/sb\d*\//.test(Z);I&&!W?D=null:("list"!==m.contentType&&(W||D.itemCount>=4||gn(U))||"list"===m.contentType&&Sr()&&D.itemCount>=4)&&(m=D)}var G=Uo(f);!G||!m||"article"!==m.contentType&&"list"!==m.contentType||m.hostAware||m.docsLike||Ar(m)||(m=G);var K=function(e){var r=Vo();if(r.length>=3){var n=jo(e,{portalRoot:!0});return n.excerpt=r[0].text,n}if(!ei())return null;var o=ze(document.querySelector("main, [role='main'], article, #content")||document.body);Re(o),Co(o),Me(o,"form, script, style, noscript, [class*='modal' i], [class*='newsletter' i]");var i=Ut(tr(o.innerHTML));return t(i).length<300?null:L(e,{title:e.title||document.title,excerpt:e.excerpt||u(["main h1","h1"]),html:o.innerHTML,textContent:i,markdown:i})}(f);!K||!m||m.hostAware||m.docsLike||"event"===m.contentType||Ar(m)||(m=K);var V=Vr(f,m=mi(m));V&&(m=V);var X=di(0,m);I=X||Yr(m)||co(f,m);if(m&&!m.hostAware&&je(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(m.html||"")&&(m.hostAware=!0),"article"===m.contentType&&!m.hostAware&&!m.docsLike&&!Ar(m)&&Y(m.textContent||m.markdown||"")){var Q=jo(f);t(Q.markdown||"").length>=400&&(m=Q)}if("article"!==m.contentType||m.docsLike||m.legalProvision||!so(null,m.textContent||m.markdown||"")||(m=io(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||Di(m)||m.hostAware||m.docsLike||m.legalProvision||!Kr(m)||(m=jo(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||Di(m)||m.hostAware||m.docsLike||m.legalProvision||!function(e){if(!document.body)return!1;if(di(0,e))return!1;if(Ar(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>=wr(r)&&r.length<=220&&!qr(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)||!xr()&&Ar(m)||I||(m=jo(f)),"article"!==m.contentType&&"medical"!==m.contentType||m.docsLike||m.legalProvision||I||!function(e){if(!e||"article"!==e.contentType||Ar(e))return!1;if(!Sr())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||gn(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=io(m,{strongList:!0})),"list"===m.contentType&&_("q")&&ro(f)){var ee=no(f);ee&&(m=ee)}return Lc(m,f,C,q,X)}}}(window);
|