fetch_util 0.3.1 → 0.3.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.
@@ -1 +1 @@
1
- !function(e){function t(e){return"string"!=typeof e&&(e=null==e?"":String(e)),e.replace(/\s+/g," ").trim()}function n(e){try{return decodeURIComponent(e)}catch(t){return e}}function r(e){return t(e&&e.textContent).length}function i(e){if(!e)return null;try{return new URL(e,document.baseURI).href}catch(t){return e}}function o(e,t){var n="meta["+t+'="'+e+'"]',r=document.querySelector(n);return r?r.getAttribute("content"):null}function a(e,n){var r=t(h(["meta[name='generator']"],"content")||""),i=t(h(["meta[name='application-name']","meta[property='og:site_name']"],"content")||""),o=l(n).map(function(t){return"function"==typeof t?t(e,r,i):h([t])});return 0===o.length&&(o=[e&&e.title,e&&e.siteName,r,i,document.title]),{generator:r,appName:i,signature:t(o.join(" "))}}function l(e){return e?Array.isArray(e)?e:[e]:[]}function s(e,t){e&&(Array.isArray(e)?e.forEach(function(e){s(e,t)}):"object"==typeof e&&(e["@graph"]&&s(e["@graph"],t),t.push(e)))}function c(){var e=[];return document.querySelectorAll('script[type="application/ld+json"]').forEach(function(n){var r=n.textContent||n.innerText||"";if(t(r))try{s(JSON.parse(r),e)}catch(e){}}),e}function u(e){return l(e&&e["@type"]).map(function(e){return String(e)})}function d(e){var t=l(e);return c().find(function(e){return u(e).some(function(e){return-1!==t.indexOf(e)})})||null}function p(e){return e?"string"==typeof e?t(e):Array.isArray(e)?p(e[0]):t(e.name||e.headline||e.alternateName||""):null}function m(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(function(e){return m(e)||""}).join(" ")):t(e.text||e.description||e.name||""):null}function h(e,n){for(var r=0;r<e.length;r+=1){var i=document.querySelector(e[r]);if(i){var o=n?i.getAttribute(n):i.textContent;if(o=t(o))return o}}return null}function f(e,n){var r={},i=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){if(!(i.length>=(n||20))){var o=t(e.textContent);o&&!r[o]&&(r[o]=!0,i.push(o))}})}),i}function g(e){return t(String(e||"").split("/").pop().replace(/[_-]+/g," "))}function b(e){var n=[],r=[];e.title&&n.push("# "+e.title),e.byline&&r.push("- Author: "+e.byline),e.publishedTime&&r.push("- Published: "+e.publishedTime),l(e.details).forEach(function(e){e&&r.push("- "+e)}),r.length&&n.push(r.join("\n")),e.description&&n.push(e.description),e.highlights&&e.highlights.length&&n.push(e.highlights.map(function(e){return"- "+e}).join("\n"));var i=n.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:i,textContent:t(i),docsLike:!!e.docsLike,hostAware:!!e.hostAware,readerMode:!1,contentType:e.contentType||"article"}}function y(e){return new URLSearchParams(location.search).get(e)}function v(){return y("q")||y("p")||y("query")||y("text")||""}function w(e){var t=null!=e.markdown?e.markdown:Nr(e.items||[]);return{title:e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:e.html||"",textContent:null!=e.textContent?e.textContent:t,markdown:t,readerMode:!1,contentType:"list"}}function k(e,t){var n=(t=t||{}).items,r=null!=t.markdown?t.markdown:Nr(n||[]),i={title:t.title||e&&e.title||document.title,byline:null,excerpt:null!=t.excerpt?t.excerpt:n&&n[0]&&n[0].text||e&&e.excerpt,siteName:t.siteName||e&&e.siteName||location.hostname,publishedTime:null!=t.publishedTime?t.publishedTime:e&&e.publishedTime||null,html:t.html||"",textContent:null!=t.textContent?t.textContent:r,markdown:r,readerMode:!1,contentType:t.contentType||"list"};return n&&(i.itemCount=n.length),t.hostAware&&(i.hostAware=!0),t.statusPage&&(i.statusPage=!0),i}function x(e){return document.body&&document.body.innerText||e||""}function S(e){return e.test(location.hostname)}function A(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function C(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 n,r=(e.tagName||"").toLowerCase(),i=r&&!/-/.test(r)?r:"div";try{n=t.createElement(i||"div")}catch(e){n=t.createElement("div")}return Array.prototype.forEach.call(e.attributes||[],function(e){if(e&&e.name&&!/^on/i.test(e.name))try{n.setAttribute(e.name,e.value)}catch(e){}}),Array.prototype.forEach.call(e.childNodes||[],function(e){var r=C(e,t);r&&n.appendChild(r)}),n}function q(e,t){try{return e.cloneNode(!0)}catch(n){return C(e,t)}}function E(e){if(N(e))return document.createElement("div");var n,r=q(e,document);return(n=r)&&n.querySelectorAll&&n.querySelectorAll("button, [role='button'], input[type='button'], input[type='submit']").forEach(function(e){var n=t(e.innerText||e.textContent||e.getAttribute("value")||"");if(function(e){var n=t(e||"");return!!n&&!(n.length<30||n.length>320)&&!(_(n)||P(n)||R(n))&&!/^(log in|login|sign in|register|create account|get disney\+|accept all|reject all|confirm my choices|manage preferences|save preferences|allow all|more details|cookies details)$/i.test(n)&&n.split(/\s+/).length>=4}(n)){var r=document.createElement("p");r.textContent=n,r.setAttribute("data-fetchutil-button-text","true"),e.replaceWith(r)}}),r.querySelectorAll("button").forEach(function(e){var n=e.querySelector("[class*='http-verb']");if(n){for(var r="",i=e.querySelectorAll("span"),o=0;o<i.length;o++)if(i[o]!==n&&!i[o].querySelector("[class*='http-verb']")&&!/collapser|ellipsis|arrow/i.test(i[o].className||"")){var a=t(i[o].textContent);if(a&&/^\//.test(a)){r=a;break}}if(r){var l=document.createElement("p");l.innerHTML="<code>"+t(n.textContent).toUpperCase()+" "+r+"</code>",e.replaceWith(l)}}}),r.querySelectorAll("script, style, noscript, template, iframe, form, button, input, aside, nav, footer").forEach(function(e){e.remove()}),M(r),r.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",i(t))}),r.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),n=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!n||t&&!/^data:image\//i.test(t)||(t=n),t||(t=n),t&&e.setAttribute("src",i(t))}),r}function T(){if(!document.body)return"";var e=q(document.body,document);return e.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),M(e),t(e.textContent)}function j(e,n){return n=n||"",!(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(n))))}function L(e,n){if(n=n||{},!document.body||""!==(r=(location.pathname||"").toLowerCase())&&"/"!==r&&!/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(r))return null;var r;if(Ze())return null;if(document.querySelector("article h1, article [itemprop='articleBody'], [type='application/ld+json']")){var o=t(document.body.textContent||"");if(document.querySelector("article h1")&&o.length<3e4)return null}var a=[];["main","[role='main']","#main",".main","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===a.indexOf(e)&&a.push(e)})});var l=null,s=n.minItems||5,c=t([e&&e.title||"",e&&e.siteName||"",document.title||"",document.body.textContent||""].join(" ")).toLowerCase().slice(0,6e3),u=/\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(c);return a.forEach(function(e){var n={},r=[],o=[],a=t((e.querySelector("h1")||{}).textContent||"");e.querySelectorAll("h2, h3").forEach(function(e){if(!(o.length>=8)){var n=t(e.textContent||"");n.length>=6&&n.length<=90&&!j(n,"")&&o.push(n)}}),e.querySelectorAll("a[href]").forEach(function(e){if(!(r.length>=18||e.closest("header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']"))){var o=e.getAttribute("href")||"",a=i(o),l=t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"");if(a&&!n[a]&&!j(l,o)&&(!(l.length<12)||/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(l))){var s=Me(e.closest("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")||e.parentElement,l);s.length>180&&(s=""),n[a]=!0,r.push({text:l,url:a,detail:s})}}});var c=t(e.textContent||""),d=e.querySelectorAll("a[href]").length,p=e.querySelectorAll("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']").length,m=a&&a.length>=8&&a.length<=120?180:0,h=60*Math.min(o.length,6),f=180*r.length+m+h+12*Math.min(p,18)+Math.min(d,80);r.length<s&&!(r.length>=3&&m&&o.length>=2)||(u||r.length>=6&&p>=6&&o.length>=3)&&(d<r.length||c.length<120||(!l||f>l.score)&&(l={root:e,items:r,hero:a,headings:o,score:f}))}),l?l.items.length<s&&(!l.hero||l.headings.length<2)?null:l:null}function _(e){if(!(e=t(e||"").toLowerCase())||e.length>5e3)return!1;return!!/cookie settings|cookie preferences|manage cookie preferences|manage cookies|accept all cookies|reject optional cookies|we use cookies|this website uses cookies|by accepting cookies|allow the use of cookies|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners(?: \(vendors\))?|cookies from other companies|essential cookies|personalize advertising|use cookies and similar technologies|before you continue|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|browsing history|device identifiers|cookie declaration last updated|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|ustawienia prywatności|polityka prywatności i cookies|datenschutz|cookie-einstellungen|données personnelles|paramètres des cookies|datos personales|configuración de cookies|dati personali|impostazioni dei cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|Cookie設定|同意設定|すべて受け入れる|すべて許可|쿠키|동의|모두 허용|全部接受|接受全部|隐私设置|файлы cookie|настройки cookie|принять все|we gebruiken cookies|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|የእርስዎ ግላዊነት|ግላዊነት|ኩኪ|ኩኪዎች|የኩኪ ቅንብሮች|pro pokračování vyberte|technické cookies|jakou formou vám máme zobrazovat obsah/i.test(e)&&(e.match(/cookie|cookies|preferences|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners|accept all|reject optional|essential cookies|personalize advertising|personal data|browsing history|device identifiers|personalized ads|trusted third party|wish to store|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|接受|隐私|принять|cookie設定|ግላዊነት|ኩኪ|pokračování|technické cookies/g)||[]).length>=2}function $(e){return!(!(e=t(e||"").toLowerCase())||e.length>5e3)&&(e.match(/copyright|all rights reserved|privacy policy|cookie policy|terms of use|terms and conditions|impressum|link utili|contatti|chi siamo|newsletter|advertising|pubblicit[àa]|manage preferences|cookie settings/g)||[]).length>=2}function N(e){if(!e||1!==e.nodeType)return!1;var n=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),r=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(n)||"true"===e.getAttribute("data-nosnippet"))return!0;if(!r)return!1;var i=/(cookie|consent|privacy|gdpr|ccpa)/.test(n);if(i&&_(r))return!0;if(i&&r.length>5e3&&/(cookie|cookies|consent|privacy|gdpr|ccpa)/i.test(r.slice(0,2e3)))return!0;if((e.matches("[role='dialog'], [aria-modal='true'], dialog")||/position:\s*(fixed|sticky)/i.test(e.getAttribute("style")||""))&&_(r))return!0;if("undefined"!=typeof window&&e.ownerDocument&&e.ownerDocument.defaultView)try{var o=e.ownerDocument.defaultView.getComputedStyle(e);if(o&&/fixed|sticky/.test(o.position)&&_(r))return!0}catch(e){}return!!(_(r)&&r.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function M(e){return e&&e.querySelectorAll?(e.querySelectorAll("[role='dialog'], [aria-modal='true'], dialog, [id*='cookie' i], [class*='cookie' i], [id*='consent' i], [class*='consent' i], [id*='privacy' i], [class*='privacy' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='gdpr' i], [class*='gdpr' i], [id*='ccpa' i], [class*='ccpa' i], [class*='CookieConsent' i], [id*='CookieConsent' i], [class*='CookieDeclaration' i], [id*='CookieDeclaration' i], [class*='cookiebar' i], [id*='cookiebar' i], [class*='cookie-banner' i], [id*='cookie-banner' i], [class*='cookie-notice' i], [id*='cookie-notice' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true'], .cc-banner, .cc-window, #CybotCookiebotDialog, .cky-consent-container, #usercentrics-root, .osano-cm-dialog").forEach(function(e){N(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){N(e)&&e.remove()}),e):e}function z(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function R(e){var n=t(e||"").toLowerCase();return!(!n||n.length>120)&&(/^(play|pause|resume|volume\s+\d+%|rewind\s+\d+\s+seconds|forward\s+\d+\s+seconds|skip\s+(?:back|forward)|chromecast|closed captions|captions|settings|fullscreen|full screen|mute|unmute|next up|up next|current time\s+\d|remaining time\s+|duration\s+|learn more)$/.test(n)||/^\d+:\d+$/.test(n))}function P(e){return/^(nearby entries|browse nearby words|cited by|related content|more like this|people also viewed|recommended articles?|translation|numerology|citation|word of the day|quiz|discover more|related posts|latest news|trending now|popular posts|most read|you might also like|you may also like|read more|related articles?|leave a reply|cancel reply|about the authors?|#\s*tags|comments?\s*\d*|also read|further reading|see also|more stories|don't miss|privacy preference center|your privacy settings|manage privacy preferences|manage consent preferences|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|list of partners(?: \(vendors\))?|polecane|przeczytaj (też|również)|podobne (artykuły|wpisy)|leia (também|mais)|artigos? relacionados?|também pode gostar|ähnliche (beiträge|artikel)|das könnte sie auch interessieren|weiterlesen|mehr zum thema|artículos? relacionados?|también te puede interesar|te puede interesar|lee también|noticias relacionadas|articles? (connexes?|similaires?|associée?s?)|à lire aussi|sur le même (sujet|thème)|vous aimerez aussi)$/i.test(e||"")||/^more from /i.test(e||"")||/^popular in /i.test(e||"")||/^browse definitions\.net$/i.test(e||"")||/^(الأكثر قراءة|الأكثر مشاهدة|الأكثر تعليقاً|مقالات ذات صلة|اقرأ أيضاً|أخبار ذات صلة|مواضيع ذات صلة|موضوعات متعلقة|الأكثر تداولاً|قد يهمك|المزيد|تابع القراءة|הנקראים ביותר|כתבות קשורות|פופולרי|נצפה הכי הרבה|הכי נקראים|مزید پڑھیں|سب سے زیادہ پڑھی جانے والی|متعلقہ خبریں|بیشتر بخوانید|محبوب‌ترین|پربازدیدترین)$/i.test(e||"")||/^(en çok okunan|ilgili haberler|benzer haberler|popüler haberler|çok okunanlar|ilgili içerikler)$/i.test(e||"")||/^(บทความที่เกี่ยวข้อง|อ่านเพิ่มเติม|ข่าวที่เกี่ยวข้อง|ข่าวยอดนิยม|บทความยอดนิยม|อ่านต่อ|เนื้อหาที่เกี่ยวข้อง|แนะนำสำหรับคุณ|ข่าวล่าสุด)$/i.test(e||"")||/^(bài viết liên quan|tin liên quan|đọc thêm|xem thêm|tin tức liên quan|bài viết nổi bật|có thể bạn quan tâm|tin nổi bật|bài viết mới nhất|đọc nhiều nhất)$/i.test(e||"")||/^(σχετικά άρθρα|διαβάστε (επίσης|ακόμη|περισσότερα)|δημοφιλή άρθρα|περισσότερα νέα|τελευταία νέα|δείτε επίσης|μπορεί να σας ενδιαφέρει|σχετικά νέα|τα πιο δημοφιλή)$/i.test(e||"")||/^(схожі (статті|матеріали|новини)|читайте (також|ще)|також читайте|популярні (статті|новини)|останні новини|найпопулярніше|вас (також )?може зацікавити|рекомендуємо|дивіться також)$/i.test(e||"")||/^(baca juga|artikel terkait|berita terkait|berita populer|artikel populer|terpopuler|baca selengkapnya|lihat juga|rekomendasi|berita lainnya|pilihan editor)$/i.test(e||"")||/^(lees ook|gerelateerde (artikelen|berichten)|ook interessant|meer (lezen|artikelen|nieuws)|populair(st)?e? artikelen|aanbevolen|bekijk ook|misschien vind je dit ook leuk|dit vind je misschien ook interessant|meest gelezen)$/i.test(e||"")||/^(povezani (članci|tekstovi)|pročitajte (još|i|također)|slični (članci|tekstovi)|popularno|najčitanije|preporučujemo|pogledajte (još|i|takođe)|više vesti|повезани (чланци|текстови)|прочитајте (још|и|такође)|слични (чланци|текстови)|популарно|најчитаније|препоручујемо|погледајте (још|и|такође)|више вести)$/i.test(e||"")||/^(baca juga|artikel berkaitan|berita berkaitan|berita popular|artikel popular|terpopular|baca lagi|lihat juga|cadangan|berita lain|pilihan editor|paling dibaca|trending)$/i.test(e||"")||/^(leia (também|mais)|artigos? relacionados?|também pode gostar|mais (lidos?|populares?|notícias)|notícias relacionadas|veja (também|mais)|confira também|continue lendo|recomendado|sugestões?|últimas notícias)$/i.test(e||"")||/^(související (články|zprávy)|čtěte (také|dále|více)|mohlo by vás zajímat|doporučujeme|nejčtenější|nejnovější zprávy|další články|přečtěte si (také|též)|více článků)$/i.test(e||"")||/^(relaterade (artiklar|nyheter)|läs (också|mer|vidare|även)|mest lästa|populärast|senaste (nyheterna|artiklarna)|fler (artiklar|nyheter)|rekommenderat|du kanske också gillar)$/i.test(e||"")||/^(relaterede (artikler|nyheder)|læs (også|mere|videre)|mest læste|populært|seneste (nyheder|artikler)|flere (artikler|nyheder)|anbefalet|det kunne også interessere dig)$/i.test(e||"")||/^(kaugnay na (mga )?artikulo|basahin (din|rin)|mga kaugnay na balita|pinaka-?popular|pinakabagong balita|iba pang mga artikulo|maaari mo ring gustuhin)$/i.test(e||"")||/^(ተዛማጅ ዜናዎች|ተጨማሪ ያንብቡ|ተመልከቱ|ተጨማሪ ዜና|በጣም የተነበቡ|ቀጣይ ዜና)$/i.test(e||"")||/^(relaterte (artikler|saker|nyheter)|les (også|mer|videre)|mest lest[e]?|populær[te]?|siste nytt|flere (artikler|saker|nyheter)|anbefalt|aktive debatter|se flere meldinger|du vil kanskje også like)$/i.test(e||"")||/^(articles? relaciona(ts?|des?)|notícies relacionades|llegeix (també|més)|més (llegits?|populars?|notícies)|últimes notícies|també et pot interessar|contingut relacionat|mostra'n més|temes relacionats)$/i.test(e||"")||/^(დაკავშირებული (სტატიები|ამბები|სიახლეები)|წაიკითხეთ (ასევე|მეტი)|ყველაზე (წაკითხვადი|პოპულარული)|ბოლო ამბები|მეტი (სტატიები|ამბები)|რეკომენდებული|გაიგეთ მეტი)$/i.test(e||"")||/^(සම්බන්ධිත (පුවත්|ලිපි)|තවත් කියවන්න|වැඩි විස්තර|උණුසුම් පුවත්|නවතම පුවත්|ජනප්‍රිය (පුවත්|ලිපි)|වැඩි විස්තර කියවන්න)$/i.test(e||"")||/^(əlaqəli (xəbərlər|məqalələr)|daha çox oxu(?:yun)?|ən çox oxunan(?:lar)?|son xəbərlər|digər (xəbərlər|məqalələr)|tövsiyə olunan|oxşar xəbərlər)$/i.test(e||"")||/^(powiązane (artykuły|wpisy|tematy|wiadomości)|najczęściej czytane|najpopularniejsze|najnowsze (wiadomości|artykuły)|więcej (artykułów|wpisów|wiadomości)|może cię (też )?zainteresować|zobacz (też|również|także)|czytaj (też|również|także)|warto przeczytać|to też warto przeczytać|to może cię zainteresować|ostatnie (wpisy|artykuły)|popularne (wpisy|artykuły|tematy)|komentarze\s*\d*|dodaj komentarz|zostaw komentarz|napisz komentarz)$/i.test(e||"")}function B(e,t,n,r,i,o){return"function"==typeof e?e(t,n,r,i,o):e}function I(e,t,n){return O(e,t,n)}function O(e,n,r){if(!n)return null;var i=!1===(r=r||{}).cloneRoot?n:E(n);if(!i)return null;"function"==typeof r.rewriteRoot&&r.rewriteRoot(i,n),!1!==r.cleanupRoot&&ur(i);var o=Fn(i.innerHTML);!1!==r.cleanupMarkdown&&(o=Ar(o)),"function"==typeof r.postProcessMarkdown&&(o=r.postProcessMarkdown(o,i,n));var a=t(o);if(!a||a.length<(r.minTextLength||0))return null;if("function"==typeof r.validateMarkdown&&!r.validateMarkdown(o,a,i,n))return null;var l=function(e,n,r,i){if("function"==typeof i.title)return t(i.title(e,n,r));if(i.title)return t(i.title);if(i.titleSelectors){var o=h(i.titleSelectors);if(o)return o}return t(e&&e.title)}(e,i,n,r);l&&!1!==r.prependTitle&&!oe(o,l)&&(o="# "+l+"\n\n"+o);var s=t(o),c=B(r.excerpt,e,i,n,o,a);void 0===c&&!1!==r.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var u=B(r.byline,e,i,n,o,a);void 0===u&&(u=e&&e.byline);var d={title:l||e&&e.title,byline:u,excerpt:c,siteName:B(r.siteName,e,i,n,o,a)||e&&e.siteName||location.hostname,publishedTime:null===r.publishedTime?null:B(r.publishedTime,e,i,n,o,a)||e&&e.publishedTime,html:i.innerHTML,markdown:o,textContent:s,readerMode:!1,contentType:r.contentType||"article",hostAware:!1!==r.hostAware};if(r.extra){var p=B(r.extra,e,i,n,o,a)||{};Object.keys(p).forEach(function(e){d[e]=p[e]})}return d}function F(e,n,r){e.querySelectorAll(n).forEach(function(e){var n=t(e.textContent);n&&r.test(n)&&e.remove()})}function D(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function H(e){var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(n.length<4||n.length>30)return!1;var r=n.filter(function(e){return D(e.getAttribute("href"))}).length,i=t(e.textContent);return r>=4&&r>=Math.ceil(.8*n.length)&&i.length<900}function U(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 W(e,n){return n=n||{},F(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),F(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 n=t(e.textContent);n&&(/^feedback\b/i.test(n)&&n.length<500&&e.querySelectorAll("a, button").length>=1||/^(was this page helpful|is this page helpful)\??$/i.test(n.split("\n")[0])&&n.length<300)&&e.remove()}),F(e,"p, div, span",/^last modified\s/i),e.querySelectorAll("section, div, aside, form").forEach(function(e){var n=t(e.textContent);if(n){var r=e.querySelector("h2, h3, h4");r&&/^(subscribe|newsletter|stay up[- ]to[- ]date|get (?:the )?latest|sign up for (?:our )?(?:newsletter|updates)|mailing list)$/i.test(t(r.textContent))&&n.length<800&&e.remove()}}),F(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=U(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 n=t(e.textContent),r=t(e.getAttribute("title"));e.closest("h1, h2, h3, h4, h5, h6")&&n.length>=8||D(e.getAttribute("href"))&&(!n||n.length<40||/link for this heading/i.test(r)||/^skip to (?:main )?content$/i.test(n))&&e.remove()}),e.querySelectorAll("section, div, ul, ol").forEach(function(e){var n=t(e.textContent);n&&(/^on this page\b/i.test(n)&&n.length<1200||H(e)||function(e){if(e.closest&&e.closest(".landing-card, .card--fullwidth"))return!1;var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(n.length<2||n.length>8)return!1;var r=t(e.textContent);return!(!r||r.length>220)&&!e.querySelector("p, strong, b, h1, h2, h3, h4, h5, h6")&&n.every(function(e){return t(e.textContent).length>0&&t(e.textContent).length<40})}(e))&&e.remove()}),n.removeTryIt&&(e.querySelectorAll("section, div").forEach(function(e){var n=t(e.textContent),r=e.querySelector("h2, h3, h4");(r&&/^try it$/i.test(t(r.textContent))||/^try it\b/i.test(n)&&n.length<600)&&e.remove()}),F(e,"h2, h3, h4",/^try it$/i)),n.removeCookiePrefs&&F(e,"h1, h2, h3, p, div, span",/^(select your cookie preferences|customize cookie preferences|unable to save cookie preferences)$/i),n.removeMarketingTips&&e.querySelectorAll("section, div, aside").forEach(function(e){var n=t(e.textContent);/\b(tip|note)\b/i.test(n)&&/(workshop|builder center|sign up|training|studio)/i.test(n)&&n.length<600&&e.remove()}),e}function Z(e,n){for(var r=0;r<n.length;r+=1)for(var i=e.querySelectorAll(n[r]),o=0;o<i.length;o+=1){var a=t(i[o].textContent);if(a)return a}return null}function V(e,t,n){return Array.prototype.slice.call(e.querySelectorAll(t)).filter(function(t){for(var r=t.parentElement;r&&r!==e;){if(r.matches&&r.matches(n))return!1;r=r.parentElement}return!0})}function G(e,n,r){for(var i=0;i<n.length;i+=1)for(var o=V(e,n[i],r),a=0;a<o.length;a+=1){var l=t(o[a].textContent);if(l)return l}return""}function K(e){for(var t=0;t<e.length;t+=1){var n=document.querySelector(e[t]);if(n)return n}return null}function J(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function X(e,t,n){return e?("function"==typeof t&&(e=t(e,n)),U(e||"")||null):null}function Y(e,t,n,r){var i=h(t||[]);return i||"function"!=typeof n||(i=n(e)),i||"string"!=typeof n||(i=n),X(i,r,e)}function Q(e,t,n){t=t||"h1, h2, h3, h4, h5, h6",n=n||function(e){return U(e)},e.querySelectorAll(t).forEach(function(e){var t=n(e.textContent,e);t&&(e.textContent=t)})}function ee(e,t,n){return ne(e,K(t),n)}function te(e,t,n){if(!(t=t||Wt(e))||t.system!==n.system)return null;var r=n.headingFormatter||function(e){return U(e)},i=n.titleFormatter||n.headingFormatter,o={rewriteRoot:function(e){n.removeSelectors&&e.querySelectorAll(n.removeSelectors).forEach(function(e){e.remove()}),n.removeTextPattern&&F(e,n.removeTextSelector||"a, button, div, p, span, li",n.removeTextPattern),"function"==typeof n.rewriteRoot&&n.rewriteRoot(e,a),!1!==n.headingFormatter&&Q(e,n.headingSelector,r)}},a=null;return!1===n.preferFragmentTitle?(a=Y(e,n.titleSelectors,n.fallbackTitle,i),o.title=a):(o.titleSelectors=n.titleSelectors,o.fallbackTitle=n.fallbackTitle,o.titleFormatter=i),ee(e,n.rootSelectors,o)}function ne(e,t,n){if(n=n||{},!t)return null;var r={};if(Object.keys(n).forEach(function(e){"titleSelectors"!==e&&"fallbackTitle"!==e&&"preferFragmentTitle"!==e&&"titleFormatter"!==e&&(r[e]=n[e])}),!r.title&&(n.titleSelectors||n.fallbackTitle)){var i=!1===n.preferFragmentTitle?null:ie(t);i=X(i,n.titleFormatter,e)||Y(e,n.titleSelectors,n.fallbackTitle,n.titleFormatter),r.title=i}return ae(e,t,r)}function re(e){var t=n((location.hash||"").replace(/^#/,"")).trim();if(!t)return null;var r=document.getElementById(t)||function(e){if(!e)return null;for(var t=document.querySelectorAll("a[name]"),n=0;n<t.length;n+=1)if((t[n].getAttribute("name")||"")===e)return t[n];return null}(t);return r&&(e===r||e.contains(r))?r:null}function ie(e){var t=re(e);if(!t)return null;var n=t.matches&&t.matches("h1, h2, h3, h4, h5, h6")?t:t.querySelector("h1, h2, h3, h4, h5, h6");return!n&&t.matches&&t.matches("a[name]")&&(n=t.nextElementSibling),U((n||t).textContent)||null}function oe(e,n){if(!(n=t(n).replace(/[`*_]/g,"")))return!1;var r=t(n).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 n=t(e).toLowerCase();return n===r||0===n.indexOf(r)})}function ae(e,n,r){if(!n)return null;var i,o=!1===(r=r||{}).focusFragment?n:function(e){var n=re(e);if(!n)return e;for(var r=n;r&&r!==e;){var i=t(r.textContent);if(/^(section|article|div|li|dt|dd|main)$/i.test(r.tagName||"")&&i.length>=20)return r;r=r.parentElement}return n}(n),a=E(o);if(ur(a),W(a,r),"function"==typeof r.rewriteRoot)try{r.rewriteRoot(a)}catch(e){}try{i=Fn(a.innerHTML).trim()}catch(e){i=""}"function"==typeof r.postProcessMarkdown&&(i=r.postProcessMarkdown(i,a));var l=U(r.title||ie(n)||Z(a,["h1","header h1","h2"])||"")||null,s=r.description||Z(a,["p"]);return i?(l&&!oe(i,l)&&(i="# "+l+"\n\n"+i),{title:l||e.title,byline:e.byline,excerpt:s||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:a.innerHTML,markdown:i,textContent:t(i),docsLike:!0,hostAware:!1!==r.hostAware,readerMode:!1,contentType:r.contentType||"article"}):l||s?b({title:l||e.title,description:s||e.excerpt,siteName:e.siteName||location.hostname,docsLike:!0,hostAware:!1!==r.hostAware}):null}function le(e){return t(e||"").replace(/([a-z0-9])((?:Default:|Can be one of:|For more information:|Example:|Required))/g,"$1 $2").replace(/([a-z])([A-Z][a-z])/g,"$1 $2")}var se=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,ce=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,ue=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,de=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,pe=/(?: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,me=/\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,he=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,fe=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,ge=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,be=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function ye(e){var r=(e=e||{}).root||null,i=t(e.text||r&&r.textContent||""),o=t(e.title||document.title||""),a=t([o,n(e.path||location&&location.pathname||"").toLowerCase()].join(" ")).toLowerCase(),l=t([a,i.slice(0,e.contextLimit||4e3)].join(" ")).toLowerCase();return{text:i,titleContext:a,context:l,legalTitle:se.test(l),officialStatuteTitle:ce.test(a),officialTextSignals:me.test(l),profileOfficialTextSignals:he.test(i),translationAttribution:fe.test(l),provisionMarkers:(i.match(ue)||[]).length,structuralMarkers:(i.match(de)||[]).length,legalTerms:pe.test(i),numberedClauses:(i.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:ge.test(i),bodyStartMatch:i.match(be)}}function ve(e){if(!e||N(e))return-1/0;if(e.matches("[id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"))return-1/0;var n=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']"),i=t(n&&n.textContent||e.textContent||"").slice(0,500);if(n&&(_(i)||P(i)))return-1/0;var o=r(e);if(o<280)return-1/0;if("undefined"!=typeof window&&window.getComputedStyle)try{var a=window.getComputedStyle(e);if(a&&("none"===a.display||"hidden"===a.visibility))return-1/0}catch(e){}var l=e.querySelectorAll("p").length,s=e.querySelectorAll("h1, h2, h3").length,c=Array.prototype.reduce.call(e.querySelectorAll("a"),function(e,t){return e+r(t)},0),u=o>0?c/o:0,d=t(e.textContent||""),p=((e.className||"")+" "+(e.id||"")).toLowerCase(),m=0,h=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return/(article|content|entry|main|post|story|body|definition|meaning|sense|glossary|lexicon|pronunciation|answer)/.test(p)&&(m+=180),/(comment|footer|nav|share|promo|related|sidebar|browse|translation|numerology|citation|quiz|cookie|privacy|subscription)/.test(p)&&(m-=220),Se(e,d,u)&&(m-=4200),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)&&(r(t)>=1200&&t.querySelectorAll("p").length>=5)}))}(e,d)&&(m-=9e3),!h&&o<1800&&ke(d)||o<1800&&$(d)&&(l<4||s<3)||o<2200&&/(discover more|newspapers|tourist destinations|travel guides?|travelogues)/i.test(d)&&(l<5||s<4)?-1/0:o+60*l+30*s+m-Math.round(250*u)}function we(){var e=function(){var e=function(){var e=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!e)return null;var n=t(e.textContent||""),r=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),i=ye({text:n,title:document.title||""}),o=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(document.title||"")||i.sectionOrArticleMarker;return n.length<250||!r||!o||i.numberedClauses<2?null:e}(),n=document.querySelector("#viewLegSnippet, .viewLegSnippet, .LegislationSection, .legislation-section, [class*='LegislationSection' i], #viewLegContents, .viewLegContents")||e;if(!n)return null;var r=t(document.body&&document.body.textContent||""),i=t(n.textContent||""),o=ye({root:n,text:i}),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(r);if(i.length<250)return null;if(!e&&!a&&!l)return null;if(o.numberedClauses<2&&!/\b(section|article|regulation|schedule)\s+\d+\b/i.test(i))return null;var s=E(n),c=document.querySelector("#pageTitle, h1")||null,u=s.querySelector("h1, h2, h3")||null,d=t(s.textContent||"");return{title:t(c&&c.textContent||document.title),byline:null,excerpt:d.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:(u?"":c?c.outerHTML:"")+s.innerHTML,textContent:d,readerMode:!1,contentType:"article",legalProvision:!0}}();if(e)return e;var n=[];["article","main","[role='main']","[itemprop='articleBody']",".article",".post",".entry",".content",".main","section","div"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){n.push(e)})});var r=n.reduce(function(e,t){var n=ve(t);return!e||n>e.score?{node:t,score:n}:e},null),i=E(r&&r.score>-1/0?r.node:document.body),o=t(i.textContent);return{title:document.title,byline:null,excerpt:o.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:i.innerHTML,textContent:o,readerMode:!1,contentType:"article"}}function ke(e){var n=t(e||"");return!!n&&(!!/(ve[ðd]ursp[áa]|weather forecast|forecast for the next|forecast for)/i.test(n)&&(n.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=4)}function xe(e,n){if(!e)return n;if(!n||!e.readerMode)return e;var i=t(e.markdown||e.textContent||""),o=t(n.markdown||n.textContent||""),a=document.createElement("div"),l=document.createElement("div");a.innerHTML=e.html||"",l.innerHTML=n.html||"";var s=a.querySelectorAll("p, li").length,c=l.querySelectorAll("p, li").length,u=Array.prototype.reduce.call(l.querySelectorAll("a[href]"),function(e,t){return e+r(t)},0),d=o.length>0?u/o.length:0,p=/\b(oglas|advertisement|sponsored|ad)\b/i.test(i.slice(0,160)),m=$(i),h=ke(i),f=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return o?n.legalProvision||i.length<4e3&&o.length>=Math.max(1800,3*i.length)&&c>=Math.max(8,s+5)&&d<.28?n:Oe(e)?e:h&&!f&&o.length>=Math.max(900,2*i.length)||function(e){if(!e||"article"!==e.contentType)return!1;var n=document.createElement("div");n.innerHTML=e.html||"";var r=t(n.textContent||e.textContent||e.markdown||""),i=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,n){return e+t(n.textContent||n.getAttribute("aria-label")||"").length},0),o=r.length>0?i/r.length:0;return Se(n,r,o)}(e)&&Oe(n)&&o.length>=1200&&d<.25||m&&o.length>=Math.max(1e3,2*i.length)||Oe(n)&&(i.length<240||p)&&o.length>=Math.max(600,3*i.length)?n:e:e}function Se(e,t,n){var r=((e.className||"")+" "+(e.id||"")).toLowerCase();return!(!/(sidebar|rail|aside|promo|cta|recent|popular|related)/.test(r)&&!/\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&&n<.18&&!/(sidebar|rail|aside)/.test(r))&&(n>=.18||e.querySelectorAll("a[href]").length>=4))}function Ae(){if("function"!=typeof Readability)return null;try{var e=function(){try{return document.cloneNode(!0)}catch(e){}var e=document.implementation.createHTMLDocument(document.title||"");for(document.documentElement&&document.documentElement.getAttribute("lang")&&e.documentElement.setAttribute("lang",document.documentElement.getAttribute("lang"));e.head.firstChild;)e.head.removeChild(e.head.firstChild);if(Array.prototype.forEach.call(document.head&&document.head.childNodes||[],function(t){var n=C(t,e);n&&e.head.appendChild(n)}),document.body){var t=C(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();M(e),ur(e);var t=new Readability(e).parse();return t&&t.content?{title:t.title||document.title,byline:t.byline||null,excerpt:t.excerpt||null,siteName:t.siteName||location.hostname,publishedTime:t.publishedTime||null,html:t.content,textContent:t.textContent||"",readerMode:!0,contentType:"article"}:null}catch(e){return null}}function Ce(e){var n=t(e&&e.title||document.title).toLowerCase(),r=t(e&&e.excerpt||"").toLowerCase(),i=(location.pathname||"").toLowerCase(),a=T().slice(0,2e3).toLowerCase(),l=!!y("q"),s=function(e){var n=t([e&&e.title,e&&e.excerpt,e&&e.siteName,o("og:type","property")].join(" ")).toLowerCase(),r=0;return/\b(dictionary|glossary|lexicon|thesaurus|encyclopedia|database)\b/.test(n)&&(r+=3),/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(n)&&(r+=2),/\b(website|article)\b/.test(n)&&/\b(dictionary|glossary|definition|definitions|database)\b/.test(n)&&(r+=1),c().some(function(e){var t=u(e).join(" ").toLowerCase();return!(!/definedterm|dictionary|glossary|creativework|article/.test(t)||!/\b(definition|term|description|citation)\b/.test(n+" "+t)||(r+=2,0))}),r}(e);return/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(n)||/\/(dictionary|definition|definitions|pronunciation)\//.test(i)||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(a)||l&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(n+" "+r)||s>=4&&/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(a)}function qe(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 Ee(e){var n=qe(e&&e.excerpt||"");return!n||n.length<16?null:b({title:h(["main h1","article h1","h1"])||t(e&&e.title||document.title)||e&&e.title||document.title,description:n,siteName:e&&e.siteName||location.hostname})}function Te(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 je(e,n){var r=qe(n&&n.excerpt||"").toLowerCase(),i=t(e||"").toLowerCase();return!i||(!!function(e){return(t(e||"").match(/browse nearby words|cite this entry|more from merriam-webster|popular in grammar|popular in wordplay|top lookups|numerology|citation/gi)||[]).length>=2}(i)||!(!r||r.length<18)&&(-1===i.indexOf(r)&&i.length<Math.max(260,3*r.length)))}function Le(e){if(!e||1!==e.nodeType)return!1;var n=t((e.querySelector("h2, h3, h4, strong")||{}).textContent||""),r=t(e.textContent||""),i=t([e.id||"",e.className||""].join(" ")).toLowerCase();return!!z(r)||(!!P(n)||(!!/^(love words\? need even more definitions|top lookups|add to chrome|add to firefox)$/i.test(r)||(!!/^discuss these .+ definitions with the community/i.test(r)||(!!/subscribe for ad-free|word of the day|browse definitions\.net|popular in grammar|popular in wordplay/i.test(r)||!!(/(cookie|privacy|consent)/.test(i)&&r.length<2400)))))}function _e(e){if(!Ce(e))return null;var i=function(e){var r=h(["main h1","article h1","h1"])||t(e&&e.title||document.title),i=h([".headword","strong.headword",".hword","main h1","article h1","h1"])||n((location.pathname||"").split("/").filter(Boolean).pop()||""),o=[];function a(e){if(!(e=t(e||"")))return null;if(e.length<=320)return e;for(var n=e.match(/[^.!?]+[.!?]+/g)||[],r="",i=0;i<n.length;i+=1){var o=t((r?r+" ":"")+n[i]);if(o.length>220)break;if((r=o).length>=90)break}return r||e.slice(0,217)+"..."}function l(e,t){if(!(!(t=a(t))||t.length<12||P(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 n=Te(t);!n||n.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(Te).indexOf(n)&&e.push(t)}}function s(e){var n=E(e);return n.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),ur(n),t(n.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var n=a(e.textContent||"");if(!(!n||n.length<12||P(n))){var r=e.parentElement&&e.parentElement.querySelector("p.term"),i=t(r&&r.textContent);i&&-1===n.toLowerCase().indexOf(i.toLowerCase())&&(n=i+": "+n),-1===o.map(Te).indexOf(Te(n))&&o.push(n)}});var c=f([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"],4).filter(function(e){return e&&e.length<=40&&!P(e)}),u=f([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"],8).filter(function(e){return e&&e.length<=120&&!z(e)&&!P(e)&&!/how to pronounce|how to say|listen to the pronunciation/i.test(e)}),d=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".headword-line, p:has(.headword), p:has(strong.headword)")).some(function(t){for(var n=t.parentElement;n&&n.nextElementSibling&&(n=n.nextElementSibling,!/^(h2|h3|h4)$/i.test(n.tagName||""));)if("ol"===(n.tagName||"").toLowerCase())return Array.prototype.slice.call(n.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(n){l(e,t(n.textContent||"").replace(/^[:;]\s*/,""))}),e}()).concat(o).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']"],10).map(a)).filter(function(e){return e&&e.length>=12&&e.length<=320&&!P(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,n){var r=Te(e);return!r||r.length<10?n.indexOf(e)===t:n.map(Te).indexOf(r)===t});if(!d.length&&!u.length)return null;var p=["# "+(r=i||r)];i&&-1===r.toLowerCase().indexOf(i.toLowerCase())&&p.push("## "+i),c.length&&p.push(c.join(" | ")),u.length&&p.push(u.slice(0,4).join("\n")),d.slice(0,6).forEach(function(e){p.push(e)});var m=Ar(p.filter(Boolean).join("\n\n")),g=function(e){var n=t(e||"").toLowerCase(),r=document.createElement("div"),i=[];document.querySelectorAll("[id*='dictionary-entry'], [class*='example'], [class*='etymolog'], [class*='first-known'], [class*='word-history']").forEach(function(e){t(e.textContent||"").length<30||i.some(function(t){return t.contains(e)})||(i=i.filter(function(t){return!e.contains(t)})).push(e)}),i.forEach(function(e){r.appendChild(e.cloneNode(!0))});var o=[];return[r.childNodes.length?r: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===o.indexOf(e)&&o.push(e)}),o.reduce(function(e,r){var i=E(r);i.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()}),i.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){Le(e)&&e.remove()}),ur(i);var o=Ar(Fn(i.innerHTML)),a=t(o).toLowerCase();return!a||a.length<80||a===n||n.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(o)&&(!e||a.length>t(e).length)?o:e},"")}(m),b=Ar([m,g].filter(Boolean).join("\n\n")),y=t(b);if(y.length<40)return null;var v=document.createElement("article"),w=document.createElement("h1"),k=document.createElement("ol");return w.textContent=r,v.appendChild(w),d.slice(0,6).forEach(function(e){var t=document.createElement("li");t.textContent=e,k.appendChild(t)}),v.appendChild(k),{title:r||e&&e.title||document.title,byline:null,excerpt:d[0]||y.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:v.outerHTML,markdown:b,textContent:y,readerMode:!1,contentType:"article",hostAware:!0}}(e);if(i)return i;var o=Ee(e),a=function(){var e=[];function n(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(n)}),document.querySelectorAll("h1, .dtText, .sense, dd, dt, [class*='definition'], [class*='pron'], [itemprop='description']").forEach(function(e){n(e),n(e.closest("article, main, [role='main'], section, div, td, table"))}),document.querySelectorAll("section, div, td, table").forEach(function(e){var r=t(e.textContent||"");r.length<40||r.length>3200||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(r.toLowerCase())&&n(e)}),e}().reduce(function(e,n){var i=function(e){if(!e)return-1/0;var n=r(e);if(n<60||n>14e3)return-1/0;var i=t(e.textContent||""),o=((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 n=t(e.textContent||"");return n.length>=40&&n.length<=520&&!Le(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,p=e.querySelectorAll("a[href]").length*(s||c?10:16),m=0;return/(definition|dictionary|entry|meaning|sense|glossary|lexicon|pronunciation|ipa)/.test(o)&&(m+=260),/(source|reference|citation|database)/.test(o)&&(s||c)&&(m+=90),/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(i.toLowerCase())&&(m+=220),s>=2&&(m+=180),c>=2&&(m+=260),u>=2&&(m+=120),e.matches&&e.matches("dl, [class*='definition'], [class*='sense'], [class*='entry'], [itemprop='description']")&&(m+=160),e.querySelector("h1")&&(m+=120),Le(e)&&(m-=320),/\b(top lookups|word of the day|translation|numerology|citation|browse nearby words)\b/i.test(i)&&(m-=180),/\b(browse nearby words|more from merriam-webster|popular in grammar|popular in wordplay|translation|numerology|citation|quiz)\b/i.test(i)&&(m-=260),n>3500&&(m-=220),n>7e3&&(m-=400),n+80*l+95*s+160*c+18*d+35*a+m-p}(n);return!e||i>e.score?{node:n,score:i}:e},null);if(!a||a.score<260)return o;var l=E(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){Le(e)&&e.remove()}),function(e){var n={};e.querySelectorAll("p.desc, dd, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").forEach(function(e){var r=Te(t(e.textContent||""));!r||r.length<16||(n[r]?e.remove():n[r]=!0)})}(l),ur(l);var s=Ar(Fn(l.innerHTML)),c=t(s);if(c.length<40)return o;var u=h(["h1"])||t(e&&e.title||document.title);return u&&!oe(s,u)&&(s="# "+u+"\n\n"+s),je(c=t(s=Ar(s)),e)&&o?o:{title:u||e&&e.title||document.title,byline:null,excerpt:c.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:l.innerHTML,markdown:s,textContent:c,readerMode:!1,contentType:"article"}}function $e(e){var n=e.querySelector("h1, h2, h3, h4");return t(n?n.textContent:e.textContent)}function Ne(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function Me(e,n){var r=t(e&&e.textContent).replace(t(n),"").replace(/\s*[|·]\s*/g," - ");return t(r=r.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 ze(e,n){if(e=e||document.body,n=t(n||e&&e.textContent||""),!e||Ze())return!1;var r=t([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" ")).toLowerCase();if(!/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/.test(r))return!1;var i=Tr(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,n){var r=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(r)?{text:t((n||{}).textContent||"")}:null}}),o=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(n);return i.length>=4&&(o>=1||a)}function Re(e){if(!(e=e||document.body)||Ze())return!1;var n=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(n))return!1;var r=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,i=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var n=e.getAttribute("href")||"",r=t(e.textContent||e.getAttribute("aria-label")||"");return!(r.length<Ne(r)||r.length>220)&&/(\/job-listing\/|\/remote-jobs\/|\/viewjob\b|\/rc\/clk\b|[?&](?:jk|jl)=)/i.test(n)}).length;return r>=4||i>=4}function Pe(e){var n=Ke(),r=[];return Array.prototype.forEach.call(e.querySelectorAll("a[href]"),function(e){var o,a=t(e.textContent||e.getAttribute("aria-label")||""),l=i(e.getAttribute("href"));if(!(a.length<Ne(a)||a.length>220||Ge(a,l||""))&&l){try{o=new URL(l,location.href)}catch(e){return}o.origin===location.origin&&o.origin+o.pathname!==n&&Ve(o.pathname)&&-1===r.indexOf(o.origin+o.pathname)&&r.push(o.origin+o.pathname)}}),r.length}function Be(e,r){if(!e||Ze())return!1;if(Fe(null,e)||De(null,e))return!1;if(function(e){var r=t(e||"");if(r.length<200)return!1;var i=n(location.pathname||"").toLowerCase(),o=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(i),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 n=t(e).replace(/^[-*#\s]+/,"");return n.length>=160&&!/^\[[^\]]+\]\(/.test(n)}).length;return o&&a>=6&&l<4}(e))return!0;if(!Ue()&&!We())return!1;if(t(r&&(r.byline||r.publishedTime)))return!1;var i=String(e).split(/\n+/),o=i.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=i.filter(function(e){var n=t(e).replace(/^#+\s*/,"");return!(!n||n.length<160)&&!/^\s*(?:(?:\d+\.|[-*])\s+)?#{0,4}\s*\[[^\]]+\]\(/.test(e)}).length;return function(e){var t,n=[],r=/\[[^\]]{8,220}\]\(([^\s)]+)\)|https?:\/\/[^\s)]+/g;for(;t=r.exec(String(e||""));){var i,o=t[1]||t[0];try{i=new URL(o,location.href)}catch(e){continue}i.origin===location.origin&&i.origin+i.pathname!==Ke()&&(Ve(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname))}return n.length}(e)>=6||Math.max(o,a)>=4&&l<5}function Ie(e){return e&&(e.contentType="list"),e}function Oe(e){if(!e||"article"!==e.contentType)return!1;var n=(location.pathname||"").toLowerCase();if("/"===n||""===n||/^\/(index|default|home)\b/i.test(n)||/^\/\d+(,\d+)*\.html?$/i.test(n))return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var i=t(r.textContent||e.textContent||""),o=r.querySelectorAll("p").length,a=r.querySelectorAll("h1, h2, h3").length,l=(e.markdown||"").match(/^\s*- \[/gm)||[],s=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,n){return e+t(n.textContent||n.getAttribute("aria-label")||"").length},0),c=i.length>0?s/i.length:0,u=Ze();return!He(r,i)&&(!(!Fe(r,i)&&!De(r,i))||(!Ue()&&i.length>=280&&c<.5||!(Ue()&&c>.5)&&(!(Ue()&&a>=5&&a>=.6*o)&&(!(i.length<280)&&(!(o<3&&a<1&&!u)&&(!(l.length>=8&&o<5)&&(!(c>.33&&o<6)&&(u&&i.length>=280&&c<.5||o>=5||e.readerMode&&o>=3&&c<.28))))))))}function Fe(e,n){if((n=t(n||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(n))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var r=0;if(/\b(?:high court|supreme court|court of appeal|federal court|district court|court of justice|tribunal)\b/i.test(n)&&(r+=1),/\b(?:judg(?:e)?ment|opinion of the court|reasons for judgment|delivered by|per curiam)\b/i.test(n)&&(r+=1),/\b(?:appellant|respondent|plaintiff|defendant|petitioner|counsel|solicitor|amicus|certiorari)\b/i.test(n)&&(r+=1),/\b[A-Z][A-Za-z'.-]+\s+v\.?\s+[A-Z][A-Za-z'.-]+\b/.test(n)&&(r+=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(n)&&(r+=1),r<3)return!1;var i=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0,o=(n.match(/[.;:]\s+[A-Z][a-z]{2,}/g)||[]).length;return i>=5||o>=35||n.length>=2e4}function De(e,n){if((n=t(n||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(n))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var r=ye({root:e,text:n,title:document.title||"",path:location.pathname||""});if(!r.legalTitle||r.provisionMarkers<8)return!1;var i=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 r.structuralMarkers>=3||r.legalTerms||i>=8||n.length>=2e4}function He(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||r.length<200)return!1;var i=n(location.pathname||"").toLowerCase(),o=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")),a=t([i,o,r.slice(0,1200)].join(" ")).toLowerCase(),l=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(i),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 n=e.getAttribute("href")||"",r=t(e.textContent||"");return/\/(?:section|article|schedule|part|chapter)\/[^\s#?]+/i.test(n)||/\b(?:section|article|schedule|part|chapter)\s+(?:\d+[a-z]?|[ivxlcdm]+)\b/i.test(r)}).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 Ue(){var e=(location.pathname||"").toLowerCase(),t=e.split("/").filter(Boolean),n=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(n)&&!/\.(html?|php|aspx?|jsp|shtml)$/i.test(n)))}function We(){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 Ze(){return/\/(20\d{2}|\d{4}\/\d{2}\/\d{2}|article|articles|blog|blogs|column|columns|archive|archives|news\/[\w-]+|entry|entries|post|posts|\d{5,}[\w-]*\.html?)\b/i.test(location.pathname||"")}function Ve(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function Ge(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 Ke(){return location.origin+location.pathname}function Je(e){return n(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function Xe(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),r=Je((e.siteName||location.hostname||"").replace(/^www\./i,"")),i=/^(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)$/,o=Je([location.pathname||"",e.title||"",document.title||"",t?t.textContent:""].join(" ")).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!i.test(e)&&-1===r.indexOf(e)}),a=[];o.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=n(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:Ke(),keywords:a,sectionFragments:l.slice(0,4)}}function Ye(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 Qe(e){var n=t(e||"");return!!n&&(!!/(ve[ðd]ursp[áa]( næsta s[óo]larhring)?|weather forecast|uppl[ýy]singar um ve[ðd]ur)/i.test(n)&&(n.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 et(e){if(!e||1!==e.nodeType)return!1;var n=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),r=t(e.textContent||"").slice(0,280);return/(trending|popular|most-read|mostread|video|videos|photo|photos|gallery|galleries|web.?stor|newsletter|subscribe|social|share|follow|language|edition|top[_-]?nav|secondary-navbar|first-level-menu|second-level-menu|header-menu|side-nav|top-trending|wdt-trending|recommended|related|login|signup|register|account|forum[_-]?stats|online[_-]?users|who[_-]?is[_-]?online|board[_-]?stats|members[_-]?online|active[_-]?users|forum[_-]?rules|quick[_-]?reply|new[_-]?thread|moderator[_-]?panel|subforum[_-]?list)/.test(n)||Ye(r)}function tt(e,t,n,r){var i="",o=(e+" "+(n||"")).toLowerCase(),a=0,l=0;try{i=new URL(t,location.href).pathname.toLowerCase()}catch(e){i=""}return r.keywords.forEach(function(e){-1!==(o+" "+i).indexOf(e)&&(a+=1)}),r.sectionFragments.forEach(function(e){-1!==i.indexOf(e)&&(l+=1)}),{path:i,keywordMatches:a,sectionMatches:l}}function nt(e,n,r){if(!e)return null;var o=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(!o||"#"===o[0]||/^(javascript:|mailto:)/i.test(o))return null;if(l.length<Ne(l)||l.length>220)return null;var u=i(o);if(!u)return null;try{s=new URL(u,location.href).pathname}catch(e){return null}if(location.origin+s===r.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(Ge(l,o)||at(e)||at(e.parentElement)||it(e))return null;var d=e.querySelector("h1, h2, h3, h4, p")?e:n,p=t(d&&d.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()).length>420&&(p=p.slice(0,417).replace(/\s+\S*$/,"")+"..."),!c&&/\/(ve[ðd]ur|vedur|forecast|weather|spastod)\b/i.test(u)&&Qe(l+" "+p))return null;if(/\/(tv|spored)\//i.test(u)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(l+" "+p)||/\b\d{1,2}\.\d{2}\b/.test(l+" "+p)))return null;var m=function(e,n,r,i,o){if(!n)return-1/0;var a=e.length,l=tt(e,n,r,o),s=l.path;if(location.origin+s===o.currentUrl)return-1/0;i&&i.matches("article, section, li")&&(a+=120);var c=i&&i.querySelector("h1, h2, h3, h4");return c&&t(c.textContent||"")===e&&(a+=180),a+=70*l.keywordMatches,a+=220*l.sectionMatches,(et(i)||et(i&&i.parentElement))&&(a-=260),(Ye(e)||Ye(r))&&(a-=220),a}(l,u,p,n||e.parentElement,r);return m===-1/0?null:{text:l,url:u,detail:p,score:m}}function rt(e,t){for(var n=e&&e.parentElement;n&&n!==document.body;){if(n.matches&&n.matches("article, li, main, [role='main']"))return null;if(n.matches&&n.matches("header")&&e.closest("article, section, main, [role='main']"))n=n.parentElement;else{if(t(n))return n;n=n.parentElement}}return null}function it(e){return rt(e,at)}function ot(e,n){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 r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase();return!!r&&(!/(news|headline|story|article|post|feed|stream|content|result|listing|archive|topic|thread|discussion|feature)/.test(r)&&(n?/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer|utility|meta|social|share|follow|account|login|signup|register)/.test(r):/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer)/.test(r)))}function at(e){return ot(e,!0)}function lt(e){return ot(e,!1)}function st(e){var n=Xe(e),o=[];["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){o.push(e)})});var a=o.reduce(function(e,o){var a=function(e,n){if(at(e)||et(e))return-1/0;var o=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 n=t(e.textContent||e.getAttribute("aria-label")||"");return n.length>=Ne(n)&&!Ge(n,e.getAttribute("href")||"")&&!at(e.parentElement)&&!at(e.closest("div, section, article, li"))}).length,u=r(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 n&&(n.sectionFragments.length||n.keywords.length)&&Array.prototype.slice.call(e.querySelectorAll("a[href]"),0,80).forEach(function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");if(!(r.length<Ne(r))){var o=i(e.getAttribute("href"));if(o){var a=tt(r,o,"",n);d+=140*a.sectionMatches+30*a.keywordMatches}}}),10*o+30*c+20*a+45*l+20*s+d-Math.round(u/40)}(o,n);return!e||a>e.score?{node:o,score:a}:e},null);return a&&a.score>-1/0?a.node:document.body}function ct(e,n,r,o,a){if(!(e.length>=12)){r=t(r);var l=o;if(o=function(e){try{var t=new URL(e,location.href);["uddg","u","u3","r","rut","ad_domain"].forEach(function(n){var r=t.searchParams.get(n);r&&/^https?:/i.test(decodeURIComponent(r))&&(e=decodeURIComponent(r))})}catch(e){}return i(e)}(o),a=t(a),o&&r&&!(r.length<8||r.length>180)&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more)$/i.test(r)&&!/^(javascript:|mailto:)/i.test(o)&&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}}(o)&&!function(e,t,n,r){var i=(e+" "+t).toLowerCase();return/\bad\b|sponsored|report ad/.test(i)||/[?&](ad_|ad=|ad_domain=)/i.test(n)||/(?:^|\/)y\.js\?/i.test(r||"")}(r,a,o,l)){var s=r+"|"+o;n[s]||(n[s]=!0,e.push({text:r,url:o,detail:a}))}}}function ut(){return function(){var e,n=document.getElementById("__NEXT_DATA__");if(!n)return null;try{e=JSON.parse(n.textContent)}catch(e){return null}if(!e||!e.props)return null;var r=e.props.pageProps||e.props;if(!r)return null;var i=[],o=null;if(function e(t,n){if(!(n>8)&&t)if("string"!=typeof t){if(Array.isArray(t))for(var r=0;r<Math.min(t.length,200);r++)e(t[r],n+1);else if("object"==typeof t){for(var a=["content","body","markdown","html","description","text","article","post","doc","page","rawBody","compiledSource"],l=0;l<a.length;l++){var s=a[l];t[s]&&"string"==typeof t[s]&&t[s].trim().length>100&&i.push(t[s].trim())}if(!o)for(var c=["title","name","heading"],u=0;u<c.length;u++)if(t[c[u]]&&"string"==typeof t[c[u]]&&t[c[u]].trim().length>2){o=t[c[u]].trim();break}for(var d=Object.keys(t),p=0;p<Math.min(d.length,50);p++)e(t[d[p]],n+1)}}else{var m=t.trim();m.length>80&&i.push(m)}}(r,0),0===i.length)return null;var a,l,s,c=i.reduce(function(e,t){return e.length>=t.length?e:t});if(c.length<200)return null;if(/<[a-z][^>]*>/i.test(c)&&/<\/[a-z]+>/i.test(c)){l=c;var u=document.createElement("div");u.innerHTML=c,ur(u),s=t(u.textContent),a=null}else l=null,s=t(c),a=c;return{title:o||document.title,byline:null,excerpt:s?s.slice(0,280):null,siteName:location.hostname,publishedTime:null,html:l,textContent:s||c,markdown:a,contentType:"article",spaFallback:!0}}()}var dt="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 pt(e){return new RegExp(dt,e||"")}function mt(e){return new RegExp("^(?:"+dt+")",e||"")}function ht(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function ft(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 gt(e,n,r){var i=t(e.title||document.title),o=t(n||"");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)}(i,o)?"anubis":function(e,n,r){e=e||"",n=n||"";var i=ht(r),o=!n||t(n).length<80;return/datadome captcha/i.test(e+" "+n)||o&&/(captcha-delivery\.com|datadome captcha|\bvar dd=)/i.test(i)}(i,o,r)?"datadome":function(e,n,r){e=e||"",n=n||"";var i=ht(r),o=!n||t(n).length<120;return!ft(n)&&(/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(n))&&!/this page explains/i.test(n)||(/turnstile/i.test(e)||/turnstile/i.test(n))&&/managed challenge|interactive challenge/i.test(n)&&!ft(n)||o&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(i)&&!ft(i))}(i,o,r)?"cloudflare":null}function bt(e,n){if("anubis"===e)return"Making sure you're not a bot!";var r=function(e){for(var n=[location.hostname,e&&e.siteName,e&&e.title],r=0;r<n.length;r+=1){var i=t(n[r]||"").replace(/^www\./i,"");if(A(i))return i}return null}(n);return r?"Access verification required for "+r:"datadome"===e?"Access verification required":"Verifying you are human"}function yt(e,n){var r=t([location.hostname,e&&e.siteName,e&&e.title,e&&e.excerpt].join(" ")).toLowerCase(),i=t([n].join(" ")).toLowerCase();return!(!/(^|\.)(facebook\.com|threads\.(net|com))$/.test(location.hostname)&&!/(facebook|threads|meta)/.test(r))&&/meta products|cookies from other companies|allow the use of cookies from threads by instagram|log in with your instagram|join threads to share ideas|create new account|log in to facebook|log in to continue|essential cookies/.test(r+" "+i)}function vt(e,r){if(!yt(e,r))return null;var i=/(threads)/i.test([location.hostname,e&&e.siteName,e&&e.title].join(" ")),o=t(e.title||document.title),a=function(){var e=y("next")||location.pathname;try{e=new URL(e,location.href).pathname}catch(e){}var r=n(e||"").split("/").filter(Boolean);return r.length?"login"===r[0]?t(r[1]||""):t(r[0]):null}(),l=[i?"Access notice: Threads login or cookie acceptance required":"Access notice: Facebook login or cookie acceptance required"],s=e.excerpt;return o&&!/threads\s*[•|-]\s*log in|facebook\s*-\s*log in/i.test(o)||(o=a?i?"Threads page "+a:"Facebook page "+a:i?"Threads page":"Facebook page"),s&&!/join threads to share ideas|log in with your instagram|create an account or log into facebook/i.test(s)||(s=i?"Original content on this Threads page is not available without login or cookie acceptance.":"Original content on this Facebook page is not available without login or cookie acceptance."),a&&-1===o.indexOf(a)&&l.push("Requested page: "+a),b({title:o,description:s,details:l,siteName:e.siteName||location.hostname})}function wt(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function kt(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return t.width>0&&t.height>0&&"hidden"!==n.visibility&&"none"!==n.display}function xt(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function St(e,n,r,i){!(r=t(r||""))||r.length>i||wt(r)||n[r]||(n[r]=!0,e.push(r))}function At(e,n,r){r=r||{};var i=t(n||"").toLowerCase(),o=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=r.maxTextLength;if(l&&i.length>=l)return null;if(r.checkStructured&&function(){var e=document.querySelector("main, [role='main'], .content, body");if(!e)return!1;var n=t((e.querySelector("h1, h2")||{}).textContent||""),r=t(e.textContent||"");return!!/\bpage not found\b|\bnot found\b/i.test(n)&&(!!/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(r)&&0===e.querySelectorAll("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']").length)}())return{structured:!0};if(r.checkStructured&&/\bpage not found\b/i.test(o+" "+i)&&/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(o+" "+i)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']"))return{structured:!0};if(!a.test(o+" "+i))return null;var s=i.slice(0,420),c=a.test(o),u=a.test(s),d=u&&i.length<900,p=c||u||i.length<900;return r.requireDominance&&!p||r.excludeDefinitionsNet&&/definitions\.net/i.test(o+" "+location.hostname)||r.requireInterstitialPage&&!(c||d||!r.substantialPublic&&u)&&r.substantialPublic?null:{titleLooksMissing:c,pageStartsMissing:u,shortMissingPage:d,dominates:p}}function Ct(e){var n,r,i=t(e||""),o=(n=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3, main p, main li").length,r=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, h1, h2, h3, [itemprop='articleBody'], main li").length,Math.max(n,r)),a=document.querySelectorAll("main h1, h1, main h2").length,l=document.querySelectorAll("main a[href], a[href]").length;return o>=5&&(i.length>=180||a>=1&&l>=3)}function qt(e,n){var r=t(e.title||document.title),i=t([n||"",document.body&&document.body.textContent||""].join(" ")),o=(r+" "+i).toLowerCase(),a=Ct(i);return yt(e,n)?"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(o)?"human_verification":/select your country|choose a country|shopping in the u\.s\?|best buy international/i.test(o)&&!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(o)&&!a?"browser_support":/^access error$/i.test(r)||/potential misuse|page you are trying to access is unavailable|help\.ft\.com|request blocked|you have been blocked|troubleshooting cloudflare errors/i.test(o)?"access_error":function(e,n){var r=t(e||"").toLowerCase(),i=t(n||"").toLowerCase(),o=/خطایی رخ داده|وب سایت مورد نظر در دسترس نیست|page unavailable|site unavailable|website unavailable|service temporarily unavailable|temporarily unavailable|service unavailable/;return o.test(r)||i.length<1200&&o.test(i.slice(0,500))}(r,i)?"site_unavailable":function(e,n){var r=t(e||"").toLowerCase(),i=t(n||"").toLowerCase(),o=pt(),a=mt();return!!/^before you continue to (google|youtube)\b/.test(r)||!(!/before you continue to (google|youtube)/.test(i)||!/accept all|reject all|more options|we use cookies and data/.test(i))||!!$t(i)&&(o.test(r)||a.test(i))}(r,i)?"consent_wall":/\bmy account\b[\s\S]{0,120}\blog in\b/i.test(i)&&/\byou must log in to access\b/i.test(i)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody']")?"auth_wall":At(r,i,{checkStructured:!0,requireDominance:!0,requireInterstitialPage:!0,substantialPublic:a,excludeDefinitionsNet:!0})?"not_found":/transferring (?:you )?to (?:the )?website|در حال انتقال به وب.سایت|سایت در حال بارگذاری|sayfaya yönlendiriliyorsunuz|yönlendiriliyor|מועבר לאתר|الموقع قيد التحميل|ویب سائٹ پر منتقل/i.test(o)&&t(i).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(o)?"subscription":function(e,n,r){var i=t(e||"").toLowerCase(),o=t(n||""),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,p=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, nav a[href]").length,m=Math.max(d,p),h=/forgot(?:ten)? password|reset your password|check your email for a reset link/i.test(r),g=/\b(?:github|gitlab|google|oauth|sso|single sign-on|continue with|sign in with|log in with)\b/i.test(r);return!l&&/^(?:log in|login|sign in|sign-in|sign into|log into)(?:\b|\s*[-|–])/.test(i)&&(s>=1||c>0||u>0||g)?m<15:!!(h&&d<10&&o.length<2200||(h||/sign in to continue|log in to continue|create an account to continue|please sign in|please log in/i.test(r))&&(/sign in|log in|login|create (?:an )?account|reset your password/.test(i)||!(!/sign in|log in|login|create (?:an )?account|reset your password/.test(i)&&m>=15&&o.length>=1e3)&&((c>0||u>0)&&s>=1&&d<10||s>=1&&o.length<900&&d<8||o.length<400&&d<5)))}(r,i,o)?"auth_wall":null}function Et(e,n){var r=qt(e,n);if(!r)return null;if("meta_login"===r)return vt(e,n);var i=t(e.title||document.title),o=f(["main h1","main h2","main p","main li","body h1","body h2","body p"],20).filter(function(e){return e&&e.length<=240&&!wt(e)}),a=o.find(function(e){return e!==i&&e.length>=12})||e.excerpt||t(n||""),l=[],s=[];if("human_verification"===r)i&&!A(i)||(i="Robot or human?"),l.push("Gate: human verification");else if("consent_wall"===r){var c=function(){var e={},t=[],n=[],r=[],i=[];document.querySelectorAll("main h1, main h2, main h3, body h1, body h2, body h3").forEach(function(n){kt(n)&&St(t,e,xt(n),140)}),document.querySelectorAll("main p, body p").forEach(function(t){kt(t)&&St(n,e,xt(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){kt(t)&&St(r,e,xt(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(kt(t)){var n=xt(t);!n||n.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(n)&&St(i,e,"Control: "+n,100)}});var o=n.find(function(e){return e.length>=40&&/(cookies?|data|privacy|personal|ads?|content|services|device|information|partners?|consent)/i.test(e)})||n.find(function(e){return e.length>=20})||null;return{headings:t,description:o,highlights:t.concat(n).concat(r).concat(i)}}();c.headings.length&&(i=c.headings[0]),c.description&&(a=c.description),l.push("Interstitial: cookie or consent prompt"),s=c.highlights.filter(function(e){return e!==i&&e!==a}).slice(0,6)}else"region_selector"===r?(l.push("Interstitial: region or country selector"),s=o.filter(function(e){return e!==i&&e!==a}).slice(0,3)):"browser_support"===r?l.push("Interstitial: unsupported browser shell"):"access_error"===r?l.push("Interstitial: access error or blocked session"):"site_unavailable"===r?l.push("Interstitial: site unavailable or temporarily offline"):"not_found"===r?(i&&!A(i)||(i="Page not found"),l.push("Interstitial: requested page is unavailable")):"subscription"===r?l.push("Access notice: subscription or institutional login required"):"auth_wall"===r?(i&&!A(i)||(i="Login required"),l.push("Access notice: login or account required")):"js_redirect"===r&&(i&&!A(i)||(i="Redirecting..."),l.push("Interstitial: JavaScript redirect page — content not yet loaded"));return b({title:i,description:a,details:l,highlights:s,siteName:e.siteName||location.hostname,contentType:"interstitial"})}function Tt(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 jt(){return n(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 Lt(e){return(n(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,n){return e.length>=8&&n.indexOf(e)===t})}var _t={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:/\b(които|която|което|след|това|като|също|повече|само|между|тези|всички|може|имат|обаче|когато|след|върху|срещу)\b/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 $t(e){var n=t(e||"").toLowerCase();if(!n)return!1;if(!pt("i").test(n))return!1;if(mt("i").test(n))return!0;var r=n.match(pt("gi"))||[];return n.length<5e3&&r.length>=3||r.length>=8&&r.length/(n.length/500)>=.4}function Nt(e){var n=t(e||"").toLowerCase();if(!n)return!1;var r=/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(r.test(n.slice(0,600)))return!0;var i=n.match(r)||[];return n.length<3e3&&i.length>=1}function Mt(){var e=d(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),n=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),r=o("article:content_tier","property")||o("article:content_tier","name"),i=r&&/^(locked|metered|premium)$/i.test(t(r)),a=!!document.querySelector("[data-piano-offer], [data-paywall], [class*='paywall' i], [id*='paywall' i], [class*='subscribe-wall' i], [class*='premium-wall' i], [class*='piano-offer' i], [data-testid*='paywall' i], [class*='metered' i][class*='banner' i]"),l=t(document.body&&document.body.innerText||"").slice(0,6e3).toLowerCase(),s=/(for abonnenter|unlock full access|contenu réservé aux abonnés|solo para suscriptores|nur für abonnenten|alleen voor abonnees|solo per abbonati|dostępne dla subskrybentów|только для подписчиков|лише для передплатників|přístupné pouze pro předplatitele|csak előfizetőknek|exklusivt för prenumeranter|kun for abonnenter|vain tilaajille|tik prenumeratoriams|tikai abonentiem|nur für abonnent|nur für abonnenten|contenido exclusivo para suscriptores|réservé aux abonnés|subscriber exclusive|subscribers only|premium content|members only|členský obsah|premium-inhalt)/.test(l);return n||i||a||s?{source:n?"structured_data":i?"meta_tag":a?"dom_element":"text_pattern",contentTier:r?t(r).toLowerCase():n?"locked":null}:null}function zt(e,r){var i=n(location.pathname||"").toLowerCase(),o=t([e,i,r.slice(0,5e3)].join(" ")).toLowerCase();return!!/\/(?:instruments?|treat(?:y|ies)|charters?|covenants?|conventions?|protocols?|resolutions?|publication\/unts)\b/.test(i)||(!!/\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(o)||(!(!/\barticle\s+\d+\b/.test(o)||!/\b(states parties|entry into force|ratification|depositary|secretary-general|united nations)\b/.test(o))||!!function(e,t,n){var r=ye({text:t,title:e,path:n,contextLimit:5e3}),i=/\b(?:book|part|division|chapter|title|article|section)\s+\d+[a-z]?\b/g.test(t)||/(?:^|\s)§\s*\d+/.test(t);return r.officialStatuteTitle&&r.officialTextSignals&&(i||r.translationAttribution||/\/englisch_[a-z0-9_-]+\//.test(n))}(e,r,i)))}function Rt(e,r){var i=n(location.pathname||"").toLowerCase(),a=t([e,i,r.slice(0,8e3),o("citation","name"),o("DC.title","name")].join(" ")).toLowerCase(),l=Pt(i),s=/\[\d{4}\]\s*(?:ukhl|uksc|ewca|ewhc|ukpc|ukut|ukftt|ac|wlr|all\s+er|ecli)\b/i.test(a),c=/\b(?:judgment|judgement|opinion(?:s)? of the lords|court of appeal|high court|supreme court|house of lords|lordships|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(a),u=/\b(?:v\.?|versus)\b/i.test(e||a)&&/\b(?:appellant|respondent|claimant|defendant|secretary of state|commissioner|director of public prosecutions)\b/i.test(a);return l&&(s||c||u)||s&&c&&u}function Pt(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 Bt(e,r,i,a){if(!r||"article"!==r.contentType||r.docsLike)return!1;if(function(e,r,i,a){if(!r||"article"!==r.contentType||a.length<500)return!1;var l=n(location.pathname||"").toLowerCase(),s=t([i,r&&r.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,o("article:section","property"),location.hostname||"",l].join(" ")).toLowerCase();if(/\b(news|breaking|opinion|press release|live updates?)\b/.test(s))return!1;var c=/\b(science|research|data|statistics|charts?|emissions?|climate|mission|observatory|telescope|reference|facts?|explorer|dataset|indicators?)\b/.test(s),u=/\b(key facts|data explorer|all charts|research & writing|introduction|overview|mission overview|science themes|methodology|download data|sources? and methods?)\b/i.test(a),d=/\/(?:mission|missions|data|statistics|charts?|topics?|explorers?)(?:\/[^/.]+)?\/?$/.test(l)||/\b(?:emissions|greenhouse-gas|climate|dataset|data-explorer)\b/.test(l),p=(a.match(/^##\s+/gm)||[]).length;return c&&(d&&a.length>=500||a.length>=1500&&(u||p>=4))}(e,r,i,a))return!1;if(d(["NewsArticle","ReportageNewsArticle","LiveBlogPosting","AnalysisNewsArticle","OpinionNewsArticle"]))return!0;var l=t(o("og:type","property")||"").toLowerCase();if(l&&"article"!==l)return!1;if(document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"))return!1;var s=t([i,e&&e.siteName,e&&e.excerpt,o("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(s)&&(!!/\b(news|breaking|politics|business|markets?|economy|world|national|local|analysis|opinion|investigation|report)\b/.test(s)||a.length<5e3&&/\b(updated|published|reported)\b/.test(s))}function It(e){var n=[];return e.forEach(function(e){Array.prototype.slice.call(document.querySelectorAll(e)).forEach(function(e){var r=t(e.textContent||"");r.length>=80&&-1===n.indexOf(r)&&n.push(r)})}),t(n.join("\n\n"))}function Ot(e,n,r){var i=t(n&&n.title||e.title||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),a=t(r||n&&n.textContent||"").toLowerCase();if(d(["LiveBlogPosting"]))return"liveblog";if(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(i)||/\b(liveblog|live-blog|liveticker|live-ticker|live-updates)\b/.test(o))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(i))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(i)||/\/(events?|calendar|agenda|whats-on|what-s-on|veranstaltungen|evenements)\b/.test(o)){if((a.match(/\b\d{1,2}[\s./-]\s*(?:jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|jun(?:e)?|jul(?:y)?|aug(?:ust)?|sep(?:tember)?|oct(?:ober)?|nov(?:ember)?|dec(?:ember)?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre|januar|februar|märz|april|juni|juli|august|oktober|dezember|styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień)\b/gi)||[]).length>=2)return"event_listing";if(d(["Event","MusicEvent","SportsEvent","TheaterEvent","Festival"]))return"event_listing"}if(d(["VideoObject","Movie","TVEpisode","TVSeries","TVSeason","Clip"])&&a.length<800)return"video";var l=document.querySelectorAll("video, [class*='video-player' i], [class*='videoplayer' i], [id*='video-player' i], [class*='jwplayer' i], [class*='bitmovin' i], [class*='brightcove' i], [data-player], [data-video-id], [data-video], [class*='auvio' i][class*='player' i], [class*='media-player' i], [class*='mediaplayer' i]"),s=document.querySelectorAll("iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], iframe[src*='dailymotion'], iframe[src*='player'], iframe[src*='video'], iframe[data-src*='youtube'], iframe[data-src*='vimeo']");if((l.length>=1||s.length>=1)&&a.length<600)return"video";if(/\/(video|videos|watch|player|clip|replay|auvio|mediathek|mediatheque|videoteka|platforma)\b/.test(o)&&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";if(n&&n.html){var c=document.createElement("div");c.innerHTML=n.html;for(var u=c.querySelectorAll("h2, h3"),p=c.querySelectorAll("time, [datetime]"),m=[],h=0;h<p.length;h++){for(var f=p[h],g=!1,b=f.parentElement;b&&b!==c;){var y=(b.tagName||"").toLowerCase(),v=(b.className||"").toLowerCase(),w=(b.getAttribute("role")||"").toLowerCase();if("aside"===y||"nav"===y||"footer"===y||"complementary"===w||"navigation"===w||/\b(sidebar|related|teaser|widget|aside|nav|footer|meta)\b/.test(v)){g=!0;break}b=b.parentElement}g||m.push(f)}if(m.length>=6&&u.length>=4){for(var k=[],x=0;x<m.length;x++){var S=m[x].getAttribute("datetime")||t(m[x].textContent);S&&-1===k.indexOf(S)&&k.push(S)}if(k.length>=4)return"liveblog"}}if(r){var A=(r.match(/^##\s+/gm)||[]).length,C=(r.match(/\b\d{1,2}[:.]\d{2}\s*(?:Uhr|AM|PM|CET|CEST|UTC|GMT|[A-Z]{2,4}T)?\b/gm)||[]).length;if(A>=6&&C>=6)return"liveblog"}if(r&&n&&n.html){for(var q=r.split("\n").filter(function(e){return e.trim().length>0}),E=r.match(/\[([^\]]*)\]\([^)]+\)/g)||[],T=(r.match(/^#{1,3}\s+/gm)||[]).length,j=0,L=0,_=0;_<q.length;_++){var $=q[_];/^#{1,3}\s+/.test($)?(L>0&&L<200&&j++,L=0):L+=$.length}if(L>0&&L<200&&j++,T>=4&&E.length>=5&&j>=4&&j>=.6*T)return"newsletter";var N=r.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(E.length>=8&&T>=4&&N<5*E.length)return"newsletter"}return null}function Ft(e,r,i,o,a){var l,s=[],c=t(r&&r.title||e.title).toLowerCase(),u=t(i||r&&r.textContent||"").toLowerCase(),p=t(o||"").toLowerCase(),m=(c+" "+u+" "+p).trim(),h=gt(e,o,a),f=qt(e,o),g=!(!r||!r.docsLike),b=!(!r||!r.packagePage),v=/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(c)||/(\/dictionary\/|\/definition\/|\/definitions\/|\/pronunciation\/)/.test(location.pathname||"")||!!y("q")&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(c+" "+t(e.excerpt||"").toLowerCase()),w=g&&u.length>20,k=!t(i||"")&&!t(r&&r.textContent||""),x=u.length<140&&/copyright\b.*\ball rights reserved\b/i.test(u)&&!/[.!?].+[.!?]/.test(u),S=t(r&&r.textContent||"").toLowerCase(),A=At(c,t([u,S].join(" ")).toLowerCase(),{maxTextLength:1100}),C=document.querySelectorAll("main a[href], article a[href]").length>=3||r&&"list"===r.contentType,q=$t(u),E=u.length>500&&!(q&&!C);g||E||!q||s.push("consent_interstitial"),g||(!(l=t(u||"").toLowerCase())||l.length>220||!/^(?:do not sell(?: or share)? my personal information|do not sell(?: or share)?|privacy policy|cookie policy|cookies? policy|terms of (?:service|use)|manage (?:privacy|cookie|consent) preferences|privacy choices|your privacy choices)$/i.test(l)&&!/(?:do not sell(?: or share)? my personal information|privacy policy|cookie policy|terms of (?:service|use)|privacy choices|your privacy choices)/i.test(l))||s.push("consent_interstitial");var T,j=function(e,n,r,i){var o=t(r||"").toLowerCase(),a=t(i||"").toLowerCase(),l=pt("i"),s=mt(),c=l.test(o),u=l.test(a);if(!c&&!u&&"meta_login"!==e)return!1;var d=s.test(o)||o.indexOf("cookie")>=0&&o.indexOf("cookie")<140&&o.length<500,p=s.test(a)||a.indexOf("cookie")>=0&&a.indexOf("cookie")<140&&o.length<260;return"meta_login"===e||d||p}(f,0,u,p)&&!("consent_wall"===f&&C);if(g||E||!(j||$t(p)&&!C)||s.push("consent_interstitial"),"anubis"===h&&s.push("anubis_challenge_page"),"datadome"===h&&s.push("datadome_challenge_page"),"cloudflare"===h&&s.push("cloudflare_challenge_page"),"consent_wall"!==f||E||C||s.push("consent_interstitial"),"meta_login"===f&&s.push("meta_login_wall"),"human_verification"===f&&s.push("human_verification_interstitial"),"region_selector"===f&&s.push("regional_selector_interstitial"),"browser_support"===f&&s.push("browser_support_interstitial"),"access_error"===f&&s.push("access_error_interstitial"),"site_unavailable"===f&&s.push("site_unavailable_interstitial"),"not_found"!==f&&!A||g&&w||s.push("not_found_interstitial"),"subscription"===f&&(!E||Nt(u)||Nt(p)&&!C)&&s.push("subscription_interstitial"),"auth_wall"===f&&s.push("auth_or_login_interstitial"),"meta_login"===f&&/cookie/i.test(m)&&s.push("consent_interstitial"),g&&w||!h&&!/(verify you are human|unusual traffic|are you a robot|access denied|security verification|checking your browser)/.test(m)||s.push("bot_or_access_interstitial"),g&&w||"human_verification"!==f&&"access_error"!==f||s.push("bot_or_access_interstitial"),k&&(p.length>80||(e.title||"").length>3||a&&a.htmlLength>200)&&s.push("empty_extraction"),!x||h||f||s.push("empty_extraction"),!h&&!f&&t(i||"").length<10&&(e.title||"").length>3&&-1===s.indexOf("empty_extraction")&&-1===s.indexOf("short_extraction")&&s.push("short_extraction"),!h&&!f&&r&&"search"!==r.contentType){var L=u.length,_=p.length,$=jt().length>=2;if("article"!==r.contentType||r.legalProvision||w||v||b||($&&L<500&&_>2e3&&s.push("truncated_content"),$&&L>=500&&L<1500&&_>3e3&&L/_<.15&&s.push("truncated_content"),$&&L>=1500&&L<3e3&&_>8e3&&L/_<.12&&s.push("truncated_content"),function(e,n,r){if(!n||"article"!==n.contentType||n.docsLike)return!1;var i=t([location.pathname||"",n&&n.title||"",e&&e.title||""].join(" ")).toLowerCase();if(String(n&&n.html||"").toLowerCase(),/\blyrics?\b/.test(i)){var o=It(["[data-lyrics-container]",".lyrics","[class*='Lyrics__Container']"]);if(o.length<300)return!1;if(/data-lyrics-container|lyrics__container|class=["'][^"']*\blyrics\b/i.test(n.html||""))return!1;if(/\[(?:verse|chorus|bridge|outro|intro|hook|refrain|pre-chorus|instrumental)\b/i.test(r))return!1;if(/\b(song bio|annotation|contributors?|written by|produced by)\b/i.test(r)||r.length<.75*o.length)return!0}if(/\bpoems?\b/.test(i)){var a=It(["[data-poem]",".poem","[class*='poem' i]"]);if(a.length>=300&&!/data-poem|class=["'][^"']*poem/i.test(n.html||"")&&r.length<.75*a.length)return!0}return!1}(e,r,u)&&s.push("truncated_content")),L<200&&_>1e3&&!w&&!v&&!b&&s.push("short_extraction"),"article"===r.contentType&&L>=200&&L<700&&_>2500&&!w&&!v&&!b){var N=t([i,c,e.title,e.description].join(" "));/\b(?:Published:\s*\d{4}|Duration:\s*P?T|featured video|watch video|learn more)\b/i.test(N)&&s.push("short_extraction")}if(("list"===r.contentType||"article"===r.contentType)&&((T=location.pathname||"")&&!/\/(?:search|browse|category|categories|tags?|topics?|collections?)\b/.test(T)&&/\/(?: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(T))&&L<500&&function(e){var n=t(e||"");if(!n)return!1;var r=(n.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,i=(e||"").split(/\n+/).filter(function(e){return/^\s*[-*]\s+\[[^\]]+\]\([^)]+\)\s*$/.test(e)}).length,o=n.replace(/\[([^\]]*)\]\([^)]+\)/g,"").split(/\s+/).filter(function(e){return e.length>=3}).length;return r>=2&&i>=2&&o<2*r}(i)&&s.push("short_extraction"),"article"===r.contentType&&!w&&!v&&!b&&L>=200&&L<1e3&&_>2e3){var M=t(i||""),z=(M.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,R=(M.match(/^#{1,6}\s/gm)||[]).length,P=M.replace(/\[([^\]]*)\]\([^)]+\)/g,"").replace(/^#{1,6}\s.*$/gm,"").split(/\s+/).filter(function(e){return e.length>=3}).length;(z>=3&&P<2*z||R>=3&&P<20)&&s.push("short_extraction")}v&&L<60&&_>500&&s.push("short_extraction")}var B=jt(),I=r&&"list"===r.contentType&&(y("q")||y("_nkw")||y("st")||/^\/search\//.test(location.pathname));if(!h&&!f&&B.length>=2&&!I&&!g&&!Pt(n(location.pathname||"").toLowerCase())&&!Rt(c,u)){var O=(u.match(/[a-zA-Z]/g)||[]).length,F=u.replace(/\s/g,"").length;if((F>0?O/F:1)>.25){var D=Tt(m),H=B.filter(function(e){return-1!==D.indexOf(e)}).length,U=B.length>=5?.3:.25;if(H/B.length<U){var W=Tt(c);B.filter(function(e){return-1!==W.indexOf(e)}).length/B.length<U&&!function(e,r,i){if(!r||i.length<500)return!1;var o=n(location.pathname||"").toLowerCase();if(!/\/(?:articles?\/)?(?:dataset|datasets|figure|record|entry)\//.test(o))return!1;var a=t([r&&r.title||"",e&&e.title,e&&e.siteName,i.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(o)||/\/[_-]\//.test(o))}(e,r,u)&&!function(e){var t=Lt([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var n=Lt(e||"");return t.some(function(e){return-1!==n.indexOf(e)})}(m)&&s.push("url_content_mismatch")}}}if(!h&&!f&&u.length>200&&!Pt(n(location.pathname||"").toLowerCase())&&!Rt(c,u)){var Z=function(){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}()||(e.language||"").slice(0,2).toLowerCase();Z&&_t[Z]&&!function(e,t){var n=_t[e];if(!n)return!0;var r=t.match(n)||[],i=t.split(/\s+/).length,o="pl"===e?.025:.03;return i<40||r.length/i>=o}(Z,u)&&s.push("url_content_mismatch")}if(r&&"search"===r.contentType&&((r.resultCount||0)<3&&s.push("search_results_unusable"),(/^aplikacje google$/i.test(c)||/^google apps$/i.test(c))&&s.push("search_engine_shell_page"),/zawartość została wygenerowana przy użyciu ai|generated with ai|ai-generated/i.test(m)&&s.push("search_engine_ai_summary_only")),!h&&!f&&r&&"search"!==r.contentType&&!g&&!b){var V=Ot(e,r,i);!V||"video"===V&&r.hostAware||function(e,r,i,o){if(!r||"article"!==r.contentType||r.docsLike||o.length<1500)return!1;var a=t(r&&r.title||e.title||"").toLowerCase(),l=n(location.pathname||"").toLowerCase(),s=t(e&&e.siteName||"").toLowerCase();if(!(r.html&&/<h1\b/i.test(r.html)||a.length>20))return!1;var c=/\b(abstract|references|methods|results|discussion|data availability|journal|protein|genome|doi)\b/i.test(o)||/\/(articles?|doi)\//.test(l);return!!(o.length>8e3&&c)||!(!/\/(?:what-we-do|what_we_do|our-work|our_work|about|mission|programmes?|programs?)\b/.test(l)&&!/\b(institution|agency|united nations|ngo|foundation|what we do|our work|mission)\b/.test(a+" "+s)||!/\b(what we focus on|we work|our work|mission|protect|provide|advocate|countries and territories|programmes?|programs?)\b/i.test(o))}(e,r,0,u)||function(e,r,i,o){if(!r||o.length<800)return!1;var a=n(location.pathname||"").toLowerCase(),l=t(r&&r.title||e.title||"").toLowerCase(),s=t(e&&e.siteName||"").toLowerCase(),c=t(document.body&&document.body.innerText||""),u=t([l,s,a,o.slice(0,12e3),c.slice(0,12e3)].join(" ")).toLowerCase(),p=(i||"").match(/^#{2,4}\s+/gm)||[],m=/\/(?:compound|substance|protein|gene|genome|pathway|assay|bioassay|dataset|datasets|article\/dataset|articles\/dataset|record|entry)\//.test(a),h=u.match(/\b(?:cid|cas|inchikey|inchi|canonical smiles|molecular formula|molecular weight|uniprot|ensembl|refseq|gene id|taxonomy id|doi|dataset|accession|chembl|pubchem|protein|proteomics|metabolomics|transcriptomics)\b/g)||[],f=document.querySelectorAll("table, dl, [class*='record' i], [class*='identifier' i], [class*='metadata' i], [data-testid*='metadata' i]").length>=2,g=!!d(["Dataset","DataCatalog"]);return(m||g||/\b(?:database|data repository|scientific resource|life science resource)\b/.test(s))&&h.length>=3&&(p.length>=4||f||o.length>=5e3)}(e,r,i,u)||zt(c,u)||s.push("multi_topic_page")}if(!h&&!f&&r&&"article"===r.contentType&&!Ue()&&(Mt()&&-1===s.indexOf("subscription_interstitial"))){var G=p.length>0?u.length/p.length:1;u.length>0&&(u.length<5e3||u.length<8e3&&G<.4||u.length<12e3&&G<.25)&&s.push("paywall_partial_content")}h||f||!r||"search"===r.contentType||g||/\/(foto|fotos|photos?|gallery|galleries|galerie|galerij|galleria|galeria|fotogalerie|bildergalerie|bildspel|fotogalleri|valokuvat|fotoalbum|fotoreportaz|фото|фотогалерея|φωτογραφίες)\b/i.test(location.pathname||"")&&u.length<800&&s.push("photo_gallery_page");if(!h&&!f&&Bt(e,r,c,u)){var K=t(r&&r.publishedTime||e.publishedTime||"");if(K){var J=Date.parse(K);if(!isNaN(J))(Date.now()-J)/864e5>30&&s.push("stale_content")}}return h||f||!r||"search"===r.contentType||g||function(e,n,r){var i=t(n+" "+r).toLowerCase();if(!i)return!1;if(zt(e,n)||Rt(e,n))return!1;var o=/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//i,a=i.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(i))return!0;var l=i.slice(0,1600);if(o.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+" "+r.slice(0,800)).toLowerCase();return!(!o.test(s)||!/\b(press release|announces?|launches?)\b/.test(s))||a.length>=3&&/\b(press release|announces?|launches?|distributed|provided)\b/i.test(i.slice(0,4e3))}(c,u,p)&&s.push("syndicated_repost"),s}function Dt(e){return function(e){var n=J(e);return(S(/(^|\.)nextjs\.org$/)||/next\.js/i.test(n))&&/^\/docs\//.test(location.pathname)?ee(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 n=J(e);return(S(/(^|\.)react\.dev$/)||/react/i.test(n))&&/^\/(reference|learn)\//.test(location.pathname)?ee(e,["main article","main [data-pagefind-body]","main .max-w-4xl article"],{titleSelectors:["main article h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[–-]\s*React$/i,""))}}):null}(e)||function(e){var n=J(e);if(!S(/(^|\.)docs\.stripe\.com$/)&&!/stripe/i.test(n))return null;if(!/^\/api\//.test(location.pathname)&&!/api reference/i.test(n))return null;var o,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 n=e.querySelector("h1, h2, h3");return(n=t(n&&n.textContent))&&a&&(n===a||0===n.indexOf(a))});if(l){var s=l.parentElement;o=(s?s.querySelectorAll(":scope > section").length:0)>1?s:l}else o=document.querySelector("main article, article, main");return ne(e,o,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){F(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 n=i(e.getAttribute("href")),r=t(e.textContent);n===location.href.split("#")[0]&&r===a&&e.remove()}),e.querySelectorAll("[aria-hidden='true']").forEach(function(e){r(e)<2e3&&e.remove()}),e.querySelectorAll("[class*='collapsed'], [class*='summary'], [class*='unexpanded']").forEach(function(e){var n=e.querySelector("code, strong, b, [class*='name']"),i=t(n&&n.textContent);if(i&&!(i.length>50)){var o=e.nextElementSibling||e.previousElementSibling;if(o){var a=o.querySelector("code, strong, b, [class*='name']");t(a&&a.textContent)===i&&(r(e)<r(o)?e.remove():o.remove())}}}),e.querySelectorAll("h2, h3, h4, h5, h6").forEach(function(e){var n=function(e){var n=(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(!n)return e.replace(/([a-z])([A-Z][a-z]+)/g,"$1 $2");var r=[];n[2]&&r.push("nullable");r.push(n[3].toLowerCase()),n[4]&&r.push("expandable");return n[1]+" - "+r.join(" ")}(e.textContent);n&&(e.textContent=n)});var n=e.querySelectorAll("h1");if(n.length>1){var o={};n.forEach(function(e){var n=t(e.textContent).toLowerCase().replace(/\s*\[?deprecated\]?\s*$/i,"");o[n]?e.remove():o[n]=!0})}e.querySelectorAll("h1").forEach(function(e){e.textContent=t(e.textContent).replace(/deprecated$/i," [Deprecated]")})},postProcessMarkdown:function(e){var t=e.split("\n"),n={};(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&&(n[t[1].toLowerCase().replace(/\s+/g,"")]=!0)}),Object.keys(n).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 r=t[1].toLowerCase().replace(/\s+/g,"");return!n[r]}).join("\n"));return e}})}(e)||function(e){var n=J(e);return S(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(n)?ee(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 n=t(e.textContent);/join serverless experts|builder center|click here to sign up/i.test(n)&&n.length<800&&e.remove()})}}):null}(e)||function(e){var n=J(e);return(S(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(n))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(n))?ee(e,["main article","article.main-page-content","main .main-page-content","main"],{titleSelectors:["main article h1","article.main-page-content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*MDN.*$/,""))},removeTryIt:!0,rewriteRoot:function(e){e.querySelectorAll("section, div, aside").forEach(function(e){var n=t(e.textContent);(/^baseline\b/i.test(n)||/this feature is well established and works across many devices/i.test(n))&&n.length<800&&e.remove()}),e.querySelectorAll("section, div").forEach(function(e){var n=e.querySelector("h2, h3");if(n){var r=t(n.textContent);if(r){var i=t(e.textContent),o=r.length;i.length-o<30&&e.remove()}}}),e.querySelectorAll("table.bc-table, [class*='bc-table'], [class*='bcd-table']").forEach(function(e){t(e.textContent).length<30&&e.remove()})}}):null}(e)||function(e){var n=J(e);if(!S(/(^|\.)docs\.github\.com$/)&&!/github docs/i.test(n))return null;var r=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 n=t(e.textContent);return n&&!/^(fine-grained access tokens|parameters|http response status codes|code samples)\b/i.test(n)}).length>=2?e:null}()||K(["main .markdown-body","main"]);return ne(e,r,{titleSelectors:["main h1",".markdown-body h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*GitHub Docs$/i,""))},rewriteRoot:function(e){e.querySelectorAll("[role='tablist'], ul[class*='SegmentedControl'], .prc-SegmentedControl-SegmentedControl-lqIXp").forEach(function(e){e.remove()}),F(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}})}(e)||function(e){var n=J(e);return(S(/(^|\.)docs\.python\.org$/)||/python .*documentation/i.test(n))&&(/\/library\//.test(location.pathname)||/python .*documentation/i.test(n))?ee(e,["div.body[role='main']","div.body","[role='main']"],{titleSelectors:["div.body h1","[role='main'] h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/¶$/,"").replace(/\s*—\s*Python.*$/,""))},rewriteRoot:function(e){e.querySelectorAll("a.headerlink, button.copybutton").forEach(function(e){e.remove()}),Q(e,"h1, h2, h3, h4",function(e){return t(e).replace(/¶$/,"")}),e.querySelectorAll("dt.sig").forEach(function(e){var n=document.createElement("h3");n.textContent=t(e.textContent).replace(/¶$/,""),e.replaceWith(n)})}}):null}(e)||function(e){var t=J(e);return S(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?ee(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()}),F(e,"div, p, span, button, a",/^(on this page|edit this page on github|cookie manager|theme)$/i),e.querySelectorAll("details summary").forEach(function(e){var t=le(e.textContent);if(t){var n=document.createElement("h3");n.textContent=t,e.replaceWith(n)}})}}):null}(e)||function(e){var t=J(e);return S(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?ee(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()}),F(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var n=J(e);return S(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(n)?ee(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()}),F(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|your cookie preferences|got it!)$/i),e.querySelectorAll("section, div").forEach(function(e){var n=t(e.textContent);(/^is this page helpful\??/i.test(n)||/^was this page helpful\??/i.test(n))&&n.length<200&&e.remove(),/^related resources from grafana labs/i.test(n)&&n.length<2500&&e.remove()})}}):null}(e)||function(e){var n=J(e);if(!S(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(n))return null;var r=y("method"),i=K(["#main",".main_text","main"]),o=ne(e,i,{fallbackTitle:r||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()}),F(e,"a, button, div, span",/^(method list|test your request|changelog|copy)$/i)}});if(r&&(!o||t(o.markdown||"").length<200)){var a=function(e){if(!e)return null;for(var t=new RegExp("examples\\[['\"]"+Nn(e)+"['\"]\\]\\s*=\\s*'([\\s\\S]*?)';"),n=Array.prototype.slice.call(document.querySelectorAll("script")),r=0;r<n.length;r+=1){var i=(n[r].textContent||"").match(t);if(i&&i[1])return Ht(i[1])}return null}(r);if(a){var l=["# "+r,"Baselinker API request example for the `"+r+"` method.","```json",a,"```"].join("\n\n");return{title:r,byline:e.byline,excerpt:"Baselinker API request example for the "+r+" method.",siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:"",markdown:l,textContent:t(l),readerMode:!1,contentType:"article"}}}return o}(e)||function(e){var n=J(e);if(!S(/(^|\.)rubyapi\.org$/)&&!/ruby api/i.test(n))return null;var r=t((e.title||document.title).replace(/\s*\|\s*Ruby API.*$/i,""))||"Ruby API";return"/"===location.pathname||/^\/\d+(?:\.\d+)?\/?$/.test(location.pathname)?function(e,n){var r={},o=[];if(document.querySelectorAll("a[href*='/o/']").forEach(function(e){if(!(o.length>=12)){var n=i(e.getAttribute("href")),a=t(e.textContent);if(n&&/\/\d+(?:\.\d+)?\/o\//.test(n)&&/^read more$/i.test(a)&&!r[n])for(var l=e.parentElement;l&&l!==document.body;){var s=t((l.querySelector("h2, h3")||{}).textContent||""),c=Z(l,["p"]);if(s&&c)return r[n]=!0,void o.push({text:s,url:n,detail:c});l=l.parentElement}}}),o.length<3)return null;var a=["# "+n,e.excerpt,Nr(o)].filter(Boolean).join("\n\n"),l=w({title:n,excerpt:e.excerpt,siteName:e.siteName||location.hostname,markdown:a,textContent:t(a)});return l.byline=e.byline,l.publishedTime=e.publishedTime,l}(e,r):ee(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:r,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),F(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}(e)}function Ht(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 Ut(e){var n=J(e).toLowerCase(),r=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(S(/(^|\.)(api\.rubyonrails\.org|ruby-doc\.org)$/)||/rdoc documentation/.test(n)||!r&&!!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 i=K(["#bodyContent","#content","#main","main"]);return i?ne(e,i,{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()}),F(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),F(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("h1").forEach(function(e){e.remove()}),e.querySelectorAll("ul, ol, div, section").forEach(function(e){H(e)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){var n=t(e.textContent);/^(¶|↑)$/.test(n)&&e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/[¶↑]/g,"").replace(/\s+</g," < ")})}}):null}function Wt(e){var t=a(e,[function(t,n,r){return[J(e),n,r].join(" ")}]),n=t.generator.toLowerCase(),r=t.appName.toLowerCase(),i=t.signature.toLowerCase();return t={generator:n,appName:r,signature:i},document.querySelector("[class*='stldocs-']")?Zt("stldocs",t):/astro/.test(n)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(i))?Zt("starlight",t):/mkdocs/.test(n)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav")?Zt("mkdocs",t):document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname)?Zt("readme",t):document.querySelector("redoc, rapi-doc")||/redoc/i.test(n)||document.querySelector(".redoc-wrap, .api-content[role='main']")?Zt("redoc",t):/buildwithfern|fern/.test(n)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview")?Zt("fern",t):/nextra/.test(i)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container")?Zt("nextra",t):/vitepress/.test(n)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav")?Zt("vitepress",t):/rspress/.test(n)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav")?Zt("rspress",t):/mdbook/i.test(n)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle")?Zt("mdbook",t):/antora/.test(n)||document.querySelector("article.doc, main.main article.doc, .doc .homecards")?Zt("antora",t):/mintlify/.test(n)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']")?Zt("mintlify",t):/gitbook/i.test(n)||/\.gitbook\.io$/.test(location.hostname)||document.querySelector("main [class*='whitespace-pre-wrap']")&&/powered by gitbook/i.test(document.body.innerText)?Zt("gitbook",t):document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]")?Zt("scalar",t):/docusaurus/.test(n)||document.querySelector("#__docusaurus, .theme-doc-markdown, .theme-doc-sidebar-container, nav[aria-label='Docs sidebar']")?Zt("docusaurus",t):/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search")?Zt("rustdoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?Zt("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?Zt("go_pkg",t):/readthedocs/.test(i)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?Zt("readthedocs",t):/sphinx/.test(n)||document.querySelector("div.body[role='main'], dt.sig, a.headerlink, div.highlight")?Zt("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(i)?Zt("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(i)&&document.querySelector("[class*='docBody'], article[class*='doc']")?Zt("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?Zt("generic_docs",t):null}function Zt(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function Vt(e,n){if(!(n=n||Wt(e))||"stldocs"!==n.system&&"starlight"!==n.system)return null;var r=["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,r){function i(e){var r=e.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").length,i=e.querySelectorAll("[class*='stldocs-method-route'], [class*='method-route']").length,o=e.querySelectorAll("[class*='resource-description']").length;return 1e3*r+200*i+80*e.querySelectorAll(".stldocs-property").length+50*o+("starlight"===n.system&&(e.matches(".sl-markdown-content, [data-pagefind-body]")||e.querySelector(".sl-markdown-content, [data-pagefind-body]"))?5e3:0)+("starlight"===n.system&&e.querySelector("h1, h2")&&e.querySelector("p, pre, code, ul, ol")?800:0)-("starlight"===n.system&&e.matches("article.card, .card")&&!e.querySelector("h1, h2")?1200:0)+t(e.textContent).length}return i(r)-i(e)})[0]||null,i=E(r||document.body);ur(i),W(i,{});var o,a,l=h(["main h1","main article h1"])||t(e.title||document.title),s=(o={},a=[],i.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").forEach(function(e){if(!(a.length>=12)){var n=function(e){if(!e)return null;var n=Z(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);n=t(n).replace(/\s+/g,"");var r=Z(e,["h2","h3","h4","strong","[class*='method-name']","[class*='method-title']","[class*='summary-title']"]),i=t(e.textContent);if(r||(r=i,n&&(r=t(r.replace(n,""))),r=(r=r.replace(/\s{2,}/g," ")).split(/(?:(?:GET|POST|PUT|PATCH|DELETE|OPTIONS|HEAD)\/)/)[0].trim()),!r)return null;var o=Z(e,["p","[class*='description']","[class*='summary-description']"]);o&&(o=le(t(o)),r&&0===o.indexOf(r)&&(o=t(o.slice(r.length))),n&&0===o.indexOf(n)&&(o=t(o.slice(n.length))));var a={text:r};return n&&(a.route=n),o&&(a.detail=o),a.groups=function(e){var t=[],n={};return V(e,"section, div, details",".stldocs-property").forEach(function(e){if(!(t.length>=3||e.closest(".stldocs-property"))){var r=G(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(r)){var i=Kt(e).map(function(e){return Xt(e,0)}).filter(Boolean).slice(0,4);i.length&&!n[r]&&(n[r]=!0,t.push({heading:r,fields:i}))}}}),t}(e),a}(e);if(n){var r=n.text+"|"+(n.route||"");o[r]||(o[r]=!0,a.push(n))}}}),a),c=function(e,n){var r={},i=[],o=t(String(n||"")).toLowerCase().replace(/s$/i,"");Array.prototype.slice.call(e.querySelectorAll(".stldocs-property")).forEach(function(e){if(!function(e){var t=e&&e.parentElement;for(;t;){if(t.classList&&t.classList.contains("stldocs-property"))return t;t=t.parentElement}return null}(e)&&!e.closest("[class*='stldocs-method-summary'], [class*='method-summary']")){var n=t(Gt(e,".stldocs-property-declaration, [class*='property-declaration']"));if(n&&!Jt(n)&&!r[n]){var a=le(Gt(e,".stldocs-property-description, [class*='property-description']")),l=Kt(e).map(function(e){return Xt(e,0)}).filter(Boolean).slice(0,5);if(a||l.length){var s=/(?:=|:)\s*object\s*\{|\bobject\s*\{/.test(n),c=t(n.split(/[:=]/)[0]).replace(/\s+$/,""),u=c.replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(/[\s_.-]+/).filter(Boolean).length,d=o&&0===c.toLowerCase().indexOf(o);r[n]=!0,i.push({declaration:n,description:a||null,fields:l,objectSchema:s,score:(s?600:0)+200*l.length+(a?50:0)+(d?700:0)+(o&&-1!==n.toLowerCase().indexOf(o)?250:0)-120*(n.match(/\s+or\s+/g)||[]).length-80*Math.max(u-2,0)+Math.min(n.length,80)})}}}});var a=i.some(function(e){return e.objectSchema})?i.filter(function(e){return e.objectSchema}):i;return a.sort(function(e,t){return t.score-e.score}).slice(0,3).map(function(e){return delete e.score,delete e.objectSchema,e})}(i,l);if(s.length||c.length){var u=function(e,n,r){for(var i=[".stldocs-resource-description","[class*='resource-description']",".stldocs-resource-content > p",".stldocs-markdown > p",".sl-markdown-content > p","p"],o=0;o<i.length;o+=1)for(var a=Array.prototype.slice.call(e.querySelectorAll(i[o])),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=le(t(s.textContent));if(c&&c!==r&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=le(t(n&&n.excerpt));return u&&u!==r?/^api reference for .* endpoints?$/i.test(u)?null:u:null}(i,e,l);s.length>=6&&(c=c.slice(0,2).map(function(e){return{declaration:e.declaration,description:e.description,fields:e.fields.slice(0,3)}}));var d=[];return l&&d.push("# "+l),u&&d.push(u),s.length&&d.push(function(e){return e.map(function(e){var t="- "+e.text;return e.route&&(t+=" ("+e.route+")"),e.detail&&(t+=": "+e.detail),e.groups&&e.groups.length&&e.groups.forEach(function(e){t+="\n - "+e.heading+"\n"+Yt(e.fields," ")}),t}).join("\n")}(s)),c.length&&d.push(function(e){var t=["## Schemas"];return e.forEach(function(e){t.push("### "+e.declaration),e.description&&t.push(e.description),e.fields.length&&t.push(Yt(e.fields,""))}),t.join("\n\n")}(c)),{title:l||e.title,byline:null,excerpt:u||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:d.filter(Boolean).join("\n\n").trim(),textContent:t(d.join(" ")),docsLike:!0,readerMode:!1,contentType:"article"}}return ae(e,r,{title:h(["main h1","main article h1"])||t(e.title||document.title),rewriteRoot:function(e){e.querySelectorAll("#starlight__sidebar, starlight-menu-button, [class*='stldocs-sidebar'], [class*='stldocs-sidebar-entry'], [class*='stldocs-expander'], [class*='sidebar-pane'], [class*='sidebar-content'], [class*='sidebar-accordion'], [class*='table-of-contents'], .stldocs-breadcrumbs, .stl-ui-dropdown, .discord, aside").forEach(function(e){e.remove()}),"starlight"===n.system&&e.querySelector("h1, h2")&&e.querySelectorAll("article.card, .card").forEach(function(e){var n=t(e.textContent);e.closest(".landing-card, .card--fullwidth")||e.querySelector(".title, .body")||n&&n.length<=600&&!e.querySelector("h1, h2, h3, h4, h5, h6")&&e.remove()}),F(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 n=t(e.textContent);/expand collapse/i.test(n)&&e.remove(),/^[A-Z][a-z]+(?:[A-Z][a-z]+){1,}$/.test(n)&&n.length<40&&e.remove()})}})}function Gt(e,t){return G(e,[t],".stldocs-property")}function Kt(e){return V(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function Jt(e){return e=t(e),/^("|').+("|')$/.test(e)}function Xt(e,n){if(!e)return null;n=n||0;var r=t(Gt(e,".stldocs-property-declaration, [class*='property-declaration']"));return!r||Jt(r)?null:{declaration:r,description:le(Gt(e,".stldocs-property-description, [class*='property-description']"))||null,fields:n<2?Kt(e).map(function(e){return Xt(e,n+1)}).filter(Boolean).slice(0,0===n?3:2):[]}}function Yt(e,t){return t=t||"",e.map(function(e){var n=t+"- `"+e.declaration+"`";return e.description&&(n+=": "+e.description),e.fields&&e.fields.length&&(n+="\n"+Yt(e.fields,t+" ")),n}).join("\n")}function Qt(n){var r=function(){var t=d(["VideoObject","Clip","Movie","TVEpisode"]),n={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},r=e.ytInitialPlayerResponse,i=r&&r.videoDetails,o=r&&r.microformat&&r.microformat.playerMicroformatRenderer;return i&&(n.title=n.title||i.title,n.description=n.description||i.shortDescription,n.byline=n.byline||i.author,n.views=n.views||i.viewCount),o&&(n.byline=n.byline||o.ownerChannelName,n.publishedTime=n.publishedTime||o.publishDate||o.uploadDate),n}(),i=t(o("og:type","property")||"").toLowerCase(),a=!(!e.ytInitialPlayerResponse||!e.ytInitialPlayerResponse.videoDetails),l=!(!n.video&&!/^video\b/.test(i)),s=/\/(watch|shorts|live|videos?|player|clip|replay)\b/i.test(location.pathname||""),c=!!document.querySelector("video, iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], [data-video-id], [data-video], [data-player]");if(!!!(a||l||s&&c)||!(s||a||l))return null;var u=function(e,n){var r=t(n.title||""),i=f(["main h1","article h1","h1"],6).filter(function(e){return!/^(loading|this video is processing|verify to continue|checking if the site connection is secure)/i.test(e)});return!r&&i.length&&(r=i[0]),r||(r=t(e.title||document.title)),r.replace(/\s*[-|]\s*(YouTube|Vimeo|Videos & Movies on Vimeo)$/i,"")}(n,r),g=function(e,n){var r=t(n.description||e.excerpt||"");return r||f(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description","[data-testid='vd-wrapper'] p","main article p","main p"],12).find(function(e){return!(e.length<30||/^(loading|you'll be able to view it as soon as it's done|verify to continue|checking if the site connection is secure)/i.test(e))})||null}(n,r),y=p(r.byline)||n.byline,v=m(r.publishedTime)||h(["time[datetime]"],"datetime")||n.publishedTime,w=[],k=m(r.duration),x=m(r.views);return k&&w.push("Duration: "+k),x&&w.push("Views: "+x),u&&g?b({title:u,byline:y,publishedTime:v,description:g,details:w,siteName:n.siteName||location.hostname,hostAware:!0}):null}function en(e){for(var t=0;t<e.length;t+=1){var n=document.querySelector(e[t]);if(n)return n}return null}function tn(e){var n=(e=e||{}).metadata||{},r=e.abstractRoot||null,i=[];if(r&&i.push(r),e.bodyRoots?i=i.concat(e.bodyRoots.filter(Boolean)):e.bodyRoot&&i.push(e.bodyRoot),!i.length&&!e.details)return null;var o=function(e,n){var r="";if(e.title)r=e.title;else if(e.titleNode)r=e.titleNode.getAttribute&&e.titleNode.getAttribute("content")||e.titleNode.textContent||"";else if(e.titleSelectors)for(var i=0;i<e.titleSelectors.length;i+=1){var o=document.querySelector(e.titleSelectors[i]);if(o&&(r=t(r=o.getAttribute&&o.getAttribute("content")||o.textContent||"")))break}return r=t(r||n.title||document.title||""),e.titleCleanup&&(r=r.replace(e.titleCleanup,"")),t(r)}(e,n),a=document.createElement("article");if(o){var l=document.createElement("h1");l.textContent=o,a.appendChild(l)}if(i.forEach(function(t){var n=function(e,t){if(!e)return null;var n=E(e),r=["#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"].join(", ");return t&&(r+=", "+t),n.querySelectorAll(r).forEach(function(e){e.remove()}),n.querySelectorAll("a[href*='/action/doSearch']").forEach(function(e){(e.closest("li, [role='listitem']")||e).remove()}),ur(n),n}(t,e.extraNoiseSelector);n&&a.appendChild(n)}),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)}ur(a);var c=Ar(Fn(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(r&&r.textContent||"");return{title:o||n.title,byline:n.byline,excerpt:(e.excerpt||d).slice(0,280)||n.excerpt,siteName:e.siteName||n.siteName,publishedTime:n.publishedTime,html:a.innerHTML,markdown:c,textContent:u,readerMode:!1,contentType:"article",hostAware:!0}}function nn(e){return function(e){if(!/^\/species\/\d+\/\d+\/?$/i.test(location.pathname||""))return null;var n=document.querySelector("#redlist-js .page-species"),r=t(document.title||h(["main h1","h1"])||e.title),i=t([e&&e.siteName,e&&e.title,document.title,document.body&&document.body.textContent].join(" "));if(!n||!/\bIUCN Red List\b/i.test(i)||!r)return null;var o=["taxonomy","assessment-information","geographic-range","population","habitat-ecology","threats","use-trade","conservation-actions"].map(function(e){return document.getElementById(e)}).filter(Boolean);if(o.length<4||!document.getElementById("assessment-information"))return null;var a=document.createElement("article"),l=document.createElement("h1");l.textContent=r.replace(/\s*--\s*$/i,""),a.appendChild(l);var s=n.querySelector(".layout-headline__supplement.layout-assessment, .layout-assessment__major");s&&/\b(Abstract|Red List|Assessment)\b/i.test(t(s.textContent||""))&&a.appendChild(E(s));return o.forEach(function(e){var t=E(e);t.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, form, nav, .map, [class*='map' i], [class*='tooltip' i], [class*='translate' i], [aria-hidden='true']").forEach(function(e){e.remove()}),ur(t),a.appendChild(t)}),O(e,a,{cloneRoot:!1,title:r,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 n=document.querySelector("#main"),r=n&&n.querySelector("h1.summary-heading"),i=n&&n.querySelector(".summary_panel"),o=n&&n.querySelector("#GeneSummary"),a=(n&&n.querySelector("#transcripts_table"),t(r&&r.textContent||""));return n&&r&&i&&o&&/^Gene:\s+\S+\s+ENS[A-Z]*G\d+/i.test(a)?O(e,n,{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 n=t((document.querySelector("meta[name='ncbi_db']")||{}).content||"").toLowerCase();if(n&&"gene"!==n)return null;if(!/^\/gene\/\d+\/?$/i.test(location.pathname||""))return null;var r=document.querySelector(".rprt.full-rprt"),i=r&&r.querySelector("#gene-name"),o=r&&r.querySelector("#summaryDl"),a=r?Array.prototype.slice.call(r.querySelectorAll(".rprt-section[data-section]")):[];if(!r||!i||!o||a.length<2)return null;var l=t(i.textContent||"");return l&&/\bGene ID:\s*\d+/i.test(t(r.textContent||""))?O(e,r,{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 n=document.querySelector(".seqhead .seqnumname"),r=document.querySelector(".seqdatabox .seqdata"),i=Array.prototype.slice.call(document.querySelectorAll(".entry .section"));if(!n||!r||i.length<3)return null;var o=t((n.querySelector(".seqnum")||{}).textContent||""),a=t((n.querySelector(".seqname")||{}).textContent||"").replace(/\s*\(Formerly\s+[^)]*\)\s*$/i,"");if(!/^A\d{6}$/i.test(o)||!a)return null;var l={OFFSET:!0,COMMENTS:!0,REFERENCES:!0,FORMULA:!0,EXAMPLE:!0},s=["OFFSET","COMMENTS","FORMULA","EXAMPLE","REFERENCES"],c={OFFSET:"Offset",COMMENTS:"Sequence comments",FORMULA:"Formula",EXAMPLE:"Example",REFERENCES:"References"},u={};if(i.forEach(function(e){var n=t((e.querySelector(".sectname")||{}).textContent||"").toUpperCase();if(l[n]&&!u[n]){var r=e.querySelector(".sectbody");!r||t(r.textContent||"").length<2||(u[n]=r)}}),!u.COMMENTS&&!u.FORMULA&&!u.EXAMPLE)return null;var d=document.createElement("article"),p=document.createElement("h1");p.textContent=o+" - "+a,d.appendChild(p);var m=document.createElement("h2");m.textContent="Terms",d.appendChild(m);var h=document.createElement("p");return h.textContent=t(r.textContent||""),d.appendChild(h),s.forEach(function(e){var n=u[e];if(n){var r=document.createElement("section"),i=document.createElement("h2");i.textContent=c[e],r.appendChild(i),Array.prototype.slice.call(n.querySelectorAll(".sectline")).forEach(function(e){if(t(e.textContent||"")){var n=document.createElement("p");n.innerHTML=E(e).innerHTML,r.appendChild(n)}}),t(r.textContent||"").length>i.textContent.length&&d.appendChild(r)}}),O(e,d,{cloneRoot:!1,title:o+" - "+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 n=t((document.querySelector("#structureID")||{}).textContent||"").replace(/&nbsp;/g," ").match(/\b[A-Za-z0-9]{4}\b/),r=n&&n[0].toUpperCase(),i=t((document.querySelector("#structureTitle")||{}).textContent||"");if(!r||!i)return null;var o=t(document.body&&document.body.textContent||""),a=["Classification","Organism(s)","Mutation(s)","Deposited","Released","Deposition Author(s)","Method","Resolution"],l=["PDB ID: "+r,rn(o,"Classification",a),rn(o,"Organism(s)",a),rn(o,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),rn(o,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),rn(o,"Deposited",a),rn(o,"Released",a)].filter(Boolean),s="",c=document.querySelector("#primarycitation, [id*='citation' i], [class*='citation' i]");c&&(s=t(c.textContent||"").replace(/^Primary Citation\s*/i,"").replace(/\s*PubMed(?: Abstract)?:[\s\S]*$/i,""));if(!s){var u=o.match(/Structure of [\s\S]{20,260}?(?=PubMed Abstract:|PDB DOI:|Experimental Data|$)/i);s=u?t(u[0]):""}var d=rn(o,"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,""),p=[];s&&p.push("Primary citation: "+s);d&&p.push("PubMed abstract: "+d);var m=b({title:r+" - "+i,details:l,highlights:p,siteName:e.siteName||"RCSB PDB",contentType:"article",hostAware:!0});return t(m.markdown).length<180||!/\bPDB ID:\s*[A-Z0-9]{4}\b/.test(m.markdown)?null:m}(e)||function(e){if(!/\.nist\.gov$/i.test(location.hostname||"")&&!/^nist\.gov$/i.test(location.hostname||""))return null;var n=document.querySelector("main#main, #main"),r=t((n&&n.querySelector("h1#Top, h1")||{}).textContent||"");if(!n||!r)return null;var i=t(n.textContent||"");return/\bFormula:\s*\S/i.test(i)&&/\bMolecular weight:\s*[0-9.]+/i.test(i)&&/\bCAS Registry Number:\s*\S/i.test(i)?O(e,n,{title:r,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 n=t(e.textContent||"");(/^Chemical structure:/i.test(n)||/^Permanent link/i.test(n))&&e.remove()})},validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bMolecular weight\b[\s\S]*\bCAS Registry Number\b/i.test(e)}}):null}(e)}function rn(e,n,r){var i=(r||[]).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s*:?"}).join("|"),o=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+":\\s*([\\s\\S]*?)(?="+(i||"$^")+"|$)","i"),a=e.match(o);return a?t(a[1]).replace(/\s+Search on .*$/i,""):""}function on(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 n=t([e&&e.title,e&&e.siteName,document.title,h([".post-title","h1.post-title","article.post h1"]),h(["meta[property='og:image']","meta[name='twitter:image']"],"content")].join(" "));return/\bsubstack\b|substackcdn\.com|substack-post-media/i.test(n)||!!document.querySelector("article.newsletter-post.post, .post-header .post-title")}(e))return null;var n=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 n?I(e,n,{title:h([".post-title","h1.post-title","article.post h1","h1"])||e.title,byline:h([".byline-names",".post-meta .profile-hover-card-target",".post-header a[href*='/profile/']"])||e.byline,minTextLength:250,rewriteRoot:function(e){e.querySelectorAll(".subscription-widget-wrap, .subscribe-widget, .paywall, .comment-list, [class*='comment'], [class*='subscribe'], [role='dialog']").forEach(function(e){e.remove()})}}):null}function an(e,n){var r=t(e.title||document.title||n||"");return t(r=(r=r.replace(/\s*[|·-]\s*(PyPI|RubyGems\.org|npm).*$/i,"")).replace(/\s+\|\s+RubyGems\.org\s+\|.*$/i,""))||n}function ln(e){var n,r,i,o=location.hostname||"",a=(n=(location.pathname||"").split("/").filter(Boolean)).length<2?null:"project"===n[0]||"gems"===n[0]||"package"===n[0]?n[1]:null;if(!a)return null;if(/(^|\.)pypi\.org$/i.test(o)&&/^\/project\/[^/]+\/?$/i.test(location.pathname||""))r=["#description .project-description","#description",".project-description"],i="PyPI";else if(/(^|\.)rubygems\.org$/i.test(o)&&/^\/gems\/[^/]+\/?$/i.test(location.pathname||""))r=["main","#markup.gem__desc",".gem__desc"],i="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"],i="npm"}for(var l=0;l<r.length;l+=1){var s=document.querySelector(r[l]),c=s.querySelector("h1, h2"),u=t(c&&c.textContent),d=I(e,s,{title:u&&0===u.toLowerCase().indexOf(a.toLowerCase())?u:an(e,a),minTextLength:80,excerpt:e.excerpt,siteName:e.siteName||i,extra:{packagePage:!0},rewriteRoot:function(e){Array.prototype.slice.call(e.querySelectorAll("script, style, noscript, svg, .sr-only")).forEach(function(e){e.remove()})}});if(d)return d}return null}function sn(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 cn(){var e={},n=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(r){if(!(n.length>=30)&&sn(r)){var i=xn(r,[".name","[data-component-name]","h3","h4"]);if(i&&!/^visit\s+/i.test(i)){var o=function(e){var n=t((e.querySelector("[data-component-status]")||e).getAttribute("data-component-status")||"").replace(/_/g," ");if(n||(n=xn(e,[".component-status",".status-msg",".status-icon-button"])),!n){var r=e.querySelector("[aria-label][class*='status'], [data-original-title][class*='status']");n=t(r&&(r.getAttribute("aria-label")||r.getAttribute("data-original-title"))||"")}return n}(r),a=xn(r,["[id^='uptime-percent-']",".legend-item-uptime-value"]),l=r.querySelector("[data-original-title], [aria-label^='More information']"),s=t(l&&l.getAttribute("data-original-title")||""),c=i.toLowerCase();if(!e[c]){e[c]=!0;var u=i;o&&(u+=" - "+o),a&&!/^(% uptime|uptime)$/i.test(a)&&(u+=" ("+a.replace(/\s*%\s*uptime$/i,"% uptime")+")"),s&&s.toLowerCase()!==i.toLowerCase()&&(u+=" - "+s),n.push(u)}}}}),n}function un(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 n=t([e&&e.siteName,h(["meta[property='og:site_name']"],"content"),h([".powered-by a","a[href*='atlassian.com/software/statuspage']"]),document.title].join(" "));return/statuspage/i.test(n)&&!!document.querySelector(".layout-content.status, .components-statuses, .components-container")}(e))return null;var n=h([".status-header h1","h1"])||e.title||document.title||"Status Page",r=h([".page-status .status",".page-status",".status.font-large",".status-description"]),i=h([".text-section","meta[name='description']"],"content")||e.excerpt,o=cn(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(!(e.length>=8)&&sn(t)){var n=xn(t,[".incident-title a",".incident-title","a.whitespace-pre-wrap","h3","h4"]);if(n){var r=["- "+n];Array.prototype.slice.call(t.querySelectorAll(".update")).slice(0,4).forEach(function(e){var t=xn(e,["strong"]),n=xn(e,[".whitespace-pre-wrap","p"]),i=xn(e,["small","time"]),o=[];t&&o.push(t),n&&o.push(n),i&&o.push(i),o.length&&r.push(" - "+o.join(" - "))}),e.push(r.join("\n"))}}}),e}();if(!r&&0===o.length&&0===a.length)return null;var l=["# "+n];i&&i.toLowerCase()!==n.toLowerCase()&&l.push(i),r&&l.push("- Overall status: "+r),o.length&&l.push("## Components\n\n"+o.map(function(e){return"- "+e}).join("\n")),a.length&&l.push("## Recent Incidents\n\n"+a.join("\n"));var s=Ar(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:k(e,{title:n,excerpt:r||o[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 dn(e,n,o){if(o=o||{},!n||r(n)<(o.minText||200))return null;var a=o.preserveContentNav?q(n,document):E(n);o.preserveContentNav&&(a.querySelectorAll("nav.contents, nav[class*='contents' i]").forEach(function(e){var t=document.createElement("section");t.innerHTML=e.innerHTML,e.replaceWith(t)}),ur(a),a.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",i(t))})),o.strip&&o.strip(a);var l=Fn(a.innerHTML),s=t(l||a.textContent||"");if(s.length<(o.minText||200))return null;var c=t(((o.titleRoot||document).querySelector("h1")||{}).textContent||o.title||e.title||document.title);return c&&!oe(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:o.contentType||"article",hostAware:!0,docsLike:!!o.docsLike}}function pn(e,n){n=n||{};var o=e.querySelector(n.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(o&&o.getAttribute("heading-text")||o&&o.textContent||e.getAttribute("heading-text")||e.getAttribute("aria-label")||a&&a.textContent||""),s=e.querySelector(n.detailSelector||["[content-text]","[class*='summary' i]","[class*='description' i]","[class*='desc' i]","[class*='body' i]","[class*='text' i]","p"].join(", ")),c=t(s&&s.getAttribute("content-text")||s&&s.textContent||e.getAttribute("content-text")||""),u=function(e,t){var n=e.querySelector("a[href]"),r=n&&n.getAttribute("href")||t.dataUrl&&t.dataUrl(e)||"";return r?i(r):""}(e,n)||n.fallbackUrl||location.href,d=Array.prototype.slice.call(e.querySelectorAll(n.childLinkSelector||"ul a[href]")).map(function(e){var n=t(e.textContent||"");return n.length<3?null:{text:n,url:i(e.getAttribute("href"))}}).filter(Boolean);return!l||l.length<3||l.length>(n.maxTitleLength||180)||n.requireDetail&&!c||n.minCardText&&!c&&r(e)<n.minCardText?null:{text:l,url:u,detail:c,childLinks:d}}function mn(e,t){var n=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]",r={},i=[];return Array.prototype.slice.call(e.querySelectorAll(n)).forEach(function(e){if(!(i.length>=(t.maxItems||240))&&(!t.cardFilter||t.cardFilter(e))){var n,o=pn(e,t);o&&(n=o.text+"|"+(o.url||""),r[n]||(r[n]=!0,i.push(o)))}}),i}function hn(e,n,r){if(r=r||{},!n)return null;if("list"===r.contentType){var i,o=mn(n,r);return o.length<(r.minItems||3)?null:k(e,{title:i=t((document.querySelector("h1")||{}).textContent||r.title||e.title||document.title||"Items"),excerpt:e.excerpt,items:o,html:E(n).innerHTML,textContent:i+"\n"+Nr(o)})}return dn(e,n,{docsLike:r.docsLike,minText:r.minText,titleRoot:r.titleRoot,title:r.title,strip:function(e){!function(e,t){var n=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i]";Array.prototype.slice.call(e.querySelectorAll(n)).forEach(function(e){if(!t.cardFilter||t.cardFilter(e)){var n,r,i,o,a=pn(e,t);if(a){if(n=document.createElement("article"),r=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,r.appendChild(l)}else r.textContent=a.text;n.appendChild(r),a.detail&&((i=document.createElement("p")).textContent=a.detail,n.appendChild(i)),a.childLinks&&a.childLinks.length&&(o=document.createElement("ul"),a.childLinks.forEach(function(e){var t=document.createElement("li"),n=document.createElement("a");n.setAttribute("href",e.url),n.textContent=e.text,t.appendChild(n),o.appendChild(t)}),n.appendChild(o)),e.replaceWith(n)}}})}(e,r),cr(e,r.chromeSelector||[Jn,"[class*='breadcrumb' i]","[class*='social' i]","[class*='share' i]","[class*='embed' i]","[class*='newsletter' i]","form"].join(", ")),r.strip&&r.strip(e)}})}function fn(e){if(n=a(null,[function(){var e=document.querySelector("meta[name='Generator' i], meta[name='generator' i]");return t(e&&e.getAttribute("content"))}]).signature,!(/\bDrupal\b/i.test(n)||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 n,i=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]"].join(", "))),o=null;i.forEach(function(e){var t=e.querySelector&&e.querySelector(".field--name-field-paragraphs");t&&r(t)>=200&&(e=t);var n=r(e),i=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]"].join(", ")).length,a=n+400*i;n<200||i<1&&!e.matches(".field--name-body, .field--name-field-paragraphs, [class*='field--name-body' i], [itemprop='articleBody']")||(!o||a>o.score)&&(o={root:e,score:a,componentCount:i})});var l=o&&o.root;return!l||r(l)<200?null:hn(e,l,{docsLike:o.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"].join(", "),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){cr(e,[Jn,".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"].join(", "))}})}function gn(e){var t,n=e&&e.getAttribute("data-cmp-data-layer"),r="";if(!n)return"";try{t=JSON.parse(n),Object.keys(t).some(function(e){var n=t[e]||{};return!!(r=n["xdm:linkURL"]||n.linkURL||n.url||"")})}catch(e){r=""}return r}function bn(e){return function(e){var n=document.querySelector("#MainContent .EurlexContent #document1")||document.querySelector("#MainContent .EurlexContent #textTabContent")||document.querySelector("#MainContent .EurlexContent #PP1Contents")||document.querySelector("#MainContent .EurlexContent");return n&&document.querySelector("#MainContent .EurlexContent")&&(document.querySelector("#op-header")||document.querySelector(".PageShare"))?dn(e,n,{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")?dn(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(" "))?dn(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 n=document.querySelector("#stnd-designation, [id*='standard' i][id*='designation' i], [class*='standard' i][class*='designation' i]"),r=document.querySelector("#stnd-title, [id*='standard' i][id*='title' i], [class*='standard' i][class*='title' i]"),i=document.querySelector("#standard-details, [id*='standard' i][id*='details' i], [class*='standard' i][class*='details' i]"),o=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(!(n&&r&&i&&o&&l&&a))return null;var s=document.createElement("article");a&&s.appendChild(q(a,document)),s.appendChild(q(o,document)),s.appendChild(q(i,document));var c=l.querySelector("#working-group-details");if(c){var u=q(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return dn(e,s,{minText:250,title:t([n.textContent,r.textContent].join(" - ")),strip:function(e){cr(e,Jn+", form, .osano-cm-window, [class*='cookie' i], [class*='newsletter' i]")}})}(e)||function(e){var n=Array.prototype.slice.call(document.querySelectorAll(".page-content .container, main .container, main, .content")),i=null;return n.forEach(function(e){var n=Array.prototype.slice.call(e.querySelectorAll("ul.arrows, ol.arrows, ul, ol")).filter(function(e){var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return!(n.length<4)&&n.filter(function(e){var n=t(e.textContent||""),r=e.getAttribute("href")||"";return/\b(?:convention|protocol|principles?|instrument)\b/i.test(n)&&/\b(?:conventions?|instruments?|full-text|specialised-sections)\b/i.test(r)}).length>=Math.min(4,n.length)}),o=t([e.querySelector("h1, h2")&&e.querySelector("h1, h2").textContent,e.textContent].join(" ")),a=r(e)+1e3*n.length;n.length<2||(/\bConventions? and (?:other )?Instruments?\b/i.test(o)||/\bCore Conventions?\b/i.test(o))&&(!i||a>i.score)&&(i={root:e,score:a})}),i?dn(e,i.root,{docsLike:!0,minText:400,titleRoot:i.root,strip:function(e){cr(e,Jn+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||fn(e)||function(e){var t=document.querySelector("main [class*='card--with-subsections' i], main [class*='cards--with-subsections' i]");if(!t)return null;if(Array.prototype.slice.call(t.querySelectorAll("[class*='grid__item' i] > .card, [class*='grid__item' i] > [class~='card']")).filter(function(e){return e.querySelector("h2, h3, h4, a[href]")&&r(e)>=60}).length<4)return null;var n=t.closest("main")||t.closest("[class*='page-content' i]")||t;return!n||r(n)<600?null:hn(e,n,{docsLike:!0,minText:500,titleRoot:document,cardSelector:"[class*='card--with-subsections' i] [class*='grid__item' i] > .card, [class*='card--with-subsections' i] [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]"].join(", ")).forEach(function(e){e.remove()})}})}(e)||function(e){var t=Array.prototype.slice.call(document.querySelectorAll("main .page-document, main [class*='content-area' i], main")),n=null;return t.forEach(function(e){var t=Array.prototype.slice.call(e.querySelectorAll(".block.teaser, [class*='grid-block-teaser' i], [class*='grid-teaser-item' i]")).filter(function(e){return e.querySelector("h2, h3, a[href]")&&r(e)>=80}),i=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length,o=r(e),a=o+500*t.length+150*i;t.length<4||i<2||o<1200||e.querySelector("h1")&&(!n||a>n.score)&&(n={root:e,score:a})}),n?hn(e,n.root,{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]"].join(", ")).forEach(function(e){e.remove()})}}):null}(e)||function(e){var n=Array.prototype.slice.call(document.querySelectorAll("gui-tile-list, [role='list']")),r=null,i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");if(n.forEach(function(e){var t=Array.prototype.slice.call(e.querySelectorAll("gui-tile, [class*='tile' i]")),n=e.tagName&&/-/.test(e.tagName.toLowerCase()),o=mn(e,{cardSelector:"gui-tile, [class*='tile' i]",headingSelector:"gui-tile-heading, [heading-text], [class*='tile-heading' i]",detailSelector:"gui-tile-content, [content-text], [class*='tile-content' i]",dataUrl:gn,minCardText:20,maxItems:120});if(!(o.length<3)&&(i||n||!(t.length<4))){var a=100*o.length+(n?500:0)+(i?500:0);(!r||a>r.score)&&(r={root:e,items:o,score:a})}}),!r)return null;var o=t((document.querySelector("h1")||{}).textContent||e.title||document.title||"Services");return hn(e,r.root,{contentType:"list",title:o,minItems:3,cardSelector:"gui-tile, [class*='tile' i]",headingSelector:"gui-tile-heading, [heading-text], [class*='tile-heading' i]",detailSelector:"gui-tile-content, [content-text], [class*='tile-content' i]",dataUrl:gn,minCardText:20,maxItems:120})}(e)||function(e){var n=Array.prototype.slice.call(document.querySelectorAll("[id*='listView' i], [role='list'], [class*='topic' i][class*='list' i], [class*='card' i][class*='grid' i]")),r=null;if(n.forEach(function(e){var n={},o=[],a=/topic|taxonomy|listview/i.test((e.id||"")+" "+(e.className||"")+" "+e.getAttribute("data-sf-element"));if(e.querySelectorAll("a[href]").forEach(function(e){if(!(o.length>=240)){var r=i(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=Me(e,l)),!l||!r||l.length<3||l.length>180||n[r]||(a||/\btopics?\b/i.test(r+" "+l+" "+c))&&(/^(home|health topics|topics|news|headlines|menu|search|more)$/i.test(l)||(n[r]=!0,o.push({text:l,url:r,detail:c})))}}),!(o.length<8)){var l=100*o.length+(a?1e3:0);(!r||l>r.score)&&(r={root:e,items:o,score:l})}}),!r)return null;var o=t((document.querySelector("h1")||{}).textContent||e.title||document.title||"Topics");return k(e,{title:o,excerpt:e.excerpt,items:r.items,html:E(r.root).innerHTML,textContent:o+"\n"+Nr(r.items)})}(e)}function yn(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 n=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(n)&&(!(!e||"gitlab"!==e.platform)||2===t.length)}function vn(e,n,r){var i=function(e,n){var r=t(n.title||document.title);return e.titleCleaner&&(r=t(e.titleCleaner(r))),r}(e,n),o=function(e,t){return h(e.descriptionSelectors)||t.excerpt}(e,n),a=n.siteName||e.siteName||location.hostname;if(!r)return i||o?b({title:i,description:o,siteName:a,hostAware:!0}):null;var l=E(r);ur(l);var s=Fn(l.innerHTML).replace(/^README(?:\.[a-z0-9_-]+)?\s*/i,"").trim();return t(s)?(o&&-1===s.toLowerCase().indexOf(o.toLowerCase())&&(s=o+"\n\n"+s),i&&(s="# "+i+"\n\n"+s),{title:i||n.title,byline:n.byline,excerpt:o,siteName:a,publishedTime:n.publishedTime,html:l.innerHTML,markdown:s,textContent:t(s),hostAware:!0,readerMode:!1,contentType:"article"}):o?b({title:i,description:o,siteName:a,hostAware:!0}):null}function wn(e){var t=function(e){return a(e,[function(){return[e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[name='generator']","meta[property='og:site_name']"],"content"),document.title,document.body&&document.body.className].join(" ")}]).signature}(e),n=!!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)&&n?{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",".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']")?{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")?{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']")?{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,"")}}:null}function kn(e){var n=wn(e);return n&&yn(n)?vn(n,e,function(e){for(var n=0;n<e.length;n+=1)for(var r=Array.prototype.slice.call(document.querySelectorAll(e[n])),i=0;i<r.length;i+=1){var o=r[i];if(o&&t(o.textContent)&&!o.closest("[data-testid='issue-body'], [data-testid='comment-body'], .js-comment-container, .timeline-comment, .comment, .issue-content, .pullrequest-description, .pull-request-description"))return o}return null}(n.readmeSelectors)):null}function xn(e,n){for(var r=0;r<n.length;r+=1){var i=e.querySelector(n[r]),o=t(i&&i.textContent);if(o)return o}return""}function Sn(e){if(!function(e){var n=t([e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[property='og:site_name']"],"content"),document.title].join(" ")),r=/mastodon/i.test(n)||!!document.querySelector(".status__content, .status.status-public, .display-name, .columns-area__panels__main"),i=/^\/(?:@[^/]+|tags\/[^/?#]+)/i.test(location.pathname||"");return r&&i}(e))return null;var r=(location.pathname||"").split("/").filter(Boolean),i="tags"===r[0]?r[1]:"",o=i?"":function(){var e=(location.pathname||"").split("/").filter(Boolean);if(e[0]&&"@"===e[0].charAt(0))return e[0]+"@"+location.hostname;var n=t((document.querySelector("main")||{}).textContent||"").match(/@?[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/);return n?"@"===n[0].charAt(0)?n[0]:"@"+n[0]:""}(),a=h(["[class*='account_header__name'] h1",".display-name strong",".display-name b",".display-name"])||"";a&&o&&a.toLowerCase().indexOf(o.toLowerCase())>=0&&(a=t(a.replace(o,"")));var l=h(["[class*='account_bio__bio']",".account__header__content",".account__header__bio",".public-account-bio",".profile__bio","[data-testid='profile-note']"]),s=function(){var e=Array.prototype.slice.call(document.querySelectorAll(".status, .status-public, .status__wrapper, article.status-public"));Array.prototype.slice.call(document.querySelectorAll(".status__content, .status__content__text")).forEach(function(t){var n=t.closest("article, .status-public, .status__wrapper");n&&e.indexOf(n)<0&&e.push(n)});var n={},r=[];return e.forEach(function(e){if(!(r.length>=8||e.closest("footer, nav"))){var i=t((e.querySelector(".status__content__text, .status__content")||e).textContent);if(i&&!(i.length<20)&&!/^(profiles directory|keyboard shortcuts|view source code|about mastodon|get the app)$/i.test(i)){var o=xn(e,[".status__display-name",".display-name"]),a=xn(e,["time"]),l=i.slice(0,220).toLowerCase();if(!n[l]){n[l]=!0;var s=i;o&&0!==s.toLowerCase().indexOf(o.toLowerCase())&&(s=o+": "+s),a&&(s+=" ("+a+")"),r.push(s)}}}}),r}();if(!(i||o||a||l||0!==s.length))return null;if(i&&0===s.length)return null;/^mastodon$/i.test(a)&&o&&(a="");var c=i?"#"+n(i)+" on Mastodon":a||o||e.title||"Mastodon Profile",u=["# "+c],d=[];o&&d.push("- Handle: "+o),Array.prototype.slice.call(document.querySelectorAll("[class*='number_fields__item']")).map(function(e){var n=t(e.textContent),r=n.match(/^(Followers|Following|Posts|Joined)(.+)$/i);return r?r[1]+": "+r[2]:n}).filter(Boolean).slice(0,6).forEach(function(e){d.push("- "+e)}),d.length&&u.push(d.join("\n")),l&&u.push(l),s.length&&u.push("## Recent Posts\n\n"+s.map(function(e){return"- "+e}).join("\n"));var p=u.filter(Boolean).join("\n\n").trim();return t(p).length<40?null:{title:c,byline:null,excerpt:l||s[0]||e.excerpt,siteName:e.siteName||"Mastodon",publishedTime:null,html:(document.querySelector("main")||{}).innerHTML||"",markdown:p,textContent:t(p),readerMode:!1,contentType:"list",hostAware:!0}}function An(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var n=S(/(^|\.)wikipedia\.org$/),r=S(/(^|\.)wiktionary\.org$/);if(n||r)return null;var i=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 i?I(e,i,{title:h(["#firstHeading",".mw-first-heading","h1.firstHeading","h1"])||t((e.title||document.title).replace(/\s*[-|–]\s*(Wiktionary|Wikipedia|Wiki).*$/i,"")),byline:e.byline,minTextLength:30,rewriteRoot:function(e){e.querySelectorAll(".mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .navbox, .navbox-styles, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .sistersitebox, .mw-authority-control, .mw-headline-anchor").forEach(function(e){e.remove()}),e.querySelectorAll("table.navbox, table.collapsible, .navbox, .footer-nav, .portal-bar, .portal, .succession-box").forEach(function(e){e.remove()}),e.querySelectorAll("#External_links, #References, #Notes, #See_also, #Further_reading").forEach(function(e){var t=e.closest("section, div");t&&t.remove()})}}):null}function Cn(e){if(!S(/(^|\.)fandom\.com$/)||!document.querySelector(".mw-parser-output, .page-content, #content"))return null;var n=document.querySelector(".mw-parser-output")||document.querySelector(".page-content")||document.querySelector("#content");return n?I(e,n,{title:h(["h1.page-header__title","#firstHeading","h1"])||t((e.title||document.title).replace(/\s*\|\s*.*Wiki\s*\|\s*Fandom$/i,"")),byline:e.byline,minTextLength:40,rewriteRoot:function(e){e.querySelectorAll(".navbox, table.navbox, .navbox-styles, .portable-infobox, .pi-collapse, .mw-editsection, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-empty-elt, .page-footer, .article-footer, .fandom-community-header, .mcf-card-header, .mcf-card-footer, .mcf-card, .page-header__categories, .article-categories, .wds-button-group, .fandom-sticky-header").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='auth.fandom.com'], a[href*='fandom.com/signin'], a[href*='fandom.com/register']").forEach(function(e){var n=e.closest("div, span, li, p");n&&t(n.textContent||"").length<120?n.remove():e.remove()}),e.querySelectorAll("table").forEach(function(e){var n=t(e.textContent||""),r=e.querySelectorAll("a[href]").length,i=e.querySelector("th, td, caption"),o=i?t(i.textContent||""):"";if(r>=10&&/^(characters|items|locations|enemies|weapons|quests|episodes|levels|bosses|creatures|missions|npcs|monsters|equipment|fishes?|fish of|cast of)\b/i.test(o))e.remove();else if(!e.querySelector("p, h2, h3, h4, blockquote, pre")&&r>=15){if(r/(e.querySelectorAll("tr").length||1)>3)return void e.remove();if(r>=30&&n.length>300)if(r/n.split(/\s+/).length>.15)return void e.remove()}})}}):null}function qn(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 n=document.querySelector(".question, #question, #mainbar, [data-questionid]"),r=h(["h1 a.question-hyperlink",".question-header h1","#question-header h1","main h1","h1[itemprop='name']"])||t((e.title||document.title).replace(/\s*[-|]\s*.+?Stack Exchange$/i,"").replace(/\s*[-|]\s*Stack Overflow$/i,"")),i=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"),o="";if(i){var a=E(i);ur(a),o=Fn(a.innerHTML)}o||(o=h([".question .js-post-body",".question .s-prose","#question .js-post-body","#question .s-prose",".postcell .js-post-body",".postcell .s-prose","[data-questionid] .js-post-body","[data-questionid] .s-prose"]));var l=h([".question .user-details a","#question .user-details a",".postcell .user-details a","[data-questionid] .user-details a"]),s=Array.prototype.slice.call(document.querySelectorAll(".answer, .js-answer, [data-answerid]")).map(function(e){var n=t(((e.querySelector(".js-vote-count, .vote-count-post")||{}).textContent||"0").replace(/[^\d-]+/g,"")),r=parseInt(n||"0",10),i=t((e.querySelector(".user-details a")||{}).textContent||""),o=e.querySelector(".js-post-body, .s-prose"),a="";if(o){var l=E(o);ur(l),a=Fn(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(r)?0:r,author:i,body:a,accepted:s}}).filter(function(e){return e.body.length>=40}).sort(function(e,t){return e.accepted!==t.accepted?e.accepted?-1:1:t.score-e.score}).slice(0,4);if(!r||!o&&0===s.length)return null;var c=["# "+r];l&&c.push("- Asked by: "+l),o&&c.push(o),s.length&&c.push("## Top Answers"),s.forEach(function(e,t){var n=e.author||"Answer "+(t+1);e.accepted&&(n+=" (accepted)"),e.score&&(n+=" - score "+e.score),c.push("### "+n),c.push(e.body)});var u=c.filter(Boolean).join("\n\n");return{title:r,byline:l||e.byline,excerpt:o||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n?n.outerHTML:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}function En(e){if(!function(e){if(!/(?:^|\/)t\//.test(location.pathname||""))return!1;if(!document.querySelector("#post-stream, .topic-post, article[data-post-id]"))return!1;if(!document.querySelector(".topic-post .cooked, article[data-post-id] .cooked, [data-post-id] .cooked"))return!1;var t=a(e,[function(){return[location.hostname,e&&e.siteName,e&&e.title,o("generator","name"),document.body&&document.body.className].join(" ")}]).signature;return/\bdiscourse\b/i.test(t)||!!document.querySelector("#discourse-modal, #reply-control, .discourse-tags, meta[name='generator'][content*='Discourse' i]")}(e))return null;var n=Array.prototype.slice.call(document.querySelectorAll(".topic-post, article[data-post-id], [data-post-id].topic-post")),r=[],i=[],l={},s=t(h(["#topic-title h1",".topic-title h1","main h1","article h1","h1"])||e.title||document.title);return n.forEach(function(e){var n=e.querySelector(".cooked");if(n){var o=t(n.innerText||n.textContent||"");if(o){var a=o.slice(0,240);if(!l[a]){l[a]=!0;var s=function(e){var n=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"),r=t(n&&(n.getAttribute("data-user-card")||n.textContent)||"");r=r.replace(/^@/,"");var i=e.querySelector(".topic-meta-data time, .topic-meta-data .relative-date, .post-meta time, time"),o=t(i&&(i.getAttribute("datetime")||i.getAttribute("title")||i.textContent)||"");o&&(o=o.replace(/T.*$/u,""));return r&&o?"post by "+r+" on "+o:r?"post by "+r:o?"post on "+o:"post"}(e),c=Fn(n.outerHTML);c&&(r.push("## "+s),r.push(c),i.push(o))}}}}),s&&0!==i.length?{title:s,byline:e.byline,excerpt:i[0],siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.map(function(e){return e.outerHTML}).join("\n"),markdown:["# "+s].concat(r).join("\n\n"),textContent:t([s].concat(i).join(" ")),hostAware:!0,readerMode:!1,contentType:"list"}:null}function Tn(e,n){if(!S(/(^|\.)reddit\.com$/))return null;var r=function(e){var n=document.querySelector("shreddit-post");if(!n)return null;var r=t((n.querySelector('[slot="title"]')||document.querySelector("main h1")||{}).textContent||e.title||document.title),i=t((n.querySelector('[slot="credit-bar"]')||{}).textContent||""),o=n.getAttribute("author")||h(["[slot='credit-bar'] a[href*='/user/']","a[href*='/user/']"]);o=t(o);var a=t((n.querySelector('[slot="text-body"]')||{}).innerText||"");a||Array.prototype.slice.call(document.querySelectorAll("faceplate-screen-reader-content")).some(function(e){var n=t(e.innerText||e.textContent||"");return!(!n||/^(go to\s+\w+|let us know your cookie preferences)$/i.test(n)||(a=n,0))});var l=parseInt(n.getAttribute("comment-count")||"0",10),s=Array.prototype.slice.call(document.querySelectorAll("shreddit-comment[depth='0'], shreddit-comment:not([depth])")),c=[];if(s.forEach(function(e){if(!(c.length>=8)){var n=t(e.getAttribute("author")||""),r=t(e.getAttribute("score")||""),i=t((e.querySelector('[slot="commentMeta"]')||{}).innerText||""),o=t((e.querySelector('[slot="comment"]')||{}).innerText||"");if(o){var a=n||"Comment";r&&(a+=" ("+r+" points)"),c.push({heading:a,meta:i,text:o})}}}),!r||!a&&0===c.length)return null;var u=["# "+r];return o&&u.push("- Author: "+o),!i||o&&-1!==i.toLowerCase().indexOf(o.toLowerCase())||u.push("- Context: "+i),a&&u.push(a),(l||c.length)&&u.push("## Top Comments"),c.forEach(function(e){u.push("### "+e.heading),e.meta&&-1===e.meta.toLowerCase().indexOf(e.heading.toLowerCase())&&u.push(e.meta),u.push(e.text)}),{title:r,byline:o||e.byline,excerpt:a||e.excerpt,siteName:e.siteName||"Reddit",publishedTime:e.publishedTime,html:n.outerHTML,markdown:u.filter(Boolean).join("\n\n"),textContent:t([r,a].concat(c.map(function(e){return e.text})).join(" ")),readerMode:!1,contentType:"article"}}(e);if(r)return r;if(!/(cookie preferences|before you continue to reddit|reddit uses cookies|log in|sign up)/i.test(n||""))return null;var i=(location.pathname||"").split("/").filter(Boolean),o="r"===i[0]?i[1]:null,a=t((e.title||document.title).replace(/\s*:\s*r\/[^|]+$/i,""))||e.title||"Reddit page",l=e.excerpt||"Original content on this Reddit page is not available without cookie acceptance or login.",s=["Access notice: Reddit cookie acceptance or login required"];return o&&s.push("Requested community: r/"+o),b({title:a,description:l,details:s,siteName:e.siteName||"Reddit"})}function jn(e,t){var n=String(e);t&&(n=n.replace(/,/g,""));var r=parseInt(n,10);return isNaN(r)?e:r>=1e6?(r/1e6).toFixed(1).replace(/\.0$/,"")+"M":r>=1e4?(r/1e3).toFixed(1).replace(/\.0$/,"")+"K":r.toLocaleString()}function Ln(e){var t=e.match(/([\d,.]+[MKB]?)\s*(?:Followers|follower|Takipçi|подписчик|متابع)/i),n=e.match(/([\d,.]+[MKB]?)\s*(?:Following|following)/i),r=e.match(/([\d,.]+[MKB]?)\s*(?:Posts?|post|Gönderi|публикац|منشور)/i);return{followers:t&&t[1],following:n&&n[1],posts:r&&r[1]}}function _n(e,o){return function(e){var n=document.querySelector("#main-article .article-content, #main-content .article-content, .article-content.retro-folders");if(!n)return null;var r=Array.prototype.filter.call(n.querySelectorAll("a[href]"),function(e){return/\/pmwiki\/pmwiki\.php\/Main\//i.test(e.getAttribute("href")||"")}).length;return n.querySelectorAll("li").length<20||r<10?null:I(e,n,{title:h(["#main-article h1","#main-content h1","h1"])||t((e.title||document.title).replace(/\s*-\s*TV Tropes\s*$/i,"")),byline:null,publishedTime:null,minTextLength:1200,rewriteRoot:function(e){["#modal_overlay",".modal_overlay","script","style","iframe",".ad-unit","[id*='ad-']","[class*='ad-']","[class*='advert']","[class*='watch']"].forEach(function(t){e.querySelectorAll(t).forEach(function(e){e.remove()})})}})}(e)||function(e){var n=J(e);if(!S(/(^|\.)pinterest\.com$/)&&!/pinterest/i.test(n))return null;if(!/^\/search\//.test(location.pathname)&&!y("q")&&!/showing more search results for/i.test(document.body&&document.body.textContent))return null;var r=t(y("q")),o={},a=[];return document.querySelectorAll("a[href*='/pin/']").forEach(function(e){if(!(a.length>=12)){var n=i(e.getAttribute("href")),r=t(e.getAttribute("aria-label")||e.textContent);if(!r){var l=e.querySelector("img[alt]");r=t(l&&l.getAttribute("alt"))}!n||!r||r.length<12||o[n]||/^(log in|sign up|explore|search|filters|you are signed out)$/i.test(r)||(o[n]=!0,a.push({text:r,url:n}))}}),a.length>=4?w({title:r?"Pinterest results for "+r:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Pinterest",items:a}):e.excerpt?b({title:r?"Pinterest results for "+r:e.title||document.title,description:e.excerpt,details:["Access: Pinterest signed-out shell"],siteName:e.siteName||"Pinterest",contentType:"article"}):null}(e)||function(e,r){var i=J(e);if(!S(/(^|\.)tiktok\.com$/)&&!/tiktok/i.test(i))return null;var o=t(r||""),a=h(["main h1","h1"]),l=h(["main h2","h2"]),s=n((location.pathname||"").replace(/^\/tag\//,"").split("/")[0]||"").replace(/[-_]+/g," ");if(s=t(s),/^\/tag\//.test(location.pathname)||a||l){var c=a||(s?"#"+s:t(e.title||document.title)),u=e.excerpt;u&&!/make your day/i.test(u)||(u="This TikTok page is only partially available, but the visible tag or page summary can still be extracted.");var d=[];return l&&l!==c&&d.push(l),/drag the slider to fit the puzzle|log in/i.test(o)&&d.push("Access notice: TikTok login or verification required"),b({title:c,description:u,details:d,siteName:e.siteName||"TikTok",contentType:"article"})}return/drag the slider to fit the puzzle|slide to verify/i.test(o)?b({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}(e,o)||function(e,n){var r=J(e);if(!S(/(^|\.)ebay\./)&&!/ebay/i.test(r))return null;if(!/\/sch\//.test(location.pathname)&&!y("_nkw")&&!/for sale\s*\|\s*ebay/i.test(r))return null;var o={},a=[];return document.querySelectorAll("a.s-item__link[href*='/itm/'], li.s-item a[href*='/itm/']").forEach(function(e){if(!(a.length>=12)){var n=i(e.getAttribute("href")),r=t(e.textContent||e.querySelector("img[alt]")&&e.querySelector("img[alt]").getAttribute("alt")),l=Me(e.closest("li.s-item, .srp-results li")||e.parentElement,r);!n||!r||r.length<8||o[n]||(o[n]=!0,a.push({text:r,url:n,detail:l}))}}),a.length>=4?w({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"eBay",items:a}):e.excerpt||/cookie/i.test(n||"")?b({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}(e,o)||function(e){var n=J(e);if(!S(/(^|\.)glassdoor\.com$/)&&!/glassdoor/i.test(n))return null;if(location.pathname&&"/"!==location.pathname&&"/index.htm"!==location.pathname)return null;var r=h(["main h1","h1"])||t((e.title||document.title).replace(/\s*\|.*$/,"")),i=f(["main h2","main p"],20).filter(function(e){return e.length>=12&&!/^(continue with google|continue with apple|or email|sign in|community jobs companies salaries for employers)$/i.test(e)}),o=i.find(function(e){return e!==r&&e.length>=40})||e.excerpt,a=i.filter(function(e){return e!==r&&e!==o}).slice(0,6);return r||o?b({title:r,description:o,highlights:a,siteName:e.siteName||"Glassdoor"}):null}(e)||Qt(e)||function(e){if(!S(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!y("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var n=Qt(e);if(n)return n;var r=d(["VideoObject"]),i=t(r&&(r.name||r.headline)||e.title).replace(/\s*[-|]\s*YouTube$/i,""),o=h(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description"])||m(r&&r.description)||e.excerpt,a=p(r&&(r.author||r.publisher))||e.byline,l=m(r&&(r.uploadDate||r.datePublished))||e.publishedTime,s=[],c=f(["ytd-macro-markers-list-item-renderer h4","ytd-macro-markers-list-item-renderer #title"],12);return m(r&&r.duration)&&s.push("Duration: "+m(r.duration)),c.length&&s.push("Chapters: "+c.slice(0,6).join(" | ")),i&&o?b({title:i,byline:a,publishedTime:l,description:o,details:s,siteName:e.siteName||"YouTube",hostAware:!0}):null}(e)||function(e){if(!S(/(^|\.)amazon\./))return null;if("/s"!==location.pathname&&!y("k"))return null;var n={},r=[];return document.querySelectorAll("[data-component-type='s-search-result'], .s-result-item[data-asin]").forEach(function(e){if(!(r.length>=15)){var o=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:o&&o.textContent),s=i(o&&o.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"),p=t(d&&(d.getAttribute("aria-label")||d.textContent)),m=e.querySelector("a[href*='#customerReviews'], .a-size-small .a-link-normal"),h=[u,p,t(m&&m.textContent)].filter(Boolean).join(" - ");!l||!s||l.length<8||n[s]||(n[s]=!0,r.push({text:l,url:s,detail:h}))}}),r.length<3?null:k(e,{title:e.title||document.title,excerpt:r[0].text,items:r})}(e)||function(e){if(!S(/(^|\.)amazon\./))return null;if(!/(\/dp\/|\/gp\/product\/)/.test(location.pathname))return null;var n=d(["Product","Book"]),r=h(["#productTitle","#title span","#ebooksProductTitle"])||m(n&&n.name)||e.title,i=m(n&&n.description)||e.excerpt||h(["#bookDescription_feature_div .a-expander-content","#bookDescription_feature_div .a-expander-partial-collapse-content","#productDescription p","#productDescription"]),o=h(["#bylineInfo",".author a","#brand"]),a=f(["#feature-bullets li span","#detailBullets_feature_div li span.a-list-item","#productOverview_feature_div td"],10).filter(function(e){return e.length>=12&&e!==r&&!/^see more$/i.test(e)}),l=[],s=n&&n.offers;Array.isArray(s)&&(s=s[0]);var c=s&&s.price?t(s.price+(s.priceCurrency?" "+s.priceCurrency:"")):null;if(c&&l.push("Price: "+c),s&&s.availability&&l.push("Availability: "+g(s.availability)),n&&n.aggregateRating&&n.aggregateRating.ratingValue){var u=t(n.aggregateRating.ratingValue+"/5"),p=n.aggregateRating.reviewCount||n.aggregateRating.ratingCount;l.push("Rating: "+u+(p?" from "+p+" reviews":""))}return r&&i?b({title:t(r).replace(/: Amazon.*$/i,""),byline:o,description:i,details:l,highlights:a,siteName:e.siteName||location.hostname}):null}(e)||function(e){var t=J(e);if(!S(/(^|\.)bloomberg\.com$/)&&!/bloomberg/i.test(t))return null;if(/(\/news\/|\/opinion\/|\/features\/|\/graphics\/)/.test(location.pathname))return null;var n={},r=[];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=$e(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),o=i(e.getAttribute("href")),a=Me(e.closest("article, section, div")||e.parentElement,t);!t||!o||t.length<18||t.length>220||n[o]||/^(bloomberg opinion|bloomberg businessweek|newsletter:|watch)$/i.test(t)||(n[o]=!0,r.push({text:t,url:o,detail:a}))}),r.length<4?null:w({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Bloomberg",items:r})}(e)||function(e){var t=J(e);if(!S(/(^|\.)economist\.com$/)&&!/economist/i.test(t))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},r=[];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 o=$e(e),a=i(t),l=Me(e.closest("article, section, li, div")||e.parentElement,o);!o||!a||o.length<18||o.length>180||n[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(o)||(n[a]=!0,r.push({text:o,url:a,detail:l}))}}),r.length<4?null:w({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:r})}(e)||function(e){var n=J(e);if(!/(^|\b)ft\.com\b|financial times/i.test(n))return null;if(location.pathname&&"/"!==location.pathname)return null;var r={},o=[];return document.querySelectorAll("main a[href*='/content/'], main a[href*='/stream/']").forEach(function(e){var n=t(e.textContent).replace(/^opinion content\.?\s*/i,""),a=i(e.getAttribute("href")),l=Me(e.closest("article, section, .story-group__article, .story-group-slice, .o-teaser")||e.parentElement,n);!n||!a||n.length<18||n.length>180||r[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(n)||(r[a]=!0,o.push({text:n,url:a,detail:l}))}),o.length<4?null:w({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:o})}(e)||function(e){var n=J(e);if(!S(/(^|\.)booking\.com$/)&&!/booking\.com/i.test(n))return null;if(location.pathname&&"/"!==location.pathname)return null;var r=h(["main h1","h1"])||t((e.title||document.title).replace(/^Booking\.com\s*[|:-]\s*/i,"")),o=e.excerpt,a=f(["main h2"],8).filter(function(e){return e.length>=5&&!/^(offers?)$/i.test(e)}),l={},s=[];if(document.querySelectorAll("main a[href*='/searchresults.html'], main a[href*='/hotel/'], main a[href*='/apartments/'], main a[href*='/resorts/'], main a[href*='/villas/'], main a[href*='/homes/']").forEach(function(e){if(!(s.length>=10)){var n=t(e.textContent),r=i(e.getAttribute("href"));!n||!r||n.length<3||n.length>80||l[r]||/^(learn more|search|sign in|register|list your property)$/i.test(n)||(l[r]=!0,s.push({text:n,url:r}))}}),!r&&!a.length&&s.length<3)return null;var c=[];r&&c.push("# "+r),o&&c.push(o),a.length&&c.push(a.slice(0,6).map(function(e){return"- "+e}).join("\n")),s.length>=3&&c.push(Nr(s));var u=c.filter(Boolean).join("\n\n").trim();return k(e,{title:r||e.title,excerpt:o,siteName:e.siteName||"Booking.com",markdown:u,textContent:t(u),items:s.length>=3?s:null,contentType:s.length>=3?"list":"article"})}(e)||function(e){var n=document.querySelector("#abstract[role='doc-abstract'], section[role='doc-abstract']#abstract, section[property='abstract']"),r=document.querySelector("#bodymatter[property='articleBody'], section[property='articleBody'][typeof='Text']");if(!n||!r)return null;var i=t([document.title,e&&e.title,e&&e.siteName,h(["meta[name='citation_publisher']","meta[name='citation_journal_title']","meta[property='og:site_name']"]),document.body&&document.body.textContent].join(" ")).slice(0,2e4);return/\b(PNAS|Proceedings of the National Academy|HighWire|citation_doi)\b/i.test(i)||document.querySelector("meta[name='citation_doi']")?t(r.textContent||"").length<500?null:tn({metadata:e,abstractRoot:n,bodyRoot:r,titleSelectors:[".citation__title",".article-header h1","h1[property='name']","h1","meta[name='citation_title']"],titleCleanup:/\s*\|\s*PNAS\s*$/i,minTextLength:600}):null}(e)||function(e){var n=document.querySelector(".article_abstract, .abstractSection, .article__abstract, .NLM_abstract, #abstract, section[property='abstract'], [property='abstract']");if(!n)return null;var r=t(n.textContent||"");if(r.length<120)return null;var i=t([document.title,e&&e.title,e&&e.siteName,h(["meta[name='citation_publisher']","meta[name='citation_journal_title']"]),document.body&&document.body.textContent].join(" ")).slice(0,16e3);return/\b(acs publications|american chemical society|journal of chemical education)\b/i.test(i)?tn({metadata:e,abstractRoot:n,titleSelectors:[".article_header-title",".citation__title","h1[property='name']","h1"],titleCleanup:/\s*-\s*ACS Publications\s*$/i,excerpt:r,minTextLength:180}):null}(e)||function(e){function n(e){var n=Array.prototype.reduce.call(e.querySelectorAll(".article-content .article-text"),function(e,t){var n=t.querySelectorAll(".section.toc-section a[data-toc^='s']").length;return!e||n>e.sections?{node:t,sections:n}:e},null),r=n&&n.node;return r?{abstractNode:r.querySelector(".abstract.toc-section, .abstract"),bodySections:Array.prototype.filter.call(r.querySelectorAll(".section.toc-section"),function(e){var n=e.querySelector("a[data-toc]"),r=n&&n.getAttribute("data-toc")||"",i=t(e.textContent||"");return/^(?:s|sec)\d+$/i.test(r)&&i.length>=80})}:null}var r=n(document);if(!r||r.bodySections.length<3){var i=we(),o=document.createElement("div");o.innerHTML=i&&i.html||"";var a=n(o);a&&(!r||a.bodySections.length>r.bodySections.length)&&(r=a)}if(!r||!r.abstractNode||r.bodySections.length<2)return null;var l=r.abstractNode,s=r.bodySections;if(!document.querySelector("meta[name='citation_doi'], meta[name='citation_journal_title']")&&!/\b(open access|peer-reviewed|research article|article info)\b/i.test(t(document.body&&document.body.textContent||"").slice(0,12e3)))return null;var c=h([".article-header h1","h1","meta[name='citation_title']"])||e.title||document.title;return c=t(c||"").replace(/\s*\|\s*PLOS\s+\w+\s*$/i,""),tn({metadata:e,abstractRoot:l,bodyRoots:s,title:c,markdownFallback:function(){var e=c?["# "+c]:[];return[l].concat(s).forEach(function(n){n.querySelectorAll("h2, h3, h4, p, figcaption").forEach(function(n){var r=t(n.textContent||"");r&&(/^H2$/i.test(n.tagName)?e.push("","## "+r):/^H3$/i.test(n.tagName)?e.push("","### "+r):/^H4$/i.test(n.tagName)?e.push("","#### "+r):e.push("",r))})}),Ar(e.join("\n").trim())},minTextLength:300})}(e)||function(e){var n=document.querySelector("#abstracts[data-extent='frontmatter']"),r=document.querySelector("#bodymatter[property='articleBody'], section[property='articleBody'][data-extent='bodymatter']");if(!n||!r)return null;var i=document.getElementById("build-style-article");if(!(i&&/\/products\/marlin\//i.test(i.getAttribute("href")||"")||document.querySelector("meta[name=citation_pii], meta[name=citation_doi]")||/\bElsevier\b|ScienceDirect|Cell Press/i.test(t([e&&e.siteName,e&&e.title,document.title,document.body&&document.body.textContent].join(" ")).slice(0,2e4))))return null;var o=t(r.textContent||"");return!o||/get full text access\s+log in,? subscribe or purchase/i.test(o)?null:tn({metadata:e,abstractRoot:n,bodyRoot:r,titleSelectors:["h1","header h1",".core-container h1"],excerpt:h(["#author-abstract","section[property='abstract']"]),siteName:e.siteName||"Elsevier",minTextLength:300})}(e)||function(e){var n=document.querySelector("xpl-document-abstract, .document-abstract");if(!n)return null;var r=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(r))return null;var i=Array.prototype.filter.call(n.querySelectorAll(".abstract-text-content, [class*='abstract-text' i], [property='abstract']"),function(e){return t(e.textContent||"").length>=80});if(!i.length)return null;var o=i.reduce(function(e,n){var r=t(n.textContent||"");return!e||r.length>e.text.length?{node:n,text:r}:e},null);if(!o||o.text.length<160)return null;var a=t(e.title||h(["meta[name='citation_title']","h1"]));a=a.replace(/\s*\|\s*IEEE.*$/i,"");var l=document.createElement("section"),s=document.createElement("h2"),c=document.createElement("p");s.textContent="Abstract",c.textContent=o.text.replace(/^Abstract:\s*/i,""),l.appendChild(s),l.appendChild(c);var u=[];return f([".stats-document-abstract-publishedIn",".doc-abstract-confdate",".doc-abstract-pubdate",".doc-abstract-doi",".u-pb-1"],8).forEach(function(e){var n=t(e).replace(/\s*Show More\s*$/i,"");!n||n.length>220||/^(abstract|metadata|abstract:)/i.test(n)||-1===u.indexOf(n)&&u.push(n)}),tn({metadata:e,abstractRoot:l,title:a,excerpt:o.text,details:u,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}(e)||function(e){var n=document.querySelector("blockquote.abstract"),r=S(/(^|\.)arxiv\.org$/)&&/^\/abs\//.test(location.pathname||"");if(!n||!r)return null;var i=h(["h1.title","h1.titlemath","main h1","h1"])||e.title||document.title;i=t(i).replace(/^Title:\s*/i,"");var o=h([".authors"]);o=t(o||"").replace(/^Authors?:\s*/i,"");var a=t(n.textContent||"").replace(/^Abstract:\s*/i,"");if(!i||!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=["# "+i,[o?"- Author: "+o:null].concat(l.map(function(e){return"- "+e})).filter(Boolean).join("\n"),a].filter(Boolean).join("\n\n").trim(),c=document.createElement("article"),u=document.createElement("h1"),d=document.createElement("p");return u.textContent=i,d.textContent=a,c.appendChild(u),c.appendChild(d),{title:i,byline:o||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}}(e)||function(e){if(!en(["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"]))return null;var n=en(["section[property='abstract']","[role='doc-abstract']","#abstract[role='doc-abstract']",".art-abstract",".html-abstract",".article__abstract",".article-abstract",".abstractSection",".NLM_abstract","#abstract",".abstract"]),r=en(["#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"]);if(!r){var i=Array.prototype.filter.call(document.querySelectorAll("section[id^='sec'], section[id^='Sec'], .section"),function(e){return t(e.textContent||"").length>=120});i.length>=2&&(r=i.reduce(function(e,n){var r=t(n.textContent||"").length;return!e||r>e.textLength?{node:n.parentNode||n,textLength:r}:e},null).node)}if(!n||!r)return null;var o=t(n.textContent||""),a=t(r.textContent||"");return o.length<80||a.length<600||/get full text access\s+log in,? subscribe or purchase/i.test(a)?null:tn({metadata:e,abstractRoot:r.contains&&r.contains(n)?null:n,bodyRoot:r,excerpt:o,titleSelectors:["meta[name='citation_title']","h1[property='name']",".citation__title",".article-header h1","article h1","h1"],minTextLength:700})}(e)||nn(e)||on(e)||ln(e)||un(e)||function(e){var n=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!n)return null;var r=t(n.textContent||""),i=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),o=t((document.querySelector("#page_title, #pageTitle, h1")||{}).textContent||e.title||document.title),a=t([o,document.title,location.pathname].join(" ")),l=ye({text:r,title:a,path:location.pathname||""}),s=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(a)||l.sectionOrArticleMarker;return r.length<250||!i||!s||l.numberedClauses<2?null:O(e,n,{title:o||e.title||document.title,byline:null,excerpt:function(t,n,r,i,o){return e.excerpt||o.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:250,extra:{legalProvision:!0}})}(e)||function(e){var n=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!n||!He(n,n.textContent||""))return null;var r=E(n),i=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),o=document.createElement("h1");o.textContent=i,r.insertBefore(o,r.firstChild),ur(r);var a=Ar(Fn(r.innerHTML)).replace(/\n{3,}/g,"\n\n").trim(),l=t(a||r.textContent||"");return l.length<200?null:{title:i||e.title||document.title,byline:null,excerpt:e.excerpt||l.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:r.innerHTML,markdown:a,textContent:l,readerMode:!1,contentType:"list",hostAware:!0}}(e)||function(e){var n=document,r=n.querySelector("#container, #paddingLR12");if(!r||!$n(n,e))return null;t(r.textContent||"");var i=r.querySelector("table")||n.querySelector("#paddingLR12 table, table");if(i&&/\bSection\s*1/i.test(i.textContent||"")){var o=(l=n,s=Array.prototype.slice.call(l.querySelectorAll("a[href]")),c=new URL(location.href),u=null,s.some(function(e){var n,r=e.getAttribute("href")||"",i=t(e.textContent||e.getAttribute("title")||"");try{n=new URL(r,location.href)}catch(e){return!1}return n.origin===c.origin&&!!/\.html?(?:$|#)/i.test(n.pathname+n.hash)&&!(!/^(?:html|full text|full text in format html)$/i.test(i)&&!/\/[^/]+\.html?$/i.test(n.pathname))&&n.pathname!==c.pathname&&(u=n.href.replace(/#.*/,""),/^(?:html|full text in format html)$/i.test(i))}),u),a=o&&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}}(o);a&&$n(a,e)&&(n=a)}var l,s,c,u;var d=n.getElementById("paddingLR12")||n.getElementById("container")||n.querySelector("#paddingLR12, #container");if(!d)return null;var p=t((n.querySelector("h1")||document.querySelector("h1")||{}).textContent||e.title||document.title);return O(e,d,{title:p||e.title||document.title,byline:null,excerpt:function(t,n,r,i,o){return e.excerpt||o.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 n=e.closest("p, div, li")||e;/^table of contents$/i.test(t(n.textContent||""))&&n.remove()})},validateMarkdown:function(e,t){return/\bSection\s*1/i.test(t)&&/\bSection\s*2/i.test(t)},extra:{legalProvision:!0}})}(e)||function(e){var n=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(", "))),i=null;if(n.some(function(e){return!(!e||!e.querySelector("h1")||r(e)<500)&&(!!e.querySelector("p")&&(i=e,!0))}),!i)return null;var o=t([e.siteName||"",e.title||"",document.title||"",i.id||"",i.className||"",Array.prototype.slice.call(i.querySelectorAll("a[href]")).slice(0,40).map(function(e){return(e.getAttribute("href")||"")+" "+t(e.textContent||"")}).join(" ")].join(" ")),a=/\b(?:law|legal|court|courts|statute|regulation|jurisdiction|litigation|plaintiff|defendant|claim|judgment|preclusion|rule|rights?)\b/i.test(o),l=/\b(?:wex|encyclopedia|definition|definitions|reference|glossary|term)\b/i.test(o)||/\/wex\//i.test(o);return a&&l?O(e,i,{title:function(n,r){return t((r.querySelector("h1")||i.querySelector("h1")||{}).textContent||e.title||document.title)},byline:null,excerpt:function(t,n,r,i,o){return e.excerpt||o.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}(e)||bn(e)||function(e){var n=J(e);if(!S(/(^|\.)wykop\.pl$/)&&!/wykop/i.test(n))return null;if(location.pathname&&"/"!==location.pathname)return null;var r={},o=[];return document.querySelectorAll("section.prerender section.link-block.stream-home[id^='link-'], section.home-page section.link-block.stream-home[id^='link-'], section.stream.home-stream.from-pagination-home-stream section.link-block.stream-home[id^='link-']").forEach(function(e){if(!(o.length>=12)){var n=e.querySelector("h2.heading a[href^='/link/'], h2 a[href^='/link/'], a[href^='/link/']");if(n){var a=t(n.textContent||n.getAttribute("title")||""),l=i(n.getAttribute("href"));if(!(!a||!l||a.length<12||a.length>220||r[l]||/^(załóż konto|zaloguj się|ustawienia prywatności)$/i.test(a))){r[l]=!0;var s=[],c=t(Array.prototype.map.call(e.querySelectorAll("p, .description, .text, .content"),function(e){return t(e.textContent||"")}).join(" "));c&&c!==a&&!/we value your privacy|manage choices|privacy settings|ustawienia prywatności|polityka prywatności i cookies|nie widzisz nawet do 30% treści dostępnych w serwisie/i.test(c)&&s.push(c);var u=t(Array.prototype.map.call(e.querySelectorAll("a.comment-counter, [class*='vote'], [class*='comment']"),function(e){return t(e.textContent||"")}).join(" ")).replace(/\s{2,}/g," ");u&&s.push(u),o.push({text:a,url:l,detail:t(s.join(" - "))})}}}}),o.length<4?null:w({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Wykop",items:o})}(e)||Dt(e)||function(e){var n=J(e).toLowerCase();if(!S(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(n))return null;var r=K(["#main","main article","main","article"]);if(!r)return null;var i=Z(r,["p"]),o=ne(e,r,{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()}),F(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),F(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){H(e)&&e.remove()})}});if(!o)return null;var a=t(i||o.excerpt);if(a&&-1===o.markdown.indexOf(a)){var l=o.markdown;oe(l,o.title)&&(l=l.split("\n\n").slice(1).join("\n\n")),o.markdown=["# "+o.title,a,l].filter(Boolean).join("\n\n"),o.textContent=t(o.markdown)}return o}(e)||Ut(e)||function(e){var t=J(e).toLowerCase();return S(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?Ut(e):null}(e)||kn(e)||function(e){var n=Wt(e);return Vt(e,n)||function(e,n){if(!(n=n||Wt(e))||"rustdoc"!==n.system)return null;var r=K(["main",".rustdoc","body"]);return ne(e,r,{titleSelectors:["main h1",".rustdoc h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s+copy item path$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, #sidebar, .sidebar, .sub-sidebar-menu, #settings, #help-button, #crate-search, .mobile-topbar, .sidebar-elems, .out-of-band").forEach(function(e){e.remove()}),F(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 n=t(e.getAttribute("title")),r=t(e.textContent);(/show sidebar|hide sidebar|toggle sidebar/i.test(n)||/^(search|settings|help|source|§)$/i.test(r))&&e.remove()}),e.querySelectorAll("a.srclink, a.src, a[class*='srclink']").forEach(function(e){e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/\s+copy item path$/i,"").replace(/^§\s*/,"")})}})}(e,n)||function(e,n){if(!(n=n||Wt(e))||"dartdoc"!==n.system)return null;var r=U(h(["#dartdoc-main-content h1","main h1","h1"])||e.title||document.title),o=h(["#dartdoc-main-content .desc p","main .desc p","main p"]),a=[];if(document.querySelectorAll("section.summary dl dt").forEach(function(e){var n=e.querySelector(".name a[href], a[href]");if(n){var r=t(n.textContent),o=i(n.getAttribute("href")),l=e.nextElementSibling&&e.nextElementSibling.tagName&&"dd"===e.nextElementSibling.tagName.toLowerCase()?e.nextElementSibling:null,s=t(l&&l.textContent);r&&o&&a.push({title:r,href:o,description:s})}}),a.length<4)return null;var l=["# "+(r||"API Reference")];o&&l.push(o),l.push("## Libraries\n\n"+a.slice(0,80).map(function(e){return"- ["+e.title+"]("+e.href+")"+(e.description?" - "+e.description:"")}).join("\n"));var s=Ar(l.join("\n\n"));return{title:r||e.title||document.title,byline:null,excerpt:o||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,n)||function(e,t){if(!(t=t||Wt(e))||"go_pkg"!==t.system)return null;var n=K(["#main-content","main","body"]);return ne(e,n,{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()}),F(e,"div, p, span, a, button",/^(jump to \.\.\.|documentation|details|repository|links|versions|licenses|imports|imported by)$/i)}})}(e,n)||function(e,n){if(n=n||Wt(e),!n||"google_devsite"!==n.system)return null;var r=K(["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 ae(e,r,{title:(o=h(["devsite-content h1","article h1","main h1"])||e.title||document.title,U((o||"").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 n=t(e.textContent);/stay organized with collections/i.test(n)&&/save and categorize content/i.test(n)&&n.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 n=t(e.textContent);/except as otherwise noted.*creative commons/i.test(n)&&n.length<600&&e.remove(),/^(content and samples on this page|except as otherwise noted)/i.test(n)&&n.length<600&&e.remove()}),F(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),Q(e);var n=e.querySelectorAll("h1");if(n.length>1){for(var r=0,o=t(n[0].textContent).length,a=1;a<n.length;a++){var l=t(n[a].textContent).length;l>0&&l<o&&(o=l,r=a)}for(var s=t(n[r].textContent).toLowerCase(),c=0;c<n.length;c++)if(c!==r){var u=t(n[c].textContent).toLowerCase();u!==s&&0!==u.indexOf(s)&&0!==s.indexOf(u)||n[c].remove()}}e.querySelectorAll("section, div, p").forEach(function(e){var n=t(e.textContent);/enterprise edition.*now available|is now available.*learn more/i.test(n)&&n.length<300&&e.remove()})}});var o}(e,n)||function(e,n){if(n=n||Wt(e),!n||"elastic_docs"!==n.system)return null;var r=K(["main article","main [class*='docBody']","article","main"]);return ae(e,r,{title:U(h(["main article h1","article h1","main h1"])||(e.title||document.title).replace(/\s*\|\s*Elasticsearch.*$/i,"")),rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var n=t(e.textContent);!n&&e.querySelector("svg, .icon")&&e.remove(),!n&&!e.querySelector("img")&&e.getAttribute("href")&&/^#/.test(e.getAttribute("href"))&&e.remove()}),F(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),Q(e)}})}(e,n)||function(e,n){if(n=n||Wt(e),!n||"readme"!==n.system)return null;var r=K(/\/reference\//i.test(location.pathname)||document.documentElement.classList.contains("isRefPage")?[".rm-ReferenceMain","main .rm-ReferenceMain",".rm-Article","main"]:[".rm-Article","article","main .rm-LandingPage","main .rm-ReferenceMain","main"]);return ae(e,r,{title:U(h(["article h1",".rm-Article h1","main h1","h1"])||Ur(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()}),F(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 n=t(e.textContent);(/^\s*(time\s+status\s+user\s*agent)?\s*$/i.test(n)||n.length<60&&/time.*status.*user\s*agent/i.test(n))&&e.remove()}),Q(e)}})}(e,n)||function(e,n){if(n=n||Wt(e),!n||"redoc"!==n.system)return null;var r=K([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),i=ae(e,r,{title:U(h([".api-content h1",".redoc-wrap h1","main h1","h1"])||Ur(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),F(e,"a, button, div, p, span, li",/^(download|download openapi specification:?|authorize|try it|send api request|copy|expand all|collapse all|payload|loading[\u2026.]{1,3})$/i),function(e){e.querySelectorAll("div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=function(e){var t=[];function n(e){for(var r=e.childNodes,i=0;i<r.length;i++){var o=r[i];if(3===o.nodeType){var a=o.textContent;a&&!/^\s*$/.test(a)&&t.push(a)}else if(1===o.nodeType){var l=o.nodeName,s=o.className||"";if("BUTTON"===l)continue;if(/\bellipsis\b/.test(s))continue;if("SPAN"===l){var c=o.textContent;c&&!/^\s*$/.test(c)&&t.push(c);continue}n(o)}}}n(e);var r=t.join("").replace(/,(\s*[}\]])/g,"$1");try{var i=JSON.parse(r);return JSON.stringify(i,null,2)}catch(e){return r.replace(/\s+/g," ").trim()}}(e);if(t){var n=document.createElement("pre"),r=document.createElement("code");r.setAttribute("data-language","json"),r.textContent=t,n.appendChild(r),e.replaceWith(n)}})}(e),e.querySelectorAll("[data-rttabs]").forEach(function(e){for(var n=e.querySelectorAll("[role='tabpanel']"),r=null,i=0;i<n.length;i++)if(n[i].querySelector("pre, code")||t(n[i].textContent).length>20){r=n[i];break}e.querySelectorAll("[role='tablist'], [role='tab']").forEach(function(e){e.remove()});for(var o=0;o<n.length;o++)n[o]!==r&&n[o].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=U(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}});return i}(e,n)||function(e,n){return n=n||Wt(e),n&&"mintlify"===n.system?ee(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:Ur,rewriteRoot:function(e){var n=e.querySelector("h1");if(n)for(var r=e.firstElementChild;r&&r!==n;){var i=r.nextElementSibling;if(r.contains(n))break;r.remove(),r=i}cr(e,Kn+", .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"),F(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 n=t(e.textContent);/^api reference sidebar$/i.test(n)&&e.remove()}),e.querySelectorAll(".eyebrow").forEach(function(e){t(e.textContent).length<=40&&e.remove()}),Q(e)}}):null}(e,n)||function(e,t){if(t=t||Wt(e),!t||"gitbook"!==t.system)return null;var n=K(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]);return ae(e,n,{title:U(h(["main header h1","main h1","h1"])||Ur(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){cr(e,Kn+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),F(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),Q(e)}})}(e,n)||function(e,t){if(t=t||Wt(e),!t||"scalar"!==t.system)return null;var n=K([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]);return ae(e,n,{title:U(h([".scalar-api-reference h1","main h1","h1"])||Ur(e)),focusFragment:!1,rewriteRoot:function(e){cr(e,Kn+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),F(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),Q(e)}})}(e,n)||function(e,t){return te(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:Ur,removeSelectors:Kn+", #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,n)||function(e,n){return n=n||Wt(e),n&&"nextra"===n.system?ee(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:Ur,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 n=t(e.getAttribute("title")||e.querySelector("[title]")&&e.querySelector("[title]").getAttribute("title")||e.textContent),r=t(Array.prototype.slice.call(e.querySelectorAll("p")).map(function(e){return e.textContent}).join(" ")),i=e.getAttribute("href");if(n&&i){var o=document.createElement("section"),a=document.createElement("ul"),l=document.createElement("li"),s=document.createElement("a");if(s.setAttribute("href",i),s.textContent=n,l.appendChild(s),a.appendChild(l),o.appendChild(a),r&&r!==n){var c=document.createElement("p");c.textContent=r,o.appendChild(c)}e.replaceWith(o)}}),cr(e,Kn+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),F(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()}),Q(e)},postProcessMarkdown:function(e,n){if(!n||!n.querySelector(".nextra-cards"))return e;var r=[];return n.querySelectorAll(".nextra-cards a[href]").forEach(function(n){var o=t(n.textContent||n.getAttribute("title")),a=i(n.getAttribute("href"));o&&a&&-1===e.indexOf(a)&&r.push("- ["+o+"]("+a+")")}),r.length?(e||"").trim()+"\n\n## Pages\n\n"+r.join("\n"):e}}):null}(e,n)||function(e,t){return te(e,t,{system:"docusaurus",rootSelectors:["main article","main .theme-doc-markdown","article .theme-doc-markdown","main [class*='docItemContainer']","main"],titleSelectors:["main h1","article h1",".theme-doc-markdown h1"],fallbackTitle:Ur,removeSelectors:Kn+", .theme-doc-breadcrumbs, .theme-doc-toc-desktop, .theme-doc-toc-mobile, .pagination-nav, .theme-edit-this-page, .theme-last-updated",removeTextPattern:/^(skip to main content|on this page|edit this page|copy for llm|view as markdown|ask ai|search)$/i})}(e,n)||function(e,n){return te(e,n,{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:Kn+", .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 n=e.querySelector("h1");if(n)for(var r=e.firstElementChild;r&&r!==n;){var o=r.nextElementSibling;if(r.contains(n))break;r.remove(),r=o}e.querySelectorAll("div, p, span").forEach(function(e){var n=t(e.textContent);n&&n.length<300&&/^are you an llm\b/i.test(n)&&e.remove()}),e.querySelectorAll("a[href], img").forEach(function(e){var t=i(e.getAttribute&&e.getAttribute("href")),n=i(e.getAttribute&&e.getAttribute("src"));if(t&&/carbonads|srv\.carbonads\.net/i.test(t)||n&&/carbonads|srv\.carbonads\.net/i.test(n)){var r=e.closest("div, p, section, aside, a")||e;r&&r.remove()}})}})}(e,n)||function(e,t){return te(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:Kn+", .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 U(e).replace(/^#\s*/,"")}})}(e,n)||function(e,n){if(n=n||Wt(e),!n||"mkdocs"!==n.system)return null;var r="";return ee(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!r||/## Reference Pages[\s\S]*\n\s*-\s+\[/.test(e)?e:[e=e.replace(/\n*## Reference Pages\s*$/i,""),r].filter(Boolean).join("\n\n")},rewriteRoot:function(e){var n=function(){if(!/\/(?:reference|api)\/?$/i.test(location.pathname||""))return null;var e=location.href.replace(/#.*$/,"").replace(/\/$/,"")+"/",n=Array.prototype.slice.call(document.querySelectorAll(".md-nav__link[href]")).find(function(t){return i(t.getAttribute("href")).replace(/#.*$/,"").replace(/\/$/,"")+"/"===e}),r=n&&n.closest(".md-nav__item--nested, .md-nav__item--section, .md-nav__item"),o=r&&r.querySelector("nav.md-nav");if(!o)return null;var a={},l=[];if(o.querySelectorAll("a[href]").forEach(function(n){var r=i(n.getAttribute("href")),o=r.replace(/#.*$/,"").replace(/\/$/,"")+"/",s=t(n.textContent);s&&o!==e&&!a[o]&&(a[o]=!0,l.push({title:s,href:r}))}),l.length<3)return null;var s=document.createElement("section"),c=document.createElement("h2"),u=document.createElement("ul");return c.textContent="Reference Pages",s.appendChild(c),l.slice(0,50).forEach(function(e){var t=document.createElement("li"),n=document.createElement("a");n.href=e.href,n.textContent=e.title,t.appendChild(n),u.appendChild(t)}),s.appendChild(u),s}();r=function(e){if(!e)return"";var n=Array.prototype.slice.call(e.querySelectorAll("a[href]")).map(function(e){return"- ["+t(e.textContent)+"]("+e.href+")"}).filter(Boolean);return n.length?"## Reference Pages\n\n"+n.join("\n"):""}(n),n&&e.querySelectorAll("a[href]").length<4&&e.appendChild(n),cr(e,Kn+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),F(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 n=e.querySelector(".admonition-title, summary"),r=t(n&&n.textContent||"Note").toUpperCase();n&&n.remove();var i=t(e.textContent);if(i){var o=document.createElement("blockquote");o.innerHTML="<p><strong>"+r+":</strong> "+i+"</p>",e.replaceWith(o)}}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))})}})}(e,n)||function(e,n){return te(e,n,{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:Kn+", #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,n)||function(e,n){if(!(n=n||Wt(e))||"antora"!==n.system)return null;var r=K(["main.main article.doc","article.doc","main.main","main"]);if(!r)return null;var o=Z(r,["h1"]);if(!o){var a=t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),l=f(["article.doc h2","article.doc h3"],8).filter(function(e){return e.length>=4&&!/^(contents?|navigation)$/i.test(e)}),s={},c=[],u=".homepage-card, .home-card, .card, [class*='homepage-card'], [class*='home-card'], [class*='doc-card'], li, section";if(r.querySelectorAll("a.homepage-link[href], a.homepage-link-primary[href], a.homepage-link-secondary[href]").forEach(function(e){if(!(c.length>=12)){var n=e.getAttribute("href")||i(e.href),r=t(e.textContent),o="",a=e.closest(u),l=e.nextElementSibling;!l||!/^(P|DIV|UL|OL)$/i.test(l.tagName||"")||a&&l.closest(u)!==a||(o=t(l.textContent)),o||(o=G(a||e.closest("section, div, li, article")||e.parentElement,["p","li"],u))===r&&(o=""),!n||!r||r.length<4||s[n]||(s[n]=!0,c.push({text:r,url:n,detail:o}))}}),!c.length)return null;var d=[];a&&d.push("# "+a),l.length&&d.push(l.slice(0,6).map(function(e){return"- "+e}).join("\n")),d.push(Nr(c));var p=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:p,textContent:t(p),readerMode:!1,contentType:"list"}}return ae(e,r,{title:o||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 n=t(e.textContent);!n||n.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(n)&&e.remove()})}})}(e,n)||function(e,n){return te(e,n,{system:"readthedocs",rootSelectors:[".wy-nav-content .rst-content",".rst-content",".wy-nav-content","div[role='main']","main"],titleSelectors:[".rst-content h1",".wy-nav-content h1","main h1","h1"],fallbackTitle:function(e){return e.title||document.title},preferFragmentTitle:!1,removeSelectors:"nav, aside, footer, .wy-breadcrumbs, .rst-footer-buttons, .wy-menu, .wy-nav-side, .wy-side-nav-search, .wy-nav-top",rewriteRoot:function(e,n){e.querySelectorAll("a.headerlink").forEach(function(e){e.remove()});var r=!1;e.querySelectorAll("h1").forEach(function(e){if(e.textContent=U(e.textContent),t(e.textContent)===t(n)){if(r)return void e.remove();r=!0}})}})}(e,n)||function(e,t){return te(e,t,{system:"sphinx",rootSelectors:["div.body[role='main']","div.body","[role='main']","main"],titleSelectors:["div.body h1","[role='main'] h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[—-]\s*[^—-]*documentation$/i,"")},removeSelectors:"a.headerlink, button.copybutton, .toc-backref, .sphinxsidebar, .sphinxsidebarwrapper, aside",headingSelector:"h1, h2, h3, h4",rewriteRoot:function(e){e.querySelectorAll("dt.sig").forEach(function(e){var t=document.createElement("h3");t.textContent=U(e.textContent),e.replaceWith(t)})}})}(e,n)}(e)||function(e){var n=L(e,{minItems:4});if(!n)return null;var r=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.slice(0,6).map(function(e){return"- "+e}).join("\n")),i.push(Nr(n.items.slice(0,12)));var o=i.filter(Boolean).join("\n\n").trim();return t(o).length<180?null:w({title:r,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:o,textContent:t(o)})}(e)||Sn(e)||Cn(e)||An(e)||qn(e)||En(e)||Tn(e,o)||function(e,r){if(!S(/(^|\.)behance\.net$/))return null;var o=[],a={};if(document.querySelectorAll("a[href*='/gallery/'], a[href*='/project/']").forEach(function(e){if(!(o.length>=12)){var n=e.getAttribute("href");if(n){var r=i(n);try{var l=new URL(r,location.href);l.searchParams.delete("tracking_source"),l.searchParams.delete("l"),r=l.toString()}catch(e){}var s=t(e.textContent||e.getAttribute("aria-label")||"");if(s){var c=s+"|"+r;if(!a[c]){a[c]=!0;var u=e.closest("article, li, div, section")||e.parentElement;o.push({text:s,url:r,detail:Me(u,s)})}}}}}),o.length>=4){var l=n((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:Nr(o),markdown:Nr(o),readerMode:!1,contentType:"list",hostAware:!0}}if(!/(cookie settings|measure performance|personalize advertising|adobe and our partners)/i.test(r||""))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"),b({title:s,description:c,details:u,siteName:e.siteName||"Behance"})}(e,o)||function(e,r){if(!S(/(^|\.)instagram\.com$/))return null;var i=x(r),o=(location.pathname||"").split("/").filter(Boolean);if(/^(accounts|checkpoint|challenge|challenge_required|suspended|restricted)$/i.test(o[0]||"")){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=n(a[1]);o=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)}else o=[]}for(var s=-1,c=0;c<o.length-1;c+=1)if(/^(p|reel|reels|tv)$/i.test(o[c])){s=c;break}var u=s>=0,d=u?o[s]:o[0]||"",p=(u?o[s+1]:o[1],u?"/"+o.slice(s,s+2).join("/")+"/":""),m=n(d).replace(/[-_]+/g," ");if(m=t(m),(u||/^(accounts|checkpoint|challenge|challenge_required|explore|stories|direct)$/i.test(m))&&(m=""),u){var h=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,"").replace(/\s*\|\s*Instagram\s*$/i,"")),f=h.match(/^(.*?)\s+on Instagram:\s*"([\s\S]*)"$/i),g=f?t(f[1]):"",y=f?t(f[2]):"",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),k=v.match(/([\d,.]+[MKB]?)\s*comments?\b/i),A=v.match(/-\s*([a-z0-9._]+)\s+on\s+/i),C=v.match(/\bon\s+([^:]+):\s*"/i),q=v.match(/:\s*"([\s\S]*?)"\.?\s*$/),E=A?t(A[1]):s>0?t(o[0]):"",T=t(y||q&&q[1]||""),j=function(){var e=(i||"").split(/\n+/).map(t).filter(Boolean);if(!e.length||!T)return[];for(var n=-1,r=T.toLowerCase(),o=0;o<e.length;o+=1){var a=e[o].toLowerCase();if(a.indexOf(r)>=0||r.indexOf(a)>=0){n=o;break}}if(n<0)return[];for(var l=[],s=n+1;s<e.length&&l.length<8;s+=1){var c=e[s],u=t(e[s+1]||"");if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(c))break;if(/^[a-z0-9._]{2,32}$/i.test(c)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(u)){for(var d=[],p=s+2;p<e.length;p+=1){var m=e[p],h=t(e[p+1]||"");if(/^(?:like|reply|follow|following)$/i.test(m))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(m))break;if(/^[a-z0-9._]{2,32}$/i.test(m)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(h))break;d.push(m)}var f=t(d.join(" "));f&&l.push("@"+c+": "+f),s=p}}return l}(),L=function(){var e=document.querySelector("article");if(e){var n=t(e&&e.innerText);if(/something went wrong|log in to instagram|sign up to see/i.test(n))return!1;if(e.querySelector("img, video"))return!0;if(n.length>40)return!0}if(j.length)return!0;if(!T)return!1;var r=t(i).toLowerCase();return r.indexOf(T.toLowerCase())>=0&&/\b(?:like|reply)\b/i.test(r)}(),_=[],$=/^(reel|reels|tv)$/i.test(d)?"Reel":"Post";if(E&&_.push("Profile: @"+E),p&&_.push($+": "+p),w&&_.push(t(w[1])+" likes"),k&&_.push(t(k[1])+" comments"),e.image&&_.push("Image: "+e.image),e.video&&_.push("Video: "+e.video),L){var N=b({title:g?g+" on Instagram":h||"Instagram post",byline:E?"@"+E:g||null,publishedTime:C?t(C[1]):e.publishedTime||null,description:T||"Instagram post",details:_,siteName:e.siteName||"Instagram",hostAware:!0});return j.length&&(N.markdown+="\n\n## Comments\n\n"+j.map(function(e){return"- "+e}).join("\n"),N.textContent=t(N.markdown)),N}return b({title:g?g+" on Instagram":h||"Instagram post",byline:E?"@"+E:g||null,publishedTime:C?t(C[1]):e.publishedTime||null,description:T||"Original content on this Instagram post is not available without login.",details:_,siteName:e.siteName||"Instagram",hostAware:!0})}if(function(){var e=document.querySelector("header section");if(!e)return!1;var t=e.innerText||"";return!!/([\d,.]+[MKB]?)\s*(followers?|following|posts?)/i.test(t)||document.querySelectorAll("article img, main img[srcset]").length>=3}()){var M=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,z=document.querySelector("header section"),R="";if(z)for(var P=z.querySelectorAll("span"),B=0;B<P.length;B++){var I=t(P[B].innerText||"");if(I.length>30&&!/^\d/.test(I)&&!/follow/i.test(I)){R=I;break}}var O=[];(W=Ln(i)).posts&&O.push(W.posts+" posts"),W.followers&&O.push(W.followers+" followers"),W.following&&O.push(W.following+" following");var F=R||e.excerpt||"";return/create an account|log in to instagram|sign up/i.test(F)&&(F=""),O.length&&(F=(F?F+"\n\n":"")+O.join(", ")+"."),_=[],m&&_.push("Profile: @"+d),b({title:M||"Instagram"+(m?" - "+m:""),description:F,details:_,siteName:e.siteName||"Instagram",hostAware:!0})}M=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,v=e.excerpt||"",/create an account|log in to instagram|sign up/i.test(v)&&(v="");var D="",H=(R="",v.match(/^([\d,.]+[MKB]?\s+Followers?,\s*[\d,.]+[MKB]?\s+Following,\s*[\d,.]+[MKB]?\s+Posts?)\s*[-–—]/i));if(H){D=H[1];var U=v.match(/on Instagram:\s*"(.+)"$/);U&&U[1].trim()&&(R=U[1].trim())}if(F="",R&&(F=R),D&&(F=(F?F+"\n\n":"")+D+"."),!D){var W;O=[],(W=Ln(i)).followers&&O.push(W.followers+" followers"),W.posts&&O.push(W.posts+" posts"),O.length&&(F=(F?F+" ":"")+O.join(", ")+".")}!F&&m?F="Original content on this Instagram page for "+m+" is not available without login.":F||(F="Original content on this Instagram page is not available without login.");var Z=["Access notice: Instagram login required"];return e.image&&Z.push("Image: "+e.image),b({title:M||"Instagram"+(m?" - "+m:""),description:F,details:Z,siteName:e.siteName||"Instagram",hostAware:!0})}(e,o)||function(e,r){if(!S(/(^|\.)facebook\.com$/))return null;var i=x(r),o=(location.pathname||"").split("/").filter(Boolean)[0]||"";if(/^(login|checkpoint|recover|dialog|ajax|connect|sharer)$/i.test(o)){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=n(a[1]);o=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)[0]||""}else o=""}/^(login|watch|marketplace|groups|gaming|events|pages|profile\.php|photo|story|reel|permalink|hashtag)$/i.test(o)&&(o="");var s=n(o).replace(/[-_.]+/g," ");s=t(s);var c=t((e.title||"").replace(/\s*[-–—|]\s*(Facebook|Log in or sign up).*$/i,"").replace(/\s*\|\s*Facebook\s*$/i,""))||e.title;if(/^(facebook\s*[-–—]?\s*log in|log in to facebook|log in or sign up)/i.test(c||"")&&(c=s||"Facebook"),function(){if(i.length<200)return!1;var e=/([\d,.]+[MKB]?)\s*followers?/i.test(i),t=/\bIntro\b/.test(i);return e&&t}()){var u=[],d=i.match(/(?:Page|Profile)\s*·\s*([^\n]+)/);d&&u.push("Category: "+t(d[1]));var p=i.match(/([\d,.]+[MKB]?)\s*followers?/i),m=i.match(/([\d,.]+[MKB]?)\s*following/i);p&&u.push(p[1]+" followers"),m&&u.push(m[1]+" following");var h=i.indexOf("Intro\n"),f="";if(h>=0){var g=i.substring(h+6),y=g.search(/\n(?:Photos|Videos|About|Posts|Reels|Events|See all|Page ·|Information about)\b/);f=t(y>0?g.substring(0,y):g.substring(0,500))}for(var v,w=f||i.substring(0,Math.min(i.length,1500)),k=w.match(/([\w.+-]+@[\w.-]+\.\w{2,})/),A=w.match(/\b(https?:\/\/[\w.-]+[\w.]{2,}(?:\/[\w.-]*)*)\s/i),C=[],q=new RegExp(Nn(t(c||""))+"\\s*\\n\\s*(?:\\d+[hd]|\\d+ (?:hour|day|minute|week|month)s? ago|Yesterday|Just now|\\w+ \\d+(?:,? \\d+)?)\\s*\\n\\s*·?\\s*\\n([\\s\\S]*?)(?=\\n(?:All reactions|Like|Comment|Share|\\d+ comment))","gi");null!==(v=q.exec(i));){var E=t(v[1]);E&&E.length>10&&(E=E.replace(/…\s*See more\s*$/i,"…"),C.push(E))}if(0===C.length)for(var T=document.querySelectorAll("div[dir=auto]"),j=0;j<T.length;j++){var L=t(T[j].innerText||"");L.length>50&&L.length<3e3&&!/^(log in|sign up|create|cookie|privacy|terms|information about|see more from)/i.test(L)&&(L=L.replace(/…\s*See more\s*$/i,"…"),C.push(L))}var _={};C=C.filter(function(e){var t=e.substring(0,80).toLowerCase();return!_[t]&&(_[t]=!0,!0)});var $="";f&&($=f);var N=[];if(k&&N.push(k[1]),A&&!/facebook\.com/i.test(A[1])&&N.push(A[1]),N.length&&($+=($?"\n\n":"")+"Contact: "+N.join(" | ")),C.length>0){$+=($?"\n\n":"")+"## Recent Posts\n\n";for(var M=0;M<Math.min(C.length,5);M++)$+=C[M]+"\n\n";$=$.replace(/\n\n$/,"")}if(!p){var z=(P=e.excerpt||"").match(/([\d][\d,.\s]*\d)\s*likes?\b/i);z&&u.push(t(z[1])+" likes")}var R=u;return e.image&&R.push("Image: "+e.image),b({title:c||"Facebook"+(s?" - "+s:""),description:$,details:R,siteName:e.siteName||"Facebook",hostAware:!0})}var P=e.excerpt||"";/create an account or log into facebook|connect with friends|facebook helps you connect/i.test(P)&&(P="");var B="",I="",O="",F=P.match(/([\d][\d,.\s]*\d)\s*likes?\b/i),D=P.match(/([\d][\d,.\s]*\d)\s*talking about this/i);if(F&&(B=t(F[1])+" likes"),D&&(I=t(D[1])+" talking about this"),D){var H=P.substring(P.indexOf(D[0])+D[0].length);(H=H.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(H)&&(O=t(H))}else if(F){var U=P.substring(P.indexOf(F[0])+F[0].length);(U=U.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(U)&&(O=t(U))}else P&&(O=P);var W="";O&&(W=O);var Z=[B,I].filter(Boolean).join(" · ");if(Z&&(W=(W?W+"\n\n":"")+Z+"."),!B){var V=i.match(/([\d][\d,.\s]*\d)\s*(?:likes?|people like this)/i);V&&(W=(W?W+" ":"")+t(V[1])+" likes.")}!W&&s?W="Original content on this Facebook page for "+s+" is not available without login.":W||(W="Original content on this Facebook page is not available without login.");var G=["Access notice: Facebook login required"];return e.image&&G.push("Image: "+e.image),b({title:c||"Facebook"+(s?" - "+s:""),description:W,details:G,siteName:e.siteName||"Facebook",hostAware:!0})}(e,o)||function(e,n){if(!S(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var r=n||"";if(S(/(^|\.)telegra\.ph$/)){var i=document.querySelector("article, .tl_article");if(i){var o=E(i);if(o){F(o,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=Fn(o.innerHTML)||t(o.textContent);if(a&&t(a).length>20)return{title:e.title||h(["h1",".tl_article_header h1"]),excerpt:e.excerpt,siteName:"Telegraph",html:o.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article",hostAware:!0}}}return null}if(S(/(^|\.)telegram\.org$/))return null;var l=/^\/s\//i.test(location.pathname),s=(location.pathname||"").split("/").filter(Boolean);if(l&&(s=s.slice(1)),s=s[0]||"",l){var c=document.querySelector(".tgme_channel_history, .tgme_body, main");if(c){var u=E(c);if(u){F(u,"a, span, div, i",/^(view in telegram|preview channel|join|open|if you have telegram|you can contact|you can view and join|load more)$/i);var d=Fn(u.innerHTML)||t(u.textContent);if(d&&t(d).length>50){var p=h([".tgme_channel_info_header_title",".tgme_header_title","h1"])||e.title||s,m=document.querySelector(".tgme_channel_info_description"),f=m?t(m.textContent):"",g=document.querySelectorAll(".counter_value"),y=g.length>0?t(g[0].textContent):"",v=[];v.push("# "+p);var w=["- Platform: Telegram"];y&&w.push("- "+y+" subscribers"),e.image&&w.push("- Image: "+e.image),v.push(w.join("\n")),f&&v.push(f),v.push("---\n\n"+d);var k=v.join("\n\n");return{title:p,excerpt:f||e.excerpt,siteName:"Telegram",html:u.innerHTML,markdown:k,textContent:t(k),readerMode:!1,contentType:"article",hostAware:!0}}}}}var x=h([".tgme_page_title",".tgme_channel_info_header_title","h1"])||e.title||s,A=document.querySelector(".tgme_page_description"),C=(A?t(A.textContent):"")||e.excerpt||"";/you can contact .+ right away|if you have telegram/i.test(C)&&(C="");var q=document.querySelector(".tgme_page_extra"),T=(q?t(q.textContent):"").match(/([\d\s,.]+)\s*(?:subscribers?|members?|online)/i)||r.match(/([\d\s,.]+)\s*(?:subscribers?|members?|подписчик|участник)/i),j=["Platform: Telegram"];return T&&j.push(t(T[1])+" subscribers"),e.image&&j.push("Image: "+e.image),C||x?b({title:x,description:C||"Telegram channel. View in Telegram for full content.",details:j,siteName:"Telegram",hostAware:!0}):null}(e,o)||function(e){if(!S(/(^|\.)(twitter\.com|x\.com)$/))return null;var n=/^\/[^/]+\/status\/\d+/.test(location.pathname),r=null;try{for(var i=document.querySelectorAll('script[type="application/ld+json"]'),o=0;o<i.length;o++){var a=JSON.parse(i[o].textContent);if(a&&"ProfilePage"===a["@type"]&&a.mainEntity){r=a.mainEntity;break}}}catch(e){}if(!n){var l=document.querySelector('[data-testid="UserName"]'),s=document.querySelector('[data-testid="UserDescription"]'),c=document.querySelector('[data-testid="UserUrl"]'),u=document.querySelector('[data-testid="UserJoinDate"]'),d=document.querySelector('[data-testid="UserLocation"]'),p=document.querySelector('[data-testid="UserBirthdate"]'),m="",h="";if(l){var f=t(l.textContent).split(/\s*@/);m=t(f[0]),f[1]&&(h="@"+t(f[1]))}if(!m&&r&&(m=r.name||""),!h&&r&&r.additionalName&&(h=r.additionalName),!h){var g=(location.pathname||"").split("/").filter(Boolean)[0];g&&!/^(home|explore|search|notifications|messages|settings|i)$/i.test(g)&&(h="@"+g)}var y=s?t(s.textContent):"";!y&&r&&r.description&&(y=t(r.description));var v=d?t(d.textContent):"";!v&&r&&r.homeLocation&&(v=r.homeLocation.name||"");var w=c?t(c.textContent):"",k=u?t(u.textContent):"",x=p?t(p.textContent):"",A="",C="",q="";if(r&&r.interactionStatistic&&r.interactionStatistic.forEach(function(e){var t=e.interactionType||"";/FollowAction/.test(t)&&(A=String(e.userInteractionCount)),/SubscribeAction/.test(t)&&(C=String(e.userInteractionCount)),/WriteAction/.test(t)&&(q=String(e.userInteractionCount))}),!A){var E=document.querySelector('a[href$="/verified_followers"], a[href$="/followers"]');E&&(A=t(E.textContent).replace(/\s*followers?$/i,""))}if(!C){var T=document.querySelector('a[href$="/following"]');T&&(C=t(T.textContent).replace(/\s*following$/i,""))}var j="";if(r&&r.image&&r.image.contentUrl&&(j=r.image.contentUrl),!j){var L=document.querySelector('[data-testid^="UserAvatar"] img[src*="profile_images"]');L&&(j=L.src)}if(!w&&r&&r.relatedLink){var _=Array.isArray(r.relatedLink)?r.relatedLink:[r.relatedLink];w=(_.filter(function(e){return!/t\.co\//.test(e)})[0]||_[0]||"").replace(/^https?:\/\//,"")}for(var $=[],N=document.querySelectorAll('[data-testid="tweet"]'),M=0;M<Math.min(N.length,5);M++){var z=N[M],R=z.querySelector('[data-testid="tweetText"]');if(R){var P=t(R.textContent);if(P&&!(P.length<5)){var B=z.querySelector('[data-testid="User-Name"]'),I=z.querySelector("time"),O=z.querySelector('[data-testid="socialContext"]'),F="";if(B){var D=t(B.textContent).match(/^(.+?)(\s*@\w+)/);D&&(F=D[1].trim())}var H=I?I.getAttribute("datetime")||t(I.textContent):"",U=[];["reply","retweet","like"].forEach(function(e){var t=z.querySelector('[data-testid="'+e+'"]');if(t){var n=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(n&&parseInt(n[1].replace(/,/g,""),10)>0){var r="reply"===e?"replies":"retweet"===e?"reposts":"likes";U.push(n[1]+" "+r)}}});var W="";O&&(W+="[Pinned] "),F&&m&&F!==m&&(W+="RT @"+F+": "),W+=P,H&&(W+=" ("+H+")"),U.length&&(W+=" ["+U.join(", ")+"]"),$.push(W)}}}var Z=[];h&&Z.push("Handle: "+h),A&&Z.push("Followers: "+jn(A)),C&&Z.push("Following: "+jn(C)),q&&Z.push("Posts: "+jn(q)),v&&Z.push("Location: "+v),w&&Z.push("Website: "+w),x&&Z.push(x),k&&Z.push(k),j&&Z.push("Image: "+j);var V=[];y&&V.push(y),$.length&&V.push("## Recent Posts\n\n"+$.join("\n\n"));var G=m||e.title||"X Profile";return!m&&h&&(G=h),b({title:G,description:V.join("\n\n"),details:Z,siteName:"X",hostAware:!0,contentType:"article"})}var K=document.querySelector('[data-testid="tweet"]');if(!K){var J=(e.title||"").match(/^(.+?)\s+on X:\s*"(.+?)"\s*\/\s*X$/);return J?b({title:J[1],description:J[2],siteName:"X",hostAware:!0}):null}var X="",Y=K.querySelector('[data-testid="tweetText"]');Y&&(X=t(Y.textContent));var Q=K.querySelector('[data-testid="User-Name"]'),ee="",te="";if(Q){var ne=t(Q.textContent).match(/^(.+?)\s*(@\w+)/);ne&&(ee=ne[1].trim(),te=ne[2])}var re=K.querySelector("time"),ie=re?re.getAttribute("datetime")||t(re.textContent):"",oe=[];["reply","retweet","like","bookmark"].forEach(function(e){var t=K.querySelector('[data-testid="'+e+'"]');if(t){var n=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(n&&parseInt(n[1].replace(/,/g,""),10)>0){var r="reply"===e?"replies":"retweet"===e?"reposts":"like"===e?"likes":"bookmarks";oe.push(n[1]+" "+r)}}});var ae=[];te&&ae.push("Author: "+ee+" ("+te+")");ie&&ae.push("Posted: "+ie);oe.length&&ae.push("Engagement: "+oe.join(", "));for(var le=document.querySelectorAll('[data-testid="tweet"]'),se=[],ce=1;ce<Math.min(le.length,8);ce++){var ue=le[ce],de=ue.querySelector('[data-testid="tweetText"]');if(de){var pe=t(de.textContent);if(pe&&!(pe.length<3)){var me=ue.querySelector('[data-testid="User-Name"]'),he="";if(me){var fe=t(me.textContent).match(/^(.+?)\s*(@\w+)/);fe&&(he=fe[2])}se.push((he?he+": ":"")+pe)}}}var ge=X;se.length&&(ge+="\n\n## Replies\n\n"+se.join("\n\n"));return b({title:ee||e.title||"Post on X",description:ge,details:ae,siteName:"X",hostAware:!0,contentType:"article"})}(e)||function(e){if(!S(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",r=e.excerpt||"",i=e.image||"",o=n.match(/^(.+?)\s*\((@\w+)\)\s*[•·]/),a=o?o[1].trim():"",l=o?o[2]:"";if(!o){var s=n.match(/^(.+?)\s*\((@\w+)\)\s+on Threads/);s||(s=n.match(/^(@\w+)\s+on Threads/)),s&&(a=s[1]?s[1].trim():"",l=s[2]||s[1]||"")}var c="",u="",d=r,p=r.match(/^([\d,.]+[KMB]?)\s+Followers?\s*[•·]\s*([\d,.]+[KMB]?)\s+Threads?\s*[•·]\s*(.*)/i);if(p)c=p[1],u=p[2],d=t(p[3]);else{var m=r.match(/([\d,.]+[KMB]?)\s+Followers?/i);m&&(c=m[1]);var h=r.match(/([\d,.]+[KMB]?)\s+Threads?/i);h&&(u=h[1])}if(!a&&!l)return null;var f=[];return l&&f.push("Handle: "+l),c&&f.push("Followers: "+c),u&&f.push("Threads: "+u),i&&f.push("Image: "+i),b({title:a||l,description:d||r,details:f,siteName:"Threads",hostAware:!0,contentType:"article"})}(e)||function(e,n){if(!S(/(^|\.)linkedin\.com$/))return null;var r=x(n),i=/^\/company\//.test(location.pathname),o=/^\/in\//.test(location.pathname);if(!i&&!o)return null;if(i){var a="",l="",s="",c="",u="",d="",p="",m="",h="",f="",g="";a=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim();var y=r.match(/([\d,.]+[KMB]?)\s+followers/i);y&&(c=y[1]),(Z=r.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(u=t(Z[1]));var v=r.match(/Website\s*\n\s*(https?:\/\/\S+|[\w.-]+\.[\w]{2,}(?:\/\S*)?)/i);v&&(d=v[1].trim());var w=r.match(/Industry\s*\n\s*(.+)/i);if(w&&(l=t(w[1])),!l){var k=r.match(new RegExp(Nn(a)+"\\s*\\n\\s*(.+?)\\s*\\n","i"));k&&(l=t(k[1]))}var A=r.match(/Company size\s*\n\s*(.+)/i);A&&(p=t(A[1]));var C=r.match(/Headquarters\s*\n\s*(.+)/i);C&&(m=t(C[1]));var q=r.match(/Type\s*\n\s*(.+)/i);q&&(h=t(q[1]));var E=r.match(/Specialties\s*\n\s*([\s\S]*?)(?=\n\n|\n(?:Website|Locations|Employees|Home|Products|Jobs|People|Insights)\b)/i);E&&(f=t(E[1]));var T=r.match(/Founded\s*\n\s*(\d{4})/i);T&&(g=T[1]),!s&&m&&(s=m);var j=[],L=r.match(/(?:Updates|Posts)\s*\n([\s\S]*?)(?=\n(?:Similar pages|Affiliated|People also viewed|Browse jobs)\b|$)/i);if(L)for(var _=L[1].split(/\n(?=.*?\b(?:likes?|comments?|reactions?)\b)/i),$=0;$<Math.min(_.length,3);$++){var N=t(_[$]);N&&N.length>20&&!/^(?:Show|See|Load)\s/i.test(N)&&j.push(N.substring(0,500))}var M=[];l&&M.push("Industry: "+l),c&&M.push("Followers: "+c),s&&M.push("Location: "+s),d&&M.push("Website: "+d),p&&M.push("Size: "+p),h&&M.push("Type: "+h),g&&M.push("Founded: "+g),m&&m!==s&&M.push("Headquarters: "+m),f&&M.push("Specialties: "+f),e.image&&M.push("Image: "+e.image);var z=[];return u&&z.push(u),j.length&&z.push("## Recent Updates\n\n"+j.join("\n\n")),b({title:a||"LinkedIn Company",description:z.join("\n\n")||e.excerpt||"",details:M,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}var R=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim(),P="",B="",I="",O="",F="",D=R?new RegExp(Nn(R)+"\\s*\\n\\s*(.+?)\\s*\\n","i"):null;if(D){var H=r.match(D);H&&(P=t(H[1]))}var U=r.match(/([\d,.]+[KMB]?)\s+followers/i);U&&(I=U[1]);var W=r.match(/([\d,.]+\+?)\s+connections?/i);W&&(O=W[1]);var Z,V=r.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);V&&(B=t(V[1]));(Z=r.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(F=t(Z[1]));F=F.replace(/\s*\.{3}\s*see more\s*$/i,"").replace(/\s*…\s*see more\s*$/i,"");var G=[],K=r.match(/(?:Activity|Articles)\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Interests|Courses|Licenses|Certifications|Recommendations)\b|$)/i);if(K){var J=K[1].match(/.{20,}(?:\d+\s*(?:likes?|comments?|reactions?|views?))/gi);if(J)for(var X=0;X<Math.min(J.length,3);X++)G.push(t(J[X]))}var Y=[];P&&Y.push("Title: "+P);I&&Y.push("Followers: "+I);O&&Y.push("Connections: "+O);B&&Y.push("Location: "+B);e.image&&Y.push("Image: "+e.image);var Q=[];F&&Q.push(F);G.length&&Q.push("## Recent Activity\n\n"+G.join("\n\n"));return b({title:R||"LinkedIn Profile",description:Q.join("\n\n")||e.excerpt||"",details:Y,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}(e,o)||function(e,n){if(!S(/(^|\.)bsky\.(app|social)$/))return null;var r=!!document.querySelector('[data-testid="profileScreen"], [data-testid="profileView"]'),i=/^\/profile\/[^/]+\/post\//.test(location.pathname);if(!r&&!i)return null;if(r){var o=document.querySelector('[data-testid="profileHeaderDisplayName"]'),a=document.querySelector('[data-testid="profileHeaderDescription"]'),l=document.querySelector('[data-testid="profileHeaderFollowersButton"]'),s=document.querySelector('[data-testid="profileHeaderFollowsButton"]'),c=o?t(o.textContent):"",u=a?t(a.textContent):"",d="",p=(location.pathname||"").split("/").filter(Boolean);"profile"===p[0]&&p[1]&&(d="@"+p[1]);var m="",h="";if(l){var f=(l.getAttribute("aria-label")||"").match(/^([\d,]+)\s+followers/i);m=f?f[1]:t(l.textContent).replace(/\s*followers?$/i,"").trim()}if(s){var g=(s.getAttribute("aria-label")||"").match(/^([\d,]+)\s+following/i);h=g?g[1]:t(s.textContent).replace(/\s*following$/i,"").trim()}var y="",v=x(n).match(/([\d,.]+[KMB]?)\s+posts?\b/i);v&&(y=v[1]);var w=e.image||"";if(!w){var k=document.querySelector('[data-testid="userAvatarImage"]');k&&(w=k.src||"")}for(var A=[],C=document.querySelectorAll('[data-testid="postText"]'),q=0;q<Math.min(C.length,5);q++){var E=C[q],T=t(E.textContent);if(T&&!(T.length<5)){var j=E.closest('[data-testid^="feedItem-by-"]'),L=[];if(j){var _=j.querySelector('[data-testid="replyBtn"]'),$=j.querySelector('[data-testid="repostCount"]'),N=j.querySelector('[data-testid="likeCount"]');if(_){var M=(_.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);M&&L.push(M[1]+" replies")}if($){var z=t($.textContent);z&&"0"!==z&&L.push(z+" reposts")}if(N){var R=t(N.textContent);R&&"0"!==R&&L.push(R+" likes")}var P=(j.getAttribute("data-testid")||"").replace("feedItem-by-",""),B=d.replace("@",""),I=P&&B&&P!==B}var O="";I&&(O+="Repost @"+P+": "),O+=T,L.length&&(O+=" ["+L.join(", ")+"]"),A.push(O)}}var F=[];d&&F.push("Handle: "+d),m&&F.push("Followers: "+jn(m,!0)),h&&F.push("Following: "+jn(h,!0)),y&&F.push("Posts: "+y),w&&F.push("Image: "+w);var D=[];return u&&D.push(u),A.length&&D.push("## Recent Posts\n\n"+A.join("\n\n")),b({title:c||d||"Bluesky Profile",description:D.join("\n\n"),details:F,siteName:"Bluesky",hostAware:!0,contentType:"article"})}var H=document.querySelector('[data-testid="postText"]');if(!H)return null;var U=t(H.textContent),W="",Z="",V=(location.pathname||"").split("/").filter(Boolean);"profile"===V[0]&&V[1]&&(Z="@"+V[1]);var G=document.querySelector('[data-testid="profileHeaderDisplayName"]');G&&(W=t(G.textContent));W||(W=(e.title||"").replace(/\s*[-–—|].*$/,"").trim());var K=H.closest('[data-testid^="feedItem-by-"]')||document.querySelector('[data-testid^="feedItem-by-"]'),J=[];if(K){var X=K.querySelector('[data-testid="replyBtn"]'),Y=K.querySelector('[data-testid="repostCount"]'),Q=K.querySelector('[data-testid="likeCount"]');if(X){var ee=(X.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);ee&&J.push(ee[1]+" replies")}if(Y){var te=t(Y.textContent);te&&"0"!==te&&J.push(te+" reposts")}if(Q){var ne=t(Q.textContent);ne&&"0"!==ne&&J.push(ne+" likes")}}var re=[];Z&&re.push("Author: "+(W?W+" ("+Z+")":Z));J.length&&re.push("Engagement: "+J.join(", "));for(var ie=document.querySelectorAll('[data-testid="postText"]'),oe=[],ae=1;ae<Math.min(ie.length,8);ae++){var le=t(ie[ae].textContent);le&&le.length>3&&oe.push(le)}var se=U;oe.length&&(se+="\n\n## Replies\n\n"+oe.join("\n\n"));return b({title:W||"Post on Bluesky",description:se,details:re,siteName:"Bluesky",hostAware:!0,contentType:"article"})}(e,o)||function(e,r){if(!S(/(^|\.)quora\.com$/))return null;if(!/(security verification|just a moment|protect against malicious bots)/i.test(r||""))return null;var i=n((location.pathname||"").split("/").filter(Boolean)[0]||"").replace(/[-_]+/g," ");return!(i=t(i))||/^just a moment$/i.test(i)?null:b({title:i,description:e.excerpt,siteName:e.siteName||"Quora"})}(e,o)}function $n(e,n){var r=e.querySelector("#container, #paddingLR12, main, body"),i=t(r&&r.textContent||"").slice(0,2e4),o=t([n&&n.title,e.title,(e.querySelector("h1")||{}).textContent].join(" ")),a=ye({root:r,text:i,title:o});return/\b(?:code|act|statute|regulation|ordinance)\b/i.test(o)&&a.profileOfficialTextSignals&&/\b(?:section|article)\s*\d+[a-z]?\b/i.test(i)}function Nn(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mn(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function zn(e){var n=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(n)?"python":/javascript|js\b/.test(n)?"javascript":/typescript|tsx|ts\b/.test(n)?"typescript":/json/.test(n)?"json":/yaml|yml/.test(n)?"yaml":/bash|shell|sh\b|curl/.test(n)?"bash":""}function Rn(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Pn(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 n=Pn(e.children[t]);if(n)return n}return null}function Bn(e){var n=function(e){for(var t=e.cloneNode(!0),n=Array.prototype.slice.call(t.children),r=1;r<n.length;r+=1){var i=Pn(n[r-1]),o=Pn(n[r]);if(i&&o){var a=Rn(i.textContent),l=Rn(o.textContent);a&&a===l&&o.remove()}}return t}(e),r=[];return Array.prototype.forEach.call(n.childNodes,function(e){var n=t(e.textContent);n&&r.push(n)}),r.length?r.join(" "):n.textContent}function In(e){var n=Array.prototype.map.call(e.querySelectorAll("thead th, thead td"),function(e){return t(e.textContent).toLowerCase()}),r=t((e.querySelector("caption")||{}).textContent).toLowerCase(),i=Array.prototype.slice.call(e.querySelectorAll("tbody tr"));if(!i.length)return null;if(e.querySelector("td[kind='field'][title], th[kind='field'][title]")){var o=i.map(function(e){for(var n=e.querySelector("td[kind='field'][title], th[kind='field'][title]"),r=e.querySelectorAll("th, td"),i=null,o=0;o<r.length;o+=1)if(r[o]!==n){i=r[o];break}if(!n||!i)return null;var a=t(n.getAttribute("title")||(n.querySelector(".property-name")||{}).textContent||n.textContent);if(!a)return null;var l=/\brequired\b/i.test(t(e.textContent)),s=[];Array.prototype.forEach.call(i.querySelectorAll(":scope > span, :scope > code, :scope > div, :scope > strong, :scope > em"),function(e){if(!e.querySelector("p, ul, ol, table, pre")){var n=t(e.textContent);n&&!/^required$/i.test(n)&&s.push(n)}});var c=Array.prototype.map.call(i.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 o.length?o.join("\n"):null}if(1===n.length&&/name, type, description/.test(n[0])||/parameter/.test(r)){var a=i.map(function(e){return function(e){var n=e.querySelector("div > div")||e.firstElementChild||e,r=n.querySelector("code, strong, b"),i=t(r&&r.textContent);if(!i)return null;var o=le(n.textContent),a=t(o.replace(new RegExp("^"+Nn(i)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(o),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return le(e.textContent)}).filter(Boolean).join(" ");s||(s=le(e.textContent).replace(new RegExp("^"+Nn(i)+"\\s*"+Nn(a)),"").trim());var c="- `"+i+"`";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(n.length>=2&&/status code/.test(n[0])&&/description/.test(n[1])){var l=i.map(function(e){var n=e.querySelectorAll("th, td");if(n.length<2)return null;var r=t(n[0].textContent),i=le(n[1].textContent);return r&&i?"- `"+r+"`: "+i:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function On(e,n){var r=In(e);if(r)return r;if(e.querySelector("table")&&!e.querySelector("th, caption"))return String(n||"").trim();var i=Array.prototype.map.call(e.querySelectorAll("tr"),function(e){return Array.prototype.map.call(e.querySelectorAll("th, td"),function(e){return t(Bn(e)).replace(/\|/g,"\\|")})}).filter(function(e){return e.length>0});if(!i.length)return"";var o=i.reduce(function(e,t){return Math.max(e,t.length)},0),a=(i=i.map(function(e){for(;e.length<o;)e.push("");return e}))[0],l=a.map(function(){return"---"}),s=i.slice(1);return[a,l].concat(s).map(function(e){return"| "+e.join(" | ")+" |"}).join("\n")}function Fn(e){if("function"!=typeof TurndownService)return e;var n=document.createElement("div");n.innerHTML=e,ur(n),function(e){F(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"),n=Mn((t||e).innerText||(t||e).textContent);if(n&&(t||/^(curl\b|[{[]|>>>|\$\s|GET\b|POST\b|PUT\b|PATCH\b|DELETE\b|HTTP\/|<\w)/m.test(n))){var r=document.createElement("pre"),i=document.createElement("code"),o=zn(t||e);o||!e.matches(".redoc-json, [class*='redoc-json']")&&!/^[\[{]/.test(n)||(o="json"),i.textContent=n,o&&i.setAttribute("data-language",o),r.appendChild(i),e.replaceWith(r)}}),e.querySelectorAll("pre").forEach(function(e){var t=e.querySelector("code")||document.createElement("code"),n=t.getAttribute("data-language")||zn(t)||zn(e);t.textContent=Mn(t.textContent||e.textContent),n&&t.setAttribute("data-language",n),e.innerHTML="",e.appendChild(t)})}(n),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)$/,n=!0;n;)n=!1,e.querySelectorAll("div").forEach(function(e){if(e.parentNode){for(var r=!1,i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];if(1===o.nodeType&&(t.test(o.nodeName)||"DIV"===o.nodeName)){r=!0;break}}if(r){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.remove(),n=!0}}})}(n);var r=new TurndownService({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",emDelimiter:"_"});r.addRule("tables",{filter:function(e){return"TABLE"===e.nodeName},replacement:function(e,t){return"\n\n"+On(t,e)+"\n\n"}}),r.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var n=t.querySelector("code"),r=Mn(n?n.textContent:t.textContent);return r?function(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}(n&&n.getAttribute("data-language")||zn(n||t),r):"\n\n"}}),r.addRule("images",{filter:function(e){return"IMG"===e.nodeName},replacement:function(e,n){var r=n.getAttribute("src")||n.getAttribute("data-src")||n.getAttribute("data-lazy-src")||"",o=t(n.getAttribute("alt")||"").replace(/[\[\]]/g,"");return r&&o?"!["+o+"]("+i(r)+")":""}}),r.addRule("legalCitationLinks",{filter:function(e){return"A"===e.nodeName&&function(e){var n=e.getAttribute("href")||"",r=t(e.textContent||"");return!(!r||!n)&&(/govinfo\.gov\/link\/(?:uscode|plaw|statute)|ecfr\.gov\/current\/title-\d+/i.test(n)?/^(?:\d+\s+U\.?S\.?C\.?\s+)?[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(r)||/^(?:Pub\.\s*L\.|Section\s+\d)/i.test(r):/^(?:\d+\s+U\.?S\.?C\.?\s+)[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(r))}(e)},replacement:function(e,n){var r=n.getAttribute("href")||"",o=t(n.textContent||"").replace(/\s+([,;:.])/g,"$1").replace(/\s+-\s+/g,"-");return r&&o?"["+o.replace(/[\\[\]]/g,"")+"]("+i(r)+")":o}}),r.addRule("paragraphLikeDivs",{filter:function(e){if("DIV"!==e.nodeName)return!1;var n=t(e.textContent);return!(!n||n.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":""}}),r.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 o=r.turndown(n).replace(/\n{3,}/g,"\n\n").trim();return(o=o.replace(/(```[\s\S]*?```|`[^`\n]+`)|<\/?[a-z][^>]*>/gi,function(e,t){return t||""})).replace(/\n{3,}/g,"\n\n").trim()}function Dn(e){return e.join("|")}function Hn(e,t){return new RegExp("^(?:"+Dn(e)+")$",t||"i")}function Un(e,t,n){return new RegExp("^\\s*(?:"+Dn(e)+")"+(t||"")+"\\s*$",n||"gmi")}function Wn(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}var Zn,Vn="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",Gn="nav, aside, footer, script, style, noscript, template",Kn=Gn+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",Jn=Gn+", .breadcrumb, .site-header, .site-footer, .region-sidebar",Xn="[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']",Yn=Hn(["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"),Qn=(Zn="i",new RegExp("^(?:"+Dn(["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"])+")",Zn||"i")),er=/^(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!?)$/,tr=Hn(["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"),nr="[class*='app-download'], [class*='app_download'], [class*='download-app'], [class*='download_app'], [class*='subscribe-cta'], [class*='subscribe_cta'], [class*='newsletter-signup'], [class*='newsletter_signup'], [class*='push-notification'], [class*='push_notification'], [class*='telegram-cta'], [class*='whatsapp-cta']",rr="[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']",ir="[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']",or=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),ar=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"),lr=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),sr=Hn(["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*επίσης"],"i");function cr(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function ur(e){return M(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(Xn).forEach(function(e){e.remove()}),function(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var n=t(e.textContent||"").trim();if(n&&sr.test(n)&&e.parentElement){for(var r=[],i=e.nextElementSibling;i;){var o=i.tagName;if(/^H[1-4]$/.test(o)&&!sr.test(t(i.textContent||"").trim()))break;r.push(i),i=i.nextElementSibling}var a=0,l=0;r.forEach(function(e){a+=e.querySelectorAll?e.querySelectorAll("a[href]").length:0,l+=t(e.textContent||"").length}),a>=2&&(l<1500||a>=4)&&(e.remove(),r.forEach(function(e){e.remove()}))}})}(e),e.querySelectorAll("section, div, aside, form, table, ul").forEach(function(e){(function(e){if(!e||1!==e.nodeType)return!1;var n=t((e.querySelector("h2, h3, h4, h5, h6, strong, b")||{}).textContent||"");if(!n){var r=t((e.firstElementChild||e).textContent||"");r.length<=40&&(n=r)}return!!P(n)&&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 n=t(e.textContent||""),r=n.toLowerCase(),i=[e.className||"",e.id||"",e.getAttribute("data-testid")||"",e.getAttribute("data-test")||"",e.getAttribute("aria-label")||""].join(" ").toLowerCase(),o=Array.prototype.map.call(e.querySelectorAll("img, source"),function(e){return(e.getAttribute("src")||e.getAttribute("srcset")||"").toLowerCase()}).join(" "),a=or.test(i),l=ar.test(r),s=lr.test(o);((a||s)&&(n.length<900||l)||l&&s&&n.length<1200)&&e.remove()}})}(e),e.querySelectorAll('a[href^="#"]').forEach(function(e){var n=t(e.textContent),r=(e.className||"").toString();n&&!/anchor|heading/i.test(r)||e.remove(),/^skip\s+(to\s+)?(main\s+)?/i.test(n)&&e.remove(),/^(تخطى|تجاوز|דלג)\s/i.test(n)&&e.remove(),/^(μετάβαση στο |παράλειψη |перейти до |пропустити |bỏ qua |ข้ามไปยัง|lewati |langsung ke )/i.test(n)&&e.remove(),/^(ga naar |doorgaan naar |overslaan|spring naar |прескочи |пређи на |langkau |ir para |pular para |saltar )/i.test(n)&&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(n)&&e.remove(),/^(przejdź do |pomiń )/i.test(n)&&e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var n=t(e.textContent).toLowerCase();Yn.test(n)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var n=t(e.textContent).toLowerCase();Qn.test(n)&&r(e)<80&&e.remove()}),e.querySelectorAll("p, div").forEach(function(e){(function(e){if(!e)return!1;var n=t(e.textContent);if(n.length>200)return!1;var r=e.querySelectorAll("img").length,i=e.querySelectorAll("a").length,o=t(Array.prototype.map.call(e.querySelectorAll("img[alt]"),function(e){return e.getAttribute("alt")||""}).join(" ")).toLowerCase();return r>=1&&i>=1&&(n.length<=24||/\b(status|badge|build|coverage|workflow|ci)\b/.test(o))})(e)&&e.remove()}),e.querySelectorAll("p, div, li, span, strong, button").forEach(function(e){var n,r;(z(e.textContent)||(n=e.textContent,"video player is loading."===(r=t(n||"").toLowerCase())||"play video"===r||"playback speed"===r||/^playback speed \d/.test(r)||/^this is a modal window\./.test(r)||/^beginning of dialog window\./.test(r)||/^end of dialog window\./.test(r)||/^current time\s+\d/.test(r)||/^remaining time\s/.test(r)||/^duration\s/.test(r)||/^loaded:\s*\d/.test(r)||/^progress:\s*\d/.test(r)||/^fullscreen$/i.test(r)||/^mute$/i.test(r)||/^unmute$/i.test(r)))&&e.remove()}),e.querySelectorAll("svg, .octicon").forEach(function(e){e.remove()}),e.querySelectorAll(".anchor, .heading-link, .header-anchor").forEach(function(e){var n=t(e.textContent);e.closest("h1, h2, h3, h4, h5, h6")&&n.length>=8?e.replaceWith(document.createTextNode(n)):e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var n,r;n=e.textContent,!(!(r=t(n||""))||r.length>1200||r.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(r)&&(r.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 n,r;n=e.textContent,!(r=t(n||""))||r.length<40||!/\bdebug info:|fetchCache\[|\.expirationTime:|cache key:/i.test(r)||e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")||e.remove()}),dr(e),pr(e),mr(e),hr(e),e}function dr(e){return e.querySelectorAll("img").forEach(function(e){var t=parseInt(e.getAttribute("width")||"",10),n=parseInt(e.getAttribute("height")||"",10),r=(e.getAttribute("src")||"").toLowerCase();t<=2&&n<=2||0===t||0===n?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(r)&&e.remove(),/^data:image\/(svg\+xml|png|gif|jpeg);base64,/.test(r)&&r.length<300&&e.remove())}),e}function pr(e){return e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),n=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!n||t&&!/^data:image\//i.test(t)||e.setAttribute("src",i(n))}),e}function mr(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var n=t(e.textContent).toLowerCase();er.test(n)&&r(e)<60&&e.remove(),R(n)&&r(e)<80&&e.remove()}),e.querySelectorAll("a, button, div, p, span, li").forEach(function(e){var n=t(e.textContent).toLowerCase();r(e)>200||tr.test(n)&&e.remove()}),e.querySelectorAll(nr).forEach(function(e){r(e)<300&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=(e.getAttribute("alt")||"").toLowerCase(),n=(e.getAttribute("src")||"").toLowerCase();/^close$/.test(t)&&/(close|cross|dismiss|x-icon)/i.test(n)&&e.remove()}),e.querySelectorAll(rr).forEach(function(e){var n=t(e.textContent||"");(n.length<120||/covid|coronavirus|shipping|discount/i.test(n))&&e.remove()}),e.querySelectorAll(ir).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){r(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 n=t(e.textContent).toLowerCase(),i=(e.getAttribute("title")||"").toLowerCase();(/^(zoom in|zoom out|show in full screen|layers|leaflet|maplibre)$/.test(n)&&r(e)<40||/^(zoom in|zoom out)$/.test(i)&&r(e)<10)&&e.remove()}),e.querySelectorAll("[class*='leaflet-'], [class*='maplibre-'], [class*='map-container'], [class*='kartographer']").forEach(function(e){r(e)<200&&e.remove()}),e}function hr(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 n=e.querySelectorAll("a[href]").length,r=t(e.textContent||"");n>=4&&r.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 n=e.querySelectorAll("a[href]").length,r=t(e.textContent||"");if(n>=3&&!e.querySelector("article, main, [role='main'], pre, blockquote, table"))e.remove();else if(n>=3&&r.length<1200){var i=r.split(/\s+/).length;i>0&&n/i>.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 n=t(e.textContent||""),r=e.querySelectorAll("a[href]").length,i=n.split(/\s+/).length;r>=6&&i>0&&r/i>.5&&n.length<600&&!e.querySelector("article, main, [role='main'], p, h1, h2, h3, blockquote, pre, table")&&e.remove()}}),e}var fr=Un(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),gr=Un(["(?: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)"]),br=Wn(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","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"]),yr=Wn(["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 Un([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"])),vr=Un(["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.*"),wr=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Vn+"\\/[^)]*\\)","gi"),kr=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Vn+"\\b[^\\n]*$","gmi"),xr=[/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 Sr(e,t){var n=e;return t.forEach(function(e){n=n.replace(e,"")}),n}function Ar(e){var n=(e||"").replace(/Your browser doesn't support HTML5 audio\s*/g,"").replace(/^\s*[-*]\s*$/gm,"").replace(/<iframe\b[^>]*>?(?:<\/iframe>)?/gi,"").replace(/<iframe\b[^\n]*/gi,"").replace(/document\s*\.\s*body\s*\.\s*classList\s*\.\s*add\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*cmd\s*\.\s*push\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*display\s*\([^)]*\)\s*;?\s*\}\s*\)\s*;?/g,"").replace(/^\s*(?:var|let|const)\s+\w+\s*=\s*[^;]+;\s*$/gm,"").replace(/\bSkip Ad\b/g,"").replace(/\bContinue watching\s*(?:after the ad)?/gi,"").replace(/Visit Advertiser website/gi,"").replace(/\bExplore\b[^\n]{0,120}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\bExplore\b[^\n]{0,100}\bSUBSCRIBE\b/gi,"").replace(/\bExplore\s+[A-Z][A-Za-z0-9 .!&-]{0,80}\d+%\s+SUBSCRIBE\b/gi,"").replace(/\bExplore\s+(?:[A-Z][A-Za-z0-9&.-]+\s+)?\d+%\s+SUBSCRIBE\b/gi,"").replace(/\b\d+%[^\n]{0,60}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\b\d+%\s+SUBSCRIBE\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{1,60}\s+AIchevron_right[A-Z][A-Za-z0-9 .&-]{0,80}\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{0,60}\s+AI(?:chevron_right)?\s*AI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/g,"").replace(/\bAI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/gi,"").replace(/,?\s*so verify(?: using| with)? [A-Z][A-Za-z0-9 .&-]{0,80} articles\.?/g,"").replace(/GO TO PAGE\.?/g,"").replace(/^\s*#{1,6}\s*$/gm,"").replace(/\bAdvertisement\s+\d+\/\d+\b/gi,"").replace(/^\s*Advertisement\s*$/gim,"").replace(fr,"").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(gr,"").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(vr,"").replace(/(!?\[[^\]\n]*\]\([^\)\s]+)\s+"[^"\n]*\bundefined\b[^"\n]*"\)/gi,"$1)").replace(/!\[\s*undefined\s*\]\(([^)]+)\)/gi,"![]($1)").replace(/\s*-->\s*/g," ").replace(/\s*<!--\s*/g," ").replace(/(?:^|\n)\s*\d{1,3}\s+\d{1,3}\s*(?:\n|$)/g,"\n").replace(wr,"").replace(kr,"").replace(/\n{3,}/g,"\n\n").trim();n=Sr(n,br),n=function(e){for(var n=(e||"").split("\n"),r=0,i=0;i<n.length&&r<4;i++){var o=n[i];if(t(o)&&!/^#{1,6}\s/.test(o)){r++;var a=t(o);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)){n[i]=a.slice(l).replace(/^History\s+/,"").replace(/\?([A-Z])/g,"? $1");break}}}}return n.join("\n")}(n=Sr(n,yr)),n=function(e){var t=e||"";if(t.length<300)return t;var n=Math.floor(.35*t.length),r=-1;return xr.forEach(function(e){for(var i,o=new RegExp(e.source,e.flags.indexOf("g")>=0?e.flags:e.flags+"g");null!==(i=o.exec(t));)i.index>=n&&(r<0||i.index<r)&&(r=i.index),i.index===o.lastIndex&&(o.lastIndex+=1)}),r>=0?t.slice(0,r).trim():t}(n),n=function(e){var n=null,r=!1;return(e||"").split("\n").map(function(e){if(/^\s*```/.test(e))return r=!r,e;if(r)return e;var i=e.match(/^\s*#{1,6}\s+(.+)$/);if(i)return n=t(i[1].replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/[`*_]/g,"")),e;if(!t(e))return e;if(n&&!/^\s*(?:[-*+]\s+|\d+[.)]\s+|[|>])/.test(e)){var o=e.replace(/^(\s*)([a-z][A-Za-z'-]{3,})(\b)/,function(e,t,r,i){for(var o=r.toLowerCase(),a=n.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()===o)return t+s.charAt(0)+r+i}return e});return n=null,o}return n=null,e}).join("\n")}(n);for(var r=(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=[],o=null,a=0,l=0;l<r.length;l++){var s=r[l].trim();s===o&&s.length>0?++a<2&&i.push(r[l]):(o=s,a=1,i.push(r[l]))}r=(n=i.join("\n")).split("\n");for(var c={},u=0;u<r.length;u++){var d=r[u].trim();d.length>0&&!/^#{1,6}\s/.test(d)&&(c[d]=(c[d]||0)+1)}for(var p={},m=[],h=0;h<r.length;h++){var f=r[h].trim();f.length>0&&!/^#{1,6}\s/.test(f)&&(c[f]||0)>=4?p[f]||(p[f]=!0,m.push(r[h])):m.push(r[h])}return m.join("\n").replace(/\n{3,}/g,"\n\n").trim()}function Cr(e,t,n){if(!n)return!1;var r=n.text+"|"+n.url;return!t[r]&&!t["url:"+n.url]&&(t[r]=!0,t["url:"+n.url]=!0,e.push(n),!0)}function qr(e,t){return t.score-e.score||t.text.length-e.text.length}function Er(e,t){return t.score-e.score}function Tr(e,n){n=n||{},e=e||document;var r=[],i=n.cardSelectors||[],o=[],a={},l=[],s=n.maxItems||1/0,c=n.minTitleLength||0,u=n.maxTitleLength||1/0,d=!1!==n.dedupe;function p(e){e&&-1===o.indexOf(e)&&(o.push(e),r.push(e))}return"string"==typeof i&&(i=[i]),i.forEach(function(t){Array.prototype.forEach.call(e.querySelectorAll(t),p)}),!i.length&&e.querySelectorAll&&p(e),r.forEach(function(e){if(!(l.length>=s)){var r,i=n.linkBuilder?n.linkBuilder(e):n.linkSelector?e.querySelector(n.linkSelector):null,o=n.candidateBuilder?n.candidateBuilder(e,i):null;if(o){o.text=t(o.text||""),o.url=o.url||"";var p="function"==typeof c?c(o.text):c;!o.text||o.text.length<p||o.text.length>u||(n.allowMissingUrl||o.url)&&(n.rejectCandidate&&n.rejectCandidate(o,e,i)||(void 0===o.detail&&n.detailBuilder&&(o.detail=n.detailBuilder(e,o,i)),r=function(e,t,r){var i;return n.keyBuilder&&(i=n.keyBuilder(e,t,r)),null==i&&(i=[e.text+"|"+(e.url||"")]),Array.isArray(i)||(i=[i]),i.filter(Boolean)}(o,e,i),d&&r.some(function(e){return a[e]})||(d&&r.forEach(function(e){a[e]=!0}),l.push(o))))}}}),l}function jr(e){var n=Array.prototype.slice.call(e.querySelectorAll("tr.athing, tr[data-id][data-url*='/remote-jobs/'], article, li, section, .item, .story, .post, .entry, .news, .headline, .feed-item, [class*='card'], [class*='result'], [class*='teaser'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], [class*='job-card' i], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/'], .structItem, .discussionListItem")),r={},i=[],o=Xe(),a=/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/i.test([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" "));function l(e,t){return e.length<(a?3:18)||/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(e)||/^[\w.-]+\.[a-z]{2,}$/i.test(e)||/(?:^|[?&])(user|from|site|goto)=/i.test(t)||Ge(e,t)||Ye(e)}function s(e,t){var n=nt(e,t,o);n&&(l(n.text,n.url)||Cr(i,r,n))}(n.forEach(function(e){s(function(e){var n=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(n)return n.closest("a[href]")||n;var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return(r=r.filter(function(e){var n=t(e.textContent||e.getAttribute("aria-label")||"");return n&&!Ge(n,e.getAttribute("href")||"")&&!at(e)&&!at(e.parentElement)&&!it(e)})).sort(function(e,n){var r=t(e.textContent||e.getAttribute("aria-label")||"");return t(n.textContent||n.getAttribute("aria-label")||"").length-r.length}),r[0]||null}(e),e)}),i.length<5)&&Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var n=t(e.textContent),r=e.getAttribute("href");return!(!r||"#"===r[0])&&(!/^(javascript:|mailto:)/i.test(r)&&(!l(n,r)&&(n.length>=Ne(n)&&n.length<=220)))}).forEach(function(e){s(e,e.closest("tr, li, article, section, div")||e.parentElement)});return i.sort(qr),i}function Lr(e){if(!e||!e.querySelectorAll)return[];var t={},n=[],r=Xe(),i=["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(i),function(e){var i=e.closest("article, section, li, div")||e.parentElement;if(!(lt(e)||lt(e.parentElement)||function(e){return rt(e,lt)}(e))){var o=nt(e,i,r);o&&Cr(n,t,o)}}),n.sort(Er),n}function _r(e){return(e||[]).reduce(function(e,t,n){var i=Math.max(0,t&&t.score?t.score:r(t&&t.text));return i=Math.min(i,1200),n>=8&&(i=Math.round(i/2)),e+i},0)}function $r(e){var n=E(e);!function(e){M(e),dr(e),pr(e),mr(e),hr(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){at(e)&&e.remove()}),e.querySelectorAll('a[href^="#"]').forEach(function(e){var n=t(e.textContent);n&&!/^skip\s+(to\s+)?/i.test(n)||e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var n=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(n)&&e.remove()})}(n);var r=jr(n),i=_r(r),o=function(e){var n=[];return e.querySelectorAll("h1, h2, h3, p").forEach(function(e){var r=t(e.textContent);if(r.length>=30&&r.length<=2e3){if(Ye(r)||_(r)||$(r)||Qe(r))return;var i=e.querySelectorAll("a[href]").length,o=r.split(/\s+/).length;if(i<=1||i/o<.3){var a=/^H[123]$/.test(e.tagName)?"## ":"";n.push(a+r)}}}),n.slice(0,8).join("\n\n")}(n),a=Lr(e),l=_r(a);(r.length<3&&a.length>r.length||l>i+180)&&(r=a,i=l);var s=Nr(r),c=o?o+(s?"\n\n"+s:""):s;return t(c).length<120&&(a.length>r.length||l>i)&&(i=l,s=Nr(r=a),c=o?o+(s?"\n\n"+s:""):s),{root:n,items:r,descText:o,markdown:c,score:i+80*r.length+Math.min(o.length,4e3)}}function Nr(e){return e.map(function(e){var t="- ["+e.text+"]("+e.url+")";return e.detail&&(t+=" - "+e.detail),t}).join("\n")}function Mr(e){if(!Re(document.body))return null;function n(e,n){var r=[];["[data-testid='company-name']","[data-test='employer-name']","[data-test='location']","[data-testid*='location' i]","[data-test='descSnippet']","[data-testid='belowJobSnippet']"].forEach(function(n){var i=e.querySelector(n),o=t(i&&i.textContent);o&&-1===r.indexOf(o)&&r.push(o)}),r.length||r.push(t(e.textContent||"").replace(n,""));var i=t(r.join(" - ")).replace(n,"");return(i=i.replace(/\s*\{\"@context\".*$/i,"")).length>220&&(i=i.slice(0,217).replace(/\s+\S*$/,"")+"..."),i}var r=Tr(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:Ne,maxTitleLength:220,maxItems:18,keyBuilder:function(e){return e.text+"|"+e.url},candidateBuilder:function(e,r){var o=function(e,n){var r=t(e.getAttribute("data-company")||""),i=t(e.getAttribute("data-search")||"").replace(/\s*\[.*$/i,"");r&&0===i.indexOf(r)&&(i=t(i.slice(r.length)));var o=[i,t(n&&(n.textContent||n.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 o.sort(function(e,t){return t.length-e.length}),o[0]||""}(e,r),a=function(e,t){var n=t&&t.getAttribute("href");return(n=n||e.getAttribute("data-href")||e.getAttribute("data-url")||"")?i(n):""}(e,r);return{text:o,url:a,detail:n(e,o)}}});if(r.length<4)return null;var o=r.map(function(e){var t=e.url?"- ["+e.text+"]("+e.url+")":"- "+e.text;return e.detail&&(t+=" - "+e.detail),t}).join("\n");return k(e,{excerpt:r[0].text,textContent:o,markdown:o,items:r})}var zr=null;function Rr(e){return null==e?"":Array.isArray(e)?Rr(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function Pr(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function Br(e,t){if(e=Rr(e).replace(/\s+/g,""),t=Rr(t).toUpperCase(),!e)return"";var n=e.match(/[$€£]\s?\d[\d,]*(?:\.\d{2})?/);return n?n[0].replace(/([$€£])\s+/g,"$1"):/^\d[\d,.]*$/.test(e)?"USD"===t?"$"+e:"EUR"===t?"€"+e:"GBP"===t?"£"+e:t?e+" "+t:e:""}function Ir(e){return g(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function Or(e,n){var r=function(){if(zr)return zr;var e=[];return c().forEach(function n(r){if(r&&"object"==typeof r)if(Array.isArray(r))r.forEach(n);else{var i=r["@type"]||r.type;(Array.isArray(i)?i:[i]).some(function(e){return/^(product|book)$/i.test(t(e))})&&e.push(r),r["@graph"]&&n(r["@graph"]),r.itemListElement&&n(r.itemListElement),r.item&&n(r.item)}}),zr=e,e}().find(function(r){return function(e,n,r){var o=Rr(e&&e.name).toLowerCase(),a=t(n||"").toLowerCase(),l=Pr(e),s=Rr(e&&e.url||l&&l.url),c=s?i(s):"";return!(!r||!c||c.replace(/[#?].*$/,"")!==r.replace(/[#?].*$/,""))||!(!o||!a||o!==a&&-1===o.indexOf(a)&&-1===a.indexOf(o))}(r,e,n)});if(!r)return[];var o=Pr(r),a=r.aggregateRating||r.reviewRating,l=[],s=Br(o&&(o.price||o.priceSpecification&&o.priceSpecification.price),o&&(o.priceCurrency||o.priceSpecification&&o.priceSpecification.priceCurrency)),u=Rr(o&&o.availability),d=Rr(a&&a.ratingValue),p=Rr(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),d&&l.push(Fr(d,p)),u&&l.push(Ir(u)),l}function Fr(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function Dr(e){var r,o=[];["main","[role='main']",".products",".product-grid",".product-list",".search-results",".category",".collection","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===o.indexOf(e)&&o.push(e)})});var a=n([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 n=e.querySelector("img[alt], img[title]"),r=i(e.getAttribute("href")),o=e.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement;o===e&&e.parentElement&&(o=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(n&&(n.getAttribute("alt")||n.getAttribute("title")))];o&&r&&Array.prototype.forEach.call(o.querySelectorAll("a[href][class*='title' i], [class*='title' i] a[href]"),function(e){s(i(e.getAttribute("href")))===s(r)&&u.push(t(e.textContent||e.getAttribute("aria-label")||""))}),u.length&&(d=u),d.sort(function(e,t){return t.length-e.length});var p,m=d[0]||"";if(!r||!m||m.length<6||m.length>140)return null;if(/^\(\d+\)\s+/.test(p=m)||/^(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(p)||/\(designer\)$/i.test(p))return null;if(/(sort|filter|review|rating|privacy|cookie|onetrust)/i.test(r)&&m.length<32)return null;if(r===location.href||/^(javascript:|mailto:)/i.test(r))return null;var h="";try{h=new URL(r,location.href).pathname}catch(e){return null}var f=/(\/product|\/perfume|\/cologne|\/dp\/|\/itm\/|\/pdp\/|\/shop\/products\/|\/p\/(?!pl(?:\/|$)))/i.test(h),g=t(o&&[o.getAttribute("id"),o.getAttribute("class"),o.getAttribute("data-testid"),o.getAttribute("data-hb-id"),o.getAttribute("itemtype")].join(" ")),b=/(product|item-cell|item-container|schema\.org\/Product)/i.test(g);if(!f&&!b)return null;if(l.length&&!function(e){return e=e.toLowerCase(),l.some(function(t){return-1!==e.indexOf(t)})}(m))return null;if(a.length&&We()&&!c(m))return null;var y=function(e,n,r){if(!e)return"";var i=t(e.textContent||""),o=Or(n,r);function a(e){(e=t(e))&&-1===o.indexOf(e)&&o.push(e)}function l(n){var r=e.querySelector(n);return t(r&&(r.getAttribute("content")||r.getAttribute("href")||r.getAttribute("aria-label")||r.textContent))}var s=Br(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),(i.match(/([$€£]\s?\d[\d,.]*(?:\.\d{2})?)/g)||[]).slice(0,2).forEach(function(e){-1===o.indexOf(e)&&o.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(Fr(c,u));var d=e.querySelector("[aria-label*='out of 5' i], [class*='rating' i], [class*='stars' i]"),p=t(d&&(d.getAttribute("aria-label")||d.textContent)),m=p.match(/\b(\d(?:\.\d+)?)\s*(?:out of|\/)\s*5\b/i)||i.match(/\b(\d(?:\.\d+)?)\s*out of\s*5\s*stars?\b/i);if(m){var h=(p+" "+i).match(/\b([\d,]+)\s*(?:reviews?|ratings?)\b/i);a(Fr(m[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=i.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(Ir(f)),[/\bfree shipping\b/i].forEach(function(e){var t=i.match(e);t&&a(t[0])}),o.filter(Boolean).join(" - ")}(o,m,r);return c(m)||f||b?{text:m,url:r,detail:y}:null}function d(e,t,n){return Tr(e,{cardSelectors:"a[href]",allowMissingUrl:!1,dedupe:t,maxItems:n,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||"")&&n(e||"").toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).forEach(function(e){e.length>=3&&-1===l.indexOf(e)&&l.push(e)})});var p=o.reduce(function(e,t){var n=d(t,!1).length;return!e||n>e.score?{node:t,score:n}:e},null);return!p||p.score<4||(r=d(p.node,!0,15)).length<4?null:k(e,{excerpt:r[0].text,items:r})}function Hr(e){var t=[];function n(e){e&&-1===t.indexOf(e)&&t.push(e)}n(st(e)),function(e){var t=Xe(e),n=[];if(!t.sectionFragments.length&&!t.keywords.length)return n;function i(e){if(e&&e!==document.body&&e!==document.documentElement&&-1===n.indexOf(e)&&!at(e)&&!et(e)){var t=e.querySelectorAll("a[href]").length;t<3||t>250||r(e)<140||n.push(e)}}return Array.prototype.forEach.call(document.querySelectorAll("a[href]"),function(e){var n=e.closest("article, section, div, li, ul, ol, main")||e.parentElement,r=nt(e,n,t);if(r&&!(r.score<260))for(var o=n,a=0;o&&a<4&&(i(o),!o.matches||!o.matches("main, [role='main']"));)o=o.parentElement,a+=1}),n}(e).forEach(n),n(document.querySelector("main, [role='main']")),n(document.body);var i=t.reduce(function(e,t){var n=$r(t);return!e||n.score>e.score?n:e},null)||$r(document.body);return k(e,{title:e.title||document.title,excerpt:i.items[0]?i.items[0].text:e.excerpt,html:i.root.innerHTML,textContent:i.markdown,markdown:i.markdown,items:i.items})}function Ur(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function Wr(e){if(!e)return e;var n=t(e);return n?/^https?:\/\//i.test(n)?null:(n=t(n=n.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(n)||!(n=t(n=n.replace(/\s*@[\w.-]+.*$/i,"").replace(/\s*\d+\s*(takipçi|followers?|متابع|دنبال‌کننده|עוקבים|فالوور).*$/i,"")))||n.length<2?null:n):null}function Zr(e){var t=e&&!1!==e.reader_mode?Ae():null;return t&&(t=xe(t,we())),t||(t=we()),t}function Vr(e,n,r,i,o){-1!==n.indexOf(r)&&(i&&t(o||e.markdown||e.textContent||"").length>=i||(e.contentType="interstitial"))}e.FetchUtilExtract={extract:function(e){var n,r,a,s=(n=document.querySelector('link[rel="canonical"]'),{title:o("og:title","property")||document.title||h(["main h1","article h1","h1"]),byline:o("author","name")||o("article:author","property"),excerpt:o("description","name")||o("og:description","property"),siteName:o("og:site_name","property")||location.hostname,publishedTime:o("article:published_time","property")||o("publish-date","name"),canonicalUrl:i(n&&n.getAttribute("href"))||location.href,language:document.documentElement.getAttribute("lang")||navigator.language||null,image:o("og:image","property")||null,video:o("og:video","property")||o("og:video:url","property")||null}),c=T(),u={iframeTitles:(r=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:r.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:T().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)};if(/(^|\.)(google\.|bing\.com$|duckduckgo\.com$|search\.brave\.com$|ecosia\.org$)/.test(location.hostname)&&v()&&(a=function(e){var t=[],n={};return[".result__title a, [data-testid='result-title-a']","li.b_algo h2 a, .b_algo h2 a","a h3","main a[data-testid='result-title-a'], main article a[href], main .result a[href], main .snippet a[href]"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){var r="A"===e.tagName?e:e.closest("a");if(r){var i=r.closest("article, li, div[data-testid], .result, .b_algo, .g, .fdb")||r.parentElement,o=$e(r);ct(t,n,o,r.getAttribute("href"),Me(i,o))}})}),t.length<4&&document.querySelectorAll("main a[href], [role='main'] a[href]").forEach(function(e){var r=e.closest("article, li, div, section")||e.parentElement,i=$e(e);ct(t,n,i,e.getAttribute("href"),Me(r,i))}),{title:e.title||document.title,byline:null,excerpt:v(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:Nr(t),markdown:Nr(t),readerMode:!1,contentType:"search",resultCount:t.length}}(s)),!a){var f=Et(s,c),g=f?qt(s,c):null,w=t(document.body&&document.body.textContent||"").toLowerCase(),k=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(w);f&&"not_found"===g&&k&&(a=f)}if(a||(a=_n(s,c)),a||(a=function(e,n,r){var i=gt(e,n,r);if(!i)return null;var o=t(e.title||document.title);(!o||A(o)||/^www\./i.test(o))&&(o=bt(i,e));var a=function(e,t){var n="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&&(n+=" The readable DOM content is effectively empty in this environment."),n}(i,r),l=["anubis"===i?"Challenge: Anubis":"datadome"===i?"Challenge: DataDome":"Challenge: Cloudflare/Turnstile"];return r&&r.textLength<40&&r.htmlLength>200&&l.push("Readable DOM: challenge page only"),b({title:o,description:a,highlights:[],details:l,siteName:e.siteName||location.hostname,contentType:"interstitial"})}(s,c,u)),!a){var x=Et(s,c),C=x?qt(s,c):null;if(x&&"consent_wall"!==C)a=x;else if(x&&"consent_wall"===C){var q=Zr(e),E=t(q&&q.markdown||q&&q.textContent||"").toLowerCase();a=q&&E.length>500&&!$t(E)?q:x}}if(a||(a=_e(s)),a||(a=function(e){var n=d(["Recipe"]);if(!n)return null;var r=l(n.recipeIngredient).map(function(e){return"string"==typeof e?t(e):m(e)}).filter(Boolean),i=[];if(function e(n){var r;n&&(Array.isArray(n)?n.forEach(e):"string"!=typeof n?"object"==typeof n&&(n.itemListElement?e(n.itemListElement):(r=m(n))&&i.push(r)):(r=t(n))&&i.push(r))}(n.recipeInstructions),r.length+i.length<3)return null;var o=[n.recipeYield?"Yield: "+m(n.recipeYield):null,n.prepTime?"Prep: "+t(n.prepTime):null,n.cookTime?"Cook: "+t(n.cookTime):null,n.totalTime?"Total: "+t(n.totalTime):null].filter(Boolean),a=[],s=p(n.name||n.headline)||e.title||document.title,c=m(n.description)||e.excerpt;s&&a.push("# "+s),o.length&&a.push(o.map(function(e){return"- "+e}).join("\n")),c&&a.push(c),r.length&&a.push("## Ingredients\n\n"+r.slice(0,25).map(function(e){return"- "+e}).join("\n")),i.length&&a.push("## Instructions\n\n"+i.slice(0,20).map(function(e,t){return t+1+". "+e}).join("\n"));var u=a.join("\n\n").trim();return{title:s,byline:p(n.author)||null,excerpt:c||null,siteName:e.siteName||location.hostname,publishedTime:n.datePublished||e.publishedTime||null,html:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}(s)),a||(a=Zr(e)),a&&"article"===a.contentType&&a.readerMode&&ke(a.textContent||a.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var j=Hr(s);t(j.markdown||"").length>=400&&(a=j)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(a)){var L=ut();L&&(a=L)}var _=Dr(s);if(_&&a&&!a.hostAware&&!a.docsLike){var N=t(a.markdown||a.textContent||"").toLowerCase();("list"!==a.contentType&&(We()||_.itemCount>=4||$t(N))||"list"===a.contentType&&We()&&_.itemCount>=4)&&(a=_)}var M=Mr(s);M&&a&&!a.hostAware&&!a.docsLike&&(a=M);var z=Oe(a)||function(e,n){e=e||{};var r=t((n=n||{}).title||e.title||""),i=t(n.excerpt||e.excerpt||""),o=t(n.publishedTime||e.publishedTime||""),a=t(n.byline||e.byline||""),l=t(n.textContent||n.markdown||"");return!!(!(r.length<Ne(r)||l.length<220)&&(o&&i.length>=40||o&&a||o&&l.length>=320))}(s,a);if(a&&!a.hostAware&&S(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(a.html||"")&&(a.hostAware=!0),"article"===a.contentType&&!a.hostAware&&!a.docsLike&&!Ze()&&$(a.textContent||a.markdown||"")){var R=Hr(s);t(R.markdown||"").length>=400&&(a=R)}if("article"!==a.contentType||a.docsLike||a.legalProvision||!He(null,a.textContent||a.markdown||"")||(a=Ie(a)),"list"===a.contentType||a.hostAware||a.docsLike||a.legalProvision||!function(e){if(!document.body||Ze())return!1;if(!Ue()&&!We()&&!Re())return!1;var n=document.createElement("div");n.innerHTML=e&&e.html||document.body.innerHTML;var r=n.querySelectorAll("a[href]").length,i=n.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,o=n.querySelectorAll("h2, h3, h4").length,a=Array.prototype.filter.call(n.querySelectorAll("a[href]"),function(e){var n=t(e.textContent||e.getAttribute("aria-label")||"");return n.length>=Ne(n)&&n.length<=220&&!Ge(n,e.getAttribute("href")||"")}).length,l=Array.prototype.map.call(n.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(n.textContent||e&&(e.textContent||e.markdown)||""),d=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,n){return e+t(n.textContent||n.getAttribute("aria-label")||"").length},0),p=u.length>0?d/u.length:0,m=document.createElement("div");m.innerHTML=document.body.innerHTML;var h=Math.max(Pe(n),Pe(m));return!Fe(n,u)&&!De(n,u)&&(!(!ze(n,u)&&!ze(m))||!(s>=5&&c.length>=1200&&p<.35)&&(a>=6&&i>=6&&r>=8&&(o>=4||p>=.22)||h>=6||Re(n)))}(a)||(a=Hr(s)),"list"===a.contentType||a.hostAware||a.docsLike||a.legalProvision||!function(e){if(!document.body)return!1;function n(e){var n=e.querySelectorAll("a").length,r=e.querySelectorAll("p").length,i=e.querySelectorAll("tr, li, article, section").length,o=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 n=t(e.textContent||e.getAttribute("aria-label")||"");return n.length>=Ne(n)&&n.length<=220&&!Ge(n,e.getAttribute("href")||"")}).length,u=t(e.textContent),d=t(document.title).toLowerCase(),p=(location.pathname||"").toLowerCase();return{links:n,paragraphs:r,rows:i,listItems:o,listish:a,headings:l,cards:s,headlineLinks:c,text:u,title:d,homepage:"/"===p||""===p||/^\/(index|default|home)\b/i.test(p)||/^\/\d+(,\d+)*\.html?$/i.test(p)}}function r(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 i=document.createElement("div");if(i.innerHTML=document.body.innerHTML,r(n(i)))return!0;var o=document.createElement("div");return o.innerHTML=e&&e.html?e.html:document.body.innerHTML,r(n(o))}(a)||!Ue()&&Ze()||z||(a=Hr(s)),"article"!==a.contentType||a.docsLike||a.legalProvision||z||!function(e){if(!e||"article"!==e.contentType||Ze())return!1;if(!We())return!1;var n=document.createElement("div");n.innerHTML=e.html||"";var r=t(n.textContent||e.textContent||e.markdown||""),i=n.querySelectorAll("p").length,o=Array.prototype.filter.call(n.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||$t(r.toLowerCase())||!/(search|results?|shop|browse|categor|catalog|keyword|wholesale|products?|collections?|marketplace)/.test(c)||o>=4&&r.length>=1200||!(r.length<2400||i<=4))}(a)||(a=Ie(a)),"list"===a.contentType&&y("q")&&Ce(s)){var P=Ee(s);P&&(a=P)}var B,I,O=(B=a.html,(I=document.createElement("div")).innerHTML=B,ur(I),I.innerHTML);a.title&&(a.title=t(a.title.replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")));var F=Ar(a.markdown||Fn(O||a.html)),D=t(a.textContent||""),H=t(F);!H&&D.length>40&&(F=Ar(Fn(O)||D)),H=t(F),"list"===a.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 n=e.split(/\n{2,}/).filter(function(e){var n=e.trim();return!(!n||/^\|/.test(n)||/^#/.test(n))&&t(n).length>=80&&/[.!?)]$/.test(t(n))}).length,r=(e.match(/^\|/gm)||[]).length;return(e.match(/^#{1,3}\s+/gm)||[]).length>=1&&n>=2&&r>=4&&r<=40}(F)&&(a.contentType="article"),"article"===a.contentType&&!a.readerMode&&a.html&&a.html.length>5e4&&D.length>=1200&&H.length<.2*D.length&&(F=Ar(D));var U=t((a.title||s.title||"").replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,""));if("article"===a.contentType&&U&&t(F)){for(var W=F.split("\n"),Z=-1,V=U.toLowerCase(),G=0;G<Math.min(W.length,12);G+=1){var K=t(W[G]).replace(/^#+\s*/,"").replace(/[`*_]/g,"");if(K&&t(K).toLowerCase()===V){Z=G;break}}if(Z<0)for(var J=0;J<Math.min(W.length,12);J+=1){var X=t(W[J]).match(/^(#+)\s+(.*)/);if(X&&"#"===X[1]){var Y=t(X[2]).replace(/[`*_]/g,"");if(0===Y.toLowerCase().indexOf(V)&&Y.length>U.length+5){var Q=Y.substring(U.length).trim();W[J]="# "+U,Q&&W.splice(J+1,0,"",Q),F=W.join("\n"),Z=J;break}}}if(Z>0){var ee=W.slice(0,Z);F="# "+U+"\n\n"+(ee.filter(function(e){return t(e)}).some(function(e){return!/^!\[[^\]]*\]\([^)]*\)$/.test(t(e))})?ee:[]).concat(W.slice(Z+1)).join("\n").trim()}else oe(F,U)||(F="# "+U+"\n\n"+F)}F=Ar(F),"article"===a.contentType&&function(e,n){if(!e||"article"!==e.contentType||Ze())return!1;var r=(location.pathname||"").toLowerCase(),i=(location.search||"").toLowerCase();if(!/\/(?:search|results?)(?:\.html?)?$/i.test(r)&&!/(?:^|[?&])(?:q|query|search|searchtext|keyword|k|text)=/.test(i))return!1;var o=document.createElement("div");o.innerHTML=e&&e.html||document.body.innerHTML;var a=t([o.textContent||"",n||"",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(o.querySelectorAll("a[href]"),function(e){var n=e.getAttribute("href")||"",r=t(e.textContent||e.getAttribute("aria-label")||"");return!(r.length<Ne(r)||r.length>280||Ge(r,n))&&/\/(?:legal-content|eli|LexUriServ|resource|document|doc|case-law|summary)\b|[?&](?:uri|celex|qid|docid)=/i.test(n)}).length,c=o.querySelectorAll("[class*='result' i], [id*='result' i], article, li, tr").length,u=(String(n||"").match(/^\s*#{1,4}\s+\[[^\]]{8,280}\]\(/gm)||[]).length;return l&&(s>=3||u>=3)&&(c>=3||u>=3)}(a,F)&&(a=Ie(a)),"article"!==a.contentType||a.hostAware||a.docsLike||a.legalProvision||!Be(F,a)||(a=Ie(a));var te=function(e){var t=e||"";if(t.length<400)return t;var n=t.slice(0,5e3),r=/(?:presid[eê]ncia|casa civil|subchefia|official gazette|government|ministry|department|secretariat|texto compilado|compiled text|\|\s*---\s*\|)/i.test(n),i=/(?: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(n)&&/\b(?:judg(?:e)?ment|opinion(?:s)? of the lords|court|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(n);if(!r&&!i)return t;if(i){var o=t.match(/^#\s+[^\n]+\n+/),a=n.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(o&&a>o[0].length&&a<4500)return(o[0].trim()+"\n\n"+t.slice(a).trim()).trim()}var l=n.match(/(?:\*\*)?\s*(?:PRE[ÂA]MBULO|PREAMBLE)\s*(?:\*\*)?/i);if(l&&l.index<3e3)return t.slice(l.index).trim();var s=ye({text:n}).bodyStartMatch;return s&&s.index<3e3?t.slice(s.index).trim():t}(F);if(te!==F&&t(te).length>=5e3&&(a.contentType="article"),De(null,F=te)&&"list"===a.contentType&&(a.contentType="article"),"list"===a.contentType&&function(e){if(!e||2!==e.length)return!1;var t=e[0]||"",n=e[1]||"";return!/^(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|forums?|boards?|community|discussions?|threads)$/.test(t)&&n.length>=6&&/[a-z]/i.test(n)&&/\d/.test(n)&&/^[a-z0-9_-]+$/i.test(n)}((location.pathname||"").toLowerCase().split("/").filter(Boolean))){var ne=F.split("\n").map(function(e){return t(e).replace(/^#+\s*/,"")}).filter(Boolean)[0]||"";ne.length>=100&&!/^[-*]\s+\[/.test(ne)&&(a.contentType="article")}var re=Ft(s,a,F,c,u),ie=t(F);At(U||s.title,ie,{maxTextLength:1800,checkStructured:!0})&&-1===re.indexOf("not_found_interstitial")&&re.push("not_found_interstitial"),At(U||s.title,ie,{maxTextLength:900})&&-1===re.indexOf("not_found_interstitial")&&re.push("not_found_interstitial");var ae=t([U,s.title,s.siteName,location.hostname,location.pathname,F].join(" "));At(U||s.title,ae,{maxTextLength:2e3})&&/\b(court|courts|case law|caselaw|legal|law|opinion|citation)\b/i.test(ae)&&-1===re.indexOf("not_found_interstitial")&&re.push("not_found_interstitial"),Vr(a,re,"not_found_interstitial"),Vr(a,re,"consent_interstitial",500,F),Vr(a,re,"auth_or_login_interstitial",1200,F),t(F).length<1200&&/\b(?:service|site|product|platform|application|app)\b/i.test(ae)&&/\b(?:no longer available|has been retired|have been retired|is retired|was retired|shutdown|shut down|sunset|discontinued)\b/i.test(ae)&&-1===re.indexOf("access_error_interstitial")&&re.push("access_error_interstitial"),t(F).length<10&&-1===re.indexOf("empty_extraction")&&re.push("empty_extraction"),t(F).length<140&&/copyright\b.*\ball rights reserved\b/i.test(t(F))&&-1===re.indexOf("empty_extraction")&&re.push("empty_extraction"),t(F).length<500&&/(?:^|:\s*)error$/i.test(U||s.title||"")&&-1===re.indexOf("access_error_interstitial")&&re.push("access_error_interstitial");var le=t(c||"").length,se=t(F||"").length,ce=le>0?Math.round(se/le*100)/100:1,ue=Ot(s,a,F),de=null;return Mt()&&(de=-1!==re.indexOf("subscription_interstitial")?"full_block":"detected"),{title:U||t(s.title),byline:Wr(a.byline||s.byline),excerpt:a.excerpt||s.excerpt,siteName:a.siteName||s.siteName,publishedTime:a.publishedTime||s.publishedTime,canonicalUrl:s.canonicalUrl,language:s.language,html:a.html,markdown:F,readerMode:a.readerMode,contentType:a.contentType||"article",legalProvision:!!a.legalProvision,hostAware:!!a.hostAware,statusPage:!!a.statusPage,suspect:re.length>0,warnings:re,contentCompletenessRatio:ce,contentFormat:ue,paywallState:de,textContent:a.textContent,url:location.href}}}}(window);
1
+ !function(e){function t(e){return"string"!=typeof e&&(e=null==e?"":String(e)),e.replace(/\s+/g," ").trim()}function r(e){try{return decodeURIComponent(e)}catch(t){return e}}function n(e){return t(e&&e.textContent).length}function o(e){if(!e)return null;try{return new URL(e,document.baseURI).href}catch(t){return e}}function i(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function a(e,r){var n=t(h(["meta[name='generator']"],"content")||""),o=t(h(["meta[name='application-name']","meta[property='og:site_name']"],"content")||""),i=l(r).map(function(t){return"function"==typeof t?t(e,n,o):h([t])});return 0===i.length&&(i=[e&&e.title,e&&e.siteName,n,o,document.title]),{generator:n,appName:o,signature:t(i.join(" "))}}function l(e){return e?Array.isArray(e)?e:[e]:[]}function s(e,t){e&&(Array.isArray(e)?e.forEach(function(e){s(e,t)}):"object"==typeof e&&(e["@graph"]&&s(e["@graph"],t),t.push(e)))}function c(){var e=[];return document.querySelectorAll('script[type="application/ld+json"]').forEach(function(r){var n=r.textContent||r.innerText||"";if(t(n))try{s(JSON.parse(n),e)}catch(e){}}),e}function u(e){return l(e&&e["@type"]).map(function(e){return String(e)})}function d(e){var t=l(e);return c().find(function(e){return u(e).some(function(e){return-1!==t.indexOf(e)})})||null}function m(e){return e?"string"==typeof e?t(e):Array.isArray(e)?m(e[0]):t(e.name||e.headline||e.alternateName||""):null}function p(e){return e?"string"==typeof e?t(e):Array.isArray(e)?t(e.map(function(e){return p(e)||""}).join(" ")):t(e.text||e.description||e.name||""):null}function h(e,r){for(var n=0;n<e.length;n+=1){var o=document.querySelector(e[n]);if(o){var i=r?o.getAttribute(r):o.textContent;if(i=t(i))return i}}return null}function f(){var e=[];return["article[itemtype*='NewsArticle']","article[itemtype*='Article']","article","main article","main"].forEach(function(t){document.querySelectorAll(t).forEach(function(t){-1===e.indexOf(t)&&n(t)>=80&&e.push(t)})}),e.length?e:[document]}function g(e,r,n){for(var o=0;o<e.length;o+=1)for(var i=0;i<r.length;i+=1){var a=e[o].querySelector(r[i]);if(a&&!a.closest("nav, footer, aside")){var l=n?a.getAttribute(n):a.textContent;if(l=t(l))return l}}return null}function y(e,r){var n={},o=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){if(!(o.length>=(r||20))){var i=t(e.textContent);i&&!n[i]&&(n[i]=!0,o.push(i))}})}),o}function b(e){return t(String(e||"").split("/").pop().replace(/[_-]+/g," "))}function v(e){var r=[],n=[];e.title&&r.push("# "+e.title),e.byline&&n.push("- Author: "+e.byline),e.publishedTime&&n.push("- Published: "+e.publishedTime),l(e.details).forEach(function(e){e&&n.push("- "+e)}),n.length&&r.push(n.join("\n")),e.description&&r.push(e.description),e.highlights&&e.highlights.length&&r.push(e.highlights.map(function(e){return"- "+e}).join("\n"));var o=r.filter(Boolean).join("\n\n").trim();return{title:e.title,byline:e.byline||null,excerpt:e.description||null,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:"",markdown:o,textContent:t(o),docsLike:!!e.docsLike,hostAware:!!e.hostAware,readerMode:!1,contentType:e.contentType||"article"}}function w(e){return new URLSearchParams(location.search).get(e)}function x(){return w("q")||w("p")||w("query")||w("text")||""}function S(e){var t=null!=e.markdown?e.markdown:ft(e.items||[]);return{title:e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:e.html||"",textContent:null!=e.textContent?e.textContent:t,markdown:t,readerMode:!1,contentType:"list"}}function k(e,t){var r=(t=t||{}).items,n=null!=t.markdown?t.markdown:ft(r||[]),o={title:t.title||e&&e.title||document.title,byline:null,excerpt:null!=t.excerpt?t.excerpt:r&&r[0]&&r[0].text||e&&e.excerpt,siteName:t.siteName||e&&e.siteName||location.hostname,publishedTime:null!=t.publishedTime?t.publishedTime:e&&e.publishedTime||null,html:t.html||"",textContent:null!=t.textContent?t.textContent:n,markdown:n,readerMode:!1,contentType:t.contentType||"list"};return r&&(o.itemCount=r.length),t.hostAware&&(o.hostAware=!0),t.statusPage&&(o.statusPage=!0),o}function A(e){return document.body&&document.body.innerText||e||""}function q(e,t){if(t=t||location.hostname||"",!e)return!1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)if(q(e[r],t))return!0;return!1}return e instanceof RegExp?e.test(t):"function"==typeof e?e(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e)}function C(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function _(e,t){if(t=t||document,!e)return null;if(3===e.nodeType)return t.createTextNode(e.textContent||"");if(1!==e.nodeType)return null;var r,n=(e.tagName||"").toLowerCase(),o=n&&!/-/.test(n)?n:"div";try{r=t.createElement(o||"div")}catch(e){r=t.createElement("div")}return Array.prototype.forEach.call(e.attributes||[],function(e){if(e&&e.name&&!/^on/i.test(e.name))try{r.setAttribute(e.name,e.value)}catch(e){}}),Array.prototype.forEach.call(e.childNodes||[],function(e){var n=_(e,t);n&&r.appendChild(n)}),r}function T(e,t){try{return e.cloneNode(!0)}catch(r){return _(e,t)}}function E(e){if(N(e))return document.createElement("div");var r,n=T(e,document);return n?((r=n)&&r.querySelectorAll&&r.querySelectorAll("button, [role='button'], input[type='button'], input[type='submit']").forEach(function(e){var r=t(e.innerText||e.textContent||e.getAttribute("value")||"");if(function(e){var r=t(e||"");return!!r&&!(r.length<30||r.length>320)&&!(P(r)||H(r)||B(r))&&!/^(log in|login|sign in|register|create account|get disney\+|accept all|reject all|confirm my choices|manage preferences|save preferences|allow all|more details|cookies details)$/i.test(r)&&r.split(/\s+/).length>=4}(r)){var n=document.createElement("p");n.textContent=r,n.setAttribute("data-fetchutil-button-text","true"),e.replaceWith(n)}}),n.querySelectorAll("button").forEach(function(e){var r=e.querySelector("[class*='http-verb']");if(r){for(var n="",o=e.querySelectorAll("span"),i=0;i<o.length;i++)if(o[i]!==r&&!o[i].querySelector("[class*='http-verb']")&&!/collapser|ellipsis|arrow/i.test(o[i].className||"")){var a=t(o[i].textContent);if(a&&/^\//.test(a)){n=a;break}}if(n){var l=document.createElement("p");l.innerHTML="<code>"+t(r.textContent).toUpperCase()+" "+n+"</code>",e.replaceWith(l)}}}),n.querySelectorAll("script, style, noscript, template, iframe, form, button, input, aside, nav, footer").forEach(function(e){e.remove()}),R(n),n.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))}),n.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||(t=r),t||(t=r),t&&e.setAttribute("src",o(t))}),n):document.createElement("div")}function j(){if(!document.body)return"";var e=t(document.body.innerText||"");if(e&&!/(cookie|privacy|consent|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|隐私|принять|ኩኪ)/i.test(e))return e;if(e&&!P(e))return e;var r=T(document.body,document);return r.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),R(r),t(r.textContent)}function L(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(e)}function $(e,r){return r=r||"",!(e=t(e||""))||(e.length>180||(!!/^(home|menu|search|sign in|log in|login|register|create account|my account|account|subscribe|newsletter|advertise|contact|about|privacy|terms|cookies?|careers?|help|support|learn more|read more|view all|see all|show more|skip to content|open menu|close|language|english|français|deutsch|español|italiano)$/i.test(e)||(!!(/^(buy|sell|rent|sold|agents?|homes?|condos?|commercial|mortgages?|calculators?|guides?|news|travel|trains?|buses?|flights?|hotels?|cars?|packages?|deals?|offers?|destinations?|routes?|stations?|tickets?|timetables?)$/i.test(e)&&e.length<18)||!!/\b(?:privacy|terms|cookie|login|signin|sign-in|register|account|newsletter|subscribe|advertise|contact|about)\b/i.test(r))))}function P(e){if(!(e=t(e||"").toLowerCase())||e.length>5e3)return!1;return!!/cookie settings|cookie preferences|manage cookie preferences|manage cookies|accept all cookies|reject optional cookies|we use cookies|this website uses cookies|by accepting cookies|allow the use of cookies|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners(?: \(vendors\))?|cookies from other companies|essential cookies|personalize advertising|use cookies and similar technologies|before you continue|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|browsing history|device identifiers|cookie declaration last updated|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|ustawienia prywatności|polityka prywatności i cookies|datenschutz|cookie-einstellungen|données personnelles|paramètres des cookies|datos personales|configuración de cookies|dati personali|impostazioni dei cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|Cookie設定|同意設定|すべて受け入れる|すべて許可|쿠키|동의|모두 허용|全部接受|接受全部|隐私设置|файлы cookie|настройки cookie|принять все|we gebruiken cookies|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|የእርስዎ ግላዊነት|ግላዊነት|ኩኪ|ኩኪዎች|የኩኪ ቅንብሮች|pro pokračování vyberte|technické cookies|jakou formou vám máme zobrazovat obsah/i.test(e)&&(e.match(/cookie|cookies|preferences|privacy choices|privacy preference center|your privacy settings|your privacy choices|manage privacy preferences|manage consent preferences|cookie information|cookie declaration|cookie list|cookies details|list of partners|accept all|reject optional|essential cookies|personalize advertising|personal data|browsing history|device identifiers|personalized ads|trusted third party|wish to store|consent id|change your consent|your current state|configurações avançadas de cookies|declaração de cookies|gerenciar cookies|utilizamos cookies|dados pessoais|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|pliki cookie|prywatności|datenschutz|données|datos|dati|クッキー|쿠키|同意|接受|隐私|принять|cookie設定|ግላዊነት|ኩኪ|pokračování|technické cookies/g)||[]).length>=2}function z(e){return!(!(e=t(e||"").toLowerCase())||e.length>5e3)&&(e.match(/copyright|all rights reserved|privacy policy|cookie policy|terms of use|terms and conditions|impressum|link utili|contatti|chi siamo|newsletter|advertising|pubblicit[àa]|manage preferences|cookie settings/g)||[]).length>=2}function N(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"");if(/(onetrust|ot-sdk|\bot-[\w-]*|cookiebot|cybot|cookiedeclaration|cookie-declaration|usercentrics|trustarc|didomi|quantcast|osano|cookieyes|cky-|sourcepoint|sp_message|privacy-center|privacy preference center|cookie information|cookie list|consent preferences)/.test(r)||"true"===e.getAttribute("data-nosnippet"))return!0;if(!n)return!1;var o=/(cookie|consent|privacy|gdpr|ccpa)/.test(r);if(o&&P(n))return!0;if(o&&n.length>5e3&&/(cookie|cookies|consent|privacy|gdpr|ccpa)/i.test(n.slice(0,2e3)))return!0;if((e.matches("[role='dialog'], [aria-modal='true'], dialog")||/position:\s*(fixed|sticky)/i.test(e.getAttribute("style")||""))&&P(n))return!0;if("undefined"!=typeof window&&e.ownerDocument&&e.ownerDocument.defaultView)try{var i=e.ownerDocument.defaultView.getComputedStyle(e);if(i&&/fixed|sticky/.test(i.position)&&P(n))return!0}catch(e){}return!!(P(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function R(e){return e&&e.querySelectorAll?(e.querySelectorAll("[role='dialog'], [aria-modal='true'], dialog, [id*='cookie' i], [class*='cookie' i], [id*='consent' i], [class*='consent' i], [id*='privacy' i], [class*='privacy' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='gdpr' i], [class*='gdpr' i], [id*='ccpa' i], [class*='ccpa' i], [class*='CookieConsent' i], [id*='CookieConsent' i], [class*='CookieDeclaration' i], [id*='CookieDeclaration' i], [class*='cookiebar' i], [id*='cookiebar' i], [class*='cookie-banner' i], [id*='cookie-banner' i], [class*='cookie-notice' i], [id*='cookie-notice' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true'], .cc-banner, .cc-window, #CybotCookiebotDialog, .cky-consent-container, #usercentrics-root, .osano-cm-dialog").forEach(function(e){N(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){N(e)&&e.remove()}),e):e}function M(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function B(e){var r=t(e||"").toLowerCase();return!(!r||r.length>120)&&(/^(play|pause|resume|volume\s+\d+%|rewind\s+\d+\s+seconds|forward\s+\d+\s+seconds|skip\s+(?:back|forward)|chromecast|closed captions|captions|settings|fullscreen|full screen|mute|unmute|next up|up next|current time\s+\d|remaining time\s+|duration\s+|learn more)$/.test(r)||/^\d+:\d+$/.test(r))}function H(e){return/^(nearby entries|browse nearby words|cited by|related content|more like this|people also viewed|recommended articles?|translation|numerology|citation|word of the day|quiz|discover more|related posts|latest news|trending now|popular posts|most read|you might also like|you may also like|read more|related articles?|leave a reply|cancel reply|about the authors?|#\s*tags|comments?\s*\d*|also read|further reading|see also|more stories|don't miss|privacy preference center|your privacy settings|manage privacy preferences|manage consent preferences|informazioni sulla vostra privacy|gestisci preferenze consenso|elenco dei cookie|list of partners(?: \(vendors\))?|polecane|przeczytaj (też|również)|podobne (artykuły|wpisy)|leia (também|mais)|artigos? relacionados?|também pode gostar|ähnliche (beiträge|artikel)|das könnte sie auch interessieren|weiterlesen|mehr zum thema|artículos? relacionados?|también te puede interesar|te puede interesar|lee también|noticias relacionadas|articles? (connexes?|similaires?|associée?s?)|à lire aussi|sur le même (sujet|thème)|vous aimerez aussi)$/i.test(e||"")||/^more from /i.test(e||"")||/^popular in /i.test(e||"")||/^browse definitions\.net$/i.test(e||"")||/^(الأكثر قراءة|الأكثر مشاهدة|الأكثر تعليقاً|مقالات ذات صلة|اقرأ أيضاً|أخبار ذات صلة|مواضيع ذات صلة|موضوعات متعلقة|الأكثر تداولاً|قد يهمك|المزيد|تابع القراءة|הנקראים ביותר|כתבות קשורות|פופולרי|נצפה הכי הרבה|הכי נקראים|مزید پڑھیں|سب سے زیادہ پڑھی جانے والی|متعلقہ خبریں|بیشتر بخوانید|محبوب‌ترین|پربازدیدترین)$/i.test(e||"")||/^(en çok okunan|ilgili haberler|benzer haberler|popüler haberler|çok okunanlar|ilgili içerikler)$/i.test(e||"")||/^(บทความที่เกี่ยวข้อง|อ่านเพิ่มเติม|ข่าวที่เกี่ยวข้อง|ข่าวยอดนิยม|บทความยอดนิยม|อ่านต่อ|เนื้อหาที่เกี่ยวข้อง|แนะนำสำหรับคุณ|ข่าวล่าสุด)$/i.test(e||"")||/^(bài viết liên quan|tin liên quan|đọc thêm|xem thêm|tin tức liên quan|bài viết nổi bật|có thể bạn quan tâm|tin nổi bật|bài viết mới nhất|đọc nhiều nhất)$/i.test(e||"")||/^(σχετικά άρθρα|διαβάστε (επίσης|ακόμη|περισσότερα)|δημοφιλή άρθρα|περισσότερα νέα|τελευταία νέα|δείτε επίσης|μπορεί να σας ενδιαφέρει|σχετικά νέα|τα πιο δημοφιλή)$/i.test(e||"")||/^(схожі (статті|матеріали|новини)|читайте (також|ще)|також читайте|популярні (статті|новини)|останні новини|найпопулярніше|вас (також )?може зацікавити|рекомендуємо|дивіться також)$/i.test(e||"")||/^(baca juga|artikel terkait|berita terkait|berita populer|artikel populer|terpopuler|baca selengkapnya|lihat juga|rekomendasi|berita lainnya|pilihan editor)$/i.test(e||"")||/^(lees ook|gerelateerde (artikelen|berichten)|ook interessant|meer (lezen|artikelen|nieuws)|populair(st)?e? artikelen|aanbevolen|bekijk ook|misschien vind je dit ook leuk|dit vind je misschien ook interessant|meest gelezen)$/i.test(e||"")||/^(povezani (članci|tekstovi)|pročitajte (još|i|također)|slični (članci|tekstovi)|popularno|najčitanije|preporučujemo|pogledajte (još|i|takođe)|više vesti|повезани (чланци|текстови)|прочитајте (још|и|такође)|слични (чланци|текстови)|популарно|најчитаније|препоручујемо|погледајте (још|и|такође)|више вести)$/i.test(e||"")||/^(baca juga|artikel berkaitan|berita berkaitan|berita popular|artikel popular|terpopular|baca lagi|lihat juga|cadangan|berita lain|pilihan editor|paling dibaca|trending)$/i.test(e||"")||/^(leia (também|mais)|artigos? relacionados?|também pode gostar|mais (lidos?|populares?|notícias)|notícias relacionadas|veja (também|mais)|confira também|continue lendo|recomendado|sugestões?|últimas notícias)$/i.test(e||"")||/^(související (články|zprávy)|čtěte (také|dále|více)|mohlo by vás zajímat|doporučujeme|nejčtenější|nejnovější zprávy|další články|přečtěte si (také|též)|více článků)$/i.test(e||"")||/^(relaterade (artiklar|nyheter)|läs (också|mer|vidare|även)|mest lästa|populärast|senaste (nyheterna|artiklarna)|fler (artiklar|nyheter)|rekommenderat|du kanske också gillar)$/i.test(e||"")||/^(relaterede (artikler|nyheder)|læs (også|mere|videre)|mest læste|populært|seneste (nyheder|artikler)|flere (artikler|nyheder)|anbefalet|det kunne også interessere dig)$/i.test(e||"")||/^(kaugnay na (mga )?artikulo|basahin (din|rin)|mga kaugnay na balita|pinaka-?popular|pinakabagong balita|iba pang mga artikulo|maaari mo ring gustuhin)$/i.test(e||"")||/^(ተዛማጅ ዜናዎች|ተጨማሪ ያንብቡ|ተመልከቱ|ተጨማሪ ዜና|በጣም የተነበቡ|ቀጣይ ዜና)$/i.test(e||"")||/^(relaterte (artikler|saker|nyheter)|les (også|mer|videre)|mest lest[e]?|populær[te]?|siste nytt|flere (artikler|saker|nyheter)|anbefalt|aktive debatter|se flere meldinger|du vil kanskje også like)$/i.test(e||"")||/^(articles? relaciona(ts?|des?)|notícies relacionades|llegeix (també|més)|més (llegits?|populars?|notícies)|últimes notícies|també et pot interessar|contingut relacionat|mostra'n més|temes relacionats)$/i.test(e||"")||/^(დაკავშირებული (სტატიები|ამბები|სიახლეები)|წაიკითხეთ (ასევე|მეტი)|ყველაზე (წაკითხვადი|პოპულარული)|ბოლო ამბები|მეტი (სტატიები|ამბები)|რეკომენდებული|გაიგეთ მეტი)$/i.test(e||"")||/^(සම්බන්ධිත (පුවත්|ලිපි)|තවත් කියවන්න|වැඩි විස්තර|උණුසුම් පුවත්|නවතම පුවත්|ජනප්‍රිය (පුවත්|ලිපි)|වැඩි විස්තර කියවන්න)$/i.test(e||"")||/^(əlaqəli (xəbərlər|məqalələr)|daha çox oxu(?:yun)?|ən çox oxunan(?:lar)?|son xəbərlər|digər (xəbərlər|məqalələr)|tövsiyə olunan|oxşar xəbərlər)$/i.test(e||"")||/^(powiązane (artykuły|wpisy|tematy|wiadomości)|najczęściej czytane|najpopularniejsze|najnowsze (wiadomości|artykuły)|więcej (artykułów|wpisów|wiadomości)|może cię (też )?zainteresować|zobacz (też|również|także)|czytaj (też|również|także)|warto przeczytać|to też warto przeczytać|to może cię zainteresować|ostatnie (wpisy|artykuły)|popularne (wpisy|artykuły|tematy)|komentarze\s*\d*|dodaj komentarz|zostaw komentarz|napisz komentarz)$/i.test(e||"")}function F(e,t,r,n,o,i){return"function"==typeof e?e(t,r,n,o,i):e}var I=["[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]","[class*='piano-offer' i]"];function O(e,t,r){return le(e,t,r)}var D=["article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article[id^='post-'] [itemprop='articleBody']",".entry-content",".post-content","[itemprop='articleBody']"],U=["h1.entry-title",".entry-title","article h1","main h1","h1"],W=["[rel='author']",".author",".byline",".post-author","[class*='author' i]"],Z=[".sharedaddy",".share",".share-links",".share-buttons",".social-sharing",".social-buttons",".related-posts",".yarpp-related",".jp-relatedposts",".adsbygoogle","[class*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='advert' i]","[class*='sponsor' i]","[id*='ad-' i]","iframe","script","style"];function V(e,r){if((r=r||{}).hostPattern&&!se(r.hostPattern,location.hostname))return null;if(r.pathPattern&&!se(r.pathPattern,location.pathname||""))return null;if(r.homepagePath&&se(r.homepagePath,location.pathname||""))return null;"function"==typeof r.beforeExtract&&r.beforeExtract(e);var n=function(e){if("function"==typeof e.body)return e.body();var r=e.minVisibleBodyTextLength||0;if(!r)return ce({bodySelectors:e.bodySelectors||D});for(var n=e.bodySelectors||D,o=0;o<n.length;o+=1){var i=document.querySelector(n[o]);if(i&&t(i.textContent||"").length>=r)return i}return null}(r)||function(e){var r=e.restFallback;if(!r)return null;var n=function(e){if("function"==typeof e.postId)return e.postId(location);if(e.postId)return e.postId;var t=e.postIdPattern||/(?:^|\/)news_(\d+)\/?$/i,r=(location.pathname||"").match(t);return r&&r[1]}(r);if(!n)return null;var o=function(e,t){var r="function"==typeof e.path?e.path(t):e.path||"/wp-json/wp/v2/posts/"+t;try{var n=new XMLHttpRequest;return n.open("GET",r,!1),n.send(null),n.status<200||n.status>=300||!n.responseText?null:JSON.parse(n.responseText)}catch(e){return null}}(r,n),i=o&&o.content&&o.content.rendered;if(!i)return null;var a=document.createElement("div");return a.innerHTML=i,t(a.textContent||"").length<(r.minTextLength||e.minBodyTextLength||0)?null:a}(r);return n?O(e,n,{title:G(e,r),byline:K(e,r),publishedTime:r.publishedTime,minTextLength:r.minBodyTextLength||r.minTextLength||0,contentType:r.contentType||"article",extra:r.extra,rewriteRoot:function(e,t){pi(e,function(e){return Z.concat(e.removalSelectors||[])}(r).join(", ")),me(e,r.removalTextPatterns),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)}}):null}function G(e,r){return"function"==typeof r.title?r.title(e):void 0!==r.title?r.title:h(r.titleSelectors||U)||t(e&&e.title)}function K(e,t){return"function"==typeof t.byline?t.byline(e):void 0!==t.byline?t.byline:e&&e.byline||h(t.bylineSelectors||W)}function J(e){var r=function(e){if("function"==typeof e.scope)return e.scope();if(e.scope)return e.scope;for(var t=e.scopeSelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return document}(e=e||{});if(!r)return null;var n,o=document.createElement("article"),i=[];return Y(o,r,e.titleSelectors,i,!1),Y(o,r,e.leadSelectors,i,!1),Y(o,r,e.summarySelectors,i,!1),Y(o,r,e.captionSelectors||e.mediaCaptionSelectors,i,!1),n=Y(o,r,e.bodySelectors,i,!0),(!1===e.requireBody||n)&&t(o.textContent||"").length>=(e.minTextLength||0)?o:null}function X(e,t){var r=document.createElement("article");return e&&r.appendChild(T(e,document)),t&&r.appendChild(T(t,document)),r}function Y(e,t,r,n,o){if(!r)return!1;for(var i=Array.isArray(r)?r:[r],a=!1,l=0;l<i.length;l+=1){var s=Q(t,i[l]);if(s&&(ee(e,s,n)&&(a=!0),a&&!o))return!0}return a}function Q(e,t){return"function"==typeof t?t(e,document):t&&1===t.nodeType?t:t?e.querySelector&&e.querySelector(t)||document.querySelector(t):null}function ee(e,r,n){var o=t(r.textContent||"");return!(!o||n.indexOf(o)>=0)&&(n.push(o),e.appendChild(T(r,document)),!0)}function te(e,r){var n=function(e){if("function"==typeof e.selectedEntry)return e.selectedEntry(e);if(e.selectedEntry)return e.selectedEntry;var t="function"==typeof e.entryIdFromUrl?e.entryIdFromUrl(location):e.entryIdFromUrl;if(t){var r=document.getElementById(String(t));if(!r&&e.entryIdPrefix&&(r=document.getElementById(e.entryIdPrefix+t)),r||"function"!=typeof e.entryForId||(r=e.entryForId(t)),r)return r}if(!e.entrySelector)return null;var n=Array.prototype.slice.call(document.querySelectorAll(e.entrySelector));if(!n.length)return null;if("function"==typeof e.entryMatcher){var o=n.find(function(t){return e.entryMatcher(t,e)});if(o)return o}return n[0]}(r=r||{});if(!n)return null;"function"==typeof r.beforeBuild&&r.beforeBuild(e,n);var o=function(e,r){if("function"==typeof r.rootBuilder)return r.rootBuilder(e,r);if(!r.bodySelector)return e;var n=document.createElement("article");return function(e,t,r){(Array.isArray(r)?r:[r]).forEach(function(r){if(r){var n=t.matches&&t.matches(r)?t:t.querySelector(r);n&&e.appendChild(T(n,document))}})}(n,e,r.bodySelector),t(n.textContent||"")?n:null}(n,r);if(!o)return null;var i={};return Object.keys(r).forEach(function(e){i[e]=r[e]}),i.cloneRoot=!1,i.title=void 0!==r.title?re(r.title,e,o,n):ne(n,r.titleSelector),i.byline=void 0!==r.byline?re(r.byline,e,o,n):ne(n,r.bylineSelector),i.publishedTime=void 0!==r.publishedTime?re(r.publishedTime,e,o,n):function(e,r){if(!r)return;var n=e.querySelector(r);return n?n.getAttribute("datetime")||t(n.textContent||""):void 0}(n,r.timeSelector),i.rewriteRoot=function(e,t){r.cleanupSelectors&&pi(e,Array.isArray(r.cleanupSelectors)?r.cleanupSelectors.join(", "):r.cleanupSelectors),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,t)},i.extra=function(e,t,n,o,i){var a=F(r.extra,e,t,n,o,i)||{};return a.isolatedLiveblogEntry=!0,a},O(e,o,i)}function re(e,t,r,n){return"function"==typeof e?e(t,r,n):e}function ne(e,r){if(r)for(var n=Array.isArray(r)?r:[r],o=0;o<n.length;o+=1){var i=n[o],a=e.querySelector(i.selector||i),l=i.attr?a&&a.getAttribute(i.attr):a&&a.textContent;if(l=t(l))return l}}function oe(e,r,n){n=n||{};var o=e||document.body;if(!o)return e;var i=o.cloneNode(!0);ie(i,n.removalSelectors),ae(i,n.textRemovalPattern,n.textRemovalMaxLength);var a=t(i.textContent||"");if(n.bodyRejectPattern&&n.bodyRejectPattern.test(a))return e;if(n.hardPaywallPattern&&n.hardPaywallPattern.test(a))return e;if(n.pageHardPaywallPattern){var l=t(document.body&&(document.body.innerText||document.body.textContent)||"");if(n.pageHardPaywallPattern.test(l))return e}var s=n.paragraphSelectors||"p",c=n.paragraphMinLength||70,u=Array.prototype.filter.call(i.querySelectorAll(s),function(e){return t(e.textContent||"").length>=c}).length;return a.length<(n.minBodyTextLength||1200)||u<(void 0===n.minParagraphCount?3:n.minParagraphCount)||(ie(o,n.removalSelectors),ae(o,n.textRemovalPattern,n.textRemovalMaxLength),ie(document,n.signalRemovalSelectors||n.removalSelectors),ae(document,n.textRemovalPattern,n.textRemovalMaxLength),function(e){var t=e.stripAttributeSelectors;if(!t)return;document.querySelectorAll(t).forEach(function(t){if(e.stripIdPattern&&e.stripIdPattern.test(t.getAttribute("id")||"")&&t.removeAttribute("id"),e.stripClassPattern){var r=(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return t&&!e.stripClassPattern.test(t)});r.length?t.setAttribute("class",r.join(" ")):t.removeAttribute("class")}})}(n),function(e,t){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=e.textContent||"";"remove"!==t.structuredDataMode?/isAccessibleForFree/i.test(r)&&(e.textContent=r.replace(/("isAccessibleForFree"\s*:\s*)"?(?:false|False)"?/g,"$1true")):(t.structuredDataRemovalPattern||/isAccessibleForFree/i).test(r)&&e.remove()}),document.querySelectorAll("meta[property='article:content_tier'], meta[name='article:content_tier']").forEach(function(e){/^(locked|metered|premium)$/i.test(e.getAttribute("content")||"")&&e.remove()}),e&&(e.isAccessibleForFree=!0,e.contentTier&&(e.contentTier=null))}(r,n)),e}function ie(e,t){e&&t&&pi(e,Array.isArray(t)?t.join(", "):t)}function ae(e,r,n){e&&r&&(n=n||280,e.querySelectorAll("p, div, span, section, aside, figcaption").forEach(function(e){var o=t(e.textContent||"");!o||o.length>n||r.test(o)&&e.remove()}))}function le(e,r,n){if(!r)return null;var o=!1===(n=n||{}).cloneRoot?r:E(r);if(!o)return null;"function"==typeof n.rewriteRoot&&n.rewriteRoot(o,r),!1!==n.cleanupRoot&&hi(o);var i=Uo(o.innerHTML);!1!==n.cleanupMarkdown&&(i=Ei(i)),"function"==typeof n.postProcessMarkdown&&(i=n.postProcessMarkdown(i,o,r));var a=t(i);if(!a||a.length<(n.minTextLength||0))return null;if("function"==typeof n.validateMarkdown&&!n.validateMarkdown(i,a,o,r))return null;var l=function(e,r,n,o){if("function"==typeof o.title)return t(o.title(e,r,n));if(o.title)return t(o.title);if(o.titleSelectors){var i=h(o.titleSelectors);if(i)return i}return t(e&&e.title)}(e,o,r,n);l&&!1!==n.prependTitle&&!Pe(i,l)&&(i="# "+l+"\n\n"+i);var s=t(i),c=F(n.excerpt,e,o,r,i,a);void 0===c&&!1!==n.defaultExcerpt&&(c=a.slice(0,280)||e&&e.excerpt);var u=F(n.byline,e,o,r,i,a);void 0===u&&(u=e&&e.byline);var d={title:l||e&&e.title,byline:u,excerpt:c,siteName:F(n.siteName,e,o,r,i,a)||e&&e.siteName||location.hostname,publishedTime:null===n.publishedTime?null:F(n.publishedTime,e,o,r,i,a)||e&&e.publishedTime,html:o.innerHTML,markdown:i,textContent:s,readerMode:!1,contentType:n.contentType||"article",hostAware:!1!==n.hostAware};if(n.extra){var m=F(n.extra,e,o,r,i,a)||{};Object.keys(m).forEach(function(e){d[e]=m[e]})}return d}function se(e,t){return!e||(t=t||"",e instanceof RegExp?e.test(t):"string"==typeof e&&(t===e||t.slice(-(e.length+1))==="."+e))}function ce(e){if("function"==typeof e.body)return e.body();for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}return null}function ue(e,r){return"function"==typeof e.title?e.title(r):void 0!==e.title?e.title:e.titleSelectors?h(e.titleSelectors)||t(r&&r.title):void 0}function de(e,t){return"function"==typeof e.byline?e.byline(t):void 0!==e.byline?e.byline:e.bylineSelectors?h(e.bylineSelectors)||t&&t.byline:void 0}function me(e,r){(r||[]).forEach(function(r){e.querySelectorAll("p, div, span, section, a, button, h2, h3, h4, li").forEach(function(e){var n=t(e.textContent||"");n&&(r instanceof RegExp&&r.test(n)&&e.remove(),"string"==typeof r&&n===r&&e.remove())})})}function pe(e){return e=e||{},function(t){if(!se(e.hostPattern,location.hostname))return null;if(e.pathPattern&&!se(e.pathPattern,location.pathname||""))return null;if(e.homepagePath&&se(e.homepagePath,location.pathname||""))return null;"function"==typeof e.beforeExtract&&e.beforeExtract(t);var r=ce(e);return r?O(t,r,{title:ue(e,t),titleSelectors:e.titleSelectors,byline:de(e,t),publishedTime:e.publishedTime,minTextLength:e.minBodyTextLength||0,contentType:e.contentType||"article",extra:e.extra,rewriteRoot:function(t,r){pi(t,(e.removalSelectors||[]).join(", ")),me(t,e.removalTextPatterns),"function"==typeof e.rewriteRoot&&e.rewriteRoot(t,r)}}):null}}function he(e){e=e||{},registerHostAwareProfile(void 0===e.condition||e.condition,pe(e))}function fe(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function ge(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function ye(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<4||r.length>30)return!1;var n=r.filter(function(e){return ge(e.getAttribute("href"))}).length,o=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&o.length<900}function be(e){return t((e||"").replace(/[\u200B\u200C\u200D\uFEFF]/g,"").replace(/\s*(?:Copy\s*(?:for\s+LLMs?|page(?:\s+as\s+Markdown)?(?:\s+for\s+LLMs?)?)|View\s+as\s+Markdown|Open\s+(?:this\s+page\s+as\s+Markdown|in\s+(?:ChatGPT|Claude|Cursor))|Get\s+insights\s+from\s+(?:ChatGPT|Claude)|Connect\s+to\s+Cursor|Ask\s+AI|Download\s+OpenAPI\s+spec(?:ification)?)\s*/gi,"")).replace(/\s+copy item path$/i,"").replace(/[¶#\uF0C1\uF0C6\uF08E\uF14C]+$/,"").replace(/\s*Copy$/i,"")}function ve(e,r){return r=r||{},fe(e,"a, button, span, div, p, li",/^(copy page|copy for llm|copy page as markdown|copy page as markdown for llms?|view as markdown|open this page as markdown|open in (?:chatgpt|claude|cursor)|get insights from (?:chatgpt|claude)|connect to cursor|download openapi spec(?:ification)?|ask about this section|ask ai|copy link|copy permalink|send feedback|edit this page|report feedback|pdf|rss|focus mode|skip to main content|skip to content|copy item path|view source|view on github|report a problem with this content|open menu|open sidebar|search|settings|help|search or ask copilot|expand description|show more|show less|expand|collapse|javascripttypescript|typescriptjavascript)$/i),fe(e,"h2, h3, h4, h5, p, div, span, li",/^(on this page|in this article|table of contents|last updated.*|api preferences|select language:.*|breadcrumbs?)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);r&&(/^feedback\b/i.test(r)&&r.length<500&&e.querySelectorAll("a, button").length>=1||/^(was this page helpful|is this page helpful)\??$/i.test(r.split("\n")[0])&&r.length<300)&&e.remove()}),fe(e,"p, div, span",/^last modified\s/i),e.querySelectorAll("section, div, aside, form").forEach(function(e){var r=t(e.textContent);if(r){var n=e.querySelector("h2, h3, h4");n&&/^(subscribe|newsletter|stay up[- ]to[- ]date|get (?:the )?latest|sign up for (?:our )?(?:newsletter|updates)|mailing list)$/i.test(t(n.textContent))&&r.length<800&&e.remove()}}),fe(e,"p, div, span, a",/^(privacy\s*policy|terms\s+(?:of\s+(?:service|use)|and\s+conditions)|powered by [a-z]+)$/i),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){var t=be(e.textContent);t&&(e.textContent=t)}),e.querySelectorAll("nav, [aria-label*='breadcrumb' i], ol[aria-label*='breadcrumb' i]").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent),n=t(e.getAttribute("title"));e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8||ge(e.getAttribute("href"))&&(!r||r.length<40||/link for this heading/i.test(n)||/^skip to (?:main )?content$/i.test(r))&&e.remove()}),e.querySelectorAll("section, div, ul, ol").forEach(function(e){var r=t(e.textContent);r&&(/^on this page\b/i.test(r)&&r.length<1200||ye(e)||function(e){if(e.closest&&e.closest(".landing-card, .card--fullwidth"))return!1;var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));if(r.length<2||r.length>8)return!1;var n=t(e.textContent);return!(!n||n.length>220)&&!e.querySelector("p, strong, b, h1, h2, h3, h4, h5, h6")&&r.every(function(e){return t(e.textContent).length>0&&t(e.textContent).length<40})}(e))&&e.remove()}),r.removeTryIt&&(e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent),n=e.querySelector("h2, h3, h4");(n&&/^try it$/i.test(t(n.textContent))||/^try it\b/i.test(r)&&r.length<600)&&e.remove()}),fe(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&fe(e,"h1, h2, h3, p, div, span",/^(select your cookie preferences|customize cookie preferences|unable to save cookie preferences)$/i),r.removeMarketingTips&&e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/\b(tip|note)\b/i.test(r)&&/(workshop|builder center|sign up|training|studio)/i.test(r)&&r.length<600&&e.remove()}),e}function we(e,r){for(var n=0;n<r.length;n+=1)for(var o=e.querySelectorAll(r[n]),i=0;i<o.length;i+=1){var a=t(o[i].textContent);if(a)return a}return null}function xe(e,t,r){return Array.prototype.slice.call(e.querySelectorAll(t)).filter(function(t){for(var n=t.parentElement;n&&n!==e;){if(n.matches&&n.matches(r))return!1;n=n.parentElement}return!0})}function Se(e,r,n){for(var o=0;o<r.length;o+=1)for(var i=xe(e,r[o],n),a=0;a<i.length;a+=1){var l=t(i[a].textContent);if(l)return l}return""}function ke(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function Ae(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function qe(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),be(e||"")||null):null}function Ce(e,t,r,n){var o=h(t||[]);return o||"function"!=typeof r||(o=r(e)),o||"string"!=typeof r||(o=r),qe(o,n,e)}function _e(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return be(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function Te(e,t,r){return je(e,ke(t),r)}function Ee(e,t,r){if(!(t=t||Xr(e))||t.system!==r.system)return null;var n=r.headingFormatter||function(e){return be(e)},o=r.titleFormatter||r.headingFormatter,i={rewriteRoot:function(e){r.removeSelectors&&e.querySelectorAll(r.removeSelectors).forEach(function(e){e.remove()}),r.removeTextPattern&&fe(e,r.removeTextSelector||"a, button, div, p, span, li",r.removeTextPattern),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e,a),!1!==r.headingFormatter&&_e(e,r.headingSelector,n)}},a=null;return!1===r.preferFragmentTitle?(a=Ce(e,r.titleSelectors,r.fallbackTitle,o),i.title=a):(i.titleSelectors=r.titleSelectors,i.fallbackTitle=r.fallbackTitle,i.titleFormatter=o),Te(e,r.rootSelectors,i)}function je(e,t,r){if(r=r||{},!t)return null;var n={};if(Object.keys(r).forEach(function(e){"titleSelectors"!==e&&"fallbackTitle"!==e&&"preferFragmentTitle"!==e&&"titleFormatter"!==e&&(n[e]=r[e])}),!n.title&&(r.titleSelectors||r.fallbackTitle)){var o=!1===r.preferFragmentTitle?null:$e(t);o=qe(o,r.titleFormatter,e)||Ce(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=o}return ze(e,t,n)}function Le(e){var t=r((location.hash||"").replace(/^#/,"")).trim();if(!t)return null;var n=document.getElementById(t)||function(e){if(!e)return null;for(var t=document.querySelectorAll("a[name]"),r=0;r<t.length;r+=1)if((t[r].getAttribute("name")||"")===e)return t[r];return null}(t);return n&&(e===n||e.contains(n))?n:null}function $e(e){var t=Le(e);if(!t)return null;var r=t.matches&&t.matches("h1, h2, h3, h4, h5, h6")?t:t.querySelector("h1, h2, h3, h4, h5, h6");return!r&&t.matches&&t.matches("a[name]")&&(r=t.nextElementSibling),be((r||t).textContent)||null}function Pe(e,r){if(!(r=t(r).replace(/[`*_]/g,"")))return!1;var n=t(r).toLowerCase();return(e||"").split("\n").slice(0,8).map(function(e){return t(e).replace(/^#+\s*/,"").replace(/^\[([^\]]+)\]\([^)]*\)$/,"$1").replace(/[`*_]/g,"")}).filter(Boolean).some(function(e){var r=t(e).toLowerCase();return r===n||0===r.indexOf(n)})}function ze(e,r,n){if(!r)return null;var o,i=!1===(n=n||{}).focusFragment?r:function(e){var r=Le(e);if(!r)return e;for(var n=r;n&&n!==e;){var o=t(n.textContent);if(/^(section|article|div|li|dt|dd|main)$/i.test(n.tagName||"")&&o.length>=20)return n;n=n.parentElement}return r}(r),a=E(i);if(hi(a),ve(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{o=Uo(a.innerHTML).trim()}catch(e){o=""}"function"==typeof n.postProcessMarkdown&&(o=n.postProcessMarkdown(o,a));var l=be(n.title||$e(r)||we(a,["h1","header h1","h2"])||"")||null,s=n.description||we(a,["p"]);return o?(l&&!Pe(o,l)&&(o="# "+l+"\n\n"+o),{title:l||e.title,byline:e.byline,excerpt:s||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:a.innerHTML,markdown:o,textContent:t(o),docsLike:!0,hostAware:!1!==n.hostAware,readerMode:!1,contentType:n.contentType||"article"}):l||s?v({title:l||e.title,description:s||e.excerpt,siteName:e.siteName||location.hostname,docsLike:!0,hostAware:!1!==n.hostAware}):null}function Ne(e){return t(e||"").replace(/([a-z0-9])((?:Default:|Can be one of:|For more information:|Example:|Required))/g,"$1 $2").replace(/([a-z])([A-Z][a-z])/g,"$1 $2")}var Re=/(?:constitution|constitutional|constitui[cç]?[aã]o|c[oó]digo|codigo|code|statute|act|law|regulation|ordinance|decree|treaty|convention)/i,Me=/\b(?:civil|criminal|commercial|tax|labou?r|procedure|family|public|administrative)?\s*(?:code|statute|act|law|regulation|ordinance)\b/i,Be=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:\d+[ºª]?|[IVXLCDM]+)/gi,He=/\b(?:title|chapter|part|book|t[ií]tulo|cap[ií]tulo|se[cç][aã]o)\s+(?:[IVXLCDM]+|\d+)/gi,Fe=/(?:federal republic|rep[úu]blica federativa|republica federativa|civil rights|fundamental rights|legal provisions?|official gazette|promulgat|enacted|amended|paragraph|par[áa]grafo|paragrafo|inciso|subsection)/i,Ie=/\b(?:legal provisions?|federal law gazette|official gazette|version information|translation includes? the amendment|current status of the .* version|conditions governing use of this translation)\b/i,Oe=/\b(?:version information|translation provided by|translations? may not be updated|full citation|federal law gazette|table of contents)\b/i,De=/\b(?:translation provided by|translated by|translation includes?|translations? may not be updated|updated by|revised and updated by)\b/i,Ue=/(?:^|\s)(?:§|Section|Sec\.?|Article)\s*\d+/i,We=/(?:^|\s)(?:Art\.?|Article|Section|Sec\.?|§)\s*(?:1|I)\b/i;function Ze(e){var n=(e=e||{}).root||null,o=t(e.text||n&&n.textContent||""),i=t(e.title||document.title||""),a=t([i,r(e.path||location&&location.pathname||"").toLowerCase()].join(" ")).toLowerCase(),l=t([a,o.slice(0,e.contextLimit||4e3)].join(" ")).toLowerCase();return{text:o,titleContext:a,context:l,legalTitle:Re.test(l),officialStatuteTitle:Me.test(a),officialTextSignals:Ie.test(l),profileOfficialTextSignals:Oe.test(o),translationAttribution:De.test(l),provisionMarkers:(o.match(Be)||[]).length,structuralMarkers:(o.match(He)||[]).length,legalTerms:Fe.test(o),numberedClauses:(o.match(/(?:^|\s)\(\d+\)|(?:^|\s)\([a-z]\)/gi)||[]).length,sectionOrArticleMarker:Ue.test(o),bodyStartMatch:o.match(We)}}function Ve(e){if(!e||N(e))return-1/0;if(e.matches("[id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"))return-1/0;var r=e.querySelector("#ot-pc-title, #ot-pc-desc, [id^='ot-pc-' i], [class*='ot-pc' i], [class*='ot-accordion' i], [id*='onetrust' i], [class*='onetrust' i], [id^='ot-' i], [class*='ot-' i], [id*='privacy' i], [class*='privacy' i], [id*='cookie' i], [class*='cookie' i], [class*='privacy-center' i], [id*='privacy-center' i], [data-nosnippet='true']"),o=t(r&&r.textContent||e.textContent||"").slice(0,500);if(r&&(P(o)||H(o)))return-1/0;var i=t(e.textContent||""),a=/[\u0370-\u03FF\u0400-\u04FF\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(i),l=i.length;if("undefined"!=typeof window&&window.getComputedStyle)try{var s=window.getComputedStyle(e);if(s&&("none"===s.display||"hidden"===s.visibility))return-1/0}catch(e){}var c=e.querySelectorAll("p").length,u=e.querySelectorAll("h1, h2, h3").length,d=e.querySelectorAll("p, li, blockquote, figure, table").length;if(l<(a&&(c>=2||u>=1||d>=3)?180:280))return-1/0;var m=Array.prototype.reduce.call(e.querySelectorAll("a"),function(e,t){return e+n(t)},0),p=l>0?m/l:0,h=e.querySelectorAll("nav, aside, footer, [role='navigation'], [role='complementary'], [class*='comment' i], [id*='comment' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='share' i], [id*='share' i]").length,f=((e.className||"")+" "+(e.id||"")).toLowerCase(),g=0,y=l>=500&&(c>=2||u>=4||d>=4),b=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title),v=l/Math.max(m,1),w=Math.min(300,Math.round(v/4)),x=h>d?Math.min(900,90*(h-d)):0,S=Math.round(p*(d>=4?240:400));return/(article|content|entry|main|post|story|body|definition|meaning|sense|glossary|lexicon|pronunciation|answer|articulo|artículo|noticia|conteudo|conteúdo|contenido|corpo|texto|berita|haber|nyheter|nieuws|aktualnosci|aktualności)/.test(f)&&(g+=180),a&&(c>=2||u>=1)&&(g+=140),/(comment|footer|nav|share|promo|related|sidebar|browse|translation|numerology|citation|quiz|cookie|privacy|subscription)/.test(f)&&(g-=220),!y&&Ye(e,i,p)&&(g-=4200),!y&&function(e,t){return!!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t)&&((!e.matches||!e.matches("article, [itemprop='articleBody']"))&&Array.prototype.some.call(e.querySelectorAll("article, [itemprop='articleBody'], [class*='article' i], [class*='content' i], [class*='post' i]"),function(t){return!(t===e||t.querySelectorAll("a[href]").length>=4)&&(n(t)>=1200&&t.querySelectorAll("p").length>=5)}))}(e,i)&&(g-=9e3),!b&&l<1800&&Je(i)||l<1800&&z(i)&&(c<4||u<3)||l<2200&&/(discover more|newspapers|tourist destinations|travel guides?|travelogues)/i.test(i)&&(c<5||u<4)?-1/0:l+70*c+30*u+g+w-S-x}function Ge(e){return e&&e.querySelectorAll?(pi(e,"#comments, #respond, .comments-area, .comment-list, .comments-section, .post-comments, .disqus-comment-count, [class*='comment-respond'], [class*='comentario' i], [class*='comentarios' i], [class*='commentaire' i], [class*='komentar' i], [class*='komentarze' i], [class*='yorum' i], .sharedaddy, .share, .share-links, .share-buttons, .social-sharing, .social-buttons, [class*='share' i], [id*='share' i], [class*='compartir' i], [class*='partager' i], [class*='teilen' i], [class*='paylas' i], [class*='paylaş' i], [class*='related' i], [id*='related' i], [class*='recommend' i], [id*='recommend' i], [class*='relacionad' i], [class*='relacionados' i], [class*='recomendad' i], [class*='recomendados' i], [class*='similares' i], [class*='newsletter' i], [id*='newsletter' i], [class*='subscribe' i], [id*='subscribe' i], [class*='advert' i], [id*='advert' i], [class*='promo' i], [id*='promo' i], [class*='adslot' i], [id*='adslot' i], [data-ad], [data-ads]"),vi(e),bi(e),e):e}function Ke(){var e=function(){var e=function(){var e=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!e)return null;var r=t(e.textContent||""),n=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),o=Ze({text:r,title:document.title||""}),i=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(document.title||"")||o.sectionOrArticleMarker;return r.length<250||!n||!i||o.numberedClauses<2?null:e}(),r=document.querySelector("#viewLegSnippet, .viewLegSnippet, .LegislationSection, .legislation-section, [class*='LegislationSection' i], #viewLegContents, .viewLegContents")||e;if(!r)return null;var n=t(document.body&&document.body.textContent||""),o=t(r.textContent||""),i=Ze({root:r,text:o}),a=document.querySelector("#changesOverTime, #legNav, #breadCrumb, .legContent, [id*='legislation' i], [class*='legislation' i]"),l=/\b(what version|changes to legislation|timeline of changes|plain view|print options|opening options)\b/i.test(n);if(o.length<250)return null;if(!e&&!a&&!l)return null;if(i.numberedClauses<2&&!/\b(section|article|regulation|schedule)\s+\d+\b/i.test(o))return null;var s=E(r),c=document.querySelector("#pageTitle, h1")||null,u=s.querySelector("h1, h2, h3")||null,d=t(s.textContent||"");return{title:t(c&&c.textContent||document.title),byline:null,excerpt:d.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:(u?"":c?c.outerHTML:"")+s.innerHTML,textContent:d,readerMode:!1,contentType:"article",legalProvision:!0}}();if(e)return e;var r=[];["main[role='main']","article[role='main']","[itemprop='articleBody']",".article__body",".post-content",".entry-content","[class*='article-content']","[class*='amp-article-content' i]","[class*='amp-article-body' i]","[class*='mobile-article' i]","[class*='mobile-content' i]","[class*='rtl-article' i]","[class*='article-content' i]","[class*='article-body' i]","[class*='article-main' i]","[class*='article__body' i]","[class*='article__content' i]","[class*='articletext' i]","[class*='article-text' i]","[class*='article_text' i]","[class*='content-body' i]","[class*='content__body' i]","[class*='main-article' i]","[class*='post-content' i]","[class*='post-description' i]","[class*='entry-content' i]","[class*='story-content' i]","[class*='news-content' i]","[class*='amp-wp-article-content' i]","[class*='article-body-mobile' i]","[class*='mobile-article-body' i]","[class*='contenido-noticia' i]","[class*='conteudo-noticia' i]","[class*='corpo-noticia' i]","[class*='texto-noticia' i]","[class*='isi-berita' i]","[class*='berita-content' i]","[class*='haber-metni' i]","[class*='wysiwyg' i]","[class*='rich-text' i]","[data-testid*='article-body' i]","[data-testid*='article-content' i]","[data-component*='article-body' i]","[data-component*='article-content' i]","[data-module*='article-body' i]","[data-module*='article-content' i]","[data-qa*='article-body' i]","[data-qa*='article-content' i]","main","article",".article-content",".t-content",".t-content--article",".main-content",".post-content",".entry-content",".story-body",".news-content",".article-body","[data-article-body]",".content-body",".article__body",".article",".post",".entry",".content",".main","section","div"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){r.push(e)})});var n=r.reduce(function(e,t){var r=E(t);Ge(r);var n=Ve(r);return!e||n>e.score?{node:t,score:n}:e},null),o=E(n&&n.score>-1/0?n.node:document.body);Ge(o);var i=t(o.textContent);return{title:document.title,byline:null,excerpt:i.slice(0,280)||null,siteName:location.hostname,publishedTime:null,html:o.innerHTML,textContent:i,readerMode:!1,contentType:"article"}}function Je(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]|weather forecast|forecast for the next|forecast for)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=4)}function Xe(e,r){if(!e)return r;if(!r||!e.readerMode)return e;var o=!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"),i=t(e.markdown||e.textContent||"");if(o&&i.length>=800)return e;var a=t(r.markdown||r.textContent||""),l=document.createElement("div"),s=document.createElement("div");l.innerHTML=e.html||"",s.innerHTML=r.html||"";var c=l.querySelectorAll("p, li").length,u=s.querySelectorAll("p, li").length,d=Array.prototype.reduce.call(s.querySelectorAll("a[href]"),function(e,t){return e+n(t)},0),m=a.length>0?d/a.length:0,p=/\b(oglas|advertisement|sponsored|ad)\b/i.test(i.slice(0,160)),h=z(i),f=Je(i),g=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return a?r.legalProvision||i.length<4e3&&a.length>=Math.max(1800,3*i.length)&&u>=Math.max(8,c+5)&&m<.28?r:Rt(e)?e:f&&!g&&a.length>=Math.max(900,2*i.length)||function(e){if(!e||"article"!==e.contentType)return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),i=n.length>0?o/n.length:0;return Ye(r,n,i)}(e)&&Rt(r)&&a.length>=1200&&m<.25||h&&a.length>=Math.max(1e3,2*i.length)||Rt(r)&&(i.length<240||p)&&a.length>=Math.max(600,3*i.length)?r:e:e}function Ye(e,t,r){var n=((e.className||"")+" "+(e.id||"")).toLowerCase();return!(!/(sidebar|rail|aside|promo|cta|recent|popular|related)/.test(n)&&!/\b(recent posts?|popular posts?|latest posts?|related posts?|get started for free|start (?:your )?free trial|try .* for free)\b/i.test(t))&&(!(e.querySelectorAll("p").length>=8&&r<.18&&!/(sidebar|rail|aside)/.test(n))&&(r>=.18||e.querySelectorAll("a[href]").length>=4))}function Qe(){if("function"!=typeof Readability)return null;try{var e=function(){try{return document.cloneNode(!0)}catch(e){}var e=document.implementation.createHTMLDocument(document.title||"");for(document.documentElement&&document.documentElement.getAttribute("lang")&&e.documentElement.setAttribute("lang",document.documentElement.getAttribute("lang"));e.head.firstChild;)e.head.removeChild(e.head.firstChild);if(Array.prototype.forEach.call(document.head&&document.head.childNodes||[],function(t){var r=_(t,e);r&&e.head.appendChild(r)}),document.body){var t=_(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();R(e),!!document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output, .mw-parser-output")||hi(e),Ge(e);var t=new Readability(e).parse();return t&&t.content?{title:t.title||document.title,byline:t.byline||null,excerpt:t.excerpt||null,siteName:t.siteName||location.hostname,publishedTime:t.publishedTime||null,html:t.content,textContent:t.textContent||"",readerMode:!0,contentType:"article"}:null}catch(e){return null}}function et(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),a=j().slice(0,2e3).toLowerCase(),l=!!w("q"),s=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,i("og:type","property")].join(" ")).toLowerCase(),n=0;return/\b(dictionary|glossary|lexicon|thesaurus|encyclopedia|database)\b/.test(r)&&(n+=3),/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(r)&&(n+=2),/\b(website|article)\b/.test(r)&&/\b(dictionary|glossary|definition|definitions|database)\b/.test(r)&&(n+=1),c().some(function(e){var t=u(e).join(" ").toLowerCase();return!(!/definedterm|dictionary|glossary|creativework|article/.test(t)||!/\b(definition|term|description|citation)\b/.test(r+" "+t)||(n+=2,0))}),n}(e);return/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(r)||/\/(dictionary|definition|definitions|pronunciation)\//.test(o)||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(a)||l&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(r+" "+n)||s>=4&&/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(a)}function tt(e){return t(e||"").replace(/\s*see (?:the )?full definition\b.*$/i,"").replace(/\s*opens in new tab\.?$/i,"").replace(/\s*[|:-]\s*(?:merriam-webster|definitions?\.net|dictionary(?:\.com)?|diki)\b.*$/i,"").trim()}function rt(e){var r=tt(e&&e.excerpt||"");return!r||r.length<16?null:v({title:h(["main h1","article h1","h1"])||t(e&&e.title||document.title)||e&&e.title||document.title,description:r,siteName:e&&e.siteName||location.hostname})}function nt(e){return t(e||"").toLowerCase().replace(/^[\s#>*-]*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s*/i,"").replace(/^definition\s*[:.-]\s*/i,"").replace(/^[^:]{1,40}:\s+/,"").replace(/\b(?:source|references?|citation|cite this entry)\b.*$/i,"").replace(/[^a-z0-9]+/g," ").trim().slice(0,240)}function ot(e,r){var n=tt(r&&r.excerpt||"").toLowerCase(),o=t(e||"").toLowerCase();return!o||(!!function(e){return(t(e||"").match(/browse nearby words|cite this entry|more from merriam-webster|popular in grammar|popular in wordplay|top lookups|numerology|citation/gi)||[]).length>=2}(o)||!(!n||n.length<18)&&(-1===o.indexOf(n)&&o.length<Math.max(260,3*n.length)))}function it(e){if(!e||1!==e.nodeType)return!1;var r=t((e.querySelector("h2, h3, h4, strong")||{}).textContent||""),n=t(e.textContent||""),o=t([e.id||"",e.className||""].join(" ")).toLowerCase();return!!M(n)||(!!H(r)||(!!/^(love words\? need even more definitions|top lookups|add to chrome|add to firefox)$/i.test(n)||(!!/^discuss these .+ definitions with the community/i.test(n)||(!!/subscribe for ad-free|word of the day|browse definitions\.net|popular in grammar|popular in wordplay/i.test(n)||!!(/(cookie|privacy|consent)/.test(o)&&n.length<2400)))))}function at(e){if(!et(e))return null;var o=function(e){var n=h(["main h1","article h1","h1"])||t(e&&e.title||document.title),o=h([".headword","strong.headword",".hword","main h1","article h1","h1"])||r((location.pathname||"").split("/").filter(Boolean).pop()||""),i=[];function a(e){if(!(e=t(e||"")))return null;if(e.length<=320)return e;for(var r=e.match(/[^.!?]+[.!?]+/g)||[],n="",o=0;o<r.length;o+=1){var i=t((n?n+" ":"")+r[o]);if(i.length>220)break;if((n=i).length>=90)break}return n||e.slice(0,217)+"..."}function l(e,t){if(!(!(t=a(t))||t.length<12||H(t)||/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups|examples? of .* in a sentence/i.test(t))){var r=nt(t);!r||r.length<10?-1===e.indexOf(t)&&e.push(t):-1===e.map(nt).indexOf(r)&&e.push(t)}}function s(e){var r=E(e);return r.querySelectorAll(".wikt-quote-container, .HQToggle, .nyms-toggle, .citation-whole, .use-with-mention, ul, dl, table, figure").forEach(function(e){e.remove()}),hi(r),t(r.textContent||"").replace(/^[:;]\s*/,"")}document.querySelectorAll("p.desc").forEach(function(e){var r=a(e.textContent||"");if(!(!r||r.length<12||H(r))){var n=e.parentElement&&e.parentElement.querySelector("p.term"),o=t(n&&n.textContent);o&&-1===r.toLowerCase().indexOf(o.toLowerCase())&&(r=o+": "+r),-1===i.map(nt).indexOf(nt(r))&&i.push(r)}});var c=y([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"],4).filter(function(e){return e&&e.length<=40&&!H(e)}),u=y([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"],8).filter(function(e){return e&&e.length<=120&&!M(e)&&!H(e)&&!/how to pronounce|how to say|listen to the pronunciation/i.test(e)}),d=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".headword-line, p:has(.headword), p:has(strong.headword)")).some(function(t){for(var r=t.parentElement;r&&r.nextElementSibling&&(r=r.nextElementSibling,!/^(h2|h3|h4)$/i.test(r.tagName||""));)if("ol"===(r.tagName||"").toLowerCase())return Array.prototype.slice.call(r.children).forEach(function(t){"li"===(t.tagName||"").toLowerCase()&&l(e,s(t))}),e.length>=2;return!1}),e}().concat(function(){var e=[];return document.querySelectorAll("#dictionary-entry-1 .dtText, .entry-word-section-container .dtText, .sense .dtText").forEach(function(r){l(e,t(r.textContent||"").replace(/^[:;]\s*/,""))}),e}()).concat(i).concat(y(["p.desc",".dtText",".sense .dtText",".sense",".def",".definition","[class*='definition']","li[class*='meaning'] > span","li[class*='definition'] > span","li[class*='sense'] > span","[class*='meaning']","dd","[itemprop='description']"],10).map(a)).filter(function(e){return e&&e.length>=12&&e.length<=320&&!H(e)&&!/dictionary definitions page includes all the possible meanings|how to pronounce|how to say|translation|numerology|citation|top lookups/i.test(e)}).filter(function(e,t,r){var n=nt(e);return!n||n.length<10?r.indexOf(e)===t:r.map(nt).indexOf(n)===t});if(!d.length&&!u.length)return null;var m=["# "+(n=o||n)];o&&-1===n.toLowerCase().indexOf(o.toLowerCase())&&m.push("## "+o),c.length&&m.push(c.join(" | ")),u.length&&m.push(u.slice(0,4).join("\n")),d.slice(0,6).forEach(function(e){m.push(e)});var p=Ei(m.filter(Boolean).join("\n\n")),f=function(e){var r=t(e||"").toLowerCase(),n=document.createElement("div"),o=[];document.querySelectorAll("[id*='dictionary-entry'], [class*='example'], [class*='etymolog'], [class*='first-known'], [class*='word-history']").forEach(function(e){t(e.textContent||"").length<30||o.some(function(t){return t.contains(e)})||(o=o.filter(function(t){return!e.contains(t)})).push(e)}),o.forEach(function(e){n.appendChild(e.cloneNode(!0))});var i=[];return[n.childNodes.length?n:null,document.querySelector("main"),document.querySelector("#mw-content-text .mw-parser-output"),document.querySelector("#dictionary-entry-1"),document.querySelector("article"),document.querySelector("[role='main']"),document.body].forEach(function(e){e&&-1===i.indexOf(e)&&i.push(e)}),i.reduce(function(e,n){var o=E(n);o.querySelectorAll("script, style, noscript, svg, form, header, nav, footer, aside, .mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .mw-headline-anchor").forEach(function(e){e.remove()}),o.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){it(e)&&e.remove()}),hi(o);var i=Ei(Uo(o.innerHTML)),a=t(i).toLowerCase();return!a||a.length<80||a===r||r.indexOf(a)>=0?e:/(^|\n)#{1,6}\s*(?:examples?|etymolog(?:y|ies)|word history|first known use|translations?|quotations?|usage notes?|synonyms?|antonyms?|derived terms|related terms|pronunciation)\b/i.test(i)&&(!e||a.length>t(e).length)?i:e},"")}(p),g=Ei([p,f].filter(Boolean).join("\n\n")),b=t(g);if(b.length<40)return null;var v=document.createElement("article"),w=document.createElement("h1"),x=document.createElement("ol");return w.textContent=n,v.appendChild(w),d.slice(0,6).forEach(function(e){var t=document.createElement("li");t.textContent=e,x.appendChild(t)}),v.appendChild(x),{title:n||e&&e.title||document.title,byline:null,excerpt:d[0]||b.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:v.outerHTML,markdown:g,textContent:b,readerMode:!1,contentType:"article",hostAware:!0}}(e);if(o)return o;var i=rt(e),a=function(){var e=[];function r(t){t&&-1===e.indexOf(t)&&e.push(t)}return["article","main","[role='main']",".entry",".entry-body",".entry-body__el",".di-body",".pr.dictionary",".dictionary","#dictionary-entry-1",".definition",".definitions",".sense",".dtText","section","div","td","table"].forEach(function(e){document.querySelectorAll(e).forEach(r)}),document.querySelectorAll("h1, .dtText, .sense, dd, dt, [class*='definition'], [class*='pron'], [itemprop='description']").forEach(function(e){r(e),r(e.closest("article, main, [role='main'], section, div, td, table"))}),document.querySelectorAll("section, div, td, table").forEach(function(e){var n=t(e.textContent||"");n.length<40||n.length>3200||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(n.toLowerCase())&&r(e)}),e}().reduce(function(e,r){var o=function(e){if(!e)return-1/0;var r=n(e);if(r<60||r>14e3)return-1/0;var o=t(e.textContent||""),i=((e.className||"")+" "+(e.id||"")).toLowerCase(),a=e.querySelectorAll("h1, h2, h3").length,l=e.querySelectorAll("dd, dt, dl, [class*='definition'], [class*='sense'], [class*='pron'], [class*='entry'], [class*='meaning']").length,s=e.querySelectorAll("dd, dt, p.desc, dl, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").length,c=Array.prototype.slice.call(e.querySelectorAll("p.desc, dd, .dtText, .definition, [itemprop='description']")).filter(function(e){var r=t(e.textContent||"");return r.length>=40&&r.length<=520&&!it(e)}).length,u=Array.prototype.slice.call(e.querySelectorAll("p, li, dd, div")).filter(function(e){return/^\s*(?:\d+[.)]|[a-z][.)]|[ivx]+[.)])\s+\S/.test(e.textContent||"")}).length,d=e.querySelectorAll("p, li").length,m=e.querySelectorAll("a[href]").length*(s||c?10:16),p=0;return/(definition|dictionary|entry|meaning|sense|glossary|lexicon|pronunciation|ipa)/.test(i)&&(p+=260),/(source|reference|citation|database)/.test(i)&&(s||c)&&(p+=90),/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(o.toLowerCase())&&(p+=220),s>=2&&(p+=180),c>=2&&(p+=260),u>=2&&(p+=120),e.matches&&e.matches("dl, [class*='definition'], [class*='sense'], [class*='entry'], [itemprop='description']")&&(p+=160),e.querySelector("h1")&&(p+=120),it(e)&&(p-=320),/\b(top lookups|word of the day|translation|numerology|citation|browse nearby words)\b/i.test(o)&&(p-=180),/\b(browse nearby words|more from merriam-webster|popular in grammar|popular in wordplay|translation|numerology|citation|quiz)\b/i.test(o)&&(p-=260),r>3500&&(p-=220),r>7e3&&(p-=400),r+80*l+95*s+160*c+18*d+35*a+p-m}(r);return!e||o>e.score?{node:r,score:o}:e},null);if(!a||a.score<260)return i;var l=E(a.node);l.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){it(e)&&e.remove()}),function(e){var r={};e.querySelectorAll("p.desc, dd, .dtText, .sense, .def, .definition, [class*='definition'], [class*='meaning'], [itemprop='description']").forEach(function(e){var n=nt(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(l),hi(l);var s=Ei(Uo(l.innerHTML)),c=t(s);if(c.length<40)return i;var u=h(["h1"])||t(e&&e.title||document.title);return u&&!Pe(s,u)&&(s="# "+u+"\n\n"+s),ot(c=t(s=Ei(s)),e)&&i?i:{title:u||e&&e.title||document.title,byline:null,excerpt:c.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:l.innerHTML,markdown:s,textContent:c,readerMode:!1,contentType:"article"}}function lt(e,t,r){if(!r)return!1;var n=r.text+"|"+r.url;return!t[n]&&!t["url:"+r.url]&&(t[n]=!0,t["url:"+r.url]=!0,e.push(r),!0)}function st(e,t){return t.score-e.score||t.text.length-e.text.length}function ct(e,t){return t.score-e.score}function ut(e,r){r=r||{},e=e||document;var n=[],o=r.cardSelectors||[],i=[],a={},l=[],s=r.maxItems||1/0,c=r.minTitleLength||0,u=r.maxTitleLength||1/0,d=!1!==r.dedupe;function m(e){e&&-1===i.indexOf(e)&&(i.push(e),n.push(e))}return"string"==typeof o&&(o=[o]),o.forEach(function(t){Array.prototype.forEach.call(e.querySelectorAll(t),m)}),!o.length&&e.querySelectorAll&&m(e),n.forEach(function(e){if(!(l.length>=s)){var n,o=r.linkBuilder?r.linkBuilder(e):r.linkSelector?e.querySelector(r.linkSelector):null,i=r.candidateBuilder?r.candidateBuilder(e,o):null;if(i){i.text=t(i.text||""),i.url=i.url||"";var m="function"==typeof c?c(i.text):c;!i.text||i.text.length<m||i.text.length>u||(r.allowMissingUrl||i.url)&&(r.rejectCandidate&&r.rejectCandidate(i,e,o)||(void 0===i.detail&&r.detailBuilder&&(i.detail=r.detailBuilder(e,i,o)),n=function(e,t,n){var o;return r.keyBuilder&&(o=r.keyBuilder(e,t,n)),null==o&&(o=[e.text+"|"+(e.url||"")]),Array.isArray(o)||(o=[o]),o.filter(Boolean)}(i,e,o),d&&n.some(function(e){return a[e]})||(d&&n.forEach(function(e){a[e]=!0}),l.push(i))))}}}),l}function dt(e){var r=Array.prototype.slice.call(e.querySelectorAll("tr.athing, tr[data-id][data-url*='/remote-jobs/'], article, li, section, .item, .story, .post, .entry, .news, .headline, .feed-item, [class*='card'], [class*='result'], [class*='teaser'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], [class*='job-card' i], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/'], .structItem, .discussionListItem")),n={},o=[],i=Vt(),a=/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/i.test([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" "));function l(e,t){return e.length<(a?3:18)||/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(e)||/^[\w.-]+\.[a-z]{2,}$/i.test(e)||/(?:^|[?&])(user|from|site|goto)=/i.test(t)||Ut(e,t)||Gt(e)}function s(e,t){var r=Yt(e,t,i);r&&(l(r.text,r.url)||lt(o,n,r))}(r.forEach(function(e){s(function(e){var r=e.querySelector("h1 a[href], h2 a[href], h3 a[href], h4 a[href], a[href] h1, a[href] h2, a[href] h3, a[href] h4");if(r)return r.closest("a[href]")||r;var n=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return(n=n.filter(function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r&&!Ut(r,e.getAttribute("href")||"")&&!rr(e)&&!rr(e.parentElement)&&!er(e)})).sort(function(e,r){var n=t(e.textContent||e.getAttribute("aria-label")||"");return t(r.textContent||r.getAttribute("aria-label")||"").length-n.length}),n[0]||null}(e),e)}),o.length<5)&&Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent),n=e.getAttribute("href");return!(!n||"#"===n[0])&&(!/^(javascript:|mailto:)/i.test(n)&&(!l(r,n)&&(r.length>=_t(r)&&r.length<=220)))}).forEach(function(e){s(e,e.closest("tr, li, article, section, div")||e.parentElement)});return o.sort(st),o}function mt(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=Vt(),o=["h1 a[href]","h2 a[href]","h3 a[href]","h4 a[href]","article a[href]","section a[href]","[class*='headline'] a[href]","[class*='story'] a[href]","[class*='post'] a[href]","[class*='news'] a[href]","[class*='feed'] a[href]","[class*='teaser'] a[href]","[class*='result'] a[href]"].join(", ");return Array.prototype.forEach.call(e.querySelectorAll(o),function(e){var o=e.closest("article, section, li, div")||e.parentElement;if(!(nr(e)||nr(e.parentElement)||function(e){return Qt(e,nr)}(e))){var i=Yt(e,o,n);i&&lt(r,t,i)}}),r.sort(ct),r}function pt(e){return(e||[]).reduce(function(e,t,r){var o=Math.max(0,t&&t.score?t.score:n(t&&t.text));return o=Math.min(o,1200),r>=8&&(o=Math.round(o/2)),e+o},0)}function ht(e){var r=E(e);!function(e){R(e),fi(e),gi(e),yi(e),vi(e),e.querySelectorAll("header, footer, nav, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside, form, ul, ol").forEach(function(e){rr(e)&&e.remove()}),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent);r&&!/^skip\s+(to\s+)?/i.test(r)||e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();/^(sign in|log in|login|register|subscribe|newsletter|follow us|follow|join now|create account|my account|account|menu|search)$/i.test(r)&&e.remove()})}(r);var n=dt(r),o=pt(n),i=function(e){var r=[];return e.querySelectorAll("h1, h2, h3, p").forEach(function(e){var n=t(e.textContent);if(n.length>=30&&n.length<=2e3){if(Gt(n)||P(n)||z(n)||Kt(n))return;var o=e.querySelectorAll("a[href]").length,i=n.split(/\s+/).length;if(o<=1||o/i<.3){var a=/^H[123]$/.test(e.tagName)?"## ":"";r.push(a+n)}}}),r.slice(0,8).join("\n\n")}(r),a=mt(e),l=pt(a);(n.length<3&&a.length>n.length||l>o+180)&&(n=a,o=l);var s=ft(n),c=i?i+(s?"\n\n"+s:""):s;return t(c).length<120&&(a.length>n.length||l>o)&&(o=l,s=ft(n=a),c=i?i+(s?"\n\n"+s:""):s),{root:r,items:n,descText:i,markdown:c,score:o+80*n.length+Math.min(i.length,4e3)}}function ft(e){return e.map(function(e){var t=e.url?"- ["+e.text+"]("+e.url+")":"- "+e.text;return e.detail&&(t+=" - "+e.detail),t}).join("\n")}function gt(e){if(!$t(document.body))return null;function r(e,r){var n=[];["[data-testid='company-name']","[data-test='employer-name']","[data-test='location']","[data-testid*='location' i]","[data-test='descSnippet']","[data-testid='belowJobSnippet']"].forEach(function(r){var o=e.querySelector(r),i=t(o&&o.textContent);i&&-1===n.indexOf(i)&&n.push(i)}),n.length||n.push(t(e.textContent||"").replace(r,""));var o=t(n.join(" - ")).replace(r,"");return(o=o.replace(/\s*\{\"@context\".*$/i,"")).length>220&&(o=o.slice(0,217).replace(/\s+\S*$/,"")+"..."),o}var n=ut(document,{cardSelectors:"[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']",linkBuilder:function(e){return e.querySelector("a[data-test='job-title'], a[id*='job-title' i], a[href*='/job-listing/'], a[href*='/remote-jobs/'], a[href*='/viewjob'], a[href*='/rc/clk'], a[href*='jk='], a[href*='jl=']")},allowMissingUrl:!0,minTitleLength:_t,maxTitleLength:220,maxItems:18,keyBuilder:function(e){return e.text+"|"+e.url},candidateBuilder:function(e,n){var i=function(e,r){var n=t(e.getAttribute("data-company")||""),o=t(e.getAttribute("data-search")||"").replace(/\s*\[.*$/i,"");n&&0===o.indexOf(n)&&(o=t(o.slice(n.length)));var i=[o,t(r&&(r.textContent||r.getAttribute("aria-label"))),t((e.querySelector("[data-test='job-title'], [data-testid*='jobTitle' i], h2, h3")||{}).textContent||"")].map(function(e){return t(e||"").replace(/\s*-?\s*\{\"@context\".*$/i,"")}).filter(Boolean);return i.sort(function(e,t){return t.length-e.length}),i[0]||""}(e,n),a=function(e,t){var r=t&&t.getAttribute("href");return(r=r||e.getAttribute("data-href")||e.getAttribute("data-url")||"")?o(r):""}(e,n);return{text:i,url:a,detail:r(e,i)}}});if(n.length<4)return null;var i=ft(n);return k(e,{excerpt:n[0].text,textContent:i,markdown:i,items:n})}var yt=null;function bt(e){return null==e?"":Array.isArray(e)?bt(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function vt(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function wt(e,t){if(e=bt(e).replace(/\s+/g,""),t=bt(t).toUpperCase(),!e)return"";var r=e.match(/[$€£]\s?\d[\d,]*(?:\.\d{2})?/);return r?r[0].replace(/([$€£])\s+/g,"$1"):/^\d[\d,.]*$/.test(e)?"USD"===t?"$"+e:"EUR"===t?"€"+e:"GBP"===t?"£"+e:t?e+" "+t:e:""}function xt(e){return b(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function St(e,r){var n=function(){if(yt)return yt;var e=[];return c().forEach(function r(n){if(n&&"object"==typeof n)if(Array.isArray(n))n.forEach(r);else{var o=n["@type"]||n.type;(Array.isArray(o)?o:[o]).some(function(e){return/^(product|book)$/i.test(t(e))})&&e.push(n),n["@graph"]&&r(n["@graph"]),n.itemListElement&&r(n.itemListElement),n.item&&r(n.item)}}),yt=e,e}().find(function(n){return function(e,r,n){var i=bt(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),l=vt(e),s=bt(e&&e.url||l&&l.url),c=s?o(s):"";return!(!n||!c||c.replace(/[#?].*$/,"")!==n.replace(/[#?].*$/,""))||!(!i||!a||i!==a&&-1===i.indexOf(a)&&-1===a.indexOf(i))}(n,e,r)});if(!n)return[];var i=vt(n),a=n.aggregateRating||n.reviewRating,l=[],s=wt(i&&(i.price||i.priceSpecification&&i.priceSpecification.price),i&&(i.priceCurrency||i.priceSpecification&&i.priceSpecification.priceCurrency)),u=bt(i&&i.availability),d=bt(a&&a.ratingValue),m=bt(a&&(a.reviewCount||a.ratingCount));return s&&l.push(s),d&&l.push(kt(d,m)),u&&l.push(xt(u)),l}function kt(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function At(e){var n,i=[];["main","[role='main']",".products",".product-grid",".product-list",".search-results",".category",".collection","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=r([location.pathname||"",location.search||"",e&&e.title||document.title].join(" ")).toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(shop|store|products?|items?|brand|brands|category|categories|search|results|sale|gift|sets|perfume|perfumes|fragrance|fragrances|cologne|women|men|unisex)$/i.test(e)}),l=[];function s(e){try{var t=new URL(e,location.href);return(t.origin+t.pathname).toLowerCase()}catch(t){return String(e||"").toLowerCase()}}function c(e){return e=e.toLowerCase(),a.some(function(t){return-1!==e.indexOf(t)})}function u(e){var r=e.querySelector("img[alt], img[title]"),n=o(e.getAttribute("href")),i=e.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement;i===e&&e.parentElement&&(i=e.parentElement.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement);var u=[],d=[t(e.textContent||""),t(e.getAttribute("aria-label")||""),t(r&&(r.getAttribute("alt")||r.getAttribute("title")))];i&&n&&Array.prototype.forEach.call(i.querySelectorAll("a[href][class*='title' i], [class*='title' i] a[href]"),function(e){s(o(e.getAttribute("href")))===s(n)&&u.push(t(e.textContent||e.getAttribute("aria-label")||""))}),u.length&&(d=u),d.sort(function(e,t){return t.length-e.length});var m,p=d[0]||"";if(!n||!p||p.length<6||p.length>140)return null;if(/^\(\d+\)\s+/.test(m=p)||/^(top sellers|new arrivals|product|brand name|review count|star rating|sort by|view all|more options(?: from .*)?|privacy policy|my privacy choices|sign in|order status|shipping info|fragrances|see all fragrances|perfume|bath & body|gift sets|unboxed\/testers|perfume samples|cologne|samples|cologne samples|women'?s perfume|men'?s cologne|0 items in your bag|0 0 items in your bag|request it|become a fragrancenet\.com vip|powered by onetrust opens in a new tab)$/i.test(m)||/\(designer\)$/i.test(m))return null;if(/(sort|filter|review|rating|privacy|cookie|onetrust)/i.test(n)&&p.length<32)return null;if(n===location.href||/^(javascript:|mailto:)/i.test(n))return null;var h="";try{h=new URL(n,location.href).pathname}catch(e){return null}var f=/(\/product|\/perfume|\/cologne|\/dp\/|\/itm\/|\/pdp\/|\/shop\/products\/|\/p\/(?!pl(?:\/|$)))/i.test(h),g=t(i&&[i.getAttribute("id"),i.getAttribute("class"),i.getAttribute("data-testid"),i.getAttribute("data-hb-id"),i.getAttribute("itemtype")].join(" ")),y=/(product|item-cell|item-container|schema\.org\/Product)/i.test(g);if(!f&&!y)return null;if(l.length&&!function(e){return e=e.toLowerCase(),l.some(function(t){return-1!==e.indexOf(t)})}(p))return null;if(a.length&&It()&&!c(p))return null;var b=function(e,r,n){if(!e)return"";var o=t(e.textContent||""),i=St(r,n);function a(e){(e=t(e))&&-1===i.indexOf(e)&&i.push(e)}function l(r){var n=e.querySelector(r);return t(n&&(n.getAttribute("content")||n.getAttribute("href")||n.getAttribute("aria-label")||n.textContent))}var s=wt(l("[itemprop='price'], meta[itemprop='price'][content], [class*='price' i], [data-testid*='price' i], [aria-label*='price' i]"),l("[itemprop='priceCurrency'], meta[itemprop='priceCurrency'][content]"));s&&a(s),(o.match(/([$€£]\s?\d[\d,.]*(?:\.\d{2})?)/g)||[]).slice(0,2).forEach(function(e){-1===i.indexOf(e)&&i.push(e)});var c=l("[itemprop='ratingValue'], meta[itemprop='ratingValue'][content]"),u=l("[itemprop='reviewCount'], [itemprop='ratingCount'], meta[itemprop='reviewCount'][content], meta[itemprop='ratingCount'][content]");c&&/^\d(?:\.\d+)?$/.test(c)&&a(kt(c,u));var d=e.querySelector("[aria-label*='out of 5' i], [class*='rating' i], [class*='stars' i]"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=m.match(/\b(\d(?:\.\d+)?)\s*(?:out of|\/)\s*5\b/i)||o.match(/\b(\d(?:\.\d+)?)\s*out of\s*5\s*stars?\b/i);if(p){var h=(m+" "+o).match(/\b([\d,]+)\s*(?:reviews?|ratings?)\b/i);a(kt(p[1],h&&h[1]))}var f=l("[itemprop='availability'], link[itemprop='availability'][href], meta[itemprop='availability'][content], [class*='stock' i], [class*='availability' i], [data-testid*='availability' i]");if(!f){var g=o.match(/\b(in stock|out of stock|sold out|available now|currently unavailable|unavailable|pre-?order|backordered|request it)\b/i);f=g&&g[0]}return f&&a(xt(f)),[/\bfree shipping\b/i].forEach(function(e){var t=o.match(e);t&&a(t[0])}),i.filter(Boolean).join(" - ")}(i,p,n);return c(p)||f||y?{text:p,url:n,detail:b}:null}function d(e,t,r){return ut(e,{cardSelectors:"a[href]",allowMissingUrl:!1,dedupe:t,maxItems:r,keyBuilder:function(e){return[e.text+"|"+e.url,"url:"+e.url,"product:"+s(e.url)]},candidateBuilder:function(e){return u(e)}})}new URLSearchParams(location.search||"").forEach(function(e,t){/^(q|query|search|searchtext|keyword|k|d)$/i.test(t||"")&&r(e||"").toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).forEach(function(e){e.length>=3&&-1===l.indexOf(e)&&l.push(e)})});var m=i.reduce(function(e,t){var r=d(t,!1).length;return!e||r>e.score?{node:t,score:r}:e},null);return!m||m.score<4||(n=d(m.node,!0,15)).length<4?null:k(e,{excerpt:n[0].text,items:n})}function qt(e){var r=[];function i(e){e&&-1===r.indexOf(e)&&r.push(e)}i(function(e){var r=Vt(e),i=[];["main","[role='main']",".itemlist","table","ol","ul",".posts",".stories",".items",".news",".feed",".headlines",".view-case-listing","[class*='case-listing' i]","[class*='record-listing' i]","[class*='news']","[class*='feed']","[class*='headline']",".threads",".topic-list",".forumlist",".discussionList","[class*='threadlist']","[class*='thread-list']","[class*='topic-list']","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){i.push(e)})});var a=i.reduce(function(e,i){var a=function(e,r){if(rr(e)||Jt(e))return-1/0;var i=e.querySelectorAll("a[href]").length,a=e.querySelectorAll("li, tr, article, section").length,l=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic'], .structItem, .discussionListItem").length,s=e.querySelectorAll("h2, h3, h4").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&!Ut(r,e.getAttribute("href")||"")&&!rr(e.parentElement)&&!rr(e.closest("div, section, article, li"))}).length,u=n(e);if(c<4||u<120)return-1/0;if(/copyright|all rights reserved|privacy policy|terms of use/i.test(t(e.textContent||""))&&s<2)return-1/0;var d=0;r&&(r.sectionFragments.length||r.keywords.length)&&Array.prototype.slice.call(e.querySelectorAll("a[href]"),0,80).forEach(function(e){var n=t(e.textContent||e.getAttribute("aria-label")||"");if(!(n.length<_t(n))){var i=o(e.getAttribute("href"));if(i){var a=Xt(n,i,"",r);d+=140*a.sectionMatches+30*a.keywordMatches}}});return 10*i+30*c+20*a+45*l+20*s+d-Math.round(u/40)}(i,r);return!e||a>e.score?{node:i,score:a}:e},null);return a&&a.score>-1/0?a.node:document.body}(e)),function(e){var t=Vt(e),r=[];if(!t.sectionFragments.length&&!t.keywords.length)return r;function o(e){if(e&&e!==document.body&&e!==document.documentElement&&-1===r.indexOf(e)&&!rr(e)&&!Jt(e)){var t=e.querySelectorAll("a[href]").length;t<3||t>250||n(e)<140||r.push(e)}}return Array.prototype.forEach.call(document.querySelectorAll("a[href]"),function(e){var r=e.closest("article, section, div, li, ul, ol, main")||e.parentElement,n=Yt(e,r,t);if(n&&!(n.score<260))for(var i=r,a=0;i&&a<4&&(o(i),!i.matches||!i.matches("main, [role='main']"));)i=i.parentElement,a+=1}),r}(e).forEach(i),i(document.querySelector("main, [role='main']")),i(document.body);var a=r.reduce(function(e,t){var r=ht(t);return!e||r.score>e.score?r:e},null)||ht(document.body);return k(e,{title:e.title||document.title,excerpt:a.items[0]?a.items[0].text:e.excerpt,html:a.root.innerHTML,textContent:a.markdown,markdown:a.markdown,items:a.items})}function Ct(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function _t(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function Tt(e,r){var n=t(e&&e.textContent).replace(t(r),"").replace(/\s*[|·]\s*/g," - ");return t(n=n.replace(/Only include results for this site.*$/i,"").replace(/This search result is provided by Google Learn more Report result/gi,"").replace(/Learn more Report result/gi,"").replace(/Report Ad/gi,"").replace(/\bhttps?:\/\/\S+/gi,"").replace(/\s{2,}/g," "))}function Et(e,r){if((r=r||{}).prepareMetadata&&r.prepareMetadata(e),r.pathAllowed&&!r.pathAllowed())return null;var n={},i=[],a=r.maxItems||18,l=r.minItems||4,s=r.minTitleLength||18,c=r.maxTitleLength||220,u=r.detailMaxLength||180,d=r.linkSelector||"a[href]",m=r.cardSelector||"article, section, li, div";if(document.querySelectorAll(d).forEach(function(e){if(!(i.length>=a||r.excludeClosest&&e.closest(r.excludeClosest))){var l=e.getAttribute("href")||"",d=o(l);if(d&&!n[d]&&(!r.acceptLink||r.acceptLink(l,d,e))){var p=r.titleBuilder?r.titleBuilder(e):Ct(e);if(r.transformTitle&&(p=r.transformTitle(p,e)),!function(e){return!e||e.length<s||e.length>c||!!r.rejectTitle&&("function"==typeof r.rejectTitle?r.rejectTitle(e):r.rejectTitle.test(e))}(p=t(p||""))){var h=Tt(e.closest(m)||e.parentElement,p);h.length>u&&(h=""),n[d]=!0,i.push({text:p,url:d,detail:h})}}}}),i.length<l)return null;var p=S({title:r.title||e&&e.title||document.title||r.defaultTitle,excerpt:e&&e.excerpt,siteName:e&&e.siteName||r.siteName||location.hostname,items:i});return r.hostAware&&(p.hostAware=!0),r.statusPage&&(p.statusPage=!0),p}function jt(e,t){return!0===e||!1!==e&&("function"==typeof e?e(t):q(e))}function Lt(e,r){if(e=e||document.body,r=t(r||e&&e.textContent||""),!e||Ot())return!1;var n=t([location.pathname,document.title,(document.querySelector("h1")||{}).textContent].join(" ")).toLowerCase();if(!/\b(?:cases?|defendants?|records?|dockets?|matters?)\b/.test(n))return!1;var o=ut(e,{cardSelectors:".card, [class*='case-card' i], [class*='record-card' i], [class*='result-card' i], article, li",allowMissingUrl:!0,dedupe:!1,minTitleLength:3,maxTitleLength:180,linkBuilder:function(e){return e.querySelector(".card-header, h2, h3, h4, a[href]")},candidateBuilder:function(e,r){var n=t(e.textContent||"");return/\b(?:case|defendant|prosecutor|trial|charges?|warrant|summons|custody|convicted|acquitted|closed|at large|court|record|docket|matter)\b/i.test(n)?{text:t((r||{}).textContent||"")}:null}}),i=e.querySelectorAll("form, [class*='filter' i], [class*='facet' i], [class*='exposed' i], [class*='search' i]").length,a=/\b\d{1,4}\s+(?:cases?|defendants?|records?|matters?|results?)\b/i.test(r);return o.length>=4&&(i>=1||a)}function $t(e){if(!(e=e||document.body)||Ot())return!1;var r=t([location.pathname,location.search,document.title].join(" ")).toLowerCase();if(!/(\bjobs?\b|employment|careers?|jobsearch|job-list|job results?|hiring|remote-[a-z0-9+-]+-jobs|q-[a-z0-9-]+-jobs)/i.test(r))return!1;var n=e.querySelectorAll("[data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-testid*='job' i], [class*='job-card' i], [class*='jobCard'], tr[data-id][data-url*='/remote-jobs/'], [data-url*='/remote-jobs/']").length,o=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<_t(n)||n.length>220)&&/(\/job-listing\/|\/remote-jobs\/|\/viewjob\b|\/rc\/clk\b|[?&](?:jk|jl)=)/i.test(r)}).length;return n>=4||o>=4}function Pt(e){var r=Wt(),n=[];return Array.prototype.forEach.call(e.querySelectorAll("a[href]"),function(e){var i,a=t(e.textContent||e.getAttribute("aria-label")||""),l=o(e.getAttribute("href"));if(!(a.length<_t(a)||a.length>220||Ut(a,l||""))&&l){try{i=new URL(l,location.href)}catch(e){return}i.origin===location.origin&&i.origin+i.pathname!==r&&Dt(i.pathname)&&-1===n.indexOf(i.origin+i.pathname)&&n.push(i.origin+i.pathname)}}),n.length}function zt(e,n){if(!e||Ot())return!1;if(Mt(null,e)||Bt(null,e))return!1;if(function(e){var n=t(e||"");if(n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),a=(String(e||"").match(/^\s*[-*]\s+(?:\[[^\]]+\]\([^)]*\)|(?:\d+[A-Z]?\.|Article\s+\d+|Schedule\s+\d+))/gim)||[]).length,l=String(e||"").split(/\n+/).filter(function(e){var r=t(e).replace(/^[-*#\s]+/,"");return r.length>=160&&!/^\[[^\]]+\]\(/.test(r)}).length;return i&&a>=6&&l<4}(e))return!0;if(!Ft()&&!It())return!1;if(t(n&&(n.byline||n.publishedTime)))return!1;var o=String(e).split(/\n+/),i=o.filter(function(e){return/^\s*(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/.test(e)||/^\s*(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/.test(e)}).length,a=(String(e).match(/(?:^|\s)(?:(?:\d+\.|[-*])\s+)?#{1,4}\s+\[[^\]]{8,220}\]\(/g)||[]).length+(String(e).match(/(?:^|\s)(?:\d+\.|[-*])\s+\[[^\]]{8,220}\]\(/g)||[]).length,l=o.filter(function(e){var r=t(e).replace(/^#+\s*/,"");return!(!r||r.length<160)&&!/^\s*(?:(?:\d+\.|[-*])\s+)?#{0,4}\s*\[[^\]]+\]\(/.test(e)}).length;return function(e){var t,r=[],n=/\[[^\]]{8,220}\]\(([^\s)]+)\)|https?:\/\/[^\s)]+/g;for(;t=n.exec(String(e||""));){var o,i=t[1]||t[0];try{o=new URL(i,location.href)}catch(e){continue}o.origin===location.origin&&o.origin+o.pathname!==Wt()&&(Dt(o.pathname)&&-1===r.indexOf(o.origin+o.pathname)&&r.push(o.origin+o.pathname))}return r.length}(e)>=6||Math.max(i,a)>=4&&l<5}function Nt(e){return e&&(e.contentType="list"),e}function Rt(e){if(!e||"article"!==e.contentType)return!1;var r=(location.pathname||"").toLowerCase();if("/"===r||""===r||/^\/(index|default|home)\b/i.test(r)||/^\/\d+(,\d+)*\.html?$/i.test(r))return!1;var n=document.createElement("div");n.innerHTML=e.html||"";var o=t(n.textContent||e.textContent||""),i=n.querySelectorAll("p").length,a=n.querySelectorAll("h1, h2, h3").length,l=(e.markdown||"").match(/^\s*- \[/gm)||[],s=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),c=o.length>0?s/o.length:0,u=Ot();return!Ht(n,o)&&(!(!Mt(n,o)&&!Bt(n,o))||(!Ft()&&o.length>=280&&c<.5||!(Ft()&&c>.5)&&(!(Ft()&&a>=5&&a>=.6*i)&&(!(o.length<280)&&(!(i<3&&a<1&&!u)&&(!(l.length>=8&&i<5)&&(!(c>.33&&i<6)&&(u&&o.length>=280&&c<.5||i>=5||e.readerMode&&i>=3&&c<.28))))))))}function Mt(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=0;if(/\b(?:high court|supreme court|court of appeal|federal court|district court|court of justice|tribunal)\b/i.test(r)&&(n+=1),/\b(?:judg(?:e)?ment|opinion of the court|reasons for judgment|delivered by|per curiam)\b/i.test(r)&&(n+=1),/\b(?:appellant|respondent|plaintiff|defendant|petitioner|counsel|solicitor|amicus|certiorari)\b/i.test(r)&&(n+=1),/\b[A-Z][A-Za-z'.-]+\s+v\.?\s+[A-Z][A-Za-z'.-]+\b/.test(r)&&(n+=1),/\[[12][0-9]{3}\]\s+[A-Z][A-Z0-9.]{1,12}\s+\d+|\([12][0-9]{3}\)\s+\d+\s+[A-Z][A-Z0-9.]{1,12}\s+\d+/i.test(r)&&(n+=1),n<3)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0,i=(r.match(/[.;:]\s+[A-Z][a-z]{2,}/g)||[]).length;return o>=5||i>=35||r.length>=2e4}function Bt(e,r){if((r=t(r||"")).length<5e3)return!1;if(/\bresults?\s+\d+\s*[-–]\s*\d+\s+(?:of|sur|von|de)\s+\d+\b/i.test(r))return!1;if(e&&e.querySelector("[class*='result' i], [id*='result' i]"))return!1;var n=Ze({root:e,text:r,title:document.title||"",path:location.pathname||""});if(!n.legalTitle||n.provisionMarkers<8)return!1;var o=e?Array.prototype.filter.call(e.querySelectorAll("p, div, section, article, td, pre, blockquote"),function(e){return t(e.textContent||"").length>=180}).length:0;return n.structuralMarkers>=3||n.legalTerms||o>=8||r.length>=2e4}function Ht(e,n){if(e=e||document.body,n=t(n||e&&e.textContent||""),!e||n.length<200)return!1;var o=r(location.pathname||"").toLowerCase(),i=t([document.title||"",(document.querySelector("h1")||{}).textContent||""].join(" ")),a=t([o,i,n.slice(0,1200)].join(" ")).toLowerCase(),l=/\/(?:contents?|table-of-contents|toc)(?:\/)?$/i.test(o),s=e.querySelector(".LegContents, .LegContentsEntry, [class*='contents' i], [id*='contents' i], [aria-label*='contents' i]"),c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return/\/(?:section|article|schedule|part|chapter)\/[^\s#?]+/i.test(r)||/\b(?:section|article|schedule|part|chapter)\s+(?:\d+[a-z]?|[ivxlcdm]+)\b/i.test(n)}).length,u=Array.prototype.filter.call(e.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=160}).length;return!!(l||s||/\b(?:table of contents|contents|collapse all)\b/i.test(a))&&(!!/\b(?:act|code|law|regulation|ordinance|statute|legislation|convention|treaty|schedule)\b/i.test(a)&&(c>=6&&u<4))}function Ft(){var e=(location.pathname||"").toLowerCase(),t=e.split("/").filter(Boolean),r=t[t.length-1]||"";return!t.length||(!(!/^\/(index|default|home)\b/i.test(e)&&!/^\/\d+(,\d+)*\.html?$/i.test(e))||(!!/\/(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|notizie|calciomercato|mercato|forums?|boards?|community|discussions?|threads)\/?$/.test(e)||t.length<=2&&!/\d{4}[-/]\d{2}[-/]\d{2}/.test(e)&&!/-/.test(r)&&!/\.(html?|php|aspx?|jsp|shtml)$/i.test(r)))}function It(){var e=(location.pathname||"").toLowerCase(),t=(location.search||"").toLowerCase();return/(?:^|[?&])(q|query|search|searchtext|keyword|k)=/.test(t)||/\/(search|s|shop|browse|category|categories|collections?|catalog|keyword|wholesale|products?|jobs?)\b/.test(e)||/\b(category|categories|collection|catalog|search results?|shop|jobs?\s+(?:in|matching|for)|job results?)\b/i.test(document.title||"")}function Ot(){return/\/(20\d{2}|\d{4}\/\d{2}\/\d{2}|article|articles|blog|blogs|column|columns|archive|archives|news\/[\w-]+|entry|entries|post|posts|view\/[A-Z]{3}\d{15,}|\d{5,}[\w-]*\.html?)\b/i.test(location.pathname||"")}function Dt(e){return/\/(?:20\d{2}|\d{4}\/\d{2}|[a-z0-9-]+\/\d{5,}(?:\/|$)|\d{5,}(?:\/|$)|[^\/]+-[^\/]+-[^\/]+)/i.test(e||"")}function Ut(e,t){return/^(privacy|cookies?|terms|chi siamo|about us|contact|contatti|redazione|advertising|newsletter|subscribe|login|sign in|register|cookie settings|manage preferences)$/i.test(e)||/\/(privacy|cookie|cookies|terms|about|contatti|contact|redazione|login|register)\b/i.test(t||"")}function Wt(){return location.origin+location.pathname}function Zt(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function Vt(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=Zt((e.siteName||location.hostname||"").replace(/^www\./i,"")),o=/^(latest|news|article|articles|articlelist|story|stories|home|homepage|index|default|today|more|page|pages|section|sections|category|categories|topic|topics|read|view|photo|photos|video|videos|gallery|galleries|live|blog|blogs|web|english|telugu|samayam|newsweb|edition)$/,i=Zt([location.pathname||"",e.title||"",document.title||"",t?t.textContent:""].join(" ")).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!o.test(e)&&-1===n.indexOf(e)}),a=[];i.forEach(function(e){-1===a.indexOf(e)&&a.length<12&&a.push(e)});var l=[];return(location.pathname||"").split("/").filter(Boolean).forEach(function(e){var t=r(e||"").toLowerCase();!t||/^\d/.test(t)||/\.(html?|php|aspx?|jsp|cms)$/i.test(t)||/^(news|latest-news|latest|articlelist|articles?|read|view|topic|topics|section|sections|home|index|default|world|india-news|international-news|english|telugu)$/.test(t)||-1===l.indexOf(t)&&l.push(t)}),{currentUrl:Wt(),keywords:a,sectionFragments:l.slice(0,4)}}function Gt(e){return!!(e=t(e||"").toLowerCase())&&(/(trending topics|latest videos|latest photos|లేటెస్ట్ వీడియోలు|లేటెస్ట్ ఫోటోలు|video gallery|photo gallery|web stories|most read|best gelezen|newsletter|subscribe|abonneren|log in|login|sign in|register|create account|maak een account|u bent niet|settings|instellingen|tip ons|nieuwstip|belangrijke informatie delen|copyright|all rights reserved|privacy preference center|manage cookie preferences|manage consent preferences|manage privacy preferences|your privacy settings|your privacy choices|cookie list|cookie information|list of partners \(vendors\)|this website uses cookies|by accepting cookies|cookie declaration last updated|consent id|change your consent|your current state|vsak dan|poglej več|mark forums? read|forum statistics|members online|who is online|users browsing|forum rules|new posts since last visit|currently active users|forum contains no new|board statistics|mark all forums? read|what's going on|users online|active threads|active users)/i.test(e)||/\b\d{1,2}\.\d{2}\b/.test(e)&&/(vsak dan|sezona|oddaja|epizoda|premiera)/i.test(e))}function Kt(e){var r=t(e||"");return!!r&&(!!/(ve[ðd]ursp[áa]( næsta s[óo]larhring)?|weather forecast|uppl[ýy]singar um ve[ðd]ur)/i.test(r)&&(r.match(/\b(ve[ðd]ursp[áa]|hiti|[úu]rkoma|vindur|frost|rigning|sk[ýy]ja[ðd]|temperature|precipitation|wind|rain|snow|storm)\b/gi)||[]).length>=3)}function Jt(e){if(!e||1!==e.nodeType)return!1;var r=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase(),n=t(e.textContent||"").slice(0,280);return/(trending|popular|most-read|mostread|video|videos|photo|photos|gallery|galleries|web.?stor|newsletter|subscribe|social|share|follow|language|edition|top[_-]?nav|secondary-navbar|first-level-menu|second-level-menu|header-menu|side-nav|top-trending|wdt-trending|recommended|related|login|signup|register|account|forum[_-]?stats|online[_-]?users|who[_-]?is[_-]?online|board[_-]?stats|members[_-]?online|active[_-]?users|forum[_-]?rules|quick[_-]?reply|new[_-]?thread|moderator[_-]?panel|subforum[_-]?list)/.test(r)||Gt(n)}function Xt(e,t,r,n){var o="",i=(e+" "+(r||"")).toLowerCase(),a=0,l=0;try{o=new URL(t,location.href).pathname.toLowerCase()}catch(e){o=""}return n.keywords.forEach(function(e){-1!==(i+" "+o).indexOf(e)&&(a+=1)}),n.sectionFragments.forEach(function(e){-1!==o.indexOf(e)&&(l+=1)}),{path:o,keywordMatches:a,sectionMatches:l}}function Yt(e,r,n){if(!e)return null;var i=e.getAttribute("href"),a=e.querySelector("h1, h2, h3, h4"),l=t(a&&a.textContent||e.textContent||e.getAttribute("aria-label")||""),s="",c=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);if(!i||"#"===i[0]||/^(javascript:|mailto:)/i.test(i))return null;if(l.length<_t(l)||l.length>220)return null;var u=o(i);if(!u)return null;try{s=new URL(u,location.href).pathname}catch(e){return null}if(location.origin+s===n.currentUrl)return null;if(/^(comments?|discuss|hide|more|abonneren|subscribe|newsletter|login|log in|sign in|register|create account|maak een account|instellingen|settings|account|last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)$/i.test(l))return null;if(/\/(subscribe|subscription|abonnement|login|register|newsletter|account|instellingen|settings)\b/i.test(u))return null;if(/\/(privacycontrols?|privacy|cookies?|consent)\b/i.test(u)&&l.length<80)return null;if(Ut(l,i)||rr(e)||rr(e.parentElement)||er(e))return null;var d=e.querySelector("h1, h2, h3, h4, p")?e:r,m=t(d&&d.textContent||"").replace(l,"").replace(/\s*[|·]\s*/g," - ");if((m=m.replace(/\b(last post|first unread|go to last post|mark read|mark forum read|watch forum|new thread|post new thread|post reply|quick reply|forum rules|forum actions|forum tools)\b/gi,"").replace(/\s{2,}/g," ").trim()).length>420&&(m=m.slice(0,417).replace(/\s+\S*$/,"")+"..."),!c&&/\/(ve[ðd]ur|vedur|forecast|weather|spastod)\b/i.test(u)&&Kt(l+" "+m))return null;if(/\/(tv|spored)\//i.test(u)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(l+" "+m)||/\b\d{1,2}\.\d{2}\b/.test(l+" "+m)))return null;var p=function(e,r,n,o,i){if(!r)return-1/0;var a=e.length,l=Xt(e,r,n,i),s=l.path;if(location.origin+s===i.currentUrl)return-1/0;o&&o.matches("article, section, li")&&(a+=120);var c=o&&o.querySelector("h1, h2, h3, h4");return c&&t(c.textContent||"")===e&&(a+=180),a+=70*l.keywordMatches,a+=220*l.sectionMatches,(Jt(o)||Jt(o&&o.parentElement))&&(a-=260),(Gt(e)||Gt(n))&&(a-=220),a}(l,u,m,r||e.parentElement,n);return p===-1/0?null:{text:l,url:u,detail:m,score:p}}function Qt(e,t){for(var r=e&&e.parentElement;r&&r!==document.body;){if(r.matches&&r.matches("article, li, main, [role='main']"))return null;if(r.matches&&r.matches("header")&&e.closest("article, section, main, [role='main']"))r=r.parentElement;else{if(t(r))return r;r=r.parentElement}}return null}function er(e){return Qt(e,rr)}function tr(e,r){if(!e||1!==e.nodeType)return!1;if(e.matches("nav, header, footer, menu, [role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='banner'], [role='contentinfo']"))return!0;var n=t([e.getAttribute("id"),e.getAttribute("class"),e.getAttribute("role"),e.getAttribute("aria-label"),e.getAttribute("data-testid")].join(" ")).toLowerCase();return!!n&&(!/(news|headline|story|article|post|feed|stream|content|result|listing|archive|topic|thread|discussion|feature)/.test(n)&&(r?/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer|utility|meta|social|share|follow|account|login|signup|register)/.test(n):/(nav|menu|menubar|navbar|breadcrumb|breadcrumbs|pager|pagination|footer|header|toolbar|sidebar|drawer)/.test(n)))}function rr(e){return tr(e,!0)}function nr(e){return tr(e,!1)}function or(e,r,n,i,a){if(!(e.length>=12)){n=t(n);var l=i;if(i=function(e){try{var t=new URL(e,location.href);["uddg","u","u3","r","rut","ad_domain"].forEach(function(r){var n=t.searchParams.get(r);n&&/^https?:/i.test(decodeURIComponent(n))&&(e=decodeURIComponent(n))})}catch(e){}return o(e)}(i),a=t(a),i&&n&&!(n.length<8||n.length>180)&&!/^(images|videos|news|maps|shopping|sign in|privacy|terms|feedback|more)$/i.test(n)&&!/^(javascript:|mailto:)/i.test(i)&&function(e){try{var t=new URL(e,location.href);return t.hostname===location.hostname?/^\/(url|imgres|search|ck\/a|y\.js|l\/.+|aclick)/.test(t.pathname)||"/"===t.pathname:/^https?:/.test(t.protocol)}catch(e){return!1}}(i)&&!function(e,t,r,n){var o=(e+" "+t).toLowerCase();return/\bad\b|sponsored|report ad/.test(o)||/[?&](ad_|ad=|ad_domain=)/i.test(r)||/(?:^|\/)y\.js\?/i.test(n||"")}(n,a,i,l)){var s=n+"|"+i;r[s]||(r[s]=!0,e.push({text:n,url:i,detail:a}))}}}function ir(){return function(){var e,r=document.getElementById("__NEXT_DATA__");if(!r)return null;try{e=JSON.parse(r.textContent)}catch(e){return null}if(!e||!e.props)return null;var n=e.props.pageProps||e.props;if(!n)return null;var o=[],i=null;if(function e(t,r){if(!(r>8)&&t)if("string"!=typeof t){if(Array.isArray(t))for(var n=0;n<Math.min(t.length,200);n++)e(t[n],r+1);else if("object"==typeof t){for(var a=["content","body","markdown","html","description","text","article","post","doc","page","rawBody","compiledSource"],l=0;l<a.length;l++){var s=a[l];t[s]&&"string"==typeof t[s]&&t[s].trim().length>100&&o.push(t[s].trim())}if(!i)for(var c=["title","name","heading"],u=0;u<c.length;u++)if(t[c[u]]&&"string"==typeof t[c[u]]&&t[c[u]].trim().length>2){i=t[c[u]].trim();break}for(var d=Object.keys(t),m=0;m<Math.min(d.length,50);m++)e(t[d[m]],r+1)}}else{var p=t.trim();p.length>80&&o.push(p)}}(n,0),0===o.length)return null;var a,l,s,c=o.reduce(function(e,t){return e.length>=t.length?e:t});if(c.length<200)return null;if(/<[a-z][^>]*>/i.test(c)&&/<\/[a-z]+>/i.test(c)){l=c;var u=document.createElement("div");u.innerHTML=c,hi(u),s=t(u.textContent),a=null}else l=null,s=t(c),a=c;return{title:i||document.title,byline:null,excerpt:s?s.slice(0,280):null,siteName:location.hostname,publishedTime:null,html:l,textContent:s||c,markdown:a,contentType:"article",spaFallback:!0}}()}window.newsHomepageListProfiles=window.newsHomepageListProfiles||[],window.registerNewsHomepageListProfile=function(e,t){newsHomepageListProfiles.push({condition:e,config:t})},window.hostAwareProfiles=window.hostAwareProfiles||[],window.hostAwareProfiles.push({condition:!0,fn:function(e){for(var t=0;t<newsHomepageListProfiles.length;t+=1){var r=newsHomepageListProfiles[t];if(jt(r.condition,e)){var n=Et(e,"function"==typeof r.config?r.config(e):r.config);if(n)return n}}return null}});var ar="cookie|cookies|cookie settings|we use cookies|we use cookies and data|accept all cookies|accept all|reject all|reject optional cookies|reject optional|more options|cookie preferences|let us know your cookie preferences|allow the use of cookies|cookies from other companies|essential cookies|cookie notice|use cookies and similar technologies|manage cookie preferences|manage cookies|manage your privacy settings|privacy choices|personalize advertising|personalized content|welcome we and our .+ partners? wish to store|about your privacy|wish to store and access information|access information on your devices|collect personal data|personalized ads|trusted third party partners|trusted third party|browsing history|device identifiers|personal data|preferences|consent|manage consent|advertising cookies|strictly necessary|social media cookies|legitimate interest|pliki cookie|ustawienia prywatności|polityka prywatności|prywatności|datenschutz|données personnelles|datos personales|dati personali|utilizamos cookies|utilizziamo i cookie|preferenze cookie|accetta tutto|クッキー|Cookieプリファレンス|cookieプリファレンスセンター|Cookie設定|クッキー設定|同意設定|同意の優先設定|すべて受け入れる|すべて許可|同意|受け入れる|쿠키|쿠키 설정|개인정보 설정|동의|모두 허용|허용|全部接受|接受全部|cookie 偏好设置|隐私设置|接受|隐私|файлы cookie|настройки cookie|принять все|принять|we gebruiken cookies|nastavení souhlasu|nastaveni cookies|souhlas s personalizací|souhlas|personalizac|soukromí|soubory cookie|sutikmeny|vi bruger cookies|vi använder cookies|vi anvander kakor|kakor|sekretess|samtycke|samtykke|informasjonskapsler|vi bruker informasjonskapsler|personvern|personverninnstillinger|dine personverninnstillinger|ditt personvern|dine data|aller media|aller media er ansvarlig for dine data|privatlivs|galetes|protecció de dades|protecció|о вашој приватности|пристанак|колачић|колачиће|подешавања приватности|приватности|evästeet|evasteasetukset|evästeasetukset|evästeitä|kaytamme evasteita|käytämme evästeitä|hyväksy evästeet|tietosuoja|slapukai|slapuku nustatymai|slapukų nustatymai|naudojame slapukus|slapukų|slapukus|колачиња|приватност|поставки за колачиња|cookie-uri|confidențialitate|utilizăm cookie-uri|siklapuku iestatijumi|sīkdatnes|sīkdatņu iestatījumi|sīkdatņu|sīkfailus|izmantojam siklapukus|izmantojam sīkdatnes|privātums|privātuma iestatījumi|privātuma|sütiket|süti beállítások|süti|adatvédelem|adatvédelmi beállítások|adatvédelmi|o vašoj privatnosti|o vašoj privatnosti|пристанак|колачић|подешавања приватности|before you continue|before you continue to (google|youtube)|privacy gate|jouw privacy-instellingen|cookie-indstillinger|siklapuku iestatijumi";function lr(e){return new RegExp(ar,e||"")}function sr(e){return new RegExp("^(?:"+ar+")",e||"")}function cr(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function ur(e){return/(this page explains|this is an experiment|example page|demonstrate a webauthn-based interactive challenge|not part of cloudflare challenge production code)/i.test(e||"")}function dr(e,r,n){var o=t(e.title||document.title),i=t(r||"");return function(e,t){return/making sure you're not a bot!?/i.test((e=e||"")+" "+(t=t||""))||/protected by anubis/i.test(t)&&/(enable javascript to get past this challenge|please wait a moment while we ensure the security of your connection|loading)/i.test(t)}(o,i)?"anubis":function(e,r,n){e=e||"",r=r||"";var o=cr(n),i=!r||t(r).length<80;return/datadome captcha/i.test(e+" "+r)||i&&/(captcha-delivery\.com|datadome captcha|\bvar dd=)/i.test(o)}(o,i,n)?"datadome":function(e,r,n){e=e||"",r=r||"";var o=cr(n),i=!r||t(r).length<120;return!ur(r)&&(/attention required! \| cloudflare/i.test(e)||(/just a moment/i.test(e)||/verify you are human|checking your browser|performing security verification|verification successful\. waiting for .* to respond|reviewing the security of your connection before proceeding|please enable javascript and cookies to continue|security service to protect/i.test(r))&&!/this page explains/i.test(r)||(/turnstile/i.test(e)||/turnstile/i.test(r))&&/managed challenge|interactive challenge/i.test(r)&&!ur(r)||i&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(o)&&!ur(o))}(o,i,n)?"cloudflare":null}function mr(e,r){if("anubis"===e)return"Making sure you're not a bot!";var n=function(e){for(var r=[location.hostname,e&&e.siteName,e&&e.title],n=0;n<r.length;n+=1){var o=t(r[n]||"").replace(/^www\./i,"");if(C(o))return o}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function pr(e,r){var n=t([location.hostname,e&&e.siteName,e&&e.title,e&&e.excerpt].join(" ")).toLowerCase(),o=t([r].join(" ")).toLowerCase();return!(!/(^|\.)(facebook\.com|threads\.(net|com))$/.test(location.hostname)&&!/(facebook|threads|meta)/.test(n))&&/meta products|cookies from other companies|allow the use of cookies from threads by instagram|log in with your instagram|join threads to share ideas|create new account|log in to facebook|log in to continue|essential cookies/.test(n+" "+o)}function hr(e,n){if(!pr(e,n))return null;var o=/(threads)/i.test([location.hostname,e&&e.siteName,e&&e.title].join(" ")),i=t(e.title||document.title),a=function(){var e=w("next")||location.pathname;try{e=new URL(e,location.href).pathname}catch(e){}var n=r(e||"").split("/").filter(Boolean);return n.length?"login"===n[0]?t(n[1]||""):t(n[0]):null}(),l=[o?"Access notice: Threads login or cookie acceptance required":"Access notice: Facebook login or cookie acceptance required"],s=e.excerpt;return i&&!/threads\s*[•|-]\s*log in|facebook\s*-\s*log in/i.test(i)||(i=a?o?"Threads page "+a:"Facebook page "+a:o?"Threads page":"Facebook page"),s&&!/join threads to share ideas|log in with your instagram|create an account or log into facebook/i.test(s)||(s=o?"Original content on this Threads page is not available without login or cookie acceptance.":"Original content on this Facebook page is not available without login or cookie acceptance."),a&&-1===i.indexOf(a)&&l.push("Requested page: "+a),v({title:i,description:s,details:l,siteName:e.siteName||location.hostname})}function fr(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function gr(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return t.width>0&&t.height>0&&"hidden"!==r.visibility&&"none"!==r.display}function yr(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function br(e,r,n,o){!(n=t(n||""))||n.length>o||fr(n)||r[n]||(r[n]=!0,e.push(n))}function vr(e,r,n){n=n||{};var o=t(r||"").toLowerCase(),i=t(e||"").toLowerCase(),a=/\b404\b|\boops!\b|\bnot found\b|page not found|not the web page you are looking for|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|we.?re sorry, but that page cannot be found|(?:that |the )?page cannot be found|the page you (?:requested|were looking for|are looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available|(?:dataset|record|project|submission) (?:you are trying to view )?is not available|this doi cannot be found in the doi system|doi cannot be found|ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i,l=n.maxTextLength;if(l&&o.length>=l)return null;if(n.checkStructured&&function(){var e=document.querySelector("main, [role='main'], .content, body");if(!e)return!1;var r=t((e.querySelector("h1, h2")||{}).textContent||""),n=t(e.textContent||"");return!!/\bpage not found\b|\bnot found\b/i.test(r)&&(!!/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(n)&&0===e.querySelectorAll("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']").length)}())return{structured:!0};if(n.checkStructured&&/\bpage not found\b/i.test(i+" "+o)&&/\bpage you requested cannot be accessed\b|\baddress was typed incorrectly\b|\bpage does not exist\b|\bpage cannot be found\b/i.test(i+" "+o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody'], .article-content, .article-text, .abstract, [property='abstract']"))return{structured:!0};if(!a.test(i+" "+o))return null;var s=o.slice(0,420),c=a.test(i),u=a.test(s),d=u&&o.length<900,m=c||u||o.length<900;return n.requireDominance&&!m||n.excludeDefinitionsNet&&/definitions\.net/i.test(i+" "+location.hostname)||n.requireInterstitialPage&&!(c||d||!n.substantialPublic&&u)&&n.substantialPublic?null:{titleLooksMissing:c,pageStartsMissing:u,shortMissingPage:d,dominates:m}}function wr(e){var r,n,o=t(e||""),i=(r=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3, main p, main li").length,n=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, h1, h2, h3, [itemprop='articleBody'], main li").length,Math.max(r,n)),a=document.querySelectorAll("main h1, h1, main h2").length,l=document.querySelectorAll("main a[href], a[href]").length;return i>=5&&(o.length>=180||a>=1&&l>=3)}function xr(e,r){var n=t(e.title||document.title),o=t([r||"",document.body&&document.body.textContent||""].join(" ")),i=(n+" "+o).toLowerCase(),a=wr(o);return pr(e,r)?"meta_login":/robot or human|confirm (?:that )?you (?:are|.?re) (?:a )?human|activate and hold the button|press\s*(?:&|and)\s*hold|px-captcha|drag the slider to fit the puzzle|slide to verify|help us protect|verifying that you.?re a real person|unusual activity from your computer network|click the box below to let us know you.?re not a robot/i.test(i)?"human_verification":/select your country|choose a country|shopping in the u\.s\?|best buy international/i.test(i)&&!a?"region_selector":/browser is not supported|your browser is not supported|unsupported browser|for the best experience, use any of these supported browsers|use any of these supported browsers|supported browsers:/i.test(i)&&!a?"browser_support":/^access error$/i.test(n)||/potential misuse|page you are trying to access is unavailable|help\.ft\.com|request blocked|you have been blocked|troubleshooting cloudflare errors/i.test(i)?"access_error":function(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=/خطایی رخ داده|وب سایت مورد نظر در دسترس نیست|page unavailable|site unavailable|website unavailable|service temporarily unavailable|temporarily unavailable|service unavailable/;return i.test(n)||o.length<1200&&i.test(o.slice(0,500))}(n,o)?"site_unavailable":function(e,r){var n=t(e||"").toLowerCase(),o=t(r||"").toLowerCase(),i=lr(),a=sr();return!!/^before you continue to (google|youtube)\b/.test(n)||!(!/before you continue to (google|youtube)/.test(o)||!/accept all|reject all|more options|we use cookies and data/.test(o))||!!Mr(o)&&(i.test(n)||a.test(o))}(n,o)?"consent_wall":/\bmy account\b[\s\S]{0,120}\blog in\b/i.test(o)&&/\byou must log in to access\b/i.test(o)&&!document.querySelector("article, [itemprop='articleBody'], [property='articleBody']")?"auth_wall":vr(n,o,{checkStructured:!0,requireDominance:!0,requireInterstitialPage:!0,substantialPublic:a,excludeDefinitionsNet:!0})?"not_found":/transferring (?:you )?to (?:the )?website|در حال انتقال به وب.سایت|سایت در حال بارگذاری|sayfaya yönlendiriliyorsunuz|yönlendiriliyor|מועבר לאתר|الموقع قيد التحميل|ویب سائٹ پر منتقل/i.test(i)&&t(o).length<600?"js_redirect":/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/i.test(i)?"subscription":function(e,r,n){var o=t(e||"").toLowerCase(),i=t(r||""),a=(location.pathname||"").toLowerCase(),l=/\/(?:log(?:in|-in)|sign(?:in|-in)|auth|oauth|sso|session|sessions|account(?:s)?\/login|users?\/sign_in|password|forgot)(?:\/|$)/.test(a),s=document.querySelectorAll("input[type='email'], input[name*='email' i], input[name*='password' i]").length,c=document.querySelectorAll("form input[type='password'], form input[name*='password' i], form[action*='login' i], form[id*='login' i], form[class*='login' i], [aria-label*='sign in' i] input[type='password']").length,u=y(["form h1","form h2","form legend","[role='dialog'] h1","[role='dialog'] h2","main h1","main h2"],8).filter(function(e){return/sign in|log in|login|create (?:an )?account|password/i.test(e)}).length,d=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3").length,m=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, nav a[href]").length,p=Math.max(d,m),h=/forgot(?:ten)? password|reset your password|check your email for a reset link/i.test(n),f=/\b(?:github|gitlab|google|oauth|sso|single sign-on|continue with|sign in with|log in with)\b/i.test(n);return!l&&/^(?:log in|login|sign in|sign-in|sign into|log into)(?:\b|\s*[-|–])/.test(o)&&(s>=1||c>0||u>0||f)?p<15:!!(h&&d<10&&i.length<2200||(h||/sign in to continue|log in to continue|create an account to continue|please sign in|please log in/i.test(n))&&(/sign in|log in|login|create (?:an )?account|reset your password/.test(o)||!(!/sign in|log in|login|create (?:an )?account|reset your password/.test(o)&&p>=15&&i.length>=1e3)&&((c>0||u>0)&&s>=1&&d<10||s>=1&&i.length<900&&d<8||i.length<400&&d<5)))}(n,o,i)?"auth_wall":null}function Sr(e,r){var n=xr(e,r);if(!n)return null;if("meta_login"===n)return hr(e,r);var o=t(e.title||document.title),i=y(["main h1","main h2","main p","main li","body h1","body h2","body p"],20).filter(function(e){return e&&e.length<=240&&!fr(e)}),a=i.find(function(e){return e!==o&&e.length>=12})||e.excerpt||t(r||""),l=[],s=[];if("human_verification"===n)o&&!C(o)||(o="Robot or human?"),l.push("Gate: human verification");else if("consent_wall"===n){var c=function(){var e={},t=[],r=[],n=[],o=[];document.querySelectorAll("main h1, main h2, main h3, body h1, body h2, body h3").forEach(function(r){gr(r)&&br(t,e,yr(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){gr(t)&&br(r,e,yr(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){gr(t)&&br(n,e,yr(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(gr(t)){var r=yr(t);!r||r.length>80||/(accept|reject|decline|manage|options|settings|choices|privacy|cookies?|consent|allow|agree|continue|more|customize|save|confirm|necessary|essential|preferences|alles|tout|todas?|todos?|rifiuta|rejeitar|weigeren|afvis|hylkää|odmítnout|noraidīt|elutasítás|elutasítom)/i.test(r)&&br(o,e,"Control: "+r,100)}});var i=r.find(function(e){return e.length>=40&&/(cookies?|data|privacy|personal|ads?|content|services|device|information|partners?|consent)/i.test(e)})||r.find(function(e){return e.length>=20})||null;return{headings:t,description:i,highlights:t.concat(r).concat(n).concat(o)}}();c.headings.length&&(o=c.headings[0]),c.description&&(a=c.description),l.push("Interstitial: cookie or consent prompt"),s=c.highlights.filter(function(e){return e!==o&&e!==a}).slice(0,6)}else"region_selector"===n?(l.push("Interstitial: region or country selector"),s=i.filter(function(e){return e!==o&&e!==a}).slice(0,3)):"browser_support"===n?l.push("Interstitial: unsupported browser shell"):"access_error"===n?l.push("Interstitial: access error or blocked session"):"site_unavailable"===n?l.push("Interstitial: site unavailable or temporarily offline"):"not_found"===n?(o&&!C(o)||(o="Page not found"),l.push("Interstitial: requested page is unavailable")):"subscription"===n?l.push("Access notice: subscription or institutional login required"):"auth_wall"===n?(o&&!C(o)||(o="Login required"),l.push("Access notice: login or account required")):"js_redirect"===n&&(o&&!C(o)||(o="Redirecting..."),l.push("Interstitial: JavaScript redirect page — content not yet loaded"));return v({title:o,description:a,details:l,highlights:s,siteName:e.siteName||location.hostname,contentType:"interstitial"})}function kr(e){return"function"==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e.replace(/[àáâãäåæ]/g,"a").replace(/[èéêë]/g,"e").replace(/[ìíîï]/g,"i").replace(/[òóôõöø]/g,"o").replace(/[ùúûü]/g,"u").replace(/[ýÿ]/g,"y").replace(/[ñ]/g,"n").replace(/[çć]/g,"c").replace(/[šś]/g,"s").replace(/[žźż]/g,"z").replace(/[đ]/g,"d").replace(/[łĺ]/g,"l").replace(/[ř]/g,"r").replace(/[ťț]/g,"t").replace(/[ğ]/g,"g").replace(/[ąă]/g,"a").replace(/[ęě]/g,"e").replace(/[ıİ]/g,"i").replace(/[ůű]/g,"u").replace(/[őö]/g,"o").replace(/[ń]/g,"n")}function Ar(e){return/[\u0370-\u03FF\u0400-\u04FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F\u3040-\u30FF\u3400-\u4DBF\u4E00-\u9FFF]/.test(e||"")}function qr(){return kr(r(location.pathname||"").toLowerCase()).replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=3&&!/^(questions|question|about|docs|wiki|html|index|start|journey|get|your|with|from|the|and|for|dictionary|definition|definitions|browse|category|recipes|recipe|english|search|translate|translation|pronunciation|thesaurus)$/.test(e)&&!/^\d+$/.test(e)})}function Cr(e){return(r(e||"").toUpperCase().match(/\b(?:WO|US|EP|JP|CN|KR|CA|AU)\s*\/?\s*\d{4}\s*\/?\s*\d{3,7}\s*[A-Z]?\d?\b/g)||[]).map(function(e){return e.replace(/[^A-Z0-9]/g,"")}).filter(function(e,t,r){return e.length>=8&&r.indexOf(e)===t})}function _r(){var e=(location.pathname||"").match(/^\/([a-z]{2})(?:\/|$)/);if(e||(e=(location.pathname||"").match(/\/([a-z]{2})(?:\/|$)/)),!e)return null;var t=e[1];return/^(de|fr|es|pt|pl|it|nl|sv|da|nb|no|fi|cs|sk|hu|ro|bg|hr|sr|sl|uk|el|tr|ja|ko|zh|ar|he|th|vi|id|ms)$/.test(t)?t:null}function Tr(e){try{return new URL(e||location.href,location.href)}catch(e){return null}}function Er(e){return(e&&e.hostname||"").replace(/^www\./i,"").toLowerCase()}function jr(e){return e?r(e.pathname||"").split("/").filter(Boolean).map(function(e){return e.replace(/\.(?:html?|shtml|php|aspx?)$/i,"").toLowerCase()}):[]}function Lr(e){return kr(t(r(e||""))).toLowerCase().replace(/[^a-z0-9]+/g," ").trim().replace(/\s+/g," ")}function $r(e){return!(!e||e.length<10)&&(!/^\d+$/.test(e)&&(!(/^[a-z0-9]{10,}$/i.test(e)&&-1===e.indexOf("-")&&-1===e.indexOf("_")&&!/[^\x00-\x7F]/.test(e))&&(/[-_]/.test(e)||/[^\x00-\x7F]/.test(e))))}function Pr(e){return!(!e||!e.length)&&(1===e.filter($r).length&&e.every(function(e){return $r(e)||e.length<=24||/^\d+$/.test(e)||/^[a-z]{2}$/i.test(e)||/^[a-z0-9]{6,}$/i.test(e)}))}function zr(e,n,o,i){if(!e||!t(e.title||""))return!1;if(!(n&&"article"===n.contentType||o.length>800||((i||"").match(/\n\s*\n/g)||[]).length>=4))return!1;var a=r(location.pathname||""),l=jr(Tr(location.href)),s=qr(),c=kr([e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" ")).toLowerCase(),u=kr(t(n&&n.title||e.title||"")).toLowerCase(),d=[e.title,n&&n.title||"",o.slice(0,4e3),i||""].join(" "),m=s.length>=5?.2:.15,p=s.filter(function(e){return-1!==c.indexOf(e)}).length,h=s.filter(function(e){return-1!==u.indexOf(e)}).length,f=Pr(l)&&s.length>=2&&(p>=1||h>=1||p/s.length>=m||h/s.length>=m);return function(e){var t=Tr(location.href),r=Tr(e&&e.canonicalUrl);if(!t||!r)return!1;if(Er(t)!==Er(r))return!1;var n=jr(t),o=jr(r);if(n.join("/")===o.join("/"))return Pr(n);if(n.length!==o.length)return!1;for(var i=0,a=0;a<n.length;a+=1)if(n[a]!==o[a]&&(i+=1,!$r(n[a])||!$r(o[a])))return!1;return 1===i}(e)&&Ar(d)||Ar(a)||Ar(d)&&Pr(l)||f}var Nr={de:/\b(und|die|der|das|ist|von|zu|mit|den|ein|eine|für|auf|als|auch|nicht|sich|werden|nach|bei|aus|wie|oder|noch|nur|dem|des|über)\b/gi,fr:/\b(les|des|une|est|dans|pour|sur|par|pas|qui|que|avec|son|sont|plus|ses|mais|cette|ont|tout|nous|vous|aux|leur)\b/gi,es:/\b(los|las|una|del|por|con|para|que|más|son|sus|pero|como|esta|todo|nos|hay|fue|muy|han|sin|sobre|tiene)\b/gi,pt:/\b(dos|das|uma|por|com|para|que|mais|são|mas|como|esta|seu|sua|tem|nos|foi|pode|muito|seus|sobre|também)\b/gi,pl:/\b(nie|jest|są|się|jak|czy|ale|lub|oraz|tak|ich|jego|już|pod|przy|bez|dla|gdy|gdzie|między|tylko|może|który|która|które|których|którym|którego|którą|ten|ta|tej|tego|tym|tych|przez|dnia|roku|wobec|nadto|ponadto|został|została|był|była|było|były)\b/gi,it:/\b(gli|una|del|per|con|che|sono|più|dalla|della|delle|dei|anche|come|questa|tutto|suo|sua|suoi|nelle|alla)\b/gi,nl:/\b(een|het|van|zijn|met|dat|voor|maar|niet|ook|als|nog|wel|hun|uit|bij|kan|zou|meer|alle|dit|wordt)\b/gi,da:/\b(den|det|til|med|har|som|kan|vil|blev|efter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|blev|over|under)\b/gi,sv:/\b(den|det|att|som|har|med|för|kan|och|var|till|från|inte|ska|alla|hon|han|efter|över|under|denna|också|eller|blev)\b/gi,no:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,nb:/\b(den|det|til|med|har|som|kan|vil|ble|etter|også|eller|han|hun|var|fra|ved|skal|ikke|mange|denne|over|under)\b/gi,fi:/\b(sen|oli|kun|tai|niin|mutta|ovat|joka|myös|kuin|siitä|tämä|hänen|tämän|vain|olla|sillä|sekä|ovat|vielä|nyt|yli|alle)\b/gi,tr:/\b(bir|için|ile|olan|olarak|gibi|daha|kadar|ancak|ayrıca|sonra|yapılan|ise|olan|üzerinde|tarafından|büyük|yeni|sonra)\b/gi,lv:/\b(par|kas|bet|arī|lai|jau|gan|nav|tad|vai|kur|šis|tās|kā|pie|pēc|tiek|var|būt|kad|vēl|viņa|visi|tikko|savs|kurš)\b/gi,lt:/\b(tai|yra|kad|bet|jau|dar|tik|bus|nuo|per|bei|iki|dėl|kas|čia|jis|jos|kur|buvo|labai|arba|dabar|turi|savo|apie)\b/gi,ro:/\b(este|sunt|fost|care|dar|sau|mai|pentru|într|cea|cel|acest|după|când|cum|prin|din|lor|avea|fost|toate|poate|doar)\b/gi,hr:/\b(koji|koja|koje|biti|nije|kao|ali|ako|više|samo|mogu|nakon|između|tada|sve|još|prije|već|prema|sada|njegov|ovaj)\b/gi,sr:/\b(који|која|које|бити|није|као|али|ако|више|само|могу|након|између|тада|све|још|пре|већ|према|сада|његов|овај)\b/gi,uk:/\b(що|але|як|або|вже|для|при|без|між|під|над|після|тому|який|яка|яке|його|його|цей|ще|також|може|були|буде)\b/gi,bg:/(?:^|\s)(и|в|на|за|с|от|до|е|са|се|че|но|като|през|които|която|което|след|това|също|повече|само|между|тези|всички|може|имат|обаче|когато|върху|срещу)(?=\s|$)/gi,el:/\b(και|που|από|στο|στα|στη|στις|στον|στους|για|με|της|του|των|ότι|αυτό|ήταν|είναι|αλλά|μετά|πριν|ακόμα|μπορεί)\b/gi,sk:/\b(ktorý|ktorá|ktoré|alebo|jeho|jeho|tento|tiež|môže|boli|bude|keď|pred|všetky|len|ešte|však|medzi|zatiaľ)\b/gi,sl:/\b(vendar|ampak|lahko|tudi|pred|vsak|bolj|že|prav|toda|niso|bili|bila|bilo|bodo|oziroma|čeprav|vedno|takoj)\b/gi,hu:/\b(hogy|mint|amikor|pedig|csak|volt|lesz|még|vagy|máig|után|előtt|mivel|összes|fogja|ehhez|tehát|viszont|minden)\b/gi,cs:/\b(který|která|které|jako|jeho|tento|také|může|byli|bude|když|před|všechny|ještě|pouze|však|mezi|zatím|proto)\b/gi};function Rr(e,r){if(function(e,r){var n=t(r||"");if(!n||n.length<120)return!1;var o=n.replace(/\s/g,"");if(!o)return!1;var i={bg:/[\u0400-\u04FF]/g,el:/[\u0370-\u03FF]/g,sr:/[\u0400-\u04FF]/g,uk:/[\u0400-\u04FF]/g}[e];return!!i&&(o.match(i)||[]).length/o.length>=.25}(e,r))return!0;var n=Nr[e];if(!n)return!0;var o=r.match(n)||[],i=r.split(/\s+/).length,a="pl"===e?.025:.03;return i<40||o.length/i>=a}function Mr(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!lr("i").test(r))return!1;if(sr("i").test(r))return!0;var n=r.match(lr("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function Br(e){var r=t(e||"").toLowerCase();if(!r)return!1;var n=/subscribe to continue|subscription required|sign in to continue reading|log in to continue reading|subscriber-only|purchase short-term access|institutional access|access through your institution|read with a subscription/g;if(n.test(r.slice(0,600)))return!0;var o=r.match(n)||[];return r.length<3e3&&o.length>=1}function Hr(){var e=d(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=i("article:content_tier","property")||i("article:content_tier","name"),o=n&&/^(locked|metered|premium)$/i.test(t(n)),a=!!document.querySelector("[data-piano-offer], [data-paywall], [class*='paywall' i], [id*='paywall' i], [class*='subscribe-wall' i], [class*='premium-wall' i], [class*='piano-offer' i], [data-testid*='paywall' i], [class*='metered' i][class*='banner' i]"),l=t(document.body&&document.body.innerText||"").slice(0,6e3).toLowerCase(),s=/(for abonnenter|unlock full access|contenu réservé aux abonnés|solo para suscriptores|nur für abonnenten|alleen voor abonnees|solo per abbonati|dostępne dla subskrybentów|только для подписчиков|лише для передплатників|přístupné pouze pro předplatitele|csak előfizetőknek|exklusivt för prenumeranter|kun for abonnenter|vain tilaajille|tik prenumeratoriams|tikai abonentiem|nur für abonnent|nur für abonnenten|contenido exclusivo para suscriptores|réservé aux abonnés|subscriber exclusive|subscribers only|premium content|members only|členský obsah|premium-inhalt)/.test(l);return r||o||a||s?{source:r?"structured_data":o?"meta_tag":a?"dom_element":"text_pattern",contentTier:n?t(n).toLowerCase():r?"locked":null}:null}function Fr(e,n){var o=r(location.pathname||"").toLowerCase(),i=t([e,o,n.slice(0,5e3)].join(" ")).toLowerCase();return!!/\/(?:instruments?|treat(?:y|ies)|charters?|covenants?|conventions?|protocols?|resolutions?|publication\/unts)\b/.test(o)||(!!/\b(?:international\s+)?(?:covenant|convention|charter|treaty|protocol|optional protocol|general assembly resolution|united nations treaty collection|states parties to the present|entry into force|ratification status)\b/.test(i)||(!(!/\barticle\s+\d+\b/.test(i)||!/\b(states parties|entry into force|ratification|depositary|secretary-general|united nations)\b/.test(i))||!!function(e,t,r){var n=Ze({text:t,title:e,path:r,contextLimit:5e3}),o=/\b(?:book|part|division|chapter|title|article|section)\s+\d+[a-z]?\b/g.test(t)||/(?:^|\s)§\s*\d+/.test(t);return n.officialStatuteTitle&&n.officialTextSignals&&(o||n.translationAttribution||/\/englisch_[a-z0-9_-]+\//.test(r))}(e,n,o)))}function Ir(e,n){var o=r(location.pathname||"").toLowerCase(),a=t([e,o,n.slice(0,8e3),i("citation","name"),i("DC.title","name")].join(" ")).toLowerCase(),l=Or(o),s=/\[\d{4}\]\s*(?:ukhl|uksc|ewca|ewhc|ukpc|ukut|ukftt|ac|wlr|all\s+er|ecli)\b/i.test(a),c=/\b(?:judgment|judgement|opinion(?:s)? of the lords|court of appeal|high court|supreme court|house of lords|lordships|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(a),u=/\b(?:v\.?|versus)\b/i.test(e||a)&&/\b(?:appellant|respondent|claimant|defendant|secretary of state|commissioner|director of public prosecutions)\b/i.test(a);return l&&(s||c||u)||s&&c&&u}function Or(e){return/\/(?:cases?|judgments?|judg?ments?)\/[^/]+\/\d{4}\/\d+(?:\.html?)?$/i.test(e)||/\/(?:uksc|ukhl|ewca|ewhc|ukpc|ukut|ukftt|scotcs|niehc|nifam|ecj|echr|ecli)\/\d{4}\/\d+(?:\.html?)?$/i.test(e)}function Dr(e,n,o,a){if(!n||"article"!==n.contentType||n.docsLike)return!1;if(q(/(^|\.)siol\.net$/))return!1;if(function(e,n,o,a){if(!n||"article"!==n.contentType||a.length<500)return!1;var l=r(location.pathname||"").toLowerCase(),s=t([o,n&&n.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.hostname||"",l].join(" ")).toLowerCase();if(/\b(news|breaking|opinion|press release|live updates?)\b/.test(s))return!1;var c=/\b(science|research|data|statistics|charts?|emissions?|climate|mission|observatory|telescope|reference|facts?|explorer|dataset|indicators?)\b/.test(s),u=/\b(key facts|data explorer|all charts|research & writing|introduction|overview|mission overview|science themes|methodology|download data|sources? and methods?)\b/i.test(a),d=/\/(?:mission|missions|data|statistics|charts?|topics?|explorers?)(?:\/[^/.]+)?\/?$/.test(l)||/\b(?:emissions|greenhouse-gas|climate|dataset|data-explorer)\b/.test(l),m=(a.match(/^##\s+/gm)||[]).length;return c&&(d&&a.length>=500||a.length>=1500&&(u||m>=4))}(e,n,o,a))return!1;if(function(e,r,n,o){if(!r||"article"!==r.contentType||o.length<500)return!1;var a=t([n,r&&r.title||"",e&&e.title,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.pathname||"",o.slice(0,4e3)].join(" ")).toLowerCase();return/\b(today in history|on this day|this day in history|from the archives|retrospective|look back|looking back|revisit(?:ed|ing)?|recall(?:s|ed|ing)?|remember(?:s|ed|ing)?|anniversary|archived|back then|then and now|historical|ajaloos|ajalugu|tagasivaade|meenut(?:a|ab|as)?)\b/.test(a)||/(?:振り返る|回顧|回想|当時|歴史|記念)/.test(a)}(e,n,o,a))return!1;var l=d(["NewsArticle","ReportageNewsArticle","LiveBlogPosting","AnalysisNewsArticle","OpinionNewsArticle"]);if(l){var s=t(p(l.dateModified)||i("article:modified_time","property")||i("article:modified_time","name")||i("dateModified","property")||i("dateModified","name")||"");if(s){var c=Date.parse(s);if(!isNaN(c))if((Date.now()-c)/864e5<=30)return!1}return!0}var u=t(i("og:type","property")||"").toLowerCase();if(u&&"article"!==u)return!1;if(document.querySelector("#mw-content-text .mw-parser-output, #bodyContent .mw-parser-output"))return!1;var m=t([o,e&&e.siteName,e&&e.excerpt,i("article:section","property"),location.pathname||""].join(" ")).toLowerCase();return!/\b(docs?|documentation|reference|encyclopedia|wiki|manual|api|guide|tutorial|learn|legal|charter|terms|privacy|about us)\b/.test(m)&&(!!/\b(news|breaking|politics|business|markets?|economy|world|national|local|analysis|opinion|investigation|report)\b/.test(m)||a.length<5e3&&/\b(updated|published|reported)\b/.test(m))}function Ur(e){var r=[];return e.forEach(function(e){Array.prototype.slice.call(document.querySelectorAll(e)).forEach(function(e){var n=t(e.textContent||"");n.length>=80&&-1===r.indexOf(n)&&r.push(n)})}),t(r.join("\n\n"))}function Wr(e,r,n){if(!e||"article"!==e.contentType||e.docsLike||n.length<100)return!1;var o=String(e.html||""),i=t([e.title||"",n.slice(0,1e3)].join(" ")).toLowerCase();if(/\blyrics?\b/.test(i)||/\bpoems?\b/.test(i))return!1;var a=((r||"").match(/\n\s*\n/g)||[]).length,l=((r||"").match(/^#{1,6}\s+/gm)||[]).length,s=(n.match(/[.!?。!?؟।]+/g)||[]).length,c=t(document.documentElement&&document.documentElement.lang||"").toLowerCase(),u=n.length<1500&&(c&&!/^en\b/.test(c)||(n.match(/[^\x00-\x7F]/g)||[]).length>.3*n.length);return q(/(^|\.)lenta\.ru$/)&&/^\/news\/\d{4}\/\d{2}\/\d{2}\//i.test(location.pathname||"")?(a>=1||l>=1)&&s>=2:!!(u&&Rt(e)&&(a>=1||l>=1||s>=2))||!(n.length>=700)&&(!(!/<article\b/i.test(o)&&!/<main\b/i.test(o))&&((a>=1||l>=1)&&s>=2))}function Zr(e,t){var r=document.createElement("div");if(r.innerHTML=e&&e.html?e.html:"",!r.innerHTML)return{root:null,markdown:t};Array.prototype.forEach.call(r.querySelectorAll(["aside","nav","footer","[role='complementary']","[role='navigation']","[aria-label*='related' i]","[aria-label*='recommended' i]","[aria-label*='latest' i]","[class*='related' i]","[class*='recommend' i]","[class*='recirculat' i]","[class*='liveblog' i]","[class*='live-blog' i]","[class*='sidebar' i]","[class*='side-bar' i]","[class*='widget' i]","[class*='comment' i]","[class*='discussion' i]","[class*='community' i]","[class*='popular' i]","[class*='trending' i]","[class*='suggest' i]","[class*='teaser' i]","[class*='also-read' i]","[class*='read-more' i]","[class*='more-news' i]","[class*='more-stories' i]","[class*='more-from' i]","[class*='front-page' i]","[class*='article-list' i]","[class*='content-list' i]","[class*='story-list' i]","[class*='news-list' i]","[class*='headline-list' i]","[class*='feed' i]","[class*='story-card' i]","[class*='storycard' i]","[class*='article-related-content' i]","[id*='related' i]","[id*='recommend' i]","[id*='comment' i]","[id*='sidebar' i]","[id*='widget' i]","[data-component*='article-list' i]","[data-component*='related' i]","[data-testid*='related' i]","[data-testid*='recommend' i]","[data-testid*='comment' i]"].join(", ")),function(e){e.parentNode.removeChild(e)});return{root:r,markdown:Uo(r.innerHTML||"")||""}}function Vr(e,r,n){var o=t(r&&r.title||e.title||"").toLowerCase(),i=(location.pathname||"").toLowerCase(),a=t(n||r&&r.textContent||"").toLowerCase();if(d(["LiveBlogPosting"]))return"liveblog";if((Zr(r,n).root||document).querySelector("[data-liveblog], [class*='liveblog' i], [class*='live-blog' i], [id*='liveblog' i], [class*='live-ticker' i], [class*='liveticker' i], [id*='live-ticker' i], [class*='live-feed' i], [class*='live-updates' i], [class*='live-entries' i]"))return"liveblog";if(/\b(liveblog|live.blog|live.ticker|liveticker|live updates?|live.updates?)\b/.test(o)||/\b(liveblog|live-blog|liveticker|live-ticker|live-updates)\b/.test(i))return"liveblog";if(/\b(daily briefing|morning briefing|evening briefing|weekly briefing|news briefing|this week in|week in review|daily digest|news digest|morning roundup|evening roundup|weekly roundup|daily round-?up|weekly round-?up|tagesüberblick|nachrichtenüberblick|wochenrückblick|résumé de la semaine|tour d'horizon|resumen semanal|rassegna stampa|przegląd tygodnia|przegląd dnia|podsumowanie tygodnia|podsumowanie dnia|daglig oversikt|veckosammanfattning|nyhedsoverblik|ugens nyheder|viikon katsaus|savaitės apžvalga|nedēļas apskats|преглед на седмицата|огляд тижня|преглед на денот|săptămâna în revistă|heti összefoglaló|týdenní přehled)\b/.test(o))return"briefing";if(/\b(events?[\s-]*(?:calendar|listing|guide|agenda|schedule)|what['']?s on|upcoming events?|things to do|veranstaltungen|événements|eventos|eventi|wydarzenia|evenementen|evenemang|begivenheder|tapahtumat|renginiai|pasākumi|események|události|events?\s+this\s+week|events?\s+today|event guide|gig guide|concert schedule)\b/.test(o)||/\/(events?|calendar|agenda|whats-on|what-s-on|veranstaltungen|evenements)\b/.test(i)){if((a.match(/\b\d{1,2}[\s./-]\s*(?:jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|jun(?:e)?|jul(?:y)?|aug(?:ust)?|sep(?:tember)?|oct(?:ober)?|nov(?:ember)?|dec(?:ember)?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre|januar|februar|märz|april|juni|juli|august|oktober|dezember|styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień)\b/gi)||[]).length>=2)return"event_listing";if(d(["Event","MusicEvent","SportsEvent","TheaterEvent","Festival"]))return"event_listing"}if(d(["VideoObject","Movie","TVEpisode","TVSeries","TVSeason","Clip"])&&a.length<800)return"video";var l=document.querySelectorAll("video, [class*='video-player' i], [class*='videoplayer' i], [id*='video-player' i], [class*='jwplayer' i], [class*='bitmovin' i], [class*='brightcove' i], [data-player], [data-video-id], [data-video], [class*='auvio' i][class*='player' i], [class*='media-player' i], [class*='mediaplayer' i]"),s=document.querySelectorAll("iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], iframe[src*='dailymotion'], iframe[src*='player'], iframe[src*='video'], iframe[data-src*='youtube'], iframe[data-src*='vimeo']");if((l.length>=1||s.length>=1)&&a.length<600)return"video";if(/\/(video|videos|watch|player|clip|replay|auvio|mediathek|mediatheque|videoteka|platforma)\b/.test(i)&&a.length<800&&a.replace(/https?:\/\/\S+/g,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().length<500)return"video";var c=Zr(r,n),u=c.markdown||n||"";if(c.root){var m=c.root.querySelectorAll("h2, h3"),p=c.root.querySelectorAll("time, [datetime]");if(p.length>=6&&m.length>=4){for(var h=[],f=0;f<p.length;f++){var g=p[f].getAttribute("datetime")||t(p[f].textContent);g&&-1===h.indexOf(g)&&h.push(g)}if(h.length>=4)return"liveblog"}}if(u){var y=(u.match(/^##\s+/gm)||[]).length,b=(u.match(/\b\d{1,2}[:.]\d{2}\s*(?:Uhr|AM|PM|CET|CEST|UTC|GMT|[A-Z]{2,4}T)?\b/gm)||[]).length;if(y>=6&&b>=6)return"liveblog"}if(u&&r&&r.html){for(var v=u.split("\n").filter(function(e){return e.trim().length>0}),w=u.match(/\[([^\]]*)\]\([^)]+\)/g)||[],x=(u.match(/^#{1,3}\s+/gm)||[]).length,S=0,k=0,A=0;A<v.length;A++){var q=v[A];/^#{1,3}\s+/.test(q)?(k>0&&k<200&&S++,k=0):k+=q.length}if(k>0&&k<200&&S++,x>=4&&w.length>=5&&S>=4&&S>=.6*x)return"newsletter";var C=u.replace(/\[([^\]]*)\]\([^)]+\)/g,"$1").replace(/^#{1,6}\s+.*$/gm,"").replace(/[^a-zA-Z\u00C0-\u024F\u0400-\u04FF\u0370-\u03FF\u0100-\u017F\u0180-\u024F]/g," ").replace(/\s+/g," ").trim().split(/\s+/).filter(function(e){return e.length>=3}).length;if(w.length>=8&&x>=4&&C<5*w.length)return"newsletter"}return null}function Gr(e,n,o,i,a){var l,s=[],c=t(n&&n.title||e.title).toLowerCase(),u=t(o||n&&n.textContent||"").toLowerCase(),m=t(i||"").toLowerCase(),p=(c+" "+u+" "+m).trim(),h=function(e){var r=t(e||"");if(!r||!Ar(r))return!1;var n=r.replace(/\s/g,"");if(n.length<60||n.length>2400)return!1;var o=r.split(/\s+/).filter(function(e){return e.length>0}).length;return o<=1||o<220||n.length/Math.max(o,1)>=4}(u),f=dr(e,i,a),g=xr(e,i),y=!(!n||!n.docsLike),b=!(!n||!n.packagePage),v=/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(c)||/(\/dictionary\/|\/definition\/|\/definitions\/|\/pronunciation\/)/.test(location.pathname||"")||!!w("q")&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(c+" "+t(e.excerpt||"").toLowerCase()),x=y&&u.length>20,S=!t(o||"")&&!t(n&&n.textContent||""),k=u.length<140&&/copyright\b.*\ball rights reserved\b/i.test(u)&&!/[.!?].+[.!?]/.test(u),A=t(n&&n.textContent||"").toLowerCase(),C=vr(c,t([u,A].join(" ")).toLowerCase(),{maxTextLength:1100}),_=document.querySelectorAll("main a[href], article a[href]").length>=3||n&&"list"===n.contentType,T=Mr(u),E=u.length>500&&!(T&&!_),j=Wr(n,o,u);y||E||!T||s.push("consent_interstitial"),y||(!(l=t(u||"").toLowerCase())||l.length>220||!/^(?:do not sell(?: or share)? my personal information|do not sell(?: or share)?|privacy policy|cookie policy|cookies? policy|terms of (?:service|use)|manage (?:privacy|cookie|consent) preferences|privacy choices|your privacy choices)$/i.test(l)&&!/(?:do not sell(?: or share)? my personal information|privacy policy|cookie policy|terms of (?:service|use)|privacy choices|your privacy choices)/i.test(l))||s.push("consent_interstitial");var L,$=function(e,r,n,o){var i=t(n||"").toLowerCase(),a=t(o||"").toLowerCase(),l=lr("i"),s=sr(),c=l.test(i),u=l.test(a);if(!c&&!u&&"meta_login"!==e)return!1;var d=s.test(i)||i.indexOf("cookie")>=0&&i.indexOf("cookie")<140&&i.length<500,m=s.test(a)||a.indexOf("cookie")>=0&&a.indexOf("cookie")<140&&i.length<260;return"meta_login"===e||d||m}(g,0,u,m)&&!("consent_wall"===g&&_);if(y||E||!($||Mr(m)&&!_)||s.push("consent_interstitial"),"anubis"===f&&s.push("anubis_challenge_page"),"datadome"===f&&s.push("datadome_challenge_page"),"cloudflare"===f&&s.push("cloudflare_challenge_page"),"consent_wall"!==g||E||_||s.push("consent_interstitial"),"meta_login"===g&&s.push("meta_login_wall"),"human_verification"===g&&s.push("human_verification_interstitial"),"region_selector"===g&&s.push("regional_selector_interstitial"),"browser_support"===g&&s.push("browser_support_interstitial"),"access_error"===g&&s.push("access_error_interstitial"),"site_unavailable"===g&&s.push("site_unavailable_interstitial"),"not_found"!==g&&!C||y&&x||s.push("not_found_interstitial"),"subscription"===g&&(!E||Br(u)||Br(m)&&!_)&&s.push("subscription_interstitial"),"auth_wall"===g&&s.push("auth_or_login_interstitial"),"meta_login"===g&&/cookie/i.test(p)&&s.push("consent_interstitial"),y&&x||!f&&!/(verify you are human|unusual traffic|are you a robot|access denied|security verification|checking your browser)/.test(p)||s.push("bot_or_access_interstitial"),y&&x||"human_verification"!==g&&"access_error"!==g||s.push("bot_or_access_interstitial"),S&&(m.length>80||(e.title||"").length>3||a&&a.htmlLength>200)&&s.push("empty_extraction"),!k||f||g||s.push("empty_extraction"),!f&&!g&&t(o||"").length<10&&(e.title||"").length>3&&-1===s.indexOf("empty_extraction")&&-1===s.indexOf("short_extraction")&&s.push("short_extraction"),!f&&!g&&n&&"search"!==n.contentType){var P=u.length,z=m.length,N=qr().length>=2,R=q(/(^|\.)protothema\.gr$/i)&&"article"===n.contentType&&P>=500;if("article"!==n.contentType||n.legalProvision||x||v||b||R||(N&&P<500&&z>2e3&&(j||h||s.push("truncated_content")),N&&P>=500&&P<1500&&z>3e3&&P/z<.15&&!j&&!h&&s.push("truncated_content"),N&&P>=1500&&P<3e3&&z>8e3&&P/z<.12&&!j&&!h&&s.push("truncated_content"),function(e,r,n,o){if(!r||"article"!==r.contentType||r.docsLike)return!1;if(Wr(r,n,o))return!1;var i=t([location.pathname||"",r&&r.title||"",e&&e.title||""].join(" ")).toLowerCase();if(String(r&&r.html||"").toLowerCase(),/\blyrics?\b/.test(i)){var a=Ur(["[data-lyrics-container]",".lyrics","[class*='Lyrics__Container']"]);if(a.length<300)return!1;if(/data-lyrics-container|lyrics__container|class=["'][^"']*\blyrics\b/i.test(r.html||""))return!1;if(/\[(?:verse|chorus|bridge|outro|intro|hook|refrain|pre-chorus|instrumental)\b/i.test(o))return!1;if(/\b(song bio|annotation|contributors?|written by|produced by)\b/i.test(o)||o.length<.75*a.length)return!0}if(/\bpoems?\b/.test(i)){var l=Ur(["[data-poem]",".poem","[class*='poem' i]"]);if(l.length>=300&&!/data-poem|class=["'][^"']*poem/i.test(r.html||"")&&o.length<.75*l.length)return!0}return!1}(e,n,o,u)&&!h&&s.push("truncated_content")),!(P<200&&z>1e3)||x||v||b||j||h||s.push("short_extraction"),"article"===n.contentType&&P>=200&&P<700&&z>2500&&!x&&!v&&!b&&!j){var M=t([o,c,e.title,e.description].join(" "));!h&&/\b(?:Published:\s*\d{4}|Duration:\s*P?T|featured video|watch video|learn more)\b/i.test(M)&&s.push("short_extraction")}if(("list"===n.contentType||"article"===n.contentType)&&((L=location.pathname||"")&&!/\/(?:search|browse|category|categories|tags?|topics?|collections?)\b/.test(L)&&/\/(?:drugs?|compounds?|substances?|proteins?|genes?|genomes?|pathways?|assays?|bioassays?|datasets?|records?|entries?|items?|products?|publications?|papers?|articles?|cases?|opinions?|decisions?)\/[a-z0-9_.-]*\d[a-z0-9_.-]*(?:\/|$)/i.test(L))&&P<500&&function(e){var r=t(e||"");if(!r)return!1;var n=(r.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,o=(e||"").split(/\n+/).filter(function(e){return/^\s*[-*]\s+\[[^\]]+\]\([^)]+\)\s*$/.test(e)}).length,i=r.replace(/\[([^\]]*)\]\([^)]+\)/g,"").split(/\s+/).filter(function(e){return e.length>=3}).length;return n>=2&&o>=2&&i<2*n}(o)&&!j&&("article"===n.contentType&&h||s.push("short_extraction")),"article"===n.contentType&&!x&&!v&&!b&&P>=200&&P<1e3&&z>2e3&&!j){var B=t(o||""),H=(B.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,F=(B.match(/^#{1,6}\s/gm)||[]).length,I=B.replace(/\[([^\]]*)\]\([^)]+\)/g,"").replace(/^#{1,6}\s.*$/gm,"").split(/\s+/).filter(function(e){return e.length>=3}).length;j||h||!(H>=3&&I<2*H||F>=3&&I<20)||s.push("short_extraction")}v&&P<60&&z>500&&s.push("short_extraction")}var O=qr(),D=n&&"list"===n.contentType&&(w("q")||w("_nkw")||w("st")||/^\/search\//.test(location.pathname));if(!f&&!g&&O.length>=2&&!D&&!y&&!Or(r(location.pathname||"").toLowerCase())&&!Ir(c,u)){var U=(u.match(/[a-zA-Z]/g)||[]).length,W=u.replace(/\s/g,"").length;if((W>0?U/W:1)>.25){var Z=kr(p),V=O.filter(function(e){return-1!==Z.indexOf(e)}).length,G=O.length>=5?.3:.25;if(V/O.length<G){var K=kr(c);O.filter(function(e){return-1!==K.indexOf(e)}).length/O.length<G&&!zr(e,n,u,o)&&!function(e,n,o){if(!n||o.length<500)return!1;var i=r(location.pathname||"").toLowerCase();if(!/\/(?:articles?\/)?(?:dataset|datasets|figure|record|entry)\//.test(i))return!1;var a=t([n&&n.title||"",e&&e.title,e&&e.siteName,o.slice(0,5e3)].join(" ")).toLowerCase();return/\b(?:dataset|posted on|authored by|doi|figure|data|repository|supplementary|apoptosis|protein|gene|assay|study)\b/.test(a)&&(/\b\d{3,}\b/.test(i)||/\/[_-]\//.test(i))}(e,n,u)&&!function(e){var t=Cr([location.href||"",location.pathname||"",location.search||""].join(" "));if(!t.length)return!1;var r=Cr(e||"");return t.some(function(e){return-1!==r.indexOf(e)})}(p)&&s.push("url_content_mismatch")}}}if(!f&&!g&&u.length>200&&!Or(r(location.pathname||"").toLowerCase())&&!Ir(c,u)){var J=_r()||(e.language||"").slice(0,2).toLowerCase();!J||!Nr[J]||Rr(J,u)||J!==_r()&&zr(e,n,u,o)||function(e,r,n){var o=n||document&&document.title||r&&r.title||e&&e.title||"";if(!t(o))return!1;var i=Tr(location.href),a=Tr(e.canonicalUrl),l=jr(i),s=jr(a),c=l[l.length-1]||"",u=s[s.length-1]||"";function d(e){return!!e&&e.length>=4&&!/^\d+$/.test(e)}if(!d(c)&&!d(u))return!1;var m=Lr(l[l.length-1]||""),p=Lr(o);return!(!m||!p||m!==p&&-1===m.indexOf(p)&&-1===p.indexOf(m))}(e,n)||s.push("url_content_mismatch")}if(n&&"search"===n.contentType&&((n.resultCount||0)<3&&s.push("search_results_unusable"),(/^aplikacje google$/i.test(c)||/^google apps$/i.test(c))&&s.push("search_engine_shell_page"),/zawartość została wygenerowana przy użyciu ai|generated with ai|ai-generated/i.test(p)&&s.push("search_engine_ai_summary_only")),!f&&!g&&n&&"search"!==n.contentType&&!n.isolatedLiveblogEntry&&!y&&!b){var X=Zr(n,o).markdown||o||"",Y=Vr(e,n,X),Q=!!d(["NewsArticle","ReportageNewsArticle","AnalysisNewsArticle","OpinionNewsArticle"])&&u.length<1e3;!Y||"video"===Y&&n.hostAware||Q||function(e,n,o,i){if(!n||"article"!==n.contentType||n.docsLike||i.length<1500)return!1;var a=Zr(n,o),l=a.root||document,s=a.markdown||o||"";if(n.singleTopicPage)return!0;var c=t(n&&n.title||e.title||"").toLowerCase(),u=r(location.pathname||"").toLowerCase(),d=t(e&&e.siteName||"").toLowerCase(),m=!!(l&&l.matches&&l.matches(".mw-parser-output, #mw-content-text, #bodyContent, .vector-body, .vector-body-inner"));if(!(n.html&&/<h1\b/i.test(n.html)||c.length>20))return!1;var p=((s||"").match(/\n\s*\n/g)||[]).length,h=((s||"").match(/^#{1,6}\s+/gm)||[]).length,f=!!l.querySelector("article, main, [itemprop='articleBody'], #mw-content-text .mw-parser-output, #bodyContent .mw-parser-output");if(m&&p>=3&&h<=4*p&&i.length>=800)return!0;if(f&&p>=4&&h<=3*p&&i.length>=3e3)return!0;if(p>=10&&i.length>=2500&&h<=2*p)return!0;var g=/\b(abstract|references|methods|results|discussion|data availability|journal|protein|genome|doi)\b/i.test(i)||/\/(articles?|doi)\//.test(u);return!!(i.length>8e3&&g)||!(!/\/(?:what-we-do|what_we_do|our-work|our_work|about|mission|programmes?|programs?)\b/.test(u)&&!/\b(institution|agency|united nations|ngo|foundation|what we do|our work|mission)\b/.test(c+" "+d)||!/\b(what we focus on|we work|our work|mission|protect|provide|advocate|countries and territories|programmes?|programs?)\b/i.test(i))}(e,n,X,u)||function(e,n,o,i){if(!n||i.length<800)return!1;var a=r(location.pathname||"").toLowerCase(),l=t(n&&n.title||e.title||"").toLowerCase(),s=t(e&&e.siteName||"").toLowerCase(),c=t(document.body&&document.body.innerText||""),u=t([l,s,a,i.slice(0,12e3),c.slice(0,12e3)].join(" ")).toLowerCase(),m=(o||"").match(/^#{2,4}\s+/gm)||[],p=/\/(?:compound|substance|protein|gene|genome|pathway|assay|bioassay|dataset|datasets|article\/dataset|articles\/dataset|record|entry)\//.test(a),h=u.match(/\b(?:cid|cas|inchikey|inchi|canonical smiles|molecular formula|molecular weight|uniprot|ensembl|refseq|gene id|taxonomy id|doi|dataset|accession|chembl|pubchem|protein|proteomics|metabolomics|transcriptomics)\b/g)||[],f=document.querySelectorAll("table, dl, [class*='record' i], [class*='identifier' i], [class*='metadata' i], [data-testid*='metadata' i]").length>=2,g=!!d(["Dataset","DataCatalog"]);return(p||g||/\b(?:database|data repository|scientific resource|life science resource)\b/.test(s))&&h.length>=3&&(m.length>=4||f||i.length>=5e3)}(e,n,o,u)||Fr(c,u)||s.push("multi_topic_page")}if(!f&&!g&&n&&"article"===n.contentType&&!Ft()&&(Hr()&&-1===s.indexOf("subscription_interstitial"))){var ee=e&&!0===e.isAccessibleForFree,te=m.length>0?u.length/m.length:1;u.length>0&&(!ee&&u.length<5e3||!ee&&u.length<8e3&&te<.4||u.length<12e3&&te<.25)&&s.push("paywall_partial_content")}f||g||!n||"search"===n.contentType||y||/\/(foto|fotos|photos?|gallery|galleries|galerie|galerij|galleria|galeria|fotogalerie|bildergalerie|bildspel|fotogalleri|valokuvat|fotoalbum|fotoreportaz|фото|фотогалерея|φωτογραφίες)\b/i.test(location.pathname||"")&&u.length<800&&s.push("photo_gallery_page");if(!f&&!g&&Dr(e,n,c,u)){var re=t(n&&n.publishedTime||e.publishedTime||"");if(re){var ne=Date.parse(re);if(!isNaN(ne))(Date.now()-ne)/864e5>30&&u.length>=1200&&!j&&s.push("stale_content")}}return f||g||!n||"search"===n.contentType||y||function(e,r,n){var o=t(r+" "+n).toLowerCase();if(!o)return!1;if(Fr(e,r)||Ir(e,r))return!1;var i=/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//i,a=o.match(/\b(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire)\b|\/prnewswire\//gi)||[];if(!a.length)return!1;if(/\b(this press release was (?:issued|distributed)|press release (?:distributed|provided|issued) by|distributed by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire)|provided by (?:ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|accesswire))\b/i.test(o))return!0;var l=o.slice(0,1600);if(i.test(l)&&/\b(press release|announces?|launches?|reports?|new york|london|toronto|singapore|--|\(business wire\))\b/i.test(l))return!0;var s=t(e+" "+n.slice(0,800)).toLowerCase();return!(!i.test(s)||!/\b(press release|announces?|launches?)\b/.test(s))||a.length>=3&&/\b(press release|announces?|launches?|distributed|provided)\b/i.test(o.slice(0,4e3))}(c,u,m)&&s.push("syndicated_repost"),s}function Kr(e){var t=String(e||"").replace(/\\\r?\n\s*/g,"");try{t=JSON.stringify(JSON.parse(t),null,2)}catch(e){t=t.replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\'/g,"'").replace(/\\"/g,'"').replace(/\\\\/g,"\\")}return t.trim()}function Jr(e){var r=Ae(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(q(/(^|\.)(api\.rubyonrails\.org|ruby-doc\.org)$/)||/rdoc documentation/.test(r)||!n&&!!document.querySelector("#class-metadata, #bodyContent")))return null;if(/documenting the ruby language/i.test(e.title||document.title)&&!document.querySelector("#class-metadata, #bodyContent, main h1"))return null;var o=ke(["#bodyContent","#content","#main","main"]);return o?je(e,o,{titleSelectors:["#bodyContent h1","#content h1","#main h1","main h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*RDoc Documentation$/i,"").replace(/^(class|module)\s+/i,"")},rewriteRoot:function(e){e.querySelectorAll("form, nav, header, #class-metadata, .method-source-code, .source_code, .filetree, .panel, .search-section, .quicksearch, aside").forEach(function(e){e.remove()}),fe(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),fe(e,"h2, h3",/^(home|what(?:’|')?s here)$/i),e.querySelectorAll("h1").forEach(function(e){e.remove()}),e.querySelectorAll("ul, ol, div, section").forEach(function(e){ye(e)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent);/^(¶|↑)$/.test(r)&&e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/[¶↑]/g,"").replace(/\s+</g," < ")})}}):null}function Xr(e){var t=a(e,[function(t,r,n){return[Ae(e),r,n].join(" ")}]),r=t.generator.toLowerCase(),n=t.appName.toLowerCase(),o=t.signature.toLowerCase();return t={generator:r,appName:n,signature:o},document.querySelector("[class*='stldocs-']")?Yr("stldocs",t):/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(o))?Yr("starlight",t):/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav")?Yr("mkdocs",t):document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname)?Yr("readme",t):document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']")?Yr("redoc",t):/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview")?Yr("fern",t):/nextra/.test(o)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container")?Yr("nextra",t):/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav")?Yr("vitepress",t):/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav")?Yr("rspress",t):/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle")?Yr("mdbook",t):/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards")?Yr("antora",t):/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']")?Yr("mintlify",t):/gitbook/i.test(r)||/\.gitbook\.io$/.test(location.hostname)||document.querySelector("main [class*='whitespace-pre-wrap']")&&/powered by gitbook/i.test(document.body.innerText)?Yr("gitbook",t):document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]")?Yr("scalar",t):/docusaurus/.test(r)||document.querySelector("meta[name='generator'][content^='Docusaurus'], #__docusaurus, [class*='docusaurus-'], .theme-doc-markdown, .theme-doc-sidebar-container, nav[aria-label='Docs sidebar']")?Yr("docusaurus",t):/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search")?Yr("rustdoc",t):document.querySelector("#dartdoc-main-content, .self-name")&&document.querySelector("section.summary dt .name a, section.summary dt a")?Yr("dartdoc",t):/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?Yr("go_pkg",t):/readthedocs/.test(o)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?Yr("readthedocs",t):/sphinx/.test(r)||document.querySelector("body[class*='sphinx'], .document, .sphinxsidebar, [role='navigation'] .sphinxsidebarwrapper, div.body[role='main'], dt.sig, a.headerlink, div.highlight")?Yr("sphinx",t):document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(o)?Yr("google_devsite",t):document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(o)&&document.querySelector("[class*='docBody'], article[class*='doc']")?Yr("elastic_docs",t):document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?Yr("generic_docs",t):null}function Yr(e,t){return{system:e,generator:t.generator,appName:t.appName,signature:t.signature}}function Qr(e,r){if(!(r=r||Xr(e))||"stldocs"!==r.system&&"starlight"!==r.system)return null;var n=["main .stldocs-content","main .stldocs-resource-content","main .stl-content-panel","main article","main [data-pagefind-body]","main .sl-markdown-content","main .content-panel","main"].map(function(e){return Array.prototype.slice.call(document.querySelectorAll(e))}).flat().sort(function(e,n){function o(e){var n=e.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").length,o=e.querySelectorAll("[class*='stldocs-method-route'], [class*='method-route']").length,i=e.querySelectorAll("[class*='resource-description']").length;return 1e3*n+200*o+80*e.querySelectorAll(".stldocs-property").length+50*i+("starlight"===r.system&&(e.matches(".sl-markdown-content, [data-pagefind-body]")||e.querySelector(".sl-markdown-content, [data-pagefind-body]"))?5e3:0)+("starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelector("p, pre, code, ul, ol")?800:0)-("starlight"===r.system&&e.matches("article.card, .card")&&!e.querySelector("h1, h2")?1200:0)+t(e.textContent).length}return o(n)-o(e)})[0]||null,o=E(n||document.body);hi(o),ve(o,{});var i,a,l=h(["main h1","main article h1"])||t(e.title||document.title),s=(i={},a=[],o.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").forEach(function(e){if(!(a.length>=12)){var r=function(e){if(!e)return null;var r=we(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=we(e,["h2","h3","h4","strong","[class*='method-name']","[class*='method-title']","[class*='summary-title']"]),o=t(e.textContent);if(n||(n=o,r&&(n=t(n.replace(r,""))),n=(n=n.replace(/\s{2,}/g," ")).split(/(?:(?:GET|POST|PUT|PATCH|DELETE|OPTIONS|HEAD)\/)/)[0].trim()),!n)return null;var i=we(e,["p","[class*='description']","[class*='summary-description']"]);i&&(i=Ne(t(i)),n&&0===i.indexOf(n)&&(i=t(i.slice(n.length))),r&&0===i.indexOf(r)&&(i=t(i.slice(r.length))));var a={text:n};return r&&(a.route=r),i&&(a.detail=i),a.groups=function(e){var t=[],r={};return xe(e,"section, div, details",".stldocs-property").forEach(function(e){if(!(t.length>=3||e.closest(".stldocs-property"))){var n=Se(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var o=tn(e).map(function(e){return nn(e,0)}).filter(Boolean).slice(0,4);o.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:o}))}}}),t}(e),a}(e);if(r){var n=r.text+"|"+(r.route||"");i[n]||(i[n]=!0,a.push(r))}}}),a),c=function(e,r){var n={},o=[],i=t(String(r||"")).toLowerCase().replace(/s$/i,"");Array.prototype.slice.call(e.querySelectorAll(".stldocs-property")).forEach(function(e){if(!function(e){var t=e&&e.parentElement;for(;t;){if(t.classList&&t.classList.contains("stldocs-property"))return t;t=t.parentElement}return null}(e)&&!e.closest("[class*='stldocs-method-summary'], [class*='method-summary']")){var r=t(en(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!rn(r)&&!n[r]){var a=Ne(en(e,".stldocs-property-description, [class*='property-description']")),l=tn(e).map(function(e){return nn(e,0)}).filter(Boolean).slice(0,5);if(a||l.length){var s=/(?:=|:)\s*object\s*\{|\bobject\s*\{/.test(r),c=t(r.split(/[:=]/)[0]).replace(/\s+$/,""),u=c.replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(/[\s_.-]+/).filter(Boolean).length,d=i&&0===c.toLowerCase().indexOf(i);n[r]=!0,o.push({declaration:r,description:a||null,fields:l,objectSchema:s,score:(s?600:0)+200*l.length+(a?50:0)+(d?700:0)+(i&&-1!==r.toLowerCase().indexOf(i)?250:0)-120*(r.match(/\s+or\s+/g)||[]).length-80*Math.max(u-2,0)+Math.min(r.length,80)})}}}});var a=o.some(function(e){return e.objectSchema})?o.filter(function(e){return e.objectSchema}):o;return a.sort(function(e,t){return t.score-e.score}).slice(0,3).map(function(e){return delete e.score,delete e.objectSchema,e})}(o,l);if(s.length||c.length){var u=function(e,r,n){for(var o=[".stldocs-resource-description","[class*='resource-description']",".stldocs-resource-content > p",".stldocs-markdown > p",".sl-markdown-content > p","p"],i=0;i<o.length;i+=1)for(var a=Array.prototype.slice.call(e.querySelectorAll(o[i])),l=0;l<a.length;l+=1){var s=a[l];if(!s.closest(".stldocs-property, [class*='stldocs-method-summary'], [class*='method-summary'], .stldocs-properties, [class*='resource-content-properties']")){var c=Ne(t(s.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=Ne(t(r&&r.excerpt));return u&&u!==n?/^api reference for .* endpoints?$/i.test(u)?null:u:null}(o,e,l);s.length>=6&&(c=c.slice(0,2).map(function(e){return{declaration:e.declaration,description:e.description,fields:e.fields.slice(0,3)}}));var d=[];return l&&d.push("# "+l),u&&d.push(u),s.length&&d.push(function(e){return e.map(function(e){var t="- "+e.text;return e.route&&(t+=" ("+e.route+")"),e.detail&&(t+=": "+e.detail),e.groups&&e.groups.length&&e.groups.forEach(function(e){t+="\n - "+e.heading+"\n"+on(e.fields," ")}),t}).join("\n")}(s)),c.length&&d.push(function(e){var t=["## Schemas"];return e.forEach(function(e){t.push("### "+e.declaration),e.description&&t.push(e.description),e.fields.length&&t.push(on(e.fields,""))}),t.join("\n\n")}(c)),{title:l||e.title,byline:null,excerpt:u||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:d.filter(Boolean).join("\n\n").trim(),textContent:t(d.join(" ")),docsLike:!0,readerMode:!1,contentType:"article"}}return ze(e,n,{title:h(["main h1","main article h1"])||t(e.title||document.title),rewriteRoot:function(e){e.querySelectorAll("#starlight__sidebar, starlight-menu-button, [class*='stldocs-sidebar'], [class*='stldocs-sidebar-entry'], [class*='stldocs-expander'], [class*='sidebar-pane'], [class*='sidebar-content'], [class*='sidebar-accordion'], [class*='table-of-contents'], .stldocs-breadcrumbs, .stl-ui-dropdown, .discord, aside").forEach(function(e){e.remove()}),"starlight"===r.system&&e.querySelector("h1, h2")&&e.querySelectorAll("article.card, .card").forEach(function(e){var r=t(e.textContent);e.closest(".landing-card, .card--fullwidth")||e.querySelector(".title, .body")||r&&r.length<=600&&!e.querySelector("h1, h2, h3, h4, h5, h6")&&e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|table of contents|copy page|edit page|expand|collapse|api reference)$/i),e.querySelectorAll("h1").forEach(function(e,t){t>0&&e.remove()}),e.querySelectorAll("h2, h3, h4, h5, h6, p, div, span").forEach(function(e){var r=t(e.textContent);/expand collapse/i.test(r)&&e.remove(),/^[A-Z][a-z]+(?:[A-Z][a-z]+){1,}$/.test(r)&&r.length<40&&e.remove()})}})}function en(e,t){return Se(e,[t],".stldocs-property")}function tn(e){return xe(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function rn(e){return e=t(e),/^("|').+("|')$/.test(e)}function nn(e,r){if(!e)return null;r=r||0;var n=t(en(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||rn(n)?null:{declaration:n,description:Ne(en(e,".stldocs-property-description, [class*='property-description']"))||null,fields:r<2?tn(e).map(function(e){return nn(e,r+1)}).filter(Boolean).slice(0,0===r?3:2):[]}}function on(e,t){return t=t||"",e.map(function(e){var r=t+"- `"+e.declaration+"`";return e.description&&(r+=": "+e.description),e.fields&&e.fields.length&&(r+="\n"+on(e.fields,t+" ")),r}).join("\n")}function an(r){var n=function(){var t=d(["VideoObject","Clip","Movie","TVEpisode"]),r={title:t&&(t.name||t.headline),description:t&&t.description,byline:t&&(t.author||t.publisher),publishedTime:t&&(t.uploadDate||t.datePublished),duration:t&&t.duration,views:null},n=e.ytInitialPlayerResponse,o=n&&n.videoDetails,i=n&&n.microformat&&n.microformat.playerMicroformatRenderer;return o&&(r.title=r.title||o.title,r.description=r.description||o.shortDescription,r.byline=r.byline||o.author,r.views=r.views||o.viewCount),i&&(r.byline=r.byline||i.ownerChannelName,r.publishedTime=r.publishedTime||i.publishDate||i.uploadDate),r}(),o=t(i("og:type","property")||"").toLowerCase(),a=!(!e.ytInitialPlayerResponse||!e.ytInitialPlayerResponse.videoDetails),l=!(!r.video&&!/^video\b/.test(o)),s=/\/(watch|shorts|live|videos?|player|clip|replay)\b/i.test(location.pathname||""),c=!!document.querySelector("video, iframe[src*='youtube'], iframe[src*='youtu.be'], iframe[src*='vimeo'], [data-video-id], [data-video], [data-player]");if(!!!(a||l||s&&c)||!(s||a||l))return null;if(!a&&!s&&!/^video\b/.test(o)&&Array.prototype.filter.call(document.querySelectorAll("article p, main p"),function(e){return t(e.textContent||"").length>=80}).length>=3)return null;var u=function(e,r){var n=t(r.title||""),o=y(["main h1","article h1","h1"],6).filter(function(e){return!/^(loading|this video is processing|verify to continue|checking if the site connection is secure)/i.test(e)});return!n&&o.length&&(n=o[0]),n||(n=t(e.title||document.title)),n.replace(/\s*[-|]\s*(YouTube|Vimeo|Videos & Movies on Vimeo)$/i,"")}(r,n),f=function(e,r){var n=t(r.description||e.excerpt||"");return n||y(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description","[data-testid='vd-wrapper'] p","main article p","main p"],12).find(function(e){return!(e.length<30||/^(loading|you'll be able to view it as soon as it's done|verify to continue|checking if the site connection is secure)/i.test(e))})||null}(r,n),g=m(n.byline)||r.byline,b=p(n.publishedTime)||h(["time[datetime]"],"datetime")||r.publishedTime,w=[],x=p(n.duration),S=p(n.views);return x&&w.push("Duration: "+x),S&&w.push("Views: "+S),u&&f?v({title:u,byline:g,publishedTime:b,description:f,details:w,siteName:r.siteName||location.hostname,hostAware:!0}):null}function ln(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function sn(e){var r=(e=e||{}).metadata||{},n=e.abstractRoot||null,o=[];if(n&&o.push(n),e.bodyRoots?o=o.concat(e.bodyRoots.filter(Boolean)):e.bodyRoot&&o.push(e.bodyRoot),!o.length&&!e.details)return null;var i=function(e,r){var n="";if(e.title)n=e.title;else if(e.titleNode)n=e.titleNode.getAttribute&&e.titleNode.getAttribute("content")||e.titleNode.textContent||"";else if(e.titleSelectors)for(var o=0;o<e.titleSelectors.length;o+=1){var i=document.querySelector(e.titleSelectors[o]);if(i&&(n=t(n=i.getAttribute&&i.getAttribute("content")||i.textContent||"")))break}return n=t(n||r.title||document.title||""),e.titleCleanup&&(n=n.replace(e.titleCleanup,"")),t(n)}(e,r),a=document.createElement("article");if(i){var l=document.createElement("h1");l.textContent=i,a.appendChild(l)}if(o.forEach(function(t){var r=function(e,t){if(!e)return null;var r=E(e),n="#articleDenialBlock, #denialBlockWrapper, #references, #bibliography, #keywords, section[property='keywords'], [id*='supplementary' i], [class*='supplementary' i], .articleMetrics_count, .articleMetrics, .metrics, .references, .recommended, .recommendations, .citation-tools, .purchase, .access-options, .toolbar-metric__menu-section, .article-tools, .related, .figure-inline-download, .carousel-item, [role='doc-bibliography'], [class*='metric' i], [class*='metrics' i], [class*='recommend' i], [class*='related' i], [class*='citation' i], [class*='reference' i], [class*='collateral' i], [class*='share' i], [class*='purchase' i], [class*='institution' i], aside, nav, form, button, input, footer, script, style, noscript, template, iframe";return t&&(n+=", "+t),r.querySelectorAll(n).forEach(function(e){e.remove()}),r.querySelectorAll("a[href*='/action/doSearch']").forEach(function(e){(e.closest("li, [role='listitem']")||e).remove()}),hi(r),r}(t,e.extraNoiseSelector);r&&a.appendChild(r)}),e.details&&e.details.length){var s=document.createElement("ul");e.details.forEach(function(e){var t=document.createElement("li");t.textContent=e,s.appendChild(t)}),a.appendChild(s)}hi(a);var c=Ei(Uo(a.innerHTML));e.markdownFallback&&t(c).length<.2*t(a.textContent||"").length&&(c=e.markdownFallback());var u=t(c);if(u.length<(e.minTextLength||300))return null;var d=t(n&&n.textContent||"");return{title:i||r.title,byline:r.byline,excerpt:(e.excerpt||d).slice(0,280)||r.excerpt,siteName:e.siteName||r.siteName,publishedTime:r.publishedTime,html:a.innerHTML,markdown:c,textContent:u,readerMode:!1,contentType:"article",hostAware:!0}}function cn(e,r,n){var o=[document.title,e&&e.title,e&&e.siteName,document.body&&document.body.textContent];return r&&r.length&&o.splice(3,0,h(r)),t(o.join(" ")).slice(0,n||2e4)}function un(e){return ln(e||[])}function dn(e,r){if(r.signalSelectors&&!ln(r.signalSelectors))return null;var n=un(r.abstractSelectors),o=un(r.bodySelectors);if(!o&&r.fallbackBodyRoot&&(o=r.fallbackBodyRoot()),!n||!o)return null;if(r.signature){if(!r.signature(e))return null}else if(r.signaturePattern){var i=cn(e,r.signatureSelectors,r.signatureMaxLength);if(!(r.signaturePattern.test(i)||r.allowCitationDoiSignature&&document.querySelector("meta[name='citation_doi']")))return null}var a=t(n.textContent||""),l=t(o.textContent||"");return a.length<(r.minAbstractTextLength||80)||l.length<(r.minBodyTextLength||600)||r.rejectBodyPattern&&r.rejectBodyPattern.test(l)?null:sn({metadata:e,abstractRoot:o.contains&&o.contains(n)?null:n,bodyRoot:o,excerpt:r.excerpt?r.excerpt(a):a,titleSelectors:r.titleSelectors,titleCleanup:r.titleCleanup,siteName:r.siteName?r.siteName(e):void 0,minTextLength:r.minTextLength||700})}var mn={highwire:{abstractSelectors:["#abstract[role='doc-abstract']","section[role='doc-abstract']#abstract","section[property='abstract']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][typeof='Text']"],signatureSelectors:["meta[name='citation_publisher']","meta[name='citation_journal_title']","meta[property='og:site_name']"],signaturePattern:/\b(PNAS|Proceedings of the National Academy|HighWire|citation_doi)\b/i,allowCitationDoiSignature:!0,minBodyTextLength:500,titleSelectors:[".citation__title",".article-header h1","h1[property='name']","h1","meta[name='citation_title']"],titleCleanup:/\s*\|\s*PNAS\s*$/i,minTextLength:600},elsevier:{abstractSelectors:["#abstracts[data-extent='frontmatter']"],bodySelectors:["#bodymatter[property='articleBody']","section[property='articleBody'][data-extent='bodymatter']"],signature:function(e){var t=document.getElementById("build-style-article");return t&&/\/products\/marlin\//i.test(t.getAttribute("href")||"")||document.querySelector("meta[name=citation_pii], meta[name=citation_doi]")||/\bElsevier\b|ScienceDirect|Cell Press/i.test(cn(e))},minAbstractTextLength:80,minBodyTextLength:1,rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["h1","header h1",".core-container h1"],excerpt:function(e){return h(["#author-abstract","section[property='abstract']"])||e},siteName:function(e){return e.siteName||"Elsevier"},minTextLength:300},generic:{signalSelectors:["meta[name='citation_doi']","meta[name='citation_journal_title']","meta[name='citation_title']","meta[name='dc.Identifier'][content*='doi' i]","section[property='abstract']","[role='doc-abstract']",".art-abstract",".html-abstract","[property='articleBody']",".html-body","#bodymatter"],abstractSelectors:["section[property='abstract']","[role='doc-abstract']","#abstract[role='doc-abstract']",".art-abstract",".html-abstract",".article__abstract",".article-abstract",".abstractSection",".NLM_abstract","#abstract",".abstract"],bodySelectors:["#bodymatter[property='articleBody']","#bodymatter","section[property='articleBody']","[property='articleBody']","#html-body",".html-body",".art-body",".article-content .html-body","article[typeof*='ScholarlyArticle' i]","article[class*='article' i]",".article__body",".article-body",".c-article-body",".ArticleBody","main article"],fallbackBodyRoot:function(){var e=Array.prototype.filter.call(document.querySelectorAll("section[id^='sec'], section[id^='Sec'], .section"),function(e){return t(e.textContent||"").length>=120});return e.length<2?null:e.reduce(function(e,r){var n=t(r.textContent||"").length;return!e||n>e.textLength?{node:r.parentNode||r,textLength:n}:e},null).node},rejectBodyPattern:/get full text access\s+log in,? subscribe or purchase/i,titleSelectors:["meta[name='citation_title']","h1[property='name']",".citation__title",".article-header h1","article h1","h1"],minTextLength:700}};function pn(e){return function(e){if(!/^\/species\/\d+\/\d+\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#redlist-js .page-species"),n=t(document.title||h(["main h1","h1"])||e.title),o=t([e&&e.siteName,e&&e.title,document.title,document.body&&document.body.textContent].join(" "));if(!r||!/\bIUCN Red List\b/i.test(o)||!n)return null;var i=["taxonomy","assessment-information","geographic-range","population","habitat-ecology","threats","use-trade","conservation-actions"].map(function(e){return document.getElementById(e)}).filter(Boolean);if(i.length<4||!document.getElementById("assessment-information"))return null;var a=document.createElement("article"),l=document.createElement("h1");l.textContent=n.replace(/\s*--\s*$/i,""),a.appendChild(l);var s=r.querySelector(".layout-headline__supplement.layout-assessment, .layout-assessment__major");s&&/\b(Abstract|Red List|Assessment)\b/i.test(t(s.textContent||""))&&a.appendChild(E(s));return i.forEach(function(e){var t=E(e);t.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, form, nav, .map, [class*='map' i], [class*='tooltip' i], [class*='translate' i], [aria-hidden='true']").forEach(function(e){e.remove()}),hi(t),a.appendChild(t)}),le(e,a,{cloneRoot:!1,title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"IUCN Red List",minTextLength:900,validateMarkdown:function(e){return/\bAssessment Information\b[\s\S]*\bPopulation\b[\s\S]*\bThreats\b/i.test(e)}})}(e)||function(e){if(!/^\/[A-Za-z_]+\/Gene\/Summary\/?$/i.test(location.pathname||""))return null;var r=document.querySelector("#main"),n=r&&r.querySelector("h1.summary-heading"),o=r&&r.querySelector(".summary_panel"),i=r&&r.querySelector("#GeneSummary"),a=(r&&r.querySelector("#transcripts_table"),t(n&&n.textContent||""));return r&&n&&o&&i&&/^Gene:\s+\S+\s+ENS[A-Z]*G\d+/i.test(a)?le(e,r,{title:a,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"Ensembl",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .navbar, .image_panel, .image_toolbar, .json_, .label_layer, .hover_label, .boundaries_wrapper, .drag_select, .session_messages, .dataTables_top, .data_table_config, .floating_popup, .tool_buttons, .invisible, .hidden, ._ht_tip, .button.toggle").forEach(function(e){e.remove()}),e.querySelectorAll("img").forEach(function(e){t(e.alt||e.title||"")||e.remove()})},validateMarkdown:function(e){return/\bDescription\b[\s\S]*\bLocation\b[\s\S]*\bAbout this gene\b/i.test(e)&&/\b(Transcripts|MANE|UniProtKB|RefSeq|CCDS)\b/i.test(e)}}):null}(e)||function(e){var r=t((document.querySelector("meta[name='ncbi_db']")||{}).content||"").toLowerCase();if(r&&"gene"!==r)return null;if(!/^\/gene\/\d+\/?$/i.test(location.pathname||""))return null;var n=document.querySelector(".rprt.full-rprt"),o=n&&n.querySelector("#gene-name"),i=n&&n.querySelector("#summaryDl"),a=n?Array.prototype.slice.call(n.querySelectorAll(".rprt-section[data-section]")):[];if(!n||!o||!i||a.length<2)return null;var l=t(o.textContent||"");return l&&/\bGene ID:\s*\d+/i.test(t(n.textContent||""))?le(e,n,{title:l,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NCBI Gene",cleanupRoot:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll("script, style, svg, iframe, noscript, input, button, select, .rprt-section-tools, .download-datasets, .gene-section-help, .gene-top-page, .ui-ncbipopper-wrapper, [aria-hidden='true']").forEach(function(e){e.remove()}),e.querySelectorAll("[style*='display:none'], [style*='display: none']").forEach(function(e){e.remove()}),e.querySelectorAll("table").forEach(function(e){t((e.querySelector("tbody")||e).textContent||"")||e.remove()})},validateMarkdown:function(e){return/\bOfficial\s+Symbol\b[\s\S]*\bGene type\b[\s\S]*\bOrganism\b/i.test(e)&&/\b(Summary|Genomic context|Expression|Interactions|General gene information)\b/i.test(e)}}):null}(e)||function(e){if(!/^\/A\d{6}$/i.test(location.pathname||""))return null;var r=document.querySelector(".seqhead .seqnumname"),n=document.querySelector(".seqdatabox .seqdata"),o=Array.prototype.slice.call(document.querySelectorAll(".entry .section"));if(!r||!n||o.length<3)return null;var i=t((r.querySelector(".seqnum")||{}).textContent||""),a=t((r.querySelector(".seqname")||{}).textContent||"").replace(/\s*\(Formerly\s+[^)]*\)\s*$/i,"");if(!/^A\d{6}$/i.test(i)||!a)return null;var l={OFFSET:!0,COMMENTS:!0,REFERENCES:!0,FORMULA:!0,EXAMPLE:!0},s=["OFFSET","COMMENTS","FORMULA","EXAMPLE","REFERENCES"],c={OFFSET:"Offset",COMMENTS:"Sequence comments",FORMULA:"Formula",EXAMPLE:"Example",REFERENCES:"References"},u={};if(o.forEach(function(e){var r=t((e.querySelector(".sectname")||{}).textContent||"").toUpperCase();if(l[r]&&!u[r]){var n=e.querySelector(".sectbody");!n||t(n.textContent||"").length<2||(u[r]=n)}}),!u.COMMENTS&&!u.FORMULA&&!u.EXAMPLE)return null;var d=document.createElement("article"),m=document.createElement("h1");m.textContent=i+" - "+a,d.appendChild(m);var p=document.createElement("h2");p.textContent="Terms",d.appendChild(p);var h=document.createElement("p");return h.textContent=t(n.textContent||""),d.appendChild(h),s.forEach(function(e){var r=u[e];if(r){var n=document.createElement("section"),o=document.createElement("h2");o.textContent=c[e],n.appendChild(o),Array.prototype.slice.call(r.querySelectorAll(".sectline")).forEach(function(e){if(t(e.textContent||"")){var r=document.createElement("p");r.innerHTML=E(e).innerHTML,n.appendChild(r)}}),t(n.textContent||"").length>o.textContent.length&&d.appendChild(n)}}),le(e,d,{cloneRoot:!1,title:i+" - "+a,excerpt:a,siteName:e.siteName||"OEIS",cleanupRoot:!1,minTextLength:300,validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bExample\b/i.test(e)}})}(e)||function(e){if(!/^\/structure\/[A-Za-z0-9]{4}$/i.test(location.pathname||""))return null;var r=t((document.querySelector("#structureID")||{}).textContent||"").replace(/&nbsp;/g," ").match(/\b[A-Za-z0-9]{4}\b/),n=r&&r[0].toUpperCase(),o=t((document.querySelector("#structureTitle")||{}).textContent||"");if(!n||!o)return null;var i=t(document.body&&document.body.textContent||""),a=["Classification","Organism(s)","Mutation(s)","Deposited","Released","Deposition Author(s)","Method","Resolution"],l=["PDB ID: "+n,hn(i,"Classification",a),hn(i,"Organism(s)",a),hn(i,"Method",["Resolution","R-Value Free","R-Value Work","Space Group"]),hn(i,"Resolution",["R-Value Free","R-Value Work","R-Value Observed","Space Group"]),hn(i,"Deposited",a),hn(i,"Released",a)].filter(Boolean),s="",c=document.querySelector("#primarycitation, [id*='citation' i], [class*='citation' i]");c&&(s=t(c.textContent||"").replace(/^Primary Citation\s*/i,"").replace(/\s*PubMed(?: Abstract)?:[\s\S]*$/i,""));if(!s){var u=i.match(/Structure of [\s\S]{20,260}?(?=PubMed Abstract:|PDB DOI:|Experimental Data|$)/i);s=u?t(u[0]):""}var d=hn(i,"PubMed Abstract",["PDB DOI","Experimental Data","Deposition Data","Ligands","Clicking the button"]).replace(/\s+View More[\s\S]*$/i,"").replace(/\s+\/\/ Used for[\s\S]*$/i,""),m=[];s&&m.push("Primary citation: "+s);d&&m.push("PubMed abstract: "+d);var p=v({title:n+" - "+o,details:l,highlights:m,siteName:e.siteName||"RCSB PDB",contentType:"article",hostAware:!0});return t(p.markdown).length<180||!/\bPDB ID:\s*[A-Z0-9]{4}\b/.test(p.markdown)?null:p}(e)||function(e){if(!/\.nist\.gov$/i.test(location.hostname||"")&&!/^nist\.gov$/i.test(location.hostname||""))return null;var r=document.querySelector("main#main, #main"),n=t((r&&r.querySelector("h1#Top, h1")||{}).textContent||"");if(!r||!n)return null;var o=t(r.textContent||"");return/\bFormula:\s*\S/i.test(o)&&/\bMolecular weight:\s*[0-9.]+/i.test(o)&&/\bCAS Registry Number:\s*\S/i.test(o)?le(e,r,{title:n,excerpt:e.excerpt,defaultExcerpt:!1,siteName:e.siteName||"NIST",cleanupRoot:!1,minTextLength:220,rewriteRoot:function(e){e.querySelectorAll(".copy-prior-text, svg, img, form, .sr-only").forEach(function(e){e.remove()}),e.querySelectorAll("li").forEach(function(e){var r=t(e.textContent||"");(/^Chemical structure:/i.test(r)||/^Permanent link/i.test(r))&&e.remove()})},validateMarkdown:function(e){return/\bFormula\b[\s\S]*\bMolecular weight\b[\s\S]*\bCAS Registry Number\b/i.test(e)}}):null}(e)}function hn(e,r,n){var o=(n||[]).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\s*:?"}).join("|"),i=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+":\\s*([\\s\\S]*?)(?="+(o||"$^")+"|$)","i"),a=e.match(i);return a?t(a[1]).replace(/\s+Search on .*$/i,""):""}function fn(e,r){var n=t(e.title||document.title||r||"");return t(n=(n=n.replace(/\s*[|·-]\s*(PyPI|RubyGems\.org|npm).*$/i,"")).replace(/\s+\|\s+RubyGems\.org\s+\|.*$/i,""))||r}function gn(e){if(!e)return!1;if(e.hidden||"true"===e.getAttribute("aria-hidden"))return!1;var t=window.getComputedStyle?window.getComputedStyle(e):null;return!(t&&("none"===t.display||"hidden"===t.visibility||"0"===t.opacity))}function yn(){var e={},r=[];return Array.prototype.slice.call(document.querySelectorAll(".component-container")).forEach(function(n){if(!(r.length>=30)&&gn(n)){var o=jn(n,[".name","[data-component-name]","h3","h4"]);if(o&&!/^visit\s+/i.test(o)){var i=function(e){var r=t((e.querySelector("[data-component-status]")||e).getAttribute("data-component-status")||"").replace(/_/g," ");if(r||(r=jn(e,[".component-status",".status-msg",".status-icon-button"])),!r){var n=e.querySelector("[aria-label][class*='status'], [data-original-title][class*='status']");r=t(n&&(n.getAttribute("aria-label")||n.getAttribute("data-original-title"))||"")}return r}(n),a=jn(n,["[id^='uptime-percent-']",".legend-item-uptime-value"]),l=n.querySelector("[data-original-title], [aria-label^='More information']"),s=t(l&&l.getAttribute("data-original-title")||""),c=o.toLowerCase();if(!e[c]){e[c]=!0;var u=o;i&&(u+=" - "+i),a&&!/^(% uptime|uptime)$/i.test(a)&&(u+=" ("+a.replace(/\s*%\s*uptime$/i,"% uptime")+")"),s&&s.toLowerCase()!==o.toLowerCase()&&(u+=" - "+s),r.push(u)}}}}),r}function bn(e,r,i){if(i=i||{},!r||n(r)<(i.minText||200))return null;var a=i.preserveContentNav?T(r,document):E(r);i.preserveContentNav&&(a.querySelectorAll("nav.contents, nav[class*='contents' i]").forEach(function(e){var t=document.createElement("section");t.innerHTML=e.innerHTML,e.replaceWith(t)}),hi(a),a.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",o(t))})),i.strip&&i.strip(a);var l=Uo(a.innerHTML),s=t(l||a.textContent||"");if(s.length<(i.minText||200))return null;var c=t(((i.titleRoot||document).querySelector("h1")||{}).textContent||i.title||e.title||document.title);return c&&!Pe(l,c)&&(l="# "+c+"\n\n"+l),{title:c||e.title||document.title,byline:null,excerpt:e.excerpt||s.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:a.innerHTML,markdown:l,textContent:s,readerMode:!1,contentType:i.contentType||"article",hostAware:!0,docsLike:!!i.docsLike}}function vn(e,r){r=r||{};var i=e.querySelector(r.headingSelector||"h2, h3, h4, [heading-text], [class*='title' i], [class*='heading' i]"),a=e.querySelector("h2 a[href], h3 a[href], h4 a[href], a[href]"),l=t(i&&i.getAttribute("heading-text")||i&&i.textContent||e.getAttribute("heading-text")||e.getAttribute("aria-label")||a&&a.textContent||""),s=e.querySelector(r.detailSelector||"[content-text], [class*='summary' i], [class*='description' i], [class*='desc' i], [class*='body' i], [class*='text' i], p"),c=t(s&&s.getAttribute("content-text")||s&&s.textContent||e.getAttribute("content-text")||""),u=function(e,t){var r=e.querySelector("a[href]"),n=r&&r.getAttribute("href")||t.dataUrl&&t.dataUrl(e)||"";return n?o(n):""}(e,r)||r.fallbackUrl||location.href,d=Array.prototype.slice.call(e.querySelectorAll(r.childLinkSelector||"ul a[href]")).map(function(e){var r=t(e.textContent||"");return r.length<3?null:{text:r,url:o(e.getAttribute("href"))}}).filter(Boolean);return!l||l.length<3||l.length>(r.maxTitleLength||180)||r.requireDetail&&!c||r.minCardText&&!c&&n(e)<r.minCardText?null:{text:l,url:u,detail:c,childLinks:d}}function wn(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]",n={},o=[];return Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!(o.length>=(t.maxItems||240))&&(!t.cardFilter||t.cardFilter(e))){var r,i=vn(e,t);i&&(r=i.text+"|"+(i.url||""),n[r]||(n[r]=!0,o.push(i)))}}),o}function xn(e,r,n){if(n=n||{},!r)return null;if("list"===n.contentType){var o,i=wn(r,n);return i.length<(n.minItems||3)?null:(o=function(e,r,n){var o=n&&n.title;return t("function"==typeof o?o(e,r)||"":(document.querySelector("h1")||{}).textContent||o||e.title||document.title||"Items")}(e,r,n),k(e,{title:o,excerpt:e.excerpt,items:i,html:E(r).innerHTML,textContent:o+"\n"+ft(i)}))}return bn(e,r,{docsLike:n.docsLike,minText:n.minText,titleRoot:n.titleRoot,title:n.title,strip:function(e){!function(e,t){var r=(t=t||{}).cardSelector||"article, .card, [class*='card' i], [class*='teaser' i]";Array.prototype.slice.call(e.querySelectorAll(r)).forEach(function(e){if(!t.cardFilter||t.cardFilter(e)){var r,n,o,i,a=vn(e,t);if(a){if(r=document.createElement("article"),n=document.createElement(t.headingTag||"h3"),a.url&&a.url!==location.href){var l=document.createElement("a");l.setAttribute("href",a.url),l.textContent=a.text,n.appendChild(l)}else n.textContent=a.text;r.appendChild(n),a.detail&&((o=document.createElement("p")).textContent=a.detail,r.appendChild(o)),a.childLinks&&a.childLinks.length&&(i=document.createElement("ul"),a.childLinks.forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.setAttribute("href",e.url),r.textContent=e.text,t.appendChild(r),i.appendChild(t)}),r.appendChild(i)),e.replaceWith(r)}}})}(e,n),pi(e,n.chromeSelector||Qo+", [class*='breadcrumb' i], [class*='social' i], [class*='share' i], [class*='embed' i], [class*='newsletter' i], form"),n.strip&&n.strip(e)}})}function Sn(e){var t=[{rootSelector:"main [class*='card--with-subsections' i], main [class*='cards--with-subsections' i]",contentRoot:function(e){return e.closest("main")||e.closest("[class*='page-content' i]")||e},candidateFilter:function(e,t,r){return r.filter(function(e){return e.querySelector("h2, h3, h4, a[href]")&&n(e)>=60}).length>=4&&n(t)>=600},docsLike:!0,minText:500,titleRoot:document,cardSelector:"[class*='grid__item' i] > .card, [class*='grid__item' i] > [class~='card']",headingSelector:"h2, h3, h4, [class*='card__title' i]",detailSelector:"[class*='summary' i], p",requireDetail:!0,strip:function(e){e.querySelectorAll("[class*='embed' i]").forEach(function(e){e.remove()})}},{rootSelector:"main .page-document, main [class*='content-area' i], main",candidateFilter:function(e,t,r,o,i){var a=r.filter(function(e){return e.querySelector("h2, h3, a[href]")&&n(e)>=80}),l=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return a.length>=4&&l>=2&&i>=1200&&!!e.querySelector("h1")},score:function(e,t,r,n,o){var i=e.querySelectorAll("[class*='block __grid' i], [class*='block heading' i]").length;return o+500*r.length+150*i},docsLike:!0,minText:900,titleRoot:document,cardSelector:".block.teaser, [class*='grid-block-teaser' i], [class*='grid-teaser-item' i]",headingSelector:"h2, h3, h4",detailSelector:"p",headingTag:"h2",strip:function(e){e.querySelectorAll("[class*='cookie' i]").forEach(function(e){e.remove()})}},{rootSelector:"gui-tile-list, [role='list']",candidateFilter:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return n.length>=3&&(i||o||r.length>=4)},score:function(e,t,r,n){var o=e.tagName&&/-/.test(e.tagName.toLowerCase()),i=!!document.querySelector(".aem-Grid, [class*='aem-GridColumn'], [data-cmp-data-layer]");return 100*n.length+(o?500:0)+(i?500:0)},contentType:"list",title:function(e){return(document.querySelector("h1")||{}).textContent||e.title||document.title||"Services"},minItems:3,cardSelector:"gui-tile, [class*='tile' i]",headingSelector:"gui-tile-heading, [heading-text], [class*='tile-heading' i]",detailSelector:"gui-tile-content, [content-text], [class*='tile-content' i]",dataUrl:An,minCardText:20,maxItems:120}],r=null;return t.forEach(function(e){(function(e){return Array.prototype.slice.call(document.querySelectorAll(e.rootSelector)).map(function(t){var r=e.contentRoot?e.contentRoot(t):t,o=Array.prototype.slice.call(t.querySelectorAll(e.cardSelector||"article, .card, [class*='card' i], [class*='teaser' i], [class*='tile' i]")),i=wn(t,e),a=n(r||t),l=a+400*i.length;return r?e.candidateFilter&&!e.candidateFilter(t,r,o,i,a)||i.length<(e.minItems||3)||e.minText&&a<e.minText?null:(e.score&&(l=e.score(t,r,o,i,a)),{root:r,config:e,score:l}):null}).filter(Boolean)})(e).forEach(function(e){(!r||e.score>r.score)&&(r=e)})}),r?xn(e,r.root,r.config):null}function kn(e){if(r=a(null,[function(){var e=document.querySelector("meta[name='Generator' i], meta[name='generator' i]");return t(e&&e.getAttribute("content"))}]).signature,!(/\bDrupal\b/i.test(r)||document.querySelector(".field--name-body, [class*='field--name-' i], [class*='node--type-' i]")||/(?:^|\s)(?:path-[\w-]+|node-[\w-]+)(?:\s|$)/i.test(document.body&&document.body.className||"")))return null;var r,o=Array.prototype.slice.call(document.querySelectorAll("article[class*='overview' i], article[class*='listing' i], .overview-inner-container, .content-main, main article, section.node--view-mode-full, .node--view-mode-full, [itemprop='articleBody'], .field--name-body, .field--name-field-paragraphs, .field--name-field-entity-block, [class*='field--name-body' i]")),i=null;o.forEach(function(e){var t=e.querySelector&&e.querySelector(".field--name-field-paragraphs");t&&n(t)>=200&&(e=t);var r=n(e),o=e.querySelectorAll(".views-element-container, [class*='views-row' i], [class*='view-component' i], [class*='tab-content' i], [class*='blocktab' i], [class*='entity-block' i], [class*='content-link' i], [class*='content-data' i], [class*='block-toggle' i], [class*='field--name-field-entity-block' i], [class*='field--name-field-key-figures' i], [class*='field--name-field-toggle' i], [class*='paragraph--type--cards' i], [class*='card-list' i], [class*='card-heading-list' i], [class*='card-headline' i], [class*='image-besides-text' i], [data-trk*='cards' i]").length,a=r+400*o;r<200||o<1&&!e.matches(".field--name-body, .field--name-field-paragraphs, [class*='field--name-body' i], [itemprop='articleBody']")||(!i||a>i.score)&&(i={root:e,score:a,componentCount:o})});var l=i&&i.root;return!l||n(l)<200?null:xn(e,l,{docsLike:i.componentCount>=2,titleRoot:document,cardSelector:"article.entity-block.content-link, .card-list article, [class*='card-headline' i], [class*='card' i] article, [class*='paragraph--type--cards' i] .card",headingSelector:"h2, h3, h4, [class*='card-headline' i], [class*='title' i]",detailSelector:"[class*='field--name-field-desc' i], [class*='field--name-field-body' i], [class*='summary' i], [class*='description' i], p",strip:function(e){pi(e,Qo+", .side-navigation, [class*='side-navigation' i], [class*='language' i], [class*='breadcrumb' i], .left-column, .sharing, .add-on, [class*='search' i], article.entity-block.content-link .content-desc > a[href], form, .visually-hidden, .hidden")}})}function An(e){var t,r=e&&e.getAttribute("data-cmp-data-layer"),n="";if(!r)return"";try{t=JSON.parse(r),Object.keys(t).some(function(e){var r=t[e]||{};return!!(n=r["xdm:linkURL"]||r.linkURL||r.url||"")})}catch(e){n=""}return n}function qn(e){return!!document.querySelector(e)}function Cn(){return qn("meta[name='gitlab-meta'], .gitlab-meta, .tree-holder, .file-holder, .blob-content, .issuable, .merge-request, .commit-header")||(e=/\b(?:gitlab|gl-|application-ui)\b/i,!(!document.body||!e.test(document.body.className||"")));var e}function _n(e){var t=location.pathname.split("/").filter(Boolean);if("about:"===location.protocol)return!0;if(t.length<2)return!1;if(-1!==location.pathname.indexOf("/-/"))return!1;var r=t[2]||"";return!/^(issues?|pulls?|pull-requests?|merge[-_]requests?|commits?|branches|tags|releases|wiki|settings|src|source|downloads|actions|projects|security|pulse|graphs)$/i.test(r)&&(!(!e||"gitlab"!==e.platform)||(e&&"bitbucket"===e.platform&&/^\/projects\/[^/]+\/repos\/[^/]+\/browse(?:\/)?$/i.test(location.pathname)||2===t.length))}function Tn(e,r,n){var o=function(e,r){var n=t(r.title||document.title);return e.titleCleaner&&(n=t(e.titleCleaner(n))),n}(e,r),i=function(e,t){return h(e.descriptionSelectors)||t.excerpt}(e,r),a=r.siteName||e.siteName||location.hostname;if(!n)return o||i?v({title:o,description:i,siteName:a,hostAware:!0}):null;var l=E(n);hi(l);var s=Uo(l.innerHTML).replace(/^README(?:\.[a-z0-9_-]+)?\s*/i,"").trim();return t(s)?(i&&-1===s.toLowerCase().indexOf(i.toLowerCase())&&(s=i+"\n\n"+s),o&&(s="# "+o+"\n\n"+s),{title:o||r.title,byline:r.byline,excerpt:i,siteName:a,publishedTime:r.publishedTime,html:l.innerHTML,markdown:s,textContent:t(s),hostAware:!0,readerMode:!1,contentType:"article"}):i?v({title:o,description:i,siteName:a,hostAware:!0}):null}function En(e){var t=function(e){return a(e,[function(){return[e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[name='generator']","meta[property='og:site_name']"],"content"),document.title,document.body&&document.body.className].join(" ")}]).signature}(e),r=!!document.querySelector(".project-home-panel, .project-information, .readme-holder, .file-holder.readme-holder, [data-testid='blob-viewer-content'] .blob-viewer[data-path][data-rich-type='markup'], [data-testid='blob-viewer-content'] .file-content.md");return/gitlab/i.test(t)&&r||Cn()?{platform:"gitlab",siteName:location.hostname,readmeSelectors:["[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md","[data-testid='blob-viewer-content'] .blob-viewer[data-path='README.md'] .file-content.md","[data-testid='blob-viewer-content'] .file-content.md",".blob-viewer[data-path='README.md'][data-rich-type='markup'] .file-content.md",".blob-viewer[data-path='README.md'] .file-content.md",".blob-content .file-content.md",".blob-content .js-markup-content.md",".blob-content .markdown-body",".readme-holder .md",".readme-holder .wiki",".readme-holder [data-testid='readme-content']",".file-holder.readme-holder .md",".file-holder.readme-holder .wiki"],descriptionSelectors:[".project-information .project-description",".project-home-panel .project-description",".project-home-panel p"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*GitLab.*$/i,"")}}:/^GitHub\s+-\s+[^\s/]+\/[^\s:]+/i.test(t)||document.querySelector("[data-testid='repository-container-header'], strong[itemprop='name'] a, h1 strong[itemprop='name']")||qn(".js-repo-pjax-container, [data-pjax], .repository-content, .js-repo-content .markdown-body")?{platform:"github",siteName:"GitHub",readmeSelectors:["#readme article.markdown-body","#readme [data-testid='readme-content']","#readme .markdown-body","[data-testid='readme'] article.markdown-body","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']","[aria-label='README'] article.markdown-body","[aria-labelledby='readme'] article.markdown-body","article.markdown-body[itemprop='text']","article.markdown-body"],descriptionSelectors:["[data-testid='repository-description']","[itemprop='about']",".BorderGrid-cell p.f4",".repository-content .f4.my-3",".repository-meta-content"],titleCleaner:function(e){return e.replace(/^GitHub -\s*/i,"").replace(/\s*[·|-]\s*GitHub$/i,"")}}:/gitea|forgejo/i.test(t)||document.querySelector(".repository .repo-description, .repository #repo-files-table, .repository .file-view.markup.markdown, .repository .markup.markdown")||qn(".repository, .file-view, .ui.container .repository")?{platform:"gitea",readmeSelectors:[".repository #readme .markdown",".repository #readme .markup.markdown",".repository .file-view.markup.markdown",".repository .markup.markdown","#readme .markdown",".file-content.markup.markdown"],descriptionSelectors:[".repository .repo-description",".repo-description",".repository-summary .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*(Gitea|Forgejo|Codeberg).*$/i,"")}}:/bitbucket/i.test(t)||document.querySelector("[data-testid='repo-overview-description'], [data-testid='repository-readme'], [data-testid='readme-content']")||qn(".bitbucket-header, [data-module='repo']")?{platform:"bitbucket",siteName:"Bitbucket",readmeSelectors:["[data-testid='repository-readme'] [data-testid='readme-content']","[data-testid='readme'] [data-testid='readme-content']","[data-testid='readme-content']",".readme-content .markdown-body",".readme-content",".markdown-body"],descriptionSelectors:["[data-testid='repo-overview-description']","[data-testid='repository-description']"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*Bitbucket.*$/i,"")}}:/sourcehut|sr\.ht/i.test(t)||qn("#repo-summary, .repo-summary, .repo-nav, .repo-header, #readme")?{platform:"sourcehut",siteName:"sourcehut",readmeSelectors:["#readme article.markdown-body","#readme .markdown-body","#readme .markdown","#readme article","#readme"],descriptionSelectors:["#repo-summary p",".repo-summary p",".repo-summary",".repo-header .description"],titleCleaner:function(e){return e.replace(/\s*[·|-]\s*sourcehut.*$/i,"")}}:null}function jn(e,r){for(var n=0;n<r.length;n+=1){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function Ln(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;var r=q(/(^|\.)wikipedia\.org$/),n=q(/(^|\.)wiktionary\.org$/);if(r||n)return null;var o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#mw-content-text");return o?O(e,o,{title:h(["#firstHeading",".mw-first-heading","h1.firstHeading","h1"])||t((e.title||document.title).replace(/\s*[-|–]\s*(Wiktionary|Wikipedia|Wiki).*$/i,"")),byline:e.byline,minTextLength:30,rewriteRoot:function(e){e.querySelectorAll(".mw-editsection, .mw-jump-link, .toc, #toc, .catlinks, #catlinks, .navbox, .navbox-styles, .printfooter, .noprint, .mw-indicators, .mw-hidden-catlinks, .mw-empty-elt, .sistersitebox, .mw-authority-control, .mw-headline-anchor").forEach(function(e){e.remove()}),e.querySelectorAll("table.navbox, table.collapsible, .navbox, .footer-nav, .portal-bar, .portal, .succession-box").forEach(function(e){e.remove()}),e.querySelectorAll("#External_links, #References, #Notes, #See_also, #Further_reading").forEach(function(e){var t=e.closest("section, div");t&&t.remove()})}}):null}function $n(e){return!!Pn()&&(!!document.querySelector(".post-stream, .topic-post, article[data-post-id]")&&!!document.querySelector(".fancy-title, #topic-title h1, .topic-title h1"))}function Pn(){var e=document.body,t=e&&e.className||"",r=!!document.querySelector("#main-outlet, .wrap"),n=!!document.querySelector("#data-discourse-setup"),o=!!document.querySelector("meta[name='generator'][content^='Discourse']"),i=!!document.querySelector("meta[name='discourse_theme_id']"),a=/\bember-application\b/.test(t)&&/\bdiscourse\b/i.test(t);return r&&(n||o||i||a)}function zn(e,t){var r=String(e);t&&(r=r.replace(/,/g,""));var n=parseInt(r,10);return isNaN(n)?e:n>=1e6?(n/1e6).toFixed(1).replace(/\.0$/,"")+"M":n>=1e4?(n/1e3).toFixed(1).replace(/\.0$/,"")+"K":n.toLocaleString()}function Nn(e){var t=e.match(/([\d,.]+[MKB]?)\s*(?:Followers|follower|Takipçi|подписчик|متابع)/i),r=e.match(/([\d,.]+[MKB]?)\s*(?:Following|following)/i),n=e.match(/([\d,.]+[MKB]?)\s*(?:Posts?|post|Gönderi|публикац|منشور)/i);return{followers:t&&t[1],following:r&&r[1],posts:n&&n[1]}}function Rn(e,t,r){return!0===e||!1!==e&&("function"==typeof e?e(t):q(e,r))}window.hostAwareProfiles=window.hostAwareProfiles||[],window.registerHostAwareProfile=function(e,t){hostAwareProfiles.push({condition:e,fn:t})},registerHostAwareProfile(!0,function(e){var r=document.querySelector("#main-article .article-content, #main-content .article-content, .article-content.retro-folders");if(!r)return null;var n=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){return/\/pmwiki\/pmwiki\.php\/Main\//i.test(e.getAttribute("href")||"")}).length;return r.querySelectorAll("li").length<20||n<10?null:O(e,r,{title:h(["#main-article h1","#main-content h1","h1"])||t((e.title||document.title).replace(/\s*-\s*TV Tropes\s*$/i,"")),byline:null,publishedTime:null,minTextLength:1200,rewriteRoot:function(e){["#modal_overlay",".modal_overlay","script","style","iframe",".ad-unit","[id*='ad-']","[class*='ad-']","[class*='advert']","[class*='watch']"].forEach(function(t){e.querySelectorAll(t).forEach(function(e){e.remove()})})}})}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)pinterest\.com$/)&&!/pinterest/i.test(r))return null;if(!/^\/search\//.test(location.pathname)&&!w("q")&&!/showing more search results for/i.test(document.body&&document.body.textContent))return null;var n=t(w("q")),i={},a=[];return document.querySelectorAll("a[href*='/pin/']").forEach(function(e){if(!(a.length>=12)){var r=o(e.getAttribute("href")),n=t(e.getAttribute("aria-label")||e.textContent);if(!n){var l=e.querySelector("img[alt]");n=t(l&&l.getAttribute("alt"))}!r||!n||n.length<12||i[r]||/^(log in|sign up|explore|search|filters|you are signed out)$/i.test(n)||(i[r]=!0,a.push({text:n,url:r}))}}),a.length>=4?S({title:n?"Pinterest results for "+n:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Pinterest",items:a}):e.excerpt?v({title:n?"Pinterest results for "+n:e.title||document.title,description:e.excerpt,details:["Access: Pinterest signed-out shell"],siteName:e.siteName||"Pinterest",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e,n){var o=Ae(e);if(!q(/(^|\.)tiktok\.com$/)&&!/tiktok/i.test(o))return null;var i=t(n||""),a=h(["main h1","h1"]),l=h(["main h2","h2"]),s=r((location.pathname||"").replace(/^\/tag\//,"").split("/")[0]||"").replace(/[-_]+/g," ");if(s=t(s),/^\/tag\//.test(location.pathname)||a||l){var c=a||(s?"#"+s:t(e.title||document.title)),u=e.excerpt;u&&!/make your day/i.test(u)||(u="This TikTok page is only partially available, but the visible tag or page summary can still be extracted.");var d=[];return l&&l!==c&&d.push(l),/drag the slider to fit the puzzle|log in/i.test(i)&&d.push("Access notice: TikTok login or verification required"),v({title:c,description:u,details:d,siteName:e.siteName||"TikTok",contentType:"article"})}return/drag the slider to fit the puzzle|slide to verify/i.test(i)?v({title:t(e.title||document.title)||"TikTok verification required",description:e.excerpt||"This TikTok page is presenting a slider verification challenge before the original content is available.",details:["Gate: slider verification"],siteName:e.siteName||"TikTok",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e,r){var n=Ae(e);if(!q(/(^|\.)ebay\./)&&!/ebay/i.test(n))return null;if(!/\/sch\//.test(location.pathname)&&!w("_nkw")&&!/for sale\s*\|\s*ebay/i.test(n))return null;var i={},a=[];return document.querySelectorAll("a.s-item__link[href*='/itm/'], li.s-item a[href*='/itm/']").forEach(function(e){if(!(a.length>=12)){var r=o(e.getAttribute("href")),n=t(e.textContent||e.querySelector("img[alt]")&&e.querySelector("img[alt]").getAttribute("alt")),l=Tt(e.closest("li.s-item, .srp-results li")||e.parentElement,n);!r||!n||n.length<8||i[r]||(i[r]=!0,a.push({text:n,url:r,detail:l}))}}),a.length>=4?S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"eBay",items:a}):e.excerpt||/cookie/i.test(r||"")?v({title:e.title||document.title,description:e.excerpt||"This eBay page is showing a cookie or privacy prompt before full results are available.",details:["Access notice: eBay cookie or privacy prompt"],siteName:e.siteName||"eBay",contentType:"article"}):null}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)glassdoor\.com$/)&&!/glassdoor/i.test(r))return null;if(location.pathname&&"/"!==location.pathname&&"/index.htm"!==location.pathname)return null;var n=h(["main h1","h1"])||t((e.title||document.title).replace(/\s*\|.*$/,"")),o=y(["main h2","main p"],20).filter(function(e){return e.length>=12&&!/^(continue with google|continue with apple|or email|sign in|community jobs companies salaries for employers)$/i.test(e)}),i=o.find(function(e){return e!==n&&e.length>=40})||e.excerpt,a=o.filter(function(e){return e!==n&&e!==i}).slice(0,6);return n||i?v({title:n,description:i,highlights:a,siteName:e.siteName||"Glassdoor"}):null}),registerHostAwareProfile(!0,function(e,t){return an(e,t)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!w("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=an(e);if(r)return r;var n=d(["VideoObject"]),o=t(n&&(n.name||n.headline)||e.title).replace(/\s*[-|]\s*YouTube$/i,""),i=h(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description"])||p(n&&n.description)||e.excerpt,a=m(n&&(n.author||n.publisher))||e.byline,l=p(n&&(n.uploadDate||n.datePublished))||e.publishedTime,s=[],c=y(["ytd-macro-markers-list-item-renderer h4","ytd-macro-markers-list-item-renderer #title"],12);return p(n&&n.duration)&&s.push("Duration: "+p(n.duration)),c.length&&s.push("Chapters: "+c.slice(0,6).join(" | ")),o&&i?v({title:o,byline:a,publishedTime:l,description:i,details:s,siteName:e.siteName||"YouTube",hostAware:!0}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)amazon\./))return null;if("/s"!==location.pathname&&!w("k"))return null;var r={},n=[];return document.querySelectorAll("[data-component-type='s-search-result'], .s-result-item[data-asin]").forEach(function(e){if(!(n.length>=15)){var i=e.querySelector("h2 a[href], a.a-link-normal.s-no-outline[href]"),a=e.querySelector("h2 span, h2 a span"),l=t(a?a.textContent:i&&i.textContent),s=o(i&&i.getAttribute("href")),c=e.querySelector(".a-price .a-offscreen"),u=t(c&&c.textContent),d=e.querySelector("[aria-label*='out of 5 stars'], .a-icon-alt"),m=t(d&&(d.getAttribute("aria-label")||d.textContent)),p=e.querySelector("a[href*='#customerReviews'], .a-size-small .a-link-normal"),h=[u,m,t(p&&p.textContent)].filter(Boolean).join(" - ");!l||!s||l.length<8||r[s]||(r[s]=!0,n.push({text:l,url:s,detail:h}))}}),n.length<3?null:k(e,{title:e.title||document.title,excerpt:n[0].text,items:n})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)amazon\./))return null;if(!/(\/dp\/|\/gp\/product\/)/.test(location.pathname))return null;var r=d(["Product","Book"]),n=h(["#productTitle","#title span","#ebooksProductTitle"])||p(r&&r.name)||e.title,o=p(r&&r.description)||e.excerpt||h(["#bookDescription_feature_div .a-expander-content","#bookDescription_feature_div .a-expander-partial-collapse-content","#productDescription p","#productDescription"]),i=h(["#bylineInfo",".author a","#brand"]),a=y(["#feature-bullets li span","#detailBullets_feature_div li span.a-list-item","#productOverview_feature_div td"],10).filter(function(e){return e.length>=12&&e!==n&&!/^see more$/i.test(e)}),l=[],s=r&&r.offers;Array.isArray(s)&&(s=s[0]);var c=s&&s.price?t(s.price+(s.priceCurrency?" "+s.priceCurrency:"")):null;if(c&&l.push("Price: "+c),s&&s.availability&&l.push("Availability: "+b(s.availability)),r&&r.aggregateRating&&r.aggregateRating.ratingValue){var u=t(r.aggregateRating.ratingValue+"/5"),m=r.aggregateRating.reviewCount||r.aggregateRating.ratingCount;l.push("Rating: "+u+(m?" from "+m+" reviews":""))}return n&&o?v({title:t(n).replace(/: Amazon.*$/i,""),byline:i,description:o,details:l,highlights:a,siteName:e.siteName||location.hostname}):null}),registerHostAwareProfile(!0,function(e){var t=Ae(e);if(!q(/(^|\.)bloomberg\.com$/)&&!/bloomberg/i.test(t))return null;if(/(\/news\/|\/opinion\/|\/features\/|\/graphics\/)/.test(location.pathname))return null;var r={},n=[];return document.querySelectorAll("a[href*='/news/articles/'], a[href*='/news/features/'], a[href*='/opinion/articles/'], a[href*='/features/'], a[href*='/graphics/'], a[href*='/news/newsletters/']").forEach(function(e){var t=Ct(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),i=o(e.getAttribute("href")),a=Tt(e.closest("article, section, div")||e.parentElement,t);!t||!i||t.length<18||t.length>220||r[i]||/^(bloomberg opinion|bloomberg businessweek|newsletter:|watch)$/i.test(t)||(r[i]=!0,n.push({text:t,url:i,detail:a}))}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Bloomberg",items:n})}),registerHostAwareProfile(!0,function(e){var t=Ae(e);if(!q(/(^|\.)economist\.com$/)&&!/economist/i.test(t))return null;if(location.pathname&&"/"!==location.pathname)return null;var r={},n=[];return document.querySelectorAll("main a[href]").forEach(function(e){var t=e.getAttribute("href")||"";if(/(\/\d{4}\/\d{2}\/\d{2}\/|\/interactive\/)/.test(t)){var i=Ct(e),a=o(t),l=Tt(e.closest("article, section, li, div")||e.parentElement,i);!i||!a||i.length<18||i.length>180||r[a]||/^(subscribe|log in|the economist pro|weekly edition|current topics|world|business & economics|opinion|in depth|culture, history & society|our a-to-zs|featured story)$/i.test(i)||(r[a]=!0,n.push({text:i,url:a,detail:l}))}}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!/(^|\b)ft\.com\b|financial times/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},i=[];return document.querySelectorAll("main a[href*='/content/'], main a[href*='/stream/']").forEach(function(e){var r=t(e.textContent).replace(/^opinion content\.?\s*/i,""),a=o(e.getAttribute("href")),l=Tt(e.closest("article, section, .story-group__article, .story-group-slice, .o-teaser")||e.parentElement,r);!r||!a||r.length<18||r.length>180||n[a]||/^(top stories|news|opinion|companies|markets news|video|life & arts|spotlight|most read|must-reads you missed|more opinion|more companies|more europe news|more markets news|more technology)$/i.test(r)||(n[a]=!0,i.push({text:r,url:a,detail:l}))}),i.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:i})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)zeit\.de$/))return null;var t=document.querySelector("article.article")||document.querySelector("article#js-article"),r=t&&(t.querySelector(".article-body")||t.querySelector(".article-page"));return t&&r&&r.querySelector(".paragraph, p")?O(e,t,{title:h([".article-heading",".article-heading__headline","h1.article-heading","h1"])||e.title,byline:h([".article-meta .authors",".article__authors","[rel='author']"])||e.byline,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll([".iqdcontainer",".summy",".summary__feedback",".newsletter","[class*='newsletter' i]","[class*='topicbox' i]","[class*='recommend' i]","[class*='related' i]","[data-ct-area*='comments' i]","[data-ct-area*='sharing' i]","[data-ct-area*='recommend' i]","[aria-label*='Newsletter' i]","[aria-label*='Mehr zum Thema' i]","[aria-label*='Seitennavigation' i]","[aria-label*='Schlagwörter' i]","aside","nav"].join(", ")).forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)booking\.com$/)&&!/booking\.com/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n=h(["main h1","h1"])||t((e.title||document.title).replace(/^Booking\.com\s*[|:-]\s*/i,"")),i=e.excerpt,a=y(["main h2"],8).filter(function(e){return e.length>=5&&!/^(offers?)$/i.test(e)}),l={},s=[];if(document.querySelectorAll("main a[href*='/searchresults.html'], main a[href*='/hotel/'], main a[href*='/apartments/'], main a[href*='/resorts/'], main a[href*='/villas/'], main a[href*='/homes/']").forEach(function(e){if(!(s.length>=10)){var r=t(e.textContent),n=o(e.getAttribute("href"));!r||!n||r.length<3||r.length>80||l[n]||/^(learn more|search|sign in|register|list your property)$/i.test(r)||(l[n]=!0,s.push({text:r,url:n}))}}),!n&&!a.length&&s.length<3)return null;var c=[];n&&c.push("# "+n),i&&c.push(i),a.length&&c.push(a.slice(0,6).map(function(e){return"- "+e}).join("\n")),s.length>=3&&c.push(ft(s));var u=c.filter(Boolean).join("\n\n").trim();return k(e,{title:n||e.title,excerpt:i,siteName:e.siteName||"Booking.com",markdown:u,textContent:t(u),items:s.length>=3?s:null,contentType:s.length>=3?"list":"article"})}),registerHostAwareProfile(!0,function(e){return dn(e,mn.highwire)}),registerHostAwareProfile(!0,function(e){var r=document.querySelector(".article_abstract, .abstractSection, .article__abstract, .NLM_abstract, #abstract, section[property='abstract'], [property='abstract']");if(!r)return null;var n=t(r.textContent||"");if(n.length<120)return null;var o=t([document.title,e&&e.title,e&&e.siteName,h(["meta[name='citation_publisher']","meta[name='citation_journal_title']"]),document.body&&document.body.textContent].join(" ")).slice(0,16e3);return/\b(acs publications|american chemical society|journal of chemical education)\b/i.test(o)?sn({metadata:e,abstractRoot:r,titleSelectors:[".article_header-title",".citation__title","h1[property='name']","h1"],titleCleanup:/\s*-\s*ACS Publications\s*$/i,excerpt:n,minTextLength:180}):null}),registerHostAwareProfile(!0,function(e){function r(e){var r=Array.prototype.reduce.call(e.querySelectorAll(".article-content .article-text"),function(e,t){var r=t.querySelectorAll(".section.toc-section a[data-toc^='s']").length;return!e||r>e.sections?{node:t,sections:r}:e},null),n=r&&r.node;return n?{abstractNode:n.querySelector(".abstract.toc-section, .abstract"),bodySections:Array.prototype.filter.call(n.querySelectorAll(".section.toc-section"),function(e){var r=e.querySelector("a[data-toc]"),n=r&&r.getAttribute("data-toc")||"",o=t(e.textContent||"");return/^(?:s|sec)\d+$/i.test(n)&&o.length>=80})}:null}var n=r(document);if(!n||n.bodySections.length<3){var o=Ke(),i=document.createElement("div");i.innerHTML=o&&o.html||"";var a=r(i);a&&(!n||a.bodySections.length>n.bodySections.length)&&(n=a)}if(!n||!n.abstractNode||n.bodySections.length<2)return null;var l=n.abstractNode,s=n.bodySections;if(!(document.querySelector("meta[name='citation_doi'], meta[name='citation_journal_title']")||/\b(open access|peer-reviewed|research article|article info)\b/i.test(t(document.body&&document.body.textContent||"").slice(0,12e3))))return null;var c=h([".article-header h1","h1","meta[name='citation_title']"])||e.title||document.title;return c=t(c||"").replace(/\s*\|\s*PLOS\s+\w+\s*$/i,""),sn({metadata:e,abstractRoot:l,bodyRoots:s,title:c,markdownFallback:function(){var e=c?["# "+c]:[];return[l].concat(s).forEach(function(r){r.querySelectorAll("h2, h3, h4, p, figcaption").forEach(function(r){var n=t(r.textContent||"");n&&(/^H2$/i.test(r.tagName)?e.push("","## "+n):/^H3$/i.test(r.tagName)?e.push("","### "+n):/^H4$/i.test(r.tagName)?e.push("","#### "+n):e.push("",n))})}),Ei(e.join("\n").trim())},minTextLength:300})}),registerHostAwareProfile(!0,function(e){return dn(e,mn.elsevier)}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("xpl-document-abstract, .document-abstract");if(!r)return null;var n=t([document.title,e&&e.title,e&&e.siteName,document.querySelector("meta[name='citation_doi']")&&document.querySelector("meta[name='citation_doi']").getAttribute("content"),document.body&&document.body.textContent].join(" ")).slice(0,2e4);if(!/\bIEEE\s+Xplore\b|\bieeexplore\.ieee\.org\b|\bIEEE Conference Publication\b/i.test(n))return null;var o=Array.prototype.filter.call(r.querySelectorAll(".abstract-text-content, [class*='abstract-text' i], [property='abstract']"),function(e){return t(e.textContent||"").length>=80});if(!o.length)return null;var i=o.reduce(function(e,r){var n=t(r.textContent||"");return!e||n.length>e.text.length?{node:r,text:n}:e},null);if(!i||i.text.length<160)return null;var a=t(e.title||h(["meta[name='citation_title']","h1"]));a=a.replace(/\s*\|\s*IEEE.*$/i,"");var l=document.createElement("section"),s=document.createElement("h2"),c=document.createElement("p");s.textContent="Abstract",c.textContent=i.text.replace(/^Abstract:\s*/i,""),l.appendChild(s),l.appendChild(c);var u=[];return y([".stats-document-abstract-publishedIn",".doc-abstract-confdate",".doc-abstract-pubdate",".doc-abstract-doi",".u-pb-1"],8).forEach(function(e){var r=t(e).replace(/\s*Show More\s*$/i,"");!r||r.length>220||/^(abstract|metadata|abstract:)/i.test(r)||-1===u.indexOf(r)&&u.push(r)}),sn({metadata:e,abstractRoot:l,title:a,excerpt:i.text,details:u,siteName:e.siteName||"IEEE Xplore",minTextLength:220})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("blockquote.abstract"),n=q(/(^|\.)arxiv\.org$/)&&/^\/abs\//.test(location.pathname||"");if(!r||!n)return null;var o=h(["h1.title","h1.titlemath","main h1","h1"])||e.title||document.title;o=t(o).replace(/^Title:\s*/i,"");var i=h([".authors"]);i=t(i||"").replace(/^Authors?:\s*/i,"");var a=t(r.textContent||"").replace(/^Abstract:\s*/i,"");if(!o||!a)return null;var l=[];y([".dateline",".metatable .tablecell",".metatable td",".metatable dd"],8).forEach(function(e){/^(subjects?|cited by|references?|related|download|view pdf)$/i.test(e)||l.push(e)});var s=["# "+o,[i?"- Author: "+i:null].concat(l.map(function(e){return"- "+e})).filter(Boolean).join("\n"),a].filter(Boolean).join("\n\n").trim(),c=document.createElement("article"),u=document.createElement("h1"),d=document.createElement("p");return u.textContent=o,d.textContent=a,c.appendChild(u),c.appendChild(d),{title:o,byline:i||e.byline,excerpt:a,siteName:e.siteName||"arXiv",publishedTime:e.publishedTime,html:c.outerHTML,markdown:s,textContent:t(s),readerMode:!1,contentType:"article",hostAware:!0}}),registerHostAwareProfile(!0,function(e){return dn(e,mn.generic)}),registerHostAwareProfile(!0,function(e,t){return pn(e,t)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)blog\.csdn\.net$/))return null;if(!/\/article\/details\/\d+/i.test(location.pathname||""))return null;var r=document.querySelector("#article_content, .article_content, #content_views");if(r&&n(r)>=80)return O(e,r,{title:h(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"]),byline:h([".follow-nickName",".blog-name",".article-bar-top .name","a[href^='https://blog.csdn.net/']"]),publishedTime:h([".time",".bar-content .time","time"],"datetime")||e.publishedTime,minTextLength:80,rewriteRoot:function(e){e.querySelectorAll(".hide-article-box, .readall_box, .article-copyright, .blog-footer-bottom, .recommend-box, .recommend-right, .more-toolbox, .toolbox-list, .csdn-side-toolbar, [class*='comment'], [class*='recommend'], [class*='toolbar'], [class*='share']").forEach(function(e){e.remove()})},siteName:"CSDN"});var o=h(["#article-tit",".title-box h1",".article-title-box h1","h1.title-article","h1"])||t(e&&e.title),i=t(e&&e.excerpt);return o||i?v({title:o,byline:e&&e.byline,publishedTime:e&&e.publishedTime,description:"CSDN article details page returned only public metadata in this browser session."+(i?" "+i:""),siteName:"CSDN",hostAware:!0,contentType:"article"}):null}),registerHostAwareProfile(!0,function(e){if(!function(e){if(!/^\/p\//i.test(location.pathname||""))return!1;if(!document.querySelector(".available-content .body.markup, .post-content .body.markup, article.post .body.markup"))return!1;var r=t([e&&e.title,e&&e.siteName,document.title,h([".post-title","h1.post-title","article.post h1"]),h(["meta[property='og:image']","meta[name='twitter:image']"],"content")].join(" "));return/\bsubstack\b|substackcdn\.com|substack-post-media/i.test(r)||!!document.querySelector("article.newsletter-post.post, .post-header .post-title")}(e))return null;var r=document.querySelector(".available-content .body.markup")||document.querySelector(".post-content .body.markup")||document.querySelector("article.post .body.markup")||document.querySelector(".available-content")||document.querySelector(".post-content");return r?O(e,r,{title:h([".post-title","h1.post-title","article.post h1","h1"])||e.title,byline:h([".byline-names",".post-meta .profile-hover-card-target",".post-header a[href*='/profile/']"])||e.byline,minTextLength:250,rewriteRoot:function(e){e.querySelectorAll(".subscription-widget-wrap, .subscribe-widget, .paywall, .comment-list, [class*='comment'], [class*='subscribe'], [role='dialog']").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){var r,n,o,i=location.hostname||"",a=(r=(location.pathname||"").split("/").filter(Boolean)).length<2?null:"project"===r[0]||"gems"===r[0]||"package"===r[0]?r[1]:null;if(!a)return null;if(/(^|\.)pypi\.org$/i.test(i)&&/^\/project\/[^/]+\/?$/i.test(location.pathname||""))n=["#description .project-description","#description",".project-description"],o="PyPI";else if(/(^|\.)rubygems\.org$/i.test(i)&&/^\/gems\/[^/]+\/?$/i.test(location.pathname||""))n=["main","#markup.gem__desc",".gem__desc"],o="RubyGems.org";else{if(!/(^|\.)npmjs\.com$/i.test(i)||!/^\/package\/[^/]+\/?$/i.test(location.pathname||""))return null;n=["#readme","#tabpanel-readme article","[aria-labelledby='package-tab-readme'] article"],o="npm"}for(var l=0;l<n.length;l+=1){var s=document.querySelector(n[l]),c=s.querySelector("h1, h2"),u=t(c&&c.textContent),d=O(e,s,{title:u&&0===u.toLowerCase().indexOf(a.toLowerCase())?u:fn(e,a),minTextLength:80,excerpt:e.excerpt,siteName:e.siteName||o,extra:{packagePage:!0},rewriteRoot:function(e){Array.prototype.slice.call(e.querySelectorAll("script, style, noscript, svg, .sr-only")).forEach(function(e){e.remove()})}});if(d)return d}return null}),registerHostAwareProfile(!0,function(e){if(!function(e){if(document.body&&/\bstatus\b/.test(document.body.className||"")&&document.querySelector(".components-section, .component-container, .incident-container"))return!0;if(document.querySelector("[data-statuspage-id], .components-section, #components, .incidents, .scheduled-maintenance"))return!0;var r=t([e&&e.siteName,h(["meta[property='og:site_name']"],"content"),h([".powered-by a","a[href*='atlassian.com/software/statuspage']"]),document.title].join(" "));return/statuspage/i.test(r)&&!!document.querySelector(".layout-content.status, .components-statuses, .components-container")}(e))return null;var r=h([".status-header h1","h1"])||e.title||document.title||"Status Page",n=h([".page-status .status",".page-status",".status.font-large",".status-description"]),o=h([".text-section","meta[name='description']"],"content")||e.excerpt,i=yn(),a=function(){var e=[];return Array.prototype.slice.call(document.querySelectorAll(".incident-container, .scheduled-maintenance-container")).forEach(function(t){if(!(e.length>=8)&&gn(t)){var r=jn(t,[".incident-title a",".incident-title","a.whitespace-pre-wrap","h3","h4"]);if(r){var n=["- "+r];Array.prototype.slice.call(t.querySelectorAll(".update")).slice(0,4).forEach(function(e){var t=jn(e,["strong"]),r=jn(e,[".whitespace-pre-wrap","p"]),o=jn(e,["small","time"]),i=[];t&&i.push(t),r&&i.push(r),o&&i.push(o),i.length&&n.push(" - "+i.join(" - "))}),e.push(n.join("\n"))}}}),e}();if(!n&&0===i.length&&0===a.length)return null;var l=["# "+r];o&&o.toLowerCase()!==r.toLowerCase()&&l.push(o),n&&l.push("- Overall status: "+n),i.length&&l.push("## Components\n\n"+i.map(function(e){return"- "+e}).join("\n")),a.length&&l.push("## Recent Incidents\n\n"+a.join("\n"));var s=Ei(l.filter(Boolean).join("\n\n").trim()),c=t(s);return c.length<40?null:k(e,{title:r,excerpt:n||i[0]||a[0]||e.excerpt,html:(document.querySelector(".layout-content.status")||document.querySelector("main")||document.body||{}).innerHTML||"",markdown:s,textContent:c,contentType:"list",hostAware:!0,statusPage:!0})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector("text .text .section, text .section, [class~='text'] > .section");if(!r)return null;var n=t(r.textContent||""),o=!!document.querySelector("notes, [id*='notes' i], [class*='notes' i]"),i=t((document.querySelector("#page_title, #pageTitle, h1")||{}).textContent||e.title||document.title),a=t([i,document.title,location.pathname].join(" ")),l=Ze({text:n,title:a,path:location.pathname||""}),s=/\b(?:U\.S\.\s+Code|Code|Statute|Act|Section|§)\b/i.test(a)||l.sectionOrArticleMarker;return n.length<250||!o||!s||l.numberedClauses<2?null:le(e,r,{title:i||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:250,extra:{legalProvision:!0}})}),registerHostAwareProfile(!0,function(e){var r=document.querySelector(".LegContents, #viewLegContents, .viewLegContents, [class*='table-of-contents' i], [aria-label*='table of contents' i]");if(!r||!Ht(r,r.textContent||""))return null;var n=E(r),o=t((document.querySelector("#pageTitle, h1")||{}).textContent||e.title||document.title),i=document.createElement("h1");i.textContent=o,n.insertBefore(i,n.firstChild),hi(n);var a=Ei(Uo(n.innerHTML)).replace(/\n{3,}/g,"\n\n").trim(),l=t(a||n.textContent||"");return l.length<200?null:{title:o||e.title||document.title,byline:null,excerpt:e.excerpt||l.slice(0,280),siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,html:n.innerHTML,markdown:a,textContent:l,readerMode:!1,contentType:"list",hostAware:!0}}),registerHostAwareProfile(!0,function(e){var r=document,n=r.querySelector("#container, #paddingLR12");if(!n||!No(r,e))return null;t(n.textContent||"");var o=n.querySelector("table")||r.querySelector("#paddingLR12 table, table");if(o&&/\bSection\s*1/i.test(o.textContent||"")){var i=(l=r,s=Array.prototype.slice.call(l.querySelectorAll("a[href]")),c=new URL(location.href),u=null,s.some(function(e){var r,n=e.getAttribute("href")||"",o=t(e.textContent||e.getAttribute("title")||"");try{r=new URL(n,location.href)}catch(e){return!1}return r.origin===c.origin&&!!/\.html?(?:$|#)/i.test(r.pathname+r.hash)&&!(!/^(?:html|full text|full text in format html)$/i.test(o)&&!/\/[^/]+\.html?$/i.test(r.pathname))&&r.pathname!==c.pathname&&(u=r.href.replace(/#.*/,""),/^(?:html|full text in format html)$/i.test(o))}),u),a=i&&function(e){var t=new XMLHttpRequest;try{return t.open("GET",e,!1),t.send(null),t.status<200||t.status>=300||!t.responseText?null:(new DOMParser).parseFromString(t.responseText,"text/html")}catch(e){return null}}(i);a&&No(a,e)&&(r=a)}var l,s,c,u;var d=r.getElementById("paddingLR12")||r.getElementById("container")||r.querySelector("#paddingLR12, #container");if(!d)return null;var m=t((r.querySelector("h1")||document.querySelector("h1")||{}).textContent||e.title||document.title);return le(e,d,{title:m||e.title||document.title,byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,minTextLength:400,postProcessMarkdown:function(e){return e.replace(/\n{3,}/g,"\n\n").trim()},rewriteRoot:function(e){e.querySelectorAll("script, style, form, nav, .noprint, #toc, table").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='index.html#'], a[href*='index.htm#']").forEach(function(e){var r=e.closest("p, div, li")||e;/^table of contents$/i.test(t(r.textContent||""))&&r.remove()})},validateMarkdown:function(e,t){return/\bSection\s*1/i.test(t)&&/\bSection\s*2/i.test(t)},extra:{legalProvision:!0}})}),registerHostAwareProfile(!0,function(e){var r=Array.prototype.slice.call(document.querySelectorAll(["#extracted-content #main-content","#extracted-content",".wex-content",".node-wex-term","[class*='legal-reference' i]","[class*='encyclopedia-entry' i]"].join(", "))),o=null;if(r.some(function(e){return!(!e||!e.querySelector("h1")||n(e)<500)&&(!!e.querySelector("p")&&(o=e,!0))}),!o)return null;var i=t([e.siteName||"",e.title||"",document.title||"",o.id||"",o.className||"",Array.prototype.slice.call(o.querySelectorAll("a[href]")).slice(0,40).map(function(e){return(e.getAttribute("href")||"")+" "+t(e.textContent||"")}).join(" ")].join(" ")),a=/\b(?:law|legal|court|courts|statute|regulation|jurisdiction|litigation|plaintiff|defendant|claim|judgment|preclusion|rule|rights?)\b/i.test(i),l=/\b(?:wex|encyclopedia|definition|definitions|reference|glossary|term)\b/i.test(i)||/\/wex\//i.test(i);return a&&l?le(e,o,{title:function(r,n){return t((n.querySelector("h1")||o.querySelector("h1")||{}).textContent||e.title||document.title)},byline:null,excerpt:function(t,r,n,o,i){return e.excerpt||i.slice(0,280)},siteName:e.siteName||location.hostname,publishedTime:e.publishedTime||null,cleanupRoot:!1,cleanupMarkdown:!1,minTextLength:500,rewriteRoot:function(e){e.querySelectorAll(["aside","nav","[role='complementary']","[id*='related' i]","[class*='related' i]","[id*='recommended' i]","[class*='recommended' i]"].join(", ")).forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return function(e){var r=document.querySelector("#MainContent .EurlexContent #document1")||document.querySelector("#MainContent .EurlexContent #textTabContent")||document.querySelector("#MainContent .EurlexContent #PP1Contents")||document.querySelector("#MainContent .EurlexContent");return r&&document.querySelector("#MainContent .EurlexContent")&&(document.querySelector("#op-header")||document.querySelector(".PageShare"))?bn(e,r,{minText:300,docsLike:!0,title:t((document.querySelector("#MainContent .EurlexContent #PP1Contents #title, #MainContent .EurlexContent #PP1Contents #englishTitle")||{}).textContent||""),titleRoot:document.querySelector("#MainContent")||document,strip:function(e){e.querySelectorAll("#translatedTitle.hidden, #originalTitle.hidden, .hidden, .PageShare, .AffixSidebarWrapper").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content .group--type--microsite.microsite--type--programs")||document.querySelector("main[role='main'] .group--type--microsite.microsite--type--programs")||document.querySelector("main#main-content .node-intro")||null;return t&&(document.querySelector(".usa-megamenu, .usa-nav__submenu")||document.querySelector(".usa-banner"))&&t.querySelector("h1, .microsite-title, .field--name--field-intro, .field--name-field-intro")?bn(e,t,{minText:350,titleRoot:t,strip:function(e){e.querySelectorAll(".group-menu, [class*='group-menu'], .usa-breadcrumb, [id*='breadcrumb' i], .slick-dots, .slick-arrow").forEach(function(e){e.remove()})}}):null}(e)||function(e){var t=document.querySelector("main#main-content #main-article")||document.querySelector("main#main-content")||document.querySelector("main[role='main']");return t&&document.querySelector("#feedback-form")&&document.querySelector("main#main-content")&&t.querySelector("nav.contents, .contents, h1")&&/\bYour Europe\b/i.test([e.siteName||"",e.title||"",document.title||"",document.body.textContent||""].join(" "))?bn(e,t,{minText:150,preserveContentNav:!0,titleRoot:document.querySelector("main#main-content")||t,strip:function(e){e.querySelectorAll("#feedback-form, [id*='feedback' i], [class*='feedback' i], .share, [id^='sh-']").forEach(function(e){e.remove()})}}):null}(e)||function(e){var r=document.querySelector("#stnd-designation, [id*='standard' i][id*='designation' i], [class*='standard' i][class*='designation' i]"),n=document.querySelector("#stnd-title, [id*='standard' i][id*='title' i], [class*='standard' i][class*='title' i]"),o=document.querySelector("#standard-details, [id*='standard' i][id*='details' i], [class*='standard' i][class*='details' i]"),i=document.querySelector("#stnd-description, [id*='standard' i][id*='description' i], [class*='standard' i][class*='description' i]"),a=document.querySelector("#page-title.standard, [class*='standard' i][id*='title' i]"),l=document.querySelector("#content.standard #main-content, main #main-content, main");if(!(r&&n&&o&&i&&l&&a))return null;var s=document.createElement("article");a&&s.appendChild(T(a,document)),s.appendChild(T(i,document)),s.appendChild(T(o,document));var c=l.querySelector("#working-group-details");if(c){var u=T(c,document);u.querySelectorAll("#working-group-projects-standards, .tab-content, .nav-tabs, [role='tablist']").forEach(function(e){e.remove()}),s.appendChild(u)}return bn(e,s,{minText:250,title:t([r.textContent,n.textContent].join(" - ")),strip:function(e){pi(e,Qo+", form, .osano-cm-window, [class*='cookie' i], [class*='newsletter' i]")}})}(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".page-content .container, main .container, main, .content")),o=null;return r.forEach(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("ul.arrows, ol.arrows, ul, ol")).filter(function(e){var r=Array.prototype.slice.call(e.querySelectorAll("a[href]"));return!(r.length<4)&&r.filter(function(e){var r=t(e.textContent||""),n=e.getAttribute("href")||"";return/\b(?:convention|protocol|principles?|instrument)\b/i.test(r)&&/\b(?:conventions?|instruments?|full-text|specialised-sections)\b/i.test(n)}).length>=Math.min(4,r.length)}),i=t([e.querySelector("h1, h2")&&e.querySelector("h1, h2").textContent,e.textContent].join(" ")),a=n(e)+1e3*r.length;r.length<2||(/\bConventions? and (?:other )?Instruments?\b/i.test(i)||/\bCore Conventions?\b/i.test(i))&&(!o||a>o.score)&&(o={root:e,score:a})}),o?bn(e,o.root,{docsLike:!0,minText:400,titleRoot:o.root,strip:function(e){pi(e,Qo+", [class*='breadcrumb' i], .navbar, [class*='nav' i], form")}}):null}(e)||kn(e)||Sn(e)||function(e){var r=Array.prototype.slice.call(document.querySelectorAll("[id*='listView' i], [role='list'], [class*='topic' i][class*='list' i], [class*='card' i][class*='grid' i]")),n=null;if(r.forEach(function(e){var r={},i=[],a=/topic|taxonomy|listview/i.test((e.id||"")+" "+(e.className||"")+" "+e.getAttribute("data-sf-element"));if(e.querySelectorAll("a[href]").forEach(function(e){if(!(i.length>=240)){var n=o(e.getAttribute("href")||""),l=t(e.getAttribute("aria-label")||(e.querySelector("h2, h3, h4")||{}).textContent||""),s=Array.prototype.slice.call(e.querySelectorAll("p")),c="";!l&&s.length&&(l=t(s[s.length-1].textContent||e.textContent||"")),s.length>1&&(c=t(s[0].textContent||"")),!c&&l&&(c=Tt(e,l)),!l||!n||l.length<3||l.length>180||r[n]||(a||/\btopics?\b/i.test(n+" "+l+" "+c))&&(/^(home|health topics|topics|news|headlines|menu|search|more)$/i.test(l)||(r[n]=!0,i.push({text:l,url:n,detail:c})))}}),!(i.length<8)){var l=100*i.length+(a?1e3:0);(!n||l>n.score)&&(n={root:e,items:i,score:l})}}),!n)return null;var i=t((document.querySelector("h1")||{}).textContent||e.title||document.title||"Topics");return k(e,{title:i,excerpt:e.excerpt,items:n.items,html:E(n.root).innerHTML,textContent:i+"\n"+ft(n.items)})}(e)}),registerHostAwareProfile(!0,function(e){var r=Ae(e);if(!q(/(^|\.)wykop\.pl$/)&&!/wykop/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},i=[];return document.querySelectorAll("section.prerender section.link-block.stream-home[id^='link-'], section.home-page section.link-block.stream-home[id^='link-'], section.stream.home-stream.from-pagination-home-stream section.link-block.stream-home[id^='link-']").forEach(function(e){if(!(i.length>=12)){var r=e.querySelector("h2.heading a[href^='/link/'], h2 a[href^='/link/'], a[href^='/link/']");if(r){var a=t(r.textContent||r.getAttribute("title")||""),l=o(r.getAttribute("href"));if(!(!a||!l||a.length<12||a.length>220||n[l]||/^(załóż konto|zaloguj się|ustawienia prywatności)$/i.test(a))){n[l]=!0;var s=[],c=t(Array.prototype.map.call(e.querySelectorAll("p, .description, .text, .content"),function(e){return t(e.textContent||"")}).join(" "));c&&c!==a&&s.push(c);var u=t(Array.prototype.map.call(e.querySelectorAll("a.comment-counter, [class*='vote'], [class*='comment']"),function(e){return t(e.textContent||"")}).join(" ")).replace(/\s{2,}/g," ");u&&s.push(u),i.push({text:a,url:l,detail:t(s.join(" - "))})}}}}),i.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Wykop",items:i})}),registerHostAwareProfile(!0,function(e){return function(e){var r=Ae(e);return(q(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?Te(e,["main article","main .prose","main [data-docs-body]"],{titleSelectors:["main article h1","main .prose h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[|·-]\s*Next\.js$/i,""))}}):null}(e)||function(e){var r=Ae(e);return(q(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?Te(e,["main article","main [data-pagefind-body]","main .max-w-4xl article"],{titleSelectors:["main article h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*[–-]\s*React$/i,""))}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)docs\.stripe\.com$/)&&!/stripe/i.test(r))return null;if(!/^\/api\//.test(location.pathname)&&!/api reference/i.test(r))return null;var i,a=t((e.title||document.title).replace(/\s*[|·-]\s*Stripe API Reference$/i,"")),l=Array.prototype.slice.call(document.querySelectorAll("main section, article section")).find(function(e){var r=e.querySelector("h1, h2, h3");return(r=t(r&&r.textContent))&&a&&(r===a||0===r.indexOf(a))});if(l){var s=l.parentElement;i=(s?s.querySelectorAll(":scope > section").length:0)>1?s:l}else i=document.querySelector("main article, article, main");return je(e,i,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){fe(e,"a, button, span, div, p",/^(ask about this section|copy for llm|view as markdown)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=o(e.getAttribute("href")),n=t(e.textContent);r===location.href.split("#")[0]&&n===a&&e.remove()}),e.querySelectorAll("[aria-hidden='true']").forEach(function(e){n(e)<2e3&&e.remove()}),e.querySelectorAll("[class*='collapsed'], [class*='summary'], [class*='unexpanded']").forEach(function(e){var r=e.querySelector("code, strong, b, [class*='name']"),o=t(r&&r.textContent);if(o&&!(o.length>50)){var i=e.nextElementSibling||e.previousElementSibling;if(i){var a=i.querySelector("code, strong, b, [class*='name']");t(a&&a.textContent)===o&&(n(e)<n(i)?e.remove():i.remove())}}}),e.querySelectorAll("h2, h3, h4, h5, h6").forEach(function(e){var r=function(e){var r=(e=t(e||"").replace(/deprecated$/i," [Deprecated]")).match(/^([a-z0-9_.]+?)(nullable)?\s*(string|integer|object|array|boolean|enum|timestamp|hash|map|float)(expandable)?$/i);if(!r)return e.replace(/([a-z])([A-Z][a-z]+)/g,"$1 $2");var n=[];r[2]&&n.push("nullable");n.push(r[3].toLowerCase()),r[4]&&n.push("expandable");return r[1]+" - "+n.join(" ")}(e.textContent);r&&(e.textContent=r)});var r=e.querySelectorAll("h1");if(r.length>1){var i={};r.forEach(function(e){var r=t(e.textContent).toLowerCase().replace(/\s*\[?deprecated\]?\s*$/i,"");i[r]?e.remove():i[r]=!0})}e.querySelectorAll("h1").forEach(function(e){e.textContent=t(e.textContent).replace(/deprecated$/i," [Deprecated]")})},postProcessMarkdown:function(e){var t=e.split("\n"),r={};(t.forEach(function(e){var t=e.match(/^#{2,6}\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);t&&(r[t[1].toLowerCase().replace(/\s+/g,"")]=!0)}),Object.keys(r).length>0)&&(e=t.filter(function(e){var t=e.match(/^-\s+([a-z_][a-z0-9_]*(?:nullable\s*)?(?:string|integer|object|array|boolean|enum|timestamp|hash|map|float)?(?:\s*expandable)?)/i);if(!t)return!0;var n=t[1].toLowerCase().replace(/\s+/g,"");return!r[n]}).join("\n"));return e}})}(e)||function(e){var r=Ae(e);return q(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?Te(e,["#main-col-body","#main-content #main-col-body","#main-content","main"],{titleSelectors:["#main-content h1","#main-col-body h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*AWS.*$/,""))},removeCookiePrefs:!0,removeMarketingTips:!0,rewriteRoot:function(e){e.querySelectorAll("awsdocs-language-banner, awsdocs-page-header, awsdocs-filter-selector, .awsdocs-page-header-container, .awsdocs-note.awsdocs-tip").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);/join serverless experts|builder center|click here to sign up/i.test(r)&&r.length<800&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);return(q(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?Te(e,["main article","article.main-page-content","main .main-page-content","main"],{titleSelectors:["main article h1","article.main-page-content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*MDN.*$/,""))},removeTryIt:!0,rewriteRoot:function(e){e.querySelectorAll("section, div, aside").forEach(function(e){var r=t(e.textContent);(/^baseline\b/i.test(r)||/this feature is well established and works across many devices/i.test(r))&&r.length<800&&e.remove()}),e.querySelectorAll("section, div").forEach(function(e){var r=e.querySelector("h2, h3");if(r){var n=t(r.textContent);if(n){var o=t(e.textContent),i=n.length;o.length-i<30&&e.remove()}}}),e.querySelectorAll("table.bc-table, [class*='bc-table'], [class*='bcd-table']").forEach(function(e){t(e.textContent).length<30&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)docs\.github\.com$/)&&!/github docs/i.test(r))return null;var n=function(){if(!/^\/(?:[a-z]{2}(?:-[A-Z]{2})?\/)?rest\//.test(location.pathname||""))return null;var e=document.querySelector("main#main-content, main");return e&&Array.prototype.filter.call(e.querySelectorAll("h2, h3"),function(e){var r=t(e.textContent);return r&&!/^(fine-grained access tokens|parameters|http response status codes|code samples)\b/i.test(r)}).length>=2?e:null}()||ke(["main .markdown-body","main"]);return je(e,n,{titleSelectors:["main h1",".markdown-body h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*GitHub Docs$/i,""))},rewriteRoot:function(e){e.querySelectorAll("[role='tablist'], ul[class*='SegmentedControl'], .prc-SegmentedControl-SegmentedControl-lqIXp").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}})}(e)||function(e){var t=Ae(e);return q(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .sidebar, [data-testid='side-nav'], [data-testid='breadcrumbs']").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|edit this page on github|theme)$/i),e.querySelectorAll("details summary").forEach(function(e){var t=Ne(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=Ae(e);return q(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return e.title||document.title},rewriteRoot:function(e){e.querySelectorAll("nav, aside, .toc, .sidebar, [data-pagefind-ignore]").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=Ae(e);return q(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?Te(e,["main article","main","article"],{titleSelectors:["main article h1","main h1","article h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*Grafana.*$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, [aria-label='breadcrumb'], [data-testid='sidebar'], .toc, .sidebar").forEach(function(e){e.remove()}),fe(e,"div, p, span, button, a",/^(on this page|scroll for more|suggest an edit in github|create a github issue|email docs@grafana\.com|help and support)$/i),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent);(/^is this page helpful\??/i.test(r)||/^was this page helpful\??/i.test(r))&&r.length<200&&e.remove(),/^related resources from grafana labs/i.test(r)&&r.length<2500&&e.remove()})}}):null}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=w("method"),o=ke(["#main",".main_text","main"]),i=je(e,o,{fallbackTitle:n||t((e.title||document.title).replace(/\s*-\s*baselinker\.com$/i,""))||"API documentation",rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),fe(e,"a, button, div, span",/^(method list|test your request|changelog|copy)$/i)}});if(n&&(!i||t(i.markdown||"").length<200)){var a=function(e){if(!e)return null;for(var t=new RegExp("examples\\[['\"]"+Ro(e)+"['\"]\\]\\s*=\\s*'([\\s\\S]*?)';"),r=Array.prototype.slice.call(document.querySelectorAll("script")),n=0;n<r.length;n+=1){var o=(r[n].textContent||"").match(t);if(o&&o[1])return Kr(o[1])}return null}(n);if(a){var l=["# "+n,"Baselinker API request example for the `"+n+"` method.","```json",a,"```"].join("\n\n");return{title:n,byline:e.byline,excerpt:"Baselinker API request example for the "+n+" method.",siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:"",markdown:l,textContent:t(l),readerMode:!1,contentType:"article"}}}return i}(e)||function(e){var r=Ae(e);if(!q(/(^|\.)rubyapi\.org$/)&&!/ruby api/i.test(r))return null;var n=t((e.title||document.title).replace(/\s*\|\s*Ruby API.*$/i,""))||"Ruby API";return"/"===location.pathname||/^\/\d+(?:\.\d+)?\/?$/.test(location.pathname)?function(e,r){var n={},i=[];if(document.querySelectorAll("a[href*='/o/']").forEach(function(e){if(!(i.length>=12)){var r=o(e.getAttribute("href")),a=t(e.textContent);if(r&&/\/\d+(?:\.\d+)?\/o\//.test(r)&&/^read more$/i.test(a)&&!n[r])for(var l=e.parentElement;l&&l!==document.body;){var s=t((l.querySelector("h2, h3")||{}).textContent||""),c=we(l,["p"]);if(s&&c)return n[r]=!0,void i.push({text:s,url:r,detail:c});l=l.parentElement}}}),i.length<3)return null;var a=["# "+r,e.excerpt,ft(i)].filter(Boolean).join("\n\n"),l=S({title:r,excerpt:e.excerpt,siteName:e.siteName||location.hostname,markdown:a,textContent:t(a)});return l.byline=e.byline,l.publishedTime=e.publishedTime,l}(e,n):Te(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),fe(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}(e)}),registerHostAwareProfile(!0,function(e){var r=Ae(e).toLowerCase();if(!q(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=ke(["#main","main article","main","article"]);if(!n)return null;var o=we(n,["p"]),i=je(e,n,{titleSelectors:["#main h1","main h1","article h1"],fallbackTitle:function(){return(e.title||document.title).replace(/\s*[—-]\s*Ruby on Rails Guides$/i,"")},rewriteRoot:function(e){e.querySelectorAll("#topNav, #feature, #subCol, #subColWrap, #guides, #guides-index, .guides-index, .guide-index, .chapter, .chapter-list, .sidebar, aside, nav, header").forEach(function(e){e.remove()}),fe(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),fe(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){ye(e)&&e.remove()})}});if(!i)return null;var a=t(o||i.excerpt);if(a&&-1===i.markdown.indexOf(a)){var l=i.markdown;Pe(l,i.title)&&(l=l.split("\n\n").slice(1).join("\n\n")),i.markdown=["# "+i.title,a,l].filter(Boolean).join("\n\n"),i.textContent=t(i.markdown)}return i}),registerHostAwareProfile(!0,Jr),registerHostAwareProfile(!0,function(e){var t=Ae(e).toLowerCase();return q(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?Jr(e):null}),registerHostAwareProfile(!0,function(e){var r=En(e);return r&&_n(r)?Tn(r,e,function(e){for(var r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(i&&t(i.textContent)&&!i.closest("[data-testid='issue-body'], [data-testid='comment-body'], .js-comment-container, .timeline-comment, .comment, .issue-content, .pullrequest-description, .pull-request-description"))return i}return null}(r.readmeSelectors)):null}),registerHostAwareProfile(!0,function(e){var r=Xr(e);return Qr(e,r)||function(e,r){if(!(r=r||Xr(e))||"rustdoc"!==r.system)return null;var n=ke(["main",".rustdoc","body"]);return je(e,n,{titleSelectors:["main h1",".rustdoc h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s+copy item path$/i,"")},rewriteRoot:function(e){e.querySelectorAll("nav, #sidebar, .sidebar, .sub-sidebar-menu, #settings, #help-button, #crate-search, .mobile-topbar, .sidebar-elems, .out-of-band").forEach(function(e){e.remove()}),fe(e,"a, button, div, span, p",/^(search|settings|help|copy item path|expand description|show sidebar|hide sidebar|toggle sidebar|source|collapse all|expand all)$/i),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.getAttribute("title")),n=t(e.textContent);(/show sidebar|hide sidebar|toggle sidebar/i.test(r)||/^(search|settings|help|source|§)$/i.test(n))&&e.remove()}),e.querySelectorAll("a.srclink, a.src, a[class*='srclink']").forEach(function(e){e.remove()}),e.querySelectorAll("h1, h2, h3, h4").forEach(function(e){e.textContent=t(e.textContent).replace(/\s+copy item path$/i,"").replace(/^§\s*/,"")})}})}(e,r)||function(e,r){if(!(r=r||Xr(e))||"dartdoc"!==r.system)return null;var n=be(h(["#dartdoc-main-content h1","main h1","h1"])||e.title||document.title),i=h(["#dartdoc-main-content .desc p","main .desc p","main p"]),a=[];if(document.querySelectorAll("section.summary dl dt").forEach(function(e){var r=e.querySelector(".name a[href], a[href]");if(r){var n=t(r.textContent),i=o(r.getAttribute("href")),l=e.nextElementSibling&&e.nextElementSibling.tagName&&"dd"===e.nextElementSibling.tagName.toLowerCase()?e.nextElementSibling:null,s=t(l&&l.textContent);n&&i&&a.push({title:n,href:i,description:s})}}),a.length<4)return null;var l=["# "+(n||"API Reference")];i&&l.push(i),l.push("## Libraries\n\n"+a.slice(0,80).map(function(e){return"- ["+e.title+"]("+e.href+")"+(e.description?" - "+e.description:"")}).join("\n"));var s=Ei(l.join("\n\n"));return{title:n||e.title||document.title,byline:null,excerpt:i||a[0].description||null,siteName:e.siteName||location.hostname,publishedTime:null,html:(document.querySelector("#dartdoc-main-content")||document.querySelector("main")||document.body).innerHTML,markdown:s,textContent:t(s),docsLike:!0,readerMode:!1,contentType:"article"}}(e,r)||function(e,t){if(!(t=t||Xr(e))||"go_pkg"!==t.system)return null;var r=ke(["#main-content","main","body"]);return je(e,r,{titleSelectors:["#main-content h1","main h1","h1"],fallbackTitle:function(){return e.title||document.title},titleFormatter:function(e){return e.replace(/\s*-\s*Go Packages$/i,"")},rewriteRoot:function(e){e.querySelectorAll("header, nav, aside, footer, .go-Header, .go-MainHeader, .go-LeftNav, .go-DetailsHeader, .go-Main-aside").forEach(function(e){e.remove()}),fe(e,"div, p, span, a, button",/^(jump to \.\.\.|documentation|details|repository|links|versions|licenses|imports|imported by)$/i)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"google_devsite"!==r.system)return null;var n=ke(["devsite-content article","devsite-content .devsite-article-body","article[class*='devsite']","main article","main"]),o=/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi;return ze(e,n,{title:(i=h(["devsite-content h1","article h1","main h1"])||e.title||document.title,be((i||"").replace(o,"").replace(/\s*[|·]\s*(Google Cloud|Firebase|Android|Chrome).*$/i,""))),rewriteRoot:function(e){e.querySelectorAll("devsite-header, devsite-toc, devsite-nav, devsite-page-rating, devsite-feedback, devsite-thumb-rating, devsite-bookmark, devsite-feature-tooltip, nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("section, div, p, span, h2, h3, h4").forEach(function(e){var r=t(e.textContent);/stay organized with collections/i.test(r)&&/save and categorize content/i.test(r)&&r.length<200?e.remove():/^(h[1-6])$/i.test(e.tagName)&&(e.textContent=t(e.textContent).replace(o,""))}),e.querySelectorAll("div, section, p").forEach(function(e){var r=t(e.textContent);/except as otherwise noted.*creative commons/i.test(r)&&r.length<600&&e.remove(),/^(content and samples on this page|except as otherwise noted)/i.test(r)&&r.length<600&&e.remove()}),fe(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),_e(e);var r=e.querySelectorAll("h1");if(r.length>1){for(var n=0,i=t(r[0].textContent).length,a=1;a<r.length;a++){var l=t(r[a].textContent).length;l>0&&l<i&&(i=l,n=a)}for(var s=t(r[n].textContent).toLowerCase(),c=0;c<r.length;c++)if(c!==n){var u=t(r[c].textContent).toLowerCase();u!==s&&0!==u.indexOf(s)&&0!==s.indexOf(u)||r[c].remove()}}e.querySelectorAll("section, div, p").forEach(function(e){var r=t(e.textContent);/enterprise edition.*now available|is now available.*learn more/i.test(r)&&r.length<300&&e.remove()})}});var i}(e,r)||function(e,r){if(r=r||Xr(e),!r||"elastic_docs"!==r.system)return null;var n=ke(["main article","main [class*='docBody']","article","main"]);return ze(e,n,{title:be(h(["main article h1","article h1","main h1"])||(e.title||document.title).replace(/\s*\|\s*Elasticsearch.*$/i,"")),rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer").forEach(function(e){e.remove()}),e.querySelectorAll("a[href]").forEach(function(e){var r=t(e.textContent);!r&&e.querySelector("svg, .icon")&&e.remove(),!r&&!e.querySelector("img")&&e.getAttribute("href")&&/^#/.test(e.getAttribute("href"))&&e.remove()}),fe(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),_e(e)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"readme"!==r.system)return null;var n=ke(/\/reference\//i.test(location.pathname)||document.documentElement.classList.contains("isRefPage")?[".rm-ReferenceMain","main .rm-ReferenceMain",".rm-Article","main"]:[".rm-Article","article","main .rm-LandingPage","main .rm-ReferenceMain","main"]);return ze(e,n,{title:be(h(["article h1",".rm-Article h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .rm-Sidebar, .hub-sidebar, [class*='Sidebar'], [class*='QuickNav'], [class*='ModalWrapper'], [class*='TableOfContents']").forEach(function(e){e.remove()}),e.querySelectorAll("[class*='LanguagePicker'], [class*='APIAuth'], [class*='TryItNow'], [class*='ResponseSchemaModal']").forEach(function(e){e.remove()}),fe(e,"a, button, div, p, span, li",/^(skip to content|skip to main content|on this page|suggest edits|updated .*|log in|sign up|search|api reference|did this page help you\??|retrieving recent requests[\u2026.]*|recent requests|loading[\u2026.]{1,3}|log in to see full request history|try it!?|responses?)$/i),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent);(/^\s*(time\s+status\s+user\s*agent)?\s*$/i.test(r)||r.length<60&&/time.*status.*user\s*agent/i.test(r))&&e.remove()}),_e(e)}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"redoc"!==r.system)return null;var n=ke([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),o=ze(e,n,{title:be(h([".api-content h1",".redoc-wrap h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),fe(e,"a, button, div, p, span, li",/^(download|download openapi specification:?|authorize|try it|send api request|copy|expand all|collapse all|payload|loading[\u2026.]{1,3})$/i),function(e){e.querySelectorAll("div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=function(e){var t=[];function r(e){for(var n=e.childNodes,o=0;o<n.length;o++){var i=n[o];if(3===i.nodeType){var a=i.textContent;a&&!/^\s*$/.test(a)&&t.push(a)}else if(1===i.nodeType){var l=i.nodeName,s=i.className||"";if("BUTTON"===l)continue;if(/\bellipsis\b/.test(s))continue;if("SPAN"===l){var c=i.textContent;c&&!/^\s*$/.test(c)&&t.push(c);continue}r(i)}}}r(e);var n=t.join("").replace(/,(\s*[}\]])/g,"$1");try{var o=JSON.parse(n);return JSON.stringify(o,null,2)}catch(e){return n.replace(/\s+/g," ").trim()}}(e);if(t){var r=document.createElement("pre"),n=document.createElement("code");n.setAttribute("data-language","json"),n.textContent=t,r.appendChild(n),e.replaceWith(r)}})}(e),e.querySelectorAll("[data-rttabs]").forEach(function(e){for(var r=e.querySelectorAll("[role='tabpanel']"),n=null,o=0;o<r.length;o++)if(r[o].querySelector("pre, code")||t(r[o].textContent).length>20){n=r[o];break}e.querySelectorAll("[role='tablist'], [role='tab']").forEach(function(e){e.remove()});for(var i=0;i<r.length;i++)r[i]!==n&&r[i].remove()}),e.querySelectorAll("select.dropdown-select").forEach(function(e){e.remove()}),e.querySelectorAll("label").forEach(function(e){t(e.textContent).length<=120&&e.remove()}),e.querySelectorAll("div, section").forEach(function(e){t(e.textContent)||e.querySelector("img, svg, pre, code, table, ul, ol")||e.remove()}),e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(function(e){e.textContent=be(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}});return o}(e,r)||function(e,r){return r=r||Xr(e),r&&"mintlify"===r.system?Te(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:ji,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var o=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=o}pi(e,Yo+", .menu, .table-of-contents, [data-testid='table-of-contents'], [aria-label='Table of contents'], [class*='sidebar'], [class*='toc'], #page-context-menu, #page-context-menu-button, #pagination"),fe(e,"a, button, div, p, span, li",/^(copy page|copy for llm|view as markdown|ask ai|ask an ai|on this page|table of contents|search|skip to content|skip to main content|ctrl\+?\s*[a-z]|ctrl\s+[a-z])$/i),e.querySelectorAll("div, aside, p, span").forEach(function(e){var r=t(e.textContent);/^api reference sidebar$/i.test(r)&&e.remove()}),e.querySelectorAll(".eyebrow").forEach(function(e){t(e.textContent).length<=40&&e.remove()}),_e(e)}}):null}(e,r)||function(e,t){if(t=t||Xr(e),!t||"gitbook"!==t.system)return null;var r=ke(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]);return ze(e,r,{title:be(h(["main header h1","main h1","h1"])||ji(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){pi(e,Yo+", header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']"),fe(e,"a, button, div, p, span, li",/^(copy page|copy for llm|copy page as markdown|open in chatgpt|open in claude|connect to cursor|view as markdown|powered by gitbook|was this page helpful\??|previous|next|last updated|on this page|table of contents|ask or search|search|skip to content|skip to main content)$/i),_e(e)}})}(e,r)||function(e,t){if(t=t||Xr(e),!t||"scalar"!==t.system)return null;var r=ke([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]);return ze(e,r,{title:be(h([".scalar-api-reference h1","main h1","h1"])||ji(e)),focusFragment:!1,rewriteRoot:function(e){pi(e,Yo+", [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']"),fe(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),_e(e)}})}(e,r)||function(e,t){return Ee(e,t,{system:"fern",rootSelectors:[".fern-layout-reference article",".fern-layout-overview article","article .fern-prose","article","main"],titleSelectors:[".fern-page-heading","article h1","main h1"],fallbackTitle:ji,removeSelectors:Yo+", #fern-sidebar, .fern-breadcrumb, .fern-page-actions, .toc-mobile, .fern-header-tabs, .fern-api-playground, .fern-endpoint-panel",removeTextPattern:/^(copy page|on this page|table of contents|previous|next)$/i})}(e,r)||function(e,r){return r=r||Xr(e),r&&"nextra"===r.system?Te(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:ji,rewriteRoot:function(e){e.querySelectorAll(".nextra-cards, .not-prose").forEach(function(e){e.classList.remove("not-prose")}),e.querySelectorAll("a.nextra-card[href]").forEach(function(e){var r=t(e.getAttribute("title")||e.querySelector("[title]")&&e.querySelector("[title]").getAttribute("title")||e.textContent),n=t(Array.prototype.slice.call(e.querySelectorAll("p")).map(function(e){return e.textContent}).join(" ")),o=e.getAttribute("href");if(r&&o){var i=document.createElement("section"),a=document.createElement("ul"),l=document.createElement("li"),s=document.createElement("a");if(s.setAttribute("href",o),s.textContent=r,l.appendChild(s),a.appendChild(l),i.appendChild(a),n&&n!==r){var c=document.createElement("p");c.textContent=n,i.appendChild(c)}e.replaceWith(i)}}),pi(e,Yo+", .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container"),fe(e,"a, button, div, p, span, li",/^(copy page|on this page|skip to content|skip to main content|previous|next)$/i),e.querySelectorAll("a.subheading-anchor").forEach(function(e){e.remove()}),_e(e)},postProcessMarkdown:function(e,r){if(!r||!r.querySelector(".nextra-cards"))return e;var n=[];return r.querySelectorAll(".nextra-cards a[href]").forEach(function(r){var i=t(r.textContent||r.getAttribute("title")),a=o(r.getAttribute("href"));i&&a&&-1===e.indexOf(a)&&n.push("- ["+i+"]("+a+")")}),n.length?(e||"").trim()+"\n\n## Pages\n\n"+n.join("\n"):e}}):null}(e,r)||function(e,t){return Ee(e,t,{system:"docusaurus",rootSelectors:["main .markdown","main article","main .theme-doc-markdown","article .theme-doc-markdown","main [class*='docItemContainer']","main"],titleSelectors:["main .markdown h1","main h1","article h1",".theme-doc-markdown h1"],fallbackTitle:ji,removeSelectors:Yo+", .theme-doc-breadcrumbs, .theme-doc-toc-desktop, .theme-doc-toc-mobile, .pagination-nav, .theme-edit-this-page, .theme-last-updated",removeTextPattern:/^(skip to main content|on this page|edit this page|copy for llm|view as markdown|ask ai|search)$/i})}(e,r)||function(e,r){return Ee(e,r,{system:"vitepress",rootSelectors:[".VPDoc .vp-doc",".VPContentDoc .vt-doc","#VPContent .VPDoc","#VPContent .VPContentDoc","#VPContent article",".vp-doc",".vt-doc","main"],titleSelectors:["#VPContent h1",".VPDoc h1",".VPContentDoc h1",".vp-doc h1",".vt-doc h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*\|\s*[^|]*$/,"")},removeSelectors:Yo+", .VPDocFooter, .VPContentDocFooter, .VPDocAsideOutline, .aside, .pager-link, .prev-next, .outline-link",removeTextPattern:/^(skip to content|skip to main content|on this page|return to top|edit this page|previous page|next page|ads via carbon)$/i,rewriteRoot:function(e){var r=e.querySelector("h1");if(r)for(var n=e.firstElementChild;n&&n!==r;){var i=n.nextElementSibling;if(n.contains(r))break;n.remove(),n=i}e.querySelectorAll("div, p, span").forEach(function(e){var r=t(e.textContent);r&&r.length<300&&/^are you an llm\b/i.test(r)&&e.remove()}),e.querySelectorAll("a[href], img").forEach(function(e){var t=o(e.getAttribute&&e.getAttribute("href")),r=o(e.getAttribute&&e.getAttribute("src"));if(t&&/carbonads|srv\.carbonads\.net/i.test(t)||r&&/carbonads|srv\.carbonads\.net/i.test(r)){var n=e.closest("div, p, section, aside, a")||e;n&&n.remove()}})}})}(e,r)||function(e,t){return Ee(e,t,{system:"rspress",rootSelectors:[".rspress-doc","main .rp-doc","main article","main"],titleSelectors:["main h1","article h1",".rspress-doc h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[-|]\s*[^-|]*$/,"")},preferFragmentTitle:!1,removeSelectors:Yo+", .rp-nav, .rp-sidebar, .rp-toc, .rp-doc-footer, .rp-breadcrumb, .rp-pagination",removeTextPattern:/^(skip to main content|on this page|edit this page|previous page|next page|back to top)$/i,rewriteRoot:function(e){e.querySelectorAll("a.rp-header-anchor, .rp-header-anchor").forEach(function(e){e.remove()})},headingFormatter:function(e){return be(e).replace(/^#\s*/,"")}})}(e,r)||function(e,r){if(r=r||Xr(e),!r||"mkdocs"!==r.system)return null;var n="";return Te(e,["main .md-content__inner","main .md-content","article.md-content__inner","main article","main"],{titleSelectors:["main h1","article h1"],fallbackTitle:function(e){return t(e.title||document.title)},postProcessMarkdown:function(e){return!n||/## Reference Pages[\s\S]*\n\s*-\s+\[/.test(e)?e:[e=e.replace(/\n*## Reference Pages\s*$/i,""),n].filter(Boolean).join("\n\n")},rewriteRoot:function(e){var r=function(){if(!/\/(?:reference|api)\/?$/i.test(location.pathname||""))return null;var e=location.href.replace(/#.*$/,"").replace(/\/$/,"")+"/",r=Array.prototype.slice.call(document.querySelectorAll(".md-nav__link[href]")).find(function(t){return o(t.getAttribute("href")).replace(/#.*$/,"").replace(/\/$/,"")+"/"===e}),n=r&&r.closest(".md-nav__item--nested, .md-nav__item--section, .md-nav__item"),i=n&&n.querySelector("nav.md-nav");if(!i)return null;var a={},l=[];if(i.querySelectorAll("a[href]").forEach(function(r){var n=o(r.getAttribute("href")),i=n.replace(/#.*$/,"").replace(/\/$/,"")+"/",s=t(r.textContent);s&&i!==e&&!a[i]&&(a[i]=!0,l.push({title:s,href:n}))}),l.length<3)return null;var s=document.createElement("section"),c=document.createElement("h2"),u=document.createElement("ul");return c.textContent="Reference Pages",s.appendChild(c),l.slice(0,50).forEach(function(e){var t=document.createElement("li"),r=document.createElement("a");r.href=e.href,r.textContent=e.title,t.appendChild(r),u.appendChild(t)}),s.appendChild(u),s}();n=function(e){if(!e)return"";var r=Array.prototype.slice.call(e.querySelectorAll("a[href]")).map(function(e){return"- ["+t(e.textContent)+"]("+e.href+")"}).filter(Boolean);return r.length?"## Reference Pages\n\n"+r.join("\n"):""}(r),r&&e.querySelectorAll("a[href]").length<4&&e.appendChild(r),pi(e,Yo+", .md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar"),fe(e,"div, p, span, button, a",/^(table of contents|view source|edit this page)$/i),e.querySelectorAll(".admonition, details.note, details.tip, details.warning, details.info, details.danger, details.example, details.question, details.abstract, details.success, details.failure, details.bug, details.quote").forEach(function(e){var r=e.querySelector(".admonition-title, summary"),n=t(r&&r.textContent||"Note").toUpperCase();r&&r.remove();var o=t(e.textContent);if(o){var i=document.createElement("blockquote");i.innerHTML="<p><strong>"+n+":</strong> "+o+"</p>",e.replaceWith(i)}}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))})}})}(e,r)||function(e,r){return Ee(e,r,{system:"mdbook",rootSelectors:["#content main","#content","main"],titleSelectors:["#content main h1","#content h1","main h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*The Rust Programming Language$/i,""))},removeSelectors:Yo+", #sidebar, #sidebar-toggle, nav.sidebar, #menu-bar, #menu-bar-hover-placeholder, .nav-wrapper, .nav-chapters, .chapter, #sidebar-resize-handle, .mobile-nav-chapters",removeTextSelector:"a, button, div, span",removeTextPattern:/^(print this book|light|rust|coal|navy|ayu|change theme|toggle table of contents|keyboard shortcuts)$/i,headingFormatter:!1})}(e,r)||function(e,r){if(!(r=r||Xr(e))||"antora"!==r.system)return null;var n=ke(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var i=we(n,["h1"]);if(!i){var a=t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),l=y(["article.doc h2","article.doc h3"],8).filter(function(e){return e.length>=4&&!/^(contents?|navigation)$/i.test(e)}),s={},c=[],u=".homepage-card, .home-card, .card, [class*='homepage-card'], [class*='home-card'], [class*='doc-card'], li, section";if(n.querySelectorAll("a.homepage-link[href], a.homepage-link-primary[href], a.homepage-link-secondary[href]").forEach(function(e){if(!(c.length>=12)){var r=e.getAttribute("href")||o(e.href),n=t(e.textContent),i="",a=e.closest(u),l=e.nextElementSibling;!l||!/^(P|DIV|UL|OL)$/i.test(l.tagName||"")||a&&l.closest(u)!==a||(i=t(l.textContent)),i||(i=Se(a||e.closest("section, div, li, article")||e.parentElement,["p","li"],u))===n&&(i=""),!r||!n||n.length<4||s[r]||(s[r]=!0,c.push({text:n,url:r,detail:i}))}}),!c.length)return null;var d=[];a&&d.push("# "+a),l.length&&d.push(l.slice(0,6).map(function(e){return"- "+e}).join("\n")),d.push(ft(c));var m=d.filter(Boolean).join("\n\n").trim();return{title:a||e.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||location.hostname,publishedTime:null,html:"",markdown:m,textContent:t(m),readerMode:!1,contentType:"list"}}return ze(e,n,{title:i||t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),rewriteRoot:function(e){e.querySelectorAll(".toolbar, .crumbs, .page-languages, .languages-menu, .languages-menu-toggle, .page-versions, .page-navigation, .nav-container, .edit-this-page, .pagination, aside, nav").forEach(function(e){e.remove()}),e.querySelectorAll("div, p, section, small").forEach(function(e){var r=t(e.textContent);!r||r.length>220||/(the .* docs team|version\s+[A-Z]?\d+|last review\b|last build\b|edit this page\b|report an issue\b)/i.test(r)&&e.remove()})}})}(e,r)||function(e,r){return Ee(e,r,{system:"readthedocs",rootSelectors:[".wy-nav-content .rst-content",".rst-content",".wy-nav-content","div[role='main']","main"],titleSelectors:[".rst-content h1",".wy-nav-content h1","main h1","h1"],fallbackTitle:function(e){return e.title||document.title},preferFragmentTitle:!1,removeSelectors:"nav, aside, footer, .wy-breadcrumbs, .rst-footer-buttons, .wy-menu, .wy-nav-side, .wy-side-nav-search, .wy-nav-top",rewriteRoot:function(e,r){e.querySelectorAll("a.headerlink").forEach(function(e){e.remove()});var n=!1;e.querySelectorAll("h1").forEach(function(e){if(e.textContent=be(e.textContent),t(e.textContent)===t(r)){if(n)return void e.remove();n=!0}})}})}(e,r)||function(e,t){return Ee(e,t,{system:"sphinx",rootSelectors:["div.document > div > div.section","div.document > div.section",".document","div.body[role='main']","div.body","[role='main']","main"],titleSelectors:[".document h1","div.body h1","[role='main'] h1","main h1"],fallbackTitle:function(e){return(e.title||document.title).replace(/\s*[—-]\s*[^—-]*documentation$/i,"")},removeSelectors:"a.headerlink, button.copybutton, .toc-backref, .sphinxsidebar, .sphinxsidebarwrapper, [role='navigation'], aside",headingSelector:"h1, h2, h3, h4",rewriteRoot:function(e){e.querySelectorAll("dt.sig").forEach(function(e){var t=document.createElement("h3");t.textContent=be(e.textContent),e.replaceWith(t)})}})}(e,r)}),registerHostAwareProfile(!0,function(e){var r=function(e,r){if(r=r||{},!document.body||!L())return null;if(Ot())return null;if(document.querySelector("article h1, article [itemprop='articleBody'], [type='application/ld+json']")){var n=t(document.body.textContent||"");if(document.querySelector("article h1")&&n.length<3e4)return null}var i=[];["main","[role='main']","#main",".main","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===i.indexOf(e)&&i.push(e)})});var a=null,l=r.minItems||5,s=t([e&&e.title||"",e&&e.siteName||"",document.title||"",document.body.textContent||""].join(" ")).toLowerCase().slice(0,6e3),c=/\b(find|search|book|compare|deals?|offers?|destinations?|routes?|tickets?|timetables?|trains?|travel|hotels?|homes?|properties|real estate|for sale|for rent|marketplaces?|listings?|latest|top stories|headlines|breaking news)\b/i.test(s);return i.forEach(function(e){var r={},n=[],i=[],s=t((e.querySelector("h1")||{}).textContent||"");e.querySelectorAll("h2, h3").forEach(function(e){if(!(i.length>=8)){var r=t(e.textContent||"");r.length>=6&&r.length<=90&&!$(r,"")&&i.push(r)}}),e.querySelectorAll("a[href]").forEach(function(e){if(!(n.length>=18||e.closest("header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']"))){var i=e.getAttribute("href")||"",a=o(i),l=t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"");if(a&&!r[a]&&!$(l,i)&&(!(l.length<12)||/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(l))){var s=Tt(e.closest("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")||e.parentElement,l);s.length>180&&(s=""),r[a]=!0,n.push({text:l,url:a,detail:s})}}});var u=t(e.textContent||""),d=e.querySelectorAll("a[href]").length,m=e.querySelectorAll("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']").length,p=s&&s.length>=8&&s.length<=120?180:0,h=60*Math.min(i.length,6),f=180*n.length+p+h+12*Math.min(m,18)+Math.min(d,80);n.length<l&&!(n.length>=3&&p&&i.length>=2)||(c||n.length>=6&&m>=6&&i.length>=3)&&(d<n.length||u.length<120||(!a||f>a.score)&&(a={root:e,items:n,hero:s,headings:i,score:f}))}),a?a.items.length<l&&(!a.hero||a.headings.length<2)?null:a:null}(e,{minItems:4});if(!r)return null;var n=r.hero||e&&e.title||document.title||location.hostname,i=[];r.hero&&i.push("# "+r.hero),e&&e.excerpt&&i.push(e.excerpt),r.headings.length>=2&&i.push(r.headings.slice(0,6).map(function(e){return"- "+e}).join("\n")),i.push(ft(r.items.slice(0,12)));var a=i.filter(Boolean).join("\n\n").trim();return t(a).length<180?null:S({title:n,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:a,textContent:t(a)})}),registerHostAwareProfile(!0,function(e){if(!function(e){var r=t([e&&e.title,e&&e.siteName,h(["meta[name='application-name']","meta[property='og:site_name']"],"content"),document.title].join(" ")),n=/mastodon/i.test(r)||!!document.querySelector(".status__content, .status.status-public, .display-name, .columns-area__panels__main"),o=/^\/(?:@[^/]+|tags\/[^/?#]+)/i.test(location.pathname||"");return n&&o}(e))return null;var n=(location.pathname||"").split("/").filter(Boolean),o="tags"===n[0]?n[1]:"",i=o?"":function(){var e=(location.pathname||"").split("/").filter(Boolean);if(e[0]&&"@"===e[0].charAt(0))return e[0]+"@"+location.hostname;var r=t((document.querySelector("main")||{}).textContent||"").match(/@?[A-Za-z0-9_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/);return r?"@"===r[0].charAt(0)?r[0]:"@"+r[0]:""}(),a=h(["[class*='account_header__name'] h1",".display-name strong",".display-name b",".display-name"])||"";a&&i&&a.toLowerCase().indexOf(i.toLowerCase())>=0&&(a=t(a.replace(i,"")));var l=h(["[class*='account_bio__bio']",".account__header__content",".account__header__bio",".public-account-bio",".profile__bio","[data-testid='profile-note']"]),s=function(){var e=Array.prototype.slice.call(document.querySelectorAll(".status, .status-public, .status__wrapper, article.status-public"));Array.prototype.slice.call(document.querySelectorAll(".status__content, .status__content__text")).forEach(function(t){var r=t.closest("article, .status-public, .status__wrapper");r&&e.indexOf(r)<0&&e.push(r)});var r={},n=[];return e.forEach(function(e){if(!(n.length>=8||e.closest("footer, nav"))){var o=t((e.querySelector(".status__content__text, .status__content")||e).textContent);if(o&&!(o.length<20)&&!/^(profiles directory|keyboard shortcuts|view source code|about mastodon|get the app)$/i.test(o)){var i=jn(e,[".status__display-name",".display-name"]),a=jn(e,["time"]),l=o.slice(0,220).toLowerCase();if(!r[l]){r[l]=!0;var s=o;i&&0!==s.toLowerCase().indexOf(i.toLowerCase())&&(s=i+": "+s),a&&(s+=" ("+a+")"),n.push(s)}}}}),n}();if(!(o||i||a||l||0!==s.length))return null;if(o&&0===s.length)return null;/^mastodon$/i.test(a)&&i&&(a="");var c=o?"#"+r(o)+" on Mastodon":a||i||e.title||"Mastodon Profile",u=["# "+c],d=[];i&&d.push("- Handle: "+i),Array.prototype.slice.call(document.querySelectorAll("[class*='number_fields__item']")).map(function(e){var r=t(e.textContent),n=r.match(/^(Followers|Following|Posts|Joined)(.+)$/i);return n?n[1]+": "+n[2]:r}).filter(Boolean).slice(0,6).forEach(function(e){d.push("- "+e)}),d.length&&u.push(d.join("\n")),l&&u.push(l),s.length&&u.push("## Recent Posts\n\n"+s.map(function(e){return"- "+e}).join("\n"));var m=u.filter(Boolean).join("\n\n").trim();return t(m).length<40?null:{title:c,byline:null,excerpt:l||s[0]||e.excerpt,siteName:e.siteName||"Mastodon",publishedTime:null,html:(document.querySelector("main")||{}).innerHTML||"",markdown:m,textContent:t(m),readerMode:!1,contentType:"list",hostAware:!0}}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)fandom\.com$/)||!document.querySelector(".mw-parser-output, .page-content, #content"))return null;var r=document.querySelector(".mw-parser-output")||document.querySelector(".page-content")||document.querySelector("#content");return r?O(e,r,{title:h(["h1.page-header__title","#firstHeading","h1"])||t((e.title||document.title).replace(/\s*\|\s*.*Wiki\s*\|\s*Fandom$/i,"")),byline:e.byline,minTextLength:40,rewriteRoot:function(e){e.querySelectorAll(".navbox, table.navbox, .navbox-styles, .portable-infobox, .pi-collapse, .mw-editsection, .toc, #toc, .catlinks, #catlinks, .printfooter, .noprint, .mw-empty-elt, .page-footer, .article-footer, .fandom-community-header, .mcf-card-header, .mcf-card-footer, .mcf-card, .page-header__categories, .article-categories, .wds-button-group, .fandom-sticky-header").forEach(function(e){e.remove()}),e.querySelectorAll("a[href*='auth.fandom.com'], a[href*='fandom.com/signin'], a[href*='fandom.com/register']").forEach(function(e){var r=e.closest("div, span, li, p");r&&t(r.textContent||"").length<120?r.remove():e.remove()}),e.querySelectorAll("table").forEach(function(e){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=e.querySelector("th, td, caption"),i=o?t(o.textContent||""):"";if(n>=10&&/^(characters|items|locations|enemies|weapons|quests|episodes|levels|bosses|creatures|missions|npcs|monsters|equipment|fishes?|fish of|cast of)\b/i.test(i))e.remove();else if(!e.querySelector("p, h2, h3, h4, blockquote, pre")&&n>=15){if(n/(e.querySelectorAll("tr").length||1)>3)return void e.remove();if(n>=30&&r.length>300)if(n/r.split(/\s+/).length>.15)return void e.remove()}})}}):null}),registerHostAwareProfile(!0,Ln),registerHostAwareProfile(!0,function(e){if(!/(^|\.)(stackexchange\.com|stackoverflow\.com|superuser\.com|serverfault\.com|askubuntu\.com|stackapps\.com|mathoverflow\.net)$/.test(location.hostname)||!/\/questions\//.test(location.pathname||""))return null;var r=document.querySelector(".question, #question, #mainbar, [data-questionid]"),n=h(["h1 a.question-hyperlink",".question-header h1","#question-header h1","main h1","h1[itemprop='name']"])||t((e.title||document.title).replace(/\s*[-|]\s*.+?Stack Exchange$/i,"").replace(/\s*[-|]\s*Stack Overflow$/i,"")),o=document.querySelector(".question .js-post-body, .question .s-prose, #question .js-post-body, #question .s-prose, .postcell .js-post-body, .postcell .s-prose, [data-questionid] .js-post-body, [data-questionid] .s-prose"),i="";if(o){var a=E(o);hi(a),i=Uo(a.innerHTML)}i||(i=h([".question .js-post-body",".question .s-prose","#question .js-post-body","#question .s-prose",".postcell .js-post-body",".postcell .s-prose","[data-questionid] .js-post-body","[data-questionid] .s-prose"]));var l=h([".question .user-details a","#question .user-details a",".postcell .user-details a","[data-questionid] .user-details a"]),s=Array.prototype.slice.call(document.querySelectorAll(".answer, .js-answer, [data-answerid]")).map(function(e){var r=t(((e.querySelector(".js-vote-count, .vote-count-post")||{}).textContent||"0").replace(/[^\d-]+/g,"")),n=parseInt(r||"0",10),o=t((e.querySelector(".user-details a")||{}).textContent||""),i=e.querySelector(".js-post-body, .s-prose"),a="";if(i){var l=E(i);hi(l),a=Uo(l.innerHTML)}a||(a=t((e.querySelector(".js-post-body, .s-prose")||{}).innerText||""));var s=e.matches(".accepted-answer")||!!e.querySelector(".js-accepted-answer-indicator, .accepted-answer, [data-accepted='true']");return{score:isNaN(n)?0:n,author:o,body:a,accepted:s}}).filter(function(e){return e.body.length>=40}).sort(function(e,t){return e.accepted!==t.accepted?e.accepted?-1:1:t.score-e.score}).slice(0,4);if(!n||!i&&0===s.length)return null;var c=["# "+n];l&&c.push("- Asked by: "+l),i&&c.push(i),s.length&&c.push("## Top Answers"),s.forEach(function(e,t){var r=e.author||"Answer "+(t+1);e.accepted&&(r+=" (accepted)"),e.score&&(r+=" - score "+e.score),c.push("### "+r),c.push(e.body)});var u=c.filter(Boolean).join("\n\n");return{title:n,byline:l||e.byline,excerpt:i||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r?r.outerHTML:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}),registerHostAwareProfile(!0,function(e){return $n(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-post, article[data-post-id], [data-post-id].topic-post")),n=[],o=[],i={},a=t(h([".fancy-title","#topic-title h1",".topic-title h1","main h1","article h1","h1"])||e.title||document.title);return r.forEach(function(e){var r=e.querySelector(".cooked, .post-body");if(r){var a=t(r.innerText||r.textContent||"");if(a){var l=a.slice(0,240);if(!i[l]){i[l]=!0;var s=function(e){var r=e.querySelector(".topic-meta-data [data-user-card], .main-avatar[data-user-card], [data-user-card], .topic-meta-data .names .username, .topic-meta-data .username, .names .username, .creator a, .poster a"),n=t(r&&(r.getAttribute("data-user-card")||r.textContent)||"");n=n.replace(/^@/,"");var o=e.querySelector(".topic-meta-data time, .topic-meta-data .relative-date, .post-meta time, time"),i=t(o&&(o.getAttribute("datetime")||o.getAttribute("title")||o.textContent)||"");i&&(i=i.replace(/T.*$/u,""));return n&&i?"post by "+n+" on "+i:n?"post by "+n:i?"post on "+i:"post"}(e),c=Uo(r.outerHTML);c&&(n.push("## "+s),n.push(c),o.push(a))}}}}),a&&0!==o.length?{title:a,byline:e.byline,excerpt:o[0],siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r.map(function(e){return e.outerHTML}).join("\n"),markdown:["# "+a].concat(n).join("\n\n"),textContent:t([a].concat(o).join(" ")),hostAware:!0,readerMode:!1,contentType:"article"}:null}(e):function(e){return!!Pn()&&(!$n(e)&&!!document.querySelector(".topic-list, .topic-list-item, .latest-topic-list-item, .category-list"))}(e)?function(e){var r=Array.prototype.slice.call(document.querySelectorAll(".topic-list-item, .latest-topic-list-item, .category-list-item, .topic-list tr")),n=[],i={};if(r.forEach(function(e){var r=e.querySelector("a.title, a[href*='/t/'], a[href*='/c/']");if(r){var a=o(r.getAttribute("href")||""),l=t(r.textContent||r.getAttribute("aria-label")||"");if(a&&l){var s=a+"|"+l;if(!i[s]){i[s]=!0;var c=Tt(e,l);c.length>220&&(c=c.slice(0,217).replace(/\s+\S*$/,"")+"..."),n.push({text:l,url:a,detail:c})}}}}),n.length<3)return null;var a=S({title:t(h([".fancy-title","#topic-title h1",".topic-title h1",".category-heading h1",".category-title-box h1","main h1","h1"])||e.title||document.title),excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n,html:r.slice(0,12).map(function(e){return e.outerHTML}).join("\n")});return a.hostAware=!0,a}(e):null}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)reddit\.com$/))return null;var n=function(e){var r=document.querySelector("shreddit-post");if(!r)return null;var n=t((r.querySelector('[slot="title"]')||document.querySelector("main h1")||{}).textContent||e.title||document.title),o=t((r.querySelector('[slot="credit-bar"]')||{}).textContent||""),i=r.getAttribute("author")||h(["[slot='credit-bar'] a[href*='/user/']","a[href*='/user/']"]);i=t(i);var a=t((r.querySelector('[slot="text-body"]')||{}).innerText||"");a||Array.prototype.slice.call(document.querySelectorAll("faceplate-screen-reader-content")).some(function(e){var r=t(e.innerText||e.textContent||"");return!(!r||/^go to\s+\w+$/i.test(r)||(a=r,0))});var l=parseInt(r.getAttribute("comment-count")||"0",10),s=Array.prototype.slice.call(document.querySelectorAll("shreddit-comment[depth='0'], shreddit-comment:not([depth])")),c=[];if(s.forEach(function(e){if(!(c.length>=8)){var r=t(e.getAttribute("author")||""),n=t(e.getAttribute("score")||""),o=t((e.querySelector('[slot="commentMeta"]')||{}).innerText||""),i=t((e.querySelector('[slot="comment"]')||{}).innerText||"");if(i){var a=r||"Comment";n&&(a+=" ("+n+" points)"),c.push({heading:a,meta:o,text:i})}}}),!n||!a&&0===c.length)return null;var u=["# "+n];return i&&u.push("- Author: "+i),!o||i&&-1!==o.toLowerCase().indexOf(i.toLowerCase())||u.push("- Context: "+o),a&&u.push(a),(l||c.length)&&u.push("## Top Comments"),c.forEach(function(e){u.push("### "+e.heading),e.meta&&-1===e.meta.toLowerCase().indexOf(e.heading.toLowerCase())&&u.push(e.meta),u.push(e.text)}),{title:n,byline:i||e.byline,excerpt:a||e.excerpt,siteName:e.siteName||"Reddit",publishedTime:e.publishedTime,html:r.outerHTML,markdown:u.filter(Boolean).join("\n\n"),textContent:t([n,a].concat(c.map(function(e){return e.text})).join(" ")),readerMode:!1,contentType:"article"}}(e);if(n)return n;if(!/(cookie preferences|before you continue to reddit|reddit uses cookies|log in|sign up)/i.test(r||""))return null;var o=(location.pathname||"").split("/").filter(Boolean),i="r"===o[0]?o[1]:null,a=t((e.title||document.title).replace(/\s*:\s*r\/[^|]+$/i,""))||e.title||"Reddit page",l=e.excerpt||"Original content on this Reddit page is not available without cookie acceptance or login.",s=["Access notice: Reddit cookie acceptance or login required"];return i&&s.push("Requested community: r/"+i),v({title:a,description:l,details:s,siteName:e.siteName||"Reddit"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)behance\.net$/))return null;var i=[],a={};if(document.querySelectorAll("a[href*='/gallery/'], a[href*='/project/']").forEach(function(e){if(!(i.length>=12)){var r=e.getAttribute("href");if(r){var n=o(r);try{var l=new URL(n,location.href);l.searchParams.delete("tracking_source"),l.searchParams.delete("l"),n=l.toString()}catch(e){}var s=t(e.textContent||e.getAttribute("aria-label")||"");if(s){var c=s+"|"+n;if(!a[c]){a[c]=!0;var u=e.closest("article, li, div, section")||e.parentElement;i.push({text:s,url:n,detail:Tt(u,s)})}}}}}),i.length>=4){var l=r((location.pathname||"").split("/").filter(Boolean).slice(-1)[0]||"").replace(/[-_+]+/g," ");return{title:(l=t(l))?"Behance projects for "+l:e.title||document.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||"Behance",publishedTime:null,html:"",textContent:ft(i),markdown:ft(i),readerMode:!1,contentType:"list",hostAware:!0}}if(!/(cookie settings|measure performance|personalize advertising|adobe and our partners)/i.test(n||""))return null;var s=t((e.title||document.title).replace(/\s*::\s*Photos, videos, logos, illustrations and branding$/i,""))||e.title||"Behance page",c=e.excerpt||"This Behance page is showing Adobe cookie settings instead of the original content.",u=["Access notice: Adobe cookie settings prompt"];return/^\/search\//.test(location.pathname)&&u.push("Requested view: Behance search results"),v({title:s,description:c,details:u,siteName:e.siteName||"Behance"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)instagram\.com$/))return null;var o=A(n),i=(location.pathname||"").split("/").filter(Boolean);if(/^(accounts|checkpoint|challenge|challenge_required|suspended|restricted)$/i.test(i[0]||"")){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=r(a[1]);i=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)}else i=[]}for(var s=-1,c=0;c<i.length-1;c+=1)if(/^(p|reel|reels|tv)$/i.test(i[c])){s=c;break}var u=s>=0,d=u?i[s]:i[0]||"",m=(u?i[s+1]:i[1],u?"/"+i.slice(s,s+2).join("/")+"/":""),p=r(d).replace(/[-_]+/g," ");if(p=t(p),(u||/^(accounts|checkpoint|challenge|challenge_required|explore|stories|direct)$/i.test(p))&&(p=""),u){var h=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,"").replace(/\s*\|\s*Instagram\s*$/i,"")),f=h.match(/^(.*?)\s+on Instagram:\s*"([\s\S]*)"$/i),g=f?t(f[1]):"",y=f?t(f[2]):"",b=e.excerpt||"";/create an account|log in to instagram|sign up/i.test(b)&&(b="");var w=b.match(/([\d,.]+[MKB]?)\s*likes?\b/i),x=b.match(/([\d,.]+[MKB]?)\s*comments?\b/i),S=b.match(/-\s*([a-z0-9._]+)\s+on\s+/i),k=b.match(/\bon\s+([^:]+):\s*"/i),C=b.match(/:\s*"([\s\S]*?)"\.?\s*$/),_=S?t(S[1]):s>0?t(i[0]):"",T=t(y||C&&C[1]||""),E=function(){var e=(o||"").split(/\n+/).map(t).filter(Boolean);if(!e.length||!T)return[];for(var r=-1,n=T.toLowerCase(),i=0;i<e.length;i+=1){var a=e[i].toLowerCase();if(a.indexOf(n)>=0||n.indexOf(a)>=0){r=i;break}}if(r<0)return[];for(var l=[],s=r+1;s<e.length&&l.length<8;s+=1){var c=e[s],u=t(e[s+1]||"");if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(c))break;if(/^[a-z0-9._]{2,32}$/i.test(c)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(u)){for(var d=[],m=s+2;m<e.length;m+=1){var p=e[m],h=t(e[m+1]||"");if(/^(?:like|reply|follow|following)$/i.test(p))break;if(/^(?:\d[\d.,]*[KMB]?|log in to like or comment\.?|more posts from\b|see more posts\b|meta\b|about\b|blog\b|jobs\b|help\b|api\b|privacy\b|terms\b|locations\b|instagram lite\b|meta ai\b|threads\b)/i.test(p))break;if(/^[a-z0-9._]{2,32}$/i.test(p)&&/^(?:\d+\s*(?:s|m|h|d|w)|just now|now)$/i.test(h))break;d.push(p)}var f=t(d.join(" "));f&&l.push("@"+c+": "+f),s=m}}return l}(),j=function(){var e=document.querySelector("article");if(e){var r=t(e&&e.innerText);if(/something went wrong|log in to instagram|sign up to see/i.test(r))return!1;if(e.querySelector("img, video"))return!0;if(r.length>40)return!0}if(E.length)return!0;if(!T)return!1;var n=t(o).toLowerCase();return n.indexOf(T.toLowerCase())>=0&&/\b(?:like|reply)\b/i.test(n)}(),L=[],$=/^(reel|reels|tv)$/i.test(d)?"Reel":"Post";if(_&&L.push("Profile: @"+_),m&&L.push($+": "+m),w&&L.push(t(w[1])+" likes"),x&&L.push(t(x[1])+" comments"),e.image&&L.push("Image: "+e.image),e.video&&L.push("Video: "+e.video),j){var P=v({title:g?g+" on Instagram":h||"Instagram post",byline:_?"@"+_:g||null,publishedTime:k?t(k[1]):e.publishedTime||null,description:T||"Instagram post",details:L,siteName:e.siteName||"Instagram",hostAware:!0});return E.length&&(P.markdown+="\n\n## Comments\n\n"+E.map(function(e){return"- "+e}).join("\n"),P.textContent=t(P.markdown)),P}return v({title:g?g+" on Instagram":h||"Instagram post",byline:_?"@"+_:g||null,publishedTime:k?t(k[1]):e.publishedTime||null,description:T||"Original content on this Instagram post is not available without login.",details:L,siteName:e.siteName||"Instagram",hostAware:!0})}if(function(){var e=document.querySelector("header section");if(!e)return!1;var t=e.innerText||"";return!!/([\d,.]+[MKB]?)\s*(followers?|following|posts?)/i.test(t)||document.querySelectorAll("article img, main img[srcset]").length>=3}()){var z=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,N=document.querySelector("header section"),R="";if(N)for(var M=N.querySelectorAll("span"),B=0;B<M.length;B++){var H=t(M[B].innerText||"");if(H.length>30&&!/^\d/.test(H)&&!/follow/i.test(H)){R=H;break}}var F=[];(W=Nn(o)).posts&&F.push(W.posts+" posts"),W.followers&&F.push(W.followers+" followers"),W.following&&F.push(W.following+" following");var I=R||e.excerpt||"";/create an account|log in to instagram|sign up/i.test(I)&&(I=""),F.length&&(I=(I?I+"\n\n":"")+F.join(", ")+".");L=[];return p&&L.push("Profile: @"+d),v({title:z||"Instagram"+(p?" - "+p:""),description:I,details:L,siteName:e.siteName||"Instagram",hostAware:!0})}z=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,b=e.excerpt||"",/create an account|log in to instagram|sign up/i.test(b)&&(b="");var O="",D=(R="",b.match(/^([\d,.]+[MKB]?\s+Followers?,\s*[\d,.]+[MKB]?\s+Following,\s*[\d,.]+[MKB]?\s+Posts?)\s*[-–—]/i));if(D){O=D[1];var U=b.match(/on Instagram:\s*"(.+)"$/);U&&U[1].trim()&&(R=U[1].trim())}if(I="",R&&(I=R),O&&(I=(I?I+"\n\n":"")+O+"."),!O){var W;F=[];(W=Nn(o)).followers&&F.push(W.followers+" followers"),W.posts&&F.push(W.posts+" posts"),F.length&&(I=(I?I+" ":"")+F.join(", ")+".")}!I&&p?I="Original content on this Instagram page for "+p+" is not available without login.":I||(I="Original content on this Instagram page is not available without login.");var Z=["Access notice: Instagram login required"];return e.image&&Z.push("Image: "+e.image),v({title:z||"Instagram"+(p?" - "+p:""),description:I,details:Z,siteName:e.siteName||"Instagram",hostAware:!0})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)facebook\.com$/))return null;var o=A(n),i=(location.pathname||"").split("/").filter(Boolean)[0]||"";if(/^(login|checkpoint|recover|dialog|ajax|connect|sharer)$/i.test(i)){var a=(location.search||"").match(/[?&]next=([^&]+)/);if(a){var l=r(a[1]);i=(l=(l||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)[0]||""}else i=""}/^(login|watch|marketplace|groups|gaming|events|pages|profile\.php|photo|story|reel|permalink|hashtag)$/i.test(i)&&(i="");var s=r(i).replace(/[-_.]+/g," ");s=t(s);var c=t((e.title||"").replace(/\s*[-–—|]\s*(Facebook|Log in or sign up).*$/i,"").replace(/\s*\|\s*Facebook\s*$/i,""))||e.title;if(/^(facebook\s*[-–—]?\s*log in|log in to facebook|log in or sign up)/i.test(c||"")&&(c=s||"Facebook"),function(){if(o.length<200)return!1;var e=/([\d,.]+[MKB]?)\s*followers?/i.test(o),t=/\bIntro\b/.test(o);return e&&t}()){var u=[],d=o.match(/(?:Page|Profile)\s*·\s*([^\n]+)/);d&&u.push("Category: "+t(d[1]));var m=o.match(/([\d,.]+[MKB]?)\s*followers?/i),p=o.match(/([\d,.]+[MKB]?)\s*following/i);m&&u.push(m[1]+" followers"),p&&u.push(p[1]+" following");var h=o.indexOf("Intro\n"),f="";if(h>=0){var g=o.substring(h+6),y=g.search(/\n(?:Photos|Videos|About|Posts|Reels|Events|See all|Page ·|Information about)\b/);f=t(y>0?g.substring(0,y):g.substring(0,500))}for(var b,w=f||o.substring(0,Math.min(o.length,1500)),x=w.match(/([\w.+-]+@[\w.-]+\.\w{2,})/),S=w.match(/\b(https?:\/\/[\w.-]+[\w.]{2,}(?:\/[\w.-]*)*)\s/i),k=[],C=new RegExp(Ro(t(c||""))+"\\s*\\n\\s*(?:\\d+[hd]|\\d+ (?:hour|day|minute|week|month)s? ago|Yesterday|Just now|\\w+ \\d+(?:,? \\d+)?)\\s*\\n\\s*·?\\s*\\n([\\s\\S]*?)(?=\\n(?:All reactions|Like|Comment|Share|\\d+ comment))","gi");null!==(b=C.exec(o));){var _=t(b[1]);_&&_.length>10&&(_=_.replace(/…\s*See more\s*$/i,"…"),k.push(_))}if(0===k.length)for(var T=document.querySelectorAll("div[dir=auto]"),E=0;E<T.length;E++){var j=t(T[E].innerText||"");j.length>50&&j.length<3e3&&!/^(log in|sign up|create|cookie|privacy|terms|information about|see more from)/i.test(j)&&(j=j.replace(/…\s*See more\s*$/i,"…"),k.push(j))}var L={};k=k.filter(function(e){var t=e.substring(0,80).toLowerCase();return!L[t]&&(L[t]=!0,!0)});var $="";f&&($=f);var P=[];if(x&&P.push(x[1]),S&&!/facebook\.com/i.test(S[1])&&P.push(S[1]),P.length&&($+=($?"\n\n":"")+"Contact: "+P.join(" | ")),k.length>0){$+=($?"\n\n":"")+"## Recent Posts\n\n";for(var z=0;z<Math.min(k.length,5);z++)$+=k[z]+"\n\n";$=$.replace(/\n\n$/,"")}if(!m){var N=(M=e.excerpt||"").match(/([\d][\d,.\s]*\d)\s*likes?\b/i);N&&u.push(t(N[1])+" likes")}var R=u;return e.image&&R.push("Image: "+e.image),v({title:c||"Facebook"+(s?" - "+s:""),description:$,details:R,siteName:e.siteName||"Facebook",hostAware:!0})}var M=e.excerpt||"";/create an account or log into facebook|connect with friends|facebook helps you connect/i.test(M)&&(M="");var B="",H="",F="",I=M.match(/([\d][\d,.\s]*\d)\s*likes?\b/i),O=M.match(/([\d][\d,.\s]*\d)\s*talking about this/i);if(I&&(B=t(I[1])+" likes"),O&&(H=t(O[1])+" talking about this"),O){var D=M.substring(M.indexOf(O[0])+O[0].length);(D=D.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(D)&&(F=t(D))}else if(I){var U=M.substring(M.indexOf(I[0])+I[0].length);(U=U.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(U)&&(F=t(U))}else M&&(F=M);var W="";F&&(W=F);var Z=[B,H].filter(Boolean).join(" · ");if(Z&&(W=(W?W+"\n\n":"")+Z+"."),!B){var V=o.match(/([\d][\d,.\s]*\d)\s*(?:likes?|people like this)/i);if(V)W=(W?W+" ":"")+(t(V[1])+" likes")+"."}!W&&s?W="Original content on this Facebook page for "+s+" is not available without login.":W||(W="Original content on this Facebook page is not available without login.");var G=["Access notice: Facebook login required"];return e.image&&G.push("Image: "+e.image),v({title:c||"Facebook"+(s?" - "+s:""),description:W,details:G,siteName:e.siteName||"Facebook",hostAware:!0})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(q(/(^|\.)telegra\.ph$/)){var o=document.querySelector("article, .tl_article");if(o){var i=E(o);if(i){fe(i,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=Uo(i.innerHTML)||t(i.textContent);if(a&&t(a).length>20)return{title:e.title||h(["h1",".tl_article_header h1"]),excerpt:e.excerpt,siteName:"Telegraph",html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article",hostAware:!0}}}return null}if(q(/(^|\.)telegram\.org$/))return null;var l=/^\/s\//i.test(location.pathname),s=(location.pathname||"").split("/").filter(Boolean);if(l&&(s=s.slice(1)),s=s[0]||"",l){var c=document.querySelector(".tgme_channel_history, .tgme_body, main");if(c){var u=E(c);if(u){fe(u,"a, span, div, i",/^(view in telegram|preview channel|join|open|if you have telegram|you can contact|you can view and join|load more)$/i);var d=Uo(u.innerHTML)||t(u.textContent);if(d&&t(d).length>50){var m=h([".tgme_channel_info_header_title",".tgme_header_title","h1"])||e.title||s,p=document.querySelector(".tgme_channel_info_description"),f=p?t(p.textContent):"",g=document.querySelectorAll(".counter_value"),y=g.length>0?t(g[0].textContent):"",b=[];b.push("# "+m);var w=["- Platform: Telegram"];y&&w.push("- "+y+" subscribers"),e.image&&w.push("- Image: "+e.image),b.push(w.join("\n")),f&&b.push(f),b.push("---\n\n"+d);var x=b.join("\n\n");return{title:m,excerpt:f||e.excerpt,siteName:"Telegram",html:u.innerHTML,markdown:x,textContent:t(x),readerMode:!1,contentType:"article",hostAware:!0}}}}}var S=h([".tgme_page_title",".tgme_channel_info_header_title","h1"])||e.title||s,k=document.querySelector(".tgme_page_description"),A=(k?t(k.textContent):"")||e.excerpt||"";/you can contact .+ right away|if you have telegram/i.test(A)&&(A="");var C=document.querySelector(".tgme_page_extra"),_=(C?t(C.textContent):"").match(/([\d\s,.]+)\s*(?:subscribers?|members?|online)/i)||n.match(/([\d\s,.]+)\s*(?:subscribers?|members?|подписчик|участник)/i),T=["Platform: Telegram"];return _&&T.push(t(_[1])+" subscribers"),e.image&&T.push("Image: "+e.image),A||S?v({title:S,description:A||"Telegram channel. View in Telegram for full content.",details:T,siteName:"Telegram",hostAware:!0}):null}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)(twitter\.com|x\.com)$/))return null;var n=/^\/[^/]+\/status\/\d+/.test(location.pathname),o=null;try{for(var i=document.querySelectorAll('script[type="application/ld+json"]'),a=0;a<i.length;a++){var l=JSON.parse(i[a].textContent);if(l&&"ProfilePage"===l["@type"]&&l.mainEntity){o=l.mainEntity;break}}}catch(e){}if(!n){var s=document.querySelector('[data-testid="UserName"]'),c=document.querySelector('[data-testid="UserDescription"]'),u=document.querySelector('[data-testid="UserUrl"]'),d=document.querySelector('[data-testid="UserJoinDate"]'),m=document.querySelector('[data-testid="UserLocation"]'),p=document.querySelector('[data-testid="UserBirthdate"]'),h="",f="";if(s){var g=t(s.textContent).split(/\s*@/);h=t(g[0]),g[1]&&(f="@"+t(g[1]))}if(!h&&o&&(h=o.name||""),!f&&o&&o.additionalName&&(f=o.additionalName),!f){var y=(location.pathname||"").split("/").filter(Boolean)[0];y&&!/^(home|explore|search|notifications|messages|settings|i)$/i.test(y)&&(f="@"+y)}var b=c?t(c.textContent):"";!b&&o&&o.description&&(b=t(o.description));var w=m?t(m.textContent):"";!w&&o&&o.homeLocation&&(w=o.homeLocation.name||"");var x=u?t(u.textContent):"",S=d?t(d.textContent):"",k=p?t(p.textContent):"",A="",C="",_="";if(o&&o.interactionStatistic&&o.interactionStatistic.forEach(function(e){var t=e.interactionType||"";/FollowAction/.test(t)&&(A=String(e.userInteractionCount)),/SubscribeAction/.test(t)&&(C=String(e.userInteractionCount)),/WriteAction/.test(t)&&(_=String(e.userInteractionCount))}),!A){var T=document.querySelector('a[href$="/verified_followers"], a[href$="/followers"]');T&&(A=t(T.textContent).replace(/\s*followers?$/i,""))}if(!C){var E=document.querySelector('a[href$="/following"]');E&&(C=t(E.textContent).replace(/\s*following$/i,""))}var j="";if(o&&o.image&&o.image.contentUrl&&(j=o.image.contentUrl),!j){var L=document.querySelector('[data-testid^="UserAvatar"] img[src*="profile_images"]');L&&(j=L.src)}if(!x&&o&&o.relatedLink){var $=Array.isArray(o.relatedLink)?o.relatedLink:[o.relatedLink];x=($.filter(function(e){return!/t\.co\//.test(e)})[0]||$[0]||"").replace(/^https?:\/\//,"")}for(var P=[],z=document.querySelectorAll('[data-testid="tweet"]'),N=0;N<Math.min(z.length,5);N++){var R=z[N],M=R.querySelector('[data-testid="tweetText"]');if(M){var B=t(M.textContent);if(B&&!(B.length<5)){var H=R.querySelector('[data-testid="User-Name"]'),F=R.querySelector("time"),I=R.querySelector('[data-testid="socialContext"]'),O="";if(H){var D=t(H.textContent).match(/^(.+?)(\s*@\w+)/);D&&(O=D[1].trim())}var U=F?F.getAttribute("datetime")||t(F.textContent):"",W=[];["reply","retweet","like"].forEach(function(e){var t=R.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"likes";W.push(r[1]+" "+n)}}});var Z="";I&&(Z+="[Pinned] "),O&&h&&O!==h&&(Z+="RT @"+O+": "),Z+=B,U&&(Z+=" ("+U+")"),W.length&&(Z+=" ["+W.join(", ")+"]"),P.push(Z)}}}var V=[];f&&V.push("Handle: "+f),A&&V.push("Followers: "+zn(A)),C&&V.push("Following: "+zn(C)),_&&V.push("Posts: "+zn(_)),w&&V.push("Location: "+w),x&&V.push("Website: "+x),k&&V.push(k),S&&V.push(S),j&&V.push("Image: "+j);var G=[];b&&G.push(b),P.length&&G.push("## Recent Posts\n\n"+P.join("\n\n"));var K=h||e.title||"X Profile";return!h&&f&&(K=f),v({title:K,description:G.join("\n\n"),details:V,siteName:"X",hostAware:!0,contentType:"article"})}var J=document.querySelector('[data-testid="tweet"]');if(!J){var X=(e.title||"").match(/^(.+?)\s+on X:\s*"(.+?)"\s*\/\s*X$/);return X?v({title:X[1],description:X[2],siteName:"X",hostAware:!0}):null}var Y="",Q=J.querySelector('[data-testid="tweetText"]');Q&&(Y=t(Q.textContent));var ee=J.querySelector('[data-testid="User-Name"]'),te="",re="";if(ee){var ne=t(ee.textContent).match(/^(.+?)\s*(@\w+)/);ne&&(te=ne[1].trim(),re=ne[2])}var oe=J.querySelector("time"),ie=oe?oe.getAttribute("datetime")||t(oe.textContent):"",ae=[];["reply","retweet","like","bookmark"].forEach(function(e){var t=J.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"like"===e?"likes":"bookmarks";ae.push(r[1]+" "+n)}}});var le=[];re&&le.push("Author: "+te+" ("+re+")");ie&&le.push("Posted: "+ie);ae.length&&le.push("Engagement: "+ae.join(", "));for(var se=document.querySelectorAll('[data-testid="tweet"]'),ce=[],ue=1;ue<Math.min(se.length,8);ue++){var de=se[ue],me=de.querySelector('[data-testid="tweetText"]');if(me){var pe=t(me.textContent);if(pe&&!(pe.length<3)){var he=de.querySelector('[data-testid="User-Name"]'),fe="";if(he){var ge=t(he.textContent).match(/^(.+?)\s*(@\w+)/);ge&&(fe=ge[2])}ce.push((fe?fe+": ":"")+pe)}}}var ye=Y;ce.length&&(ye+="\n\n## Replies\n\n"+ce.join("\n\n"));return v({title:te||e.title||"Post on X",description:ye,details:le,siteName:"X",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)threads\.(net|com)$/))return null;var n=e.title||"",o=e.excerpt||"",i=e.image||"",a=n.match(/^(.+?)\s*\((@\w+)\)\s*[•·]/),l=a?a[1].trim():"",s=a?a[2]:"";if(!a){var c=n.match(/^(.+?)\s*\((@\w+)\)\s+on Threads/);c||(c=n.match(/^(@\w+)\s+on Threads/)),c&&(l=c[1]?c[1].trim():"",s=c[2]||c[1]||"")}var u="",d="",m=o,p=o.match(/^([\d,.]+[KMB]?)\s+Followers?\s*[•·]\s*([\d,.]+[KMB]?)\s+Threads?\s*[•·]\s*(.*)/i);if(p)u=p[1],d=p[2],m=t(p[3]);else{var h=o.match(/([\d,.]+[KMB]?)\s+Followers?/i);h&&(u=h[1]);var f=o.match(/([\d,.]+[KMB]?)\s+Threads?/i);f&&(d=f[1])}if(!l&&!s)return null;var g=[];return s&&g.push("Handle: "+s),u&&g.push("Followers: "+u),d&&g.push("Threads: "+d),i&&g.push("Image: "+i),v({title:l||s,description:m||o,details:g,siteName:"Threads",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)linkedin\.com$/))return null;var n=A(r),o=/^\/company\//.test(location.pathname),i=/^\/in\//.test(location.pathname);if(!o&&!i)return null;if(o){var a,l="",s="",c="",u="",d="",m="",p="",h="",f="",g="";a=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim();var y=n.match(/([\d,.]+[KMB]?)\s+followers/i);y&&(c=y[1]),(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(u=t(Z[1]));var b=n.match(/Website\s*\n\s*(https?:\/\/\S+|[\w.-]+\.[\w]{2,}(?:\/\S*)?)/i);b&&(d=b[1].trim());var w=n.match(/Industry\s*\n\s*(.+)/i);if(w&&(l=t(w[1])),!l){var x=n.match(new RegExp(Ro(a)+"\\s*\\n\\s*(.+?)\\s*\\n","i"));x&&(l=t(x[1]))}var S=n.match(/Company size\s*\n\s*(.+)/i);S&&(m=t(S[1]));var k=n.match(/Headquarters\s*\n\s*(.+)/i);k&&(p=t(k[1]));var C=n.match(/Type\s*\n\s*(.+)/i);C&&(h=t(C[1]));var _=n.match(/Specialties\s*\n\s*([\s\S]*?)(?=\n\n|\n(?:Website|Locations|Employees|Home|Products|Jobs|People|Insights)\b)/i);_&&(f=t(_[1]));var T=n.match(/Founded\s*\n\s*(\d{4})/i);T&&(g=T[1]),!s&&p&&(s=p);var E=[],j=n.match(/(?:Updates|Posts)\s*\n([\s\S]*?)(?=\n(?:Similar pages|Affiliated|People also viewed|Browse jobs)\b|$)/i);if(j)for(var L=j[1].split(/\n(?=.*?\b(?:likes?|comments?|reactions?)\b)/i),$=0;$<Math.min(L.length,3);$++){var P=t(L[$]);P&&P.length>20&&!/^(?:Show|See|Load)\s/i.test(P)&&E.push(P.substring(0,500))}var z=[];l&&z.push("Industry: "+l),c&&z.push("Followers: "+c),s&&z.push("Location: "+s),d&&z.push("Website: "+d),m&&z.push("Size: "+m),h&&z.push("Type: "+h),g&&z.push("Founded: "+g),p&&p!==s&&z.push("Headquarters: "+p),f&&z.push("Specialties: "+f),e.image&&z.push("Image: "+e.image);var N=[];return u&&N.push(u),E.length&&N.push("## Recent Updates\n\n"+E.join("\n\n")),v({title:a||"LinkedIn Company",description:N.join("\n\n")||e.excerpt||"",details:z,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}var R=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim(),M="",B="",H="",F="",I="",O=R?new RegExp(Ro(R)+"\\s*\\n\\s*(.+?)\\s*\\n","i"):null;if(O){var D=n.match(O);D&&(M=t(D[1]))}var U=n.match(/([\d,.]+[KMB]?)\s+followers/i);U&&(H=U[1]);var W=n.match(/([\d,.]+\+?)\s+connections?/i);W&&(F=W[1]);var Z,V=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);V&&(B=t(V[1]));(Z=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(I=t(Z[1]));I=I.replace(/\s*\.{3}\s*see more\s*$/i,"").replace(/\s*…\s*see more\s*$/i,"");var G=[],K=n.match(/(?:Activity|Articles)\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Interests|Courses|Licenses|Certifications|Recommendations)\b|$)/i);if(K){var J=K[1].match(/.{20,}(?:\d+\s*(?:likes?|comments?|reactions?|views?))/gi);if(J)for(var X=0;X<Math.min(J.length,3);X++)G.push(t(J[X]))}var Y=[];M&&Y.push("Title: "+M);H&&Y.push("Followers: "+H);F&&Y.push("Connections: "+F);B&&Y.push("Location: "+B);e.image&&Y.push("Image: "+e.image);var Q=[];I&&Q.push(I);G.length&&Q.push("## Recent Activity\n\n"+G.join("\n\n"));return v({title:R||"LinkedIn Profile",description:Q.join("\n\n")||e.excerpt||"",details:Y,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,r){if(!q(/(^|\.)bsky\.(app|social)$/))return null;var n=!!document.querySelector('[data-testid="profileScreen"], [data-testid="profileView"]'),o=/^\/profile\/[^/]+\/post\//.test(location.pathname);if(!n&&!o)return null;if(n){var i=document.querySelector('[data-testid="profileHeaderDisplayName"]'),a=document.querySelector('[data-testid="profileHeaderDescription"]'),l=document.querySelector('[data-testid="profileHeaderFollowersButton"]'),s=document.querySelector('[data-testid="profileHeaderFollowsButton"]'),c=i?t(i.textContent):"",u=a?t(a.textContent):"",d="",m=(location.pathname||"").split("/").filter(Boolean);"profile"===m[0]&&m[1]&&(d="@"+m[1]);var p="",h="";if(l){var f=(l.getAttribute("aria-label")||"").match(/^([\d,]+)\s+followers/i);p=f?f[1]:t(l.textContent).replace(/\s*followers?$/i,"").trim()}if(s){var g=(s.getAttribute("aria-label")||"").match(/^([\d,]+)\s+following/i);h=g?g[1]:t(s.textContent).replace(/\s*following$/i,"").trim()}var y="",b=A(r).match(/([\d,.]+[KMB]?)\s+posts?\b/i);b&&(y=b[1]);var w=e.image||"";if(!w){var x=document.querySelector('[data-testid="userAvatarImage"]');x&&(w=x.src||"")}for(var S=[],k=document.querySelectorAll('[data-testid="postText"]'),C=0;C<Math.min(k.length,5);C++){var _=k[C],T=t(_.textContent);if(T&&!(T.length<5)){var E=_.closest('[data-testid^="feedItem-by-"]'),j=[];if(E){var L=E.querySelector('[data-testid="replyBtn"]'),$=E.querySelector('[data-testid="repostCount"]'),P=E.querySelector('[data-testid="likeCount"]');if(L){var z=(L.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);z&&j.push(z[1]+" replies")}if($){var N=t($.textContent);N&&"0"!==N&&j.push(N+" reposts")}if(P){var R=t(P.textContent);R&&"0"!==R&&j.push(R+" likes")}var M=(E.getAttribute("data-testid")||"").replace("feedItem-by-",""),B=d.replace("@",""),H=M&&B&&M!==B}var F="";H&&(F+="Repost @"+M+": "),F+=T,j.length&&(F+=" ["+j.join(", ")+"]"),S.push(F)}}var I=[];d&&I.push("Handle: "+d),p&&I.push("Followers: "+zn(p,!0)),h&&I.push("Following: "+zn(h,!0)),y&&I.push("Posts: "+y),w&&I.push("Image: "+w);var O=[];return u&&O.push(u),S.length&&O.push("## Recent Posts\n\n"+S.join("\n\n")),v({title:c||d||"Bluesky Profile",description:O.join("\n\n"),details:I,siteName:"Bluesky",hostAware:!0,contentType:"article"})}var D=document.querySelector('[data-testid="postText"]');if(!D)return null;var U=t(D.textContent),W="",Z="",V=(location.pathname||"").split("/").filter(Boolean);"profile"===V[0]&&V[1]&&(Z="@"+V[1]);var G=document.querySelector('[data-testid="profileHeaderDisplayName"]');G&&(W=t(G.textContent));W||(W=(e.title||"").replace(/\s*[-–—|].*$/,"").trim());var K=D.closest('[data-testid^="feedItem-by-"]')||document.querySelector('[data-testid^="feedItem-by-"]'),J=[];if(K){var X=K.querySelector('[data-testid="replyBtn"]'),Y=K.querySelector('[data-testid="repostCount"]'),Q=K.querySelector('[data-testid="likeCount"]');if(X){var ee=(X.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);ee&&J.push(ee[1]+" replies")}if(Y){var te=t(Y.textContent);te&&"0"!==te&&J.push(te+" reposts")}if(Q){var re=t(Q.textContent);re&&"0"!==re&&J.push(re+" likes")}}var ne=[];Z&&ne.push("Author: "+(W?W+" ("+Z+")":Z));J.length&&ne.push("Engagement: "+J.join(", "));for(var oe=document.querySelectorAll('[data-testid="postText"]'),ie=[],ae=1;ae<Math.min(oe.length,8);ae++){var le=t(oe[ae].textContent);le&&le.length>3&&ie.push(le)}var se=U;ie.length&&(se+="\n\n## Replies\n\n"+ie.join("\n\n"));return v({title:W||"Post on Bluesky",description:se,details:ne,siteName:"Bluesky",hostAware:!0,contentType:"article"})}),registerHostAwareProfile(!0,function(e,n){if(!q(/(^|\.)quora\.com$/))return null;if(!/(security verification|just a moment|protect against malicious bots)/i.test(n||""))return null;var o=r((location.pathname||"").split("/").filter(Boolean)[0]||"").replace(/[-_]+/g," ");return!(o=t(o))||/^just a moment$/i.test(o)?null:v({title:o,description:e.excerpt,siteName:e.siteName||"Quora"})}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)english\.news\.cn$/i)&&/\/weekly\.htm$/i.test(location.pathname||"")?Et(e,{title:e&&e.title||document.title||"Biz China Weekly",siteName:e&&e.siteName||"english.news.cn",minItems:4,maxItems:18,minTitleLength:8,maxTitleLength:40,linkSelector:"#list .item .tit a[href]",cardSelector:"#list .item",rejectTitle:/^More$/i}):null}),he({condition:/(^|\.)avesta\.tj$/,hostPattern:/(^|\.)avesta\.tj$/,pathPattern:/\/\d{4}\/\d{2}\/\d{2}\/[^/?#]+\/?$/i,bodySelectors:[".entry-content.with-share .content-inner",".entry-content .content-inner",".single-post .content-inner"],titleSelectors:[".jeg_post_title",".entry-header h1","h1"],minBodyTextLength:200,removalSelectors:[".jeg_share_button",".jeg_share_top_container",".jeg_ad",".jeg_breadcrumbs",".jeg_post_meta",".jeg_post_tags",".post-navigation","script","style"]}),he({condition:/(^|\.)opais\.co\.mz$/,hostPattern:/(^|\.)opais\.co\.mz$/,pathPattern:/\/[^/?#]+\/?$/i,bodySelectors:[".elementor-widget-theme-post-content .elementor-widget-container",".elementor-widget-theme-post-content"],titleSelectors:[".elementor-widget-theme-post-title h1","h1"],minBodyTextLength:200,removalSelectors:[".elementor-share-buttons",".sharedaddy",".post-nav-links","script","style"]}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)walla\.co\.il$/))return null;var t=document.querySelector("main article.common-item, article.common-item, section.item-main-content");return t?O(e,t,{title:h(["h1.title","header h1","h1"])||e.title,byline:h([".writers-names",".writer-name-item",".date-and-time-p"])||e.byline,minTextLength:600,rewriteRoot:function(e){pi(e,[".tags-and-breadcrumbs",".share-panel",".under-talkback-wrapper","[class*='taboola' i]","[class*='trc-' i]","[class*='articles-wrapper' i]","[class*='reco-reel' i]","script","style"].join(", ")),e.querySelectorAll("section.article-content h3").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)})}}):null}),he({hostPattern:/(?:^|\.)france24\.com$/i,pathPattern:/\/\d{8}-/,bodySelectors:[".t-content__body"],titleSelectors:["h1"],removalSelectors:["aside","nav","[class*='share' i]","[class*='newsletter' i]","[class*='ad' i]","script","style"],minBodyTextLength:300}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)chosun\.com$/))return null;var r=document.querySelector("main")||document.querySelector("article")||document.querySelector("main article");return r&&r.querySelector("p, figure, blockquote")?(oe(r,e,{minBodyTextLength:300,minParagraphCount:3,paragraphMinLength:40,removalSelectors:[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")}),O(e,r,{title:h(["article h1","main h1","h1"])||e.title,byline:h([".byline","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".article-related-content",".story-card","[class*='related' i]","[class*='story-card' i]","[class*='recommend' i]"].join(", ")),e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>220||/^(관련기사|추천기사|많이 본 뉴스|많이 본 기사|구독|프리미엄)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(/(^|\.)dinakaran\.com$/i,function(e){if(!q(/(^|\.)dinakaran\.com$/i))return null;var r=document.querySelector(".post-description")||document.querySelector(".article-main");return r?O(e,r,{title:e.title,byline:null,minTextLength:250,rewriteRoot:function(e){pi(e,[".relArticle",".article-list-scroll-section",".side-widget",".side-post-cntnt-right",".main-post-cntnt-right","[class*='related' i]","[id*='related' i]","[class*='recommend' i]","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]","[data-ad]"].join(", ")),e.querySelectorAll("div, section, article").forEach(function(e){var r=t(e.textContent||"");r&&/^(related news|more stories|also read|more from)/i.test(r)&&e.querySelectorAll("a[href]").length>=2&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)20minutos\.es$/i)&&/-directo-/i.test(location.pathname||"")&&document.querySelector("article.c-detail--mam__minute-container")?te(e,{entrySelector:"article.c-detail--mam__minute-container",titleSelector:[".c-detail--mam__live__title","h2"],minTextLength:350,rootBuilder:function(e){var t=e.closest("div.c-detail__body");if(!t)return e;var r=t.cloneNode(!0),n=r.querySelector("article.c-detail--mam__minute-container");return r.querySelectorAll("article.c-detail--mam__minute-container").forEach(function(e){e!==n&&e.remove()}),r.querySelectorAll("script, style, [class*='share' i], [class*='ad' i], [class*='newsletter' i], [class*='related' i]").forEach(function(e){e.remove()}),r}}):null});var Mn=pe({hostPattern:/(^|\.)nhk\.or\.jp$|(^|\.)web\.nhk$/i,pathPattern:/\/news(?:\/html\/\d{8}\/k\d+\.html|web\/(?:sp\/)?na\/na-k\d+(?:\/|$))/i,body:function(){return document.querySelector("main > div > div > div > div")},titleSelectors:["h1"],minBodyTextLength:100,removalSelectors:["button","[class*='share' i]","[aria-label*='share' i]"],rewriteRoot:function(e){Array.prototype.slice.call(e.children).forEach(function(e,t){t>=3&&e.remove()})}});registerHostAwareProfile(!0,Mn);var Bn=pe({hostPattern:/(^|\.)protothema\.gr$/i,pathPattern:/\/article\/\d+\//i,body:function(){var e=document.querySelector("main .section.mainSection");if(!e)return null;var t=document.createElement("div"),r=document.createElement("article");return r.appendChild(e.cloneNode(!0)),t.appendChild(r),t},titleSelectors:[".headerArticleInfo h1","main .section.mainSection h1","h1"],minBodyTextLength:250,removalSelectors:[".breadcrumbs",".article-meta-links",".article-flow-note","[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='popular' i]","[class*='newsletter' i]","[class*='ad' i]","script","style","iframe"]});registerHostAwareProfile(!0,Bn),registerHostAwareProfile(!0,function(e){if(!function(){if(document.querySelector("meta[name='generator'][content*='Joomla' i]"))return!0;if(document.querySelector(".com-content-article, .com-content-article__body, #ja-content, #ja-contentmain, .item-page"))return!0;var e=document.body;if(!e)return!1;var r=t(e.getAttribute("data-template")||"");return/\bjoomla\b|\b(?:cassiopeia|protostar|atum|helix|gantry|t4|ja-)\b/i.test(r)}())return null;var r=document.querySelector(".com-content-article__body, .article-content, #ja-contentmain, .itemFullText, .articleBody");return r?O(e,r,{titleSelectors:["article h1",".item-page h1","h1"],minTextLength:180,rewriteRoot:function(e){pi(e,[".breadcrumb","[class*='breadcrumb' i]",".module",".moduletable","[class*='module' i]",".pagination",".pagenav","[class*='pagination' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop()),registerHostAwareProfile(!0,function(e){if(!document.querySelector("meta[name='generator'][content*='Drupal' i]")&&!document.querySelector("body[class*='drupal' i], .node__content, .field--name-body"))return null;var t=document.querySelector(".node__content, .field--name-body, .article__body");return t?O(e,t,{titleSelectors:["article h1",".node__title","h1"],minTextLength:180,rewriteRoot:function(e){pi(e,[".views-element-container","[class*='views' i]",".block","[class*='block' i]",".comment","[class*='comment' i]",".comments","[class*='comment-wrapper' i]","nav","aside","form"].join(", "))}}):null}),hostAwareProfiles.unshift(hostAwareProfiles.pop());var Hn=pe({body:function(){if(!document.querySelector("meta[name='generator'][content*='Blogger' i], body[class*='blog' i] .blog-post, body[class*='blog' i] .post-body, body[class*='blog' i] .post-title, iframe#navbar-iframe, .widget.Blog"))return null;var e=document.querySelector(".post-body")||document.querySelector("div.post-body")||document.querySelector(".entry-content");return e?e.closest(".blog-post")||e.closest("article")||e:null},titleSelectors:[".post-title","h3.post-title"],minBodyTextLength:180,removalSelectors:[".post-footer",".post-feeds",".post-share-buttons",".post-icons",".post-author",".post-header",".blog-pager",".comments",".comment",".comment-thread",".comments-content",".date-header",".date-outer",".date-posts",".post-timestamp",".widget",".widget.Blog","[class*='widget' i]","iframe#navbar-iframe"],rewriteRoot:function(e){e.querySelectorAll("footer, nav, time, .date, [class*='date' i], [class*='comment' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,Hn);var Fn=["meta[name='generator'][content*='Hugo' i]","meta[name='generator'][content*='Jekyll' i]","[class*='hugo-' i]","link[href*='/hugo-theme']","script[src*='/hugo-theme']","body[class*='post-template']"];function In(e){var r=location.pathname||"",n=t(h(["#firstHeading",".firstHeading"])||e&&e.title||document.title);return/\/wiki\/(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(r)||/^(?:Special:(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category:)/i.test(n)||/[?&]title=(?:Special%3A(?:Pages|AllPages|Categories|WantedPages|PrefixIndex)|Category%3A)/i.test(location.search||"")}function Ln(e){if(r=t(document.body&&document.body.className||""),!document.querySelector("meta[name='generator'][content^='MediaWiki'], #mw-content-text, .mw-parser-output, .vector-body, .vector-body-inner, script[src*='load.php'], #firstHeading, .firstHeading")&&!/\bmediawiki\b|\bmw-/i.test(r))return null;var r,n=h(["#firstHeading",".firstHeading"])||t(e&&e.title||document.title).replace(/\s*[-|–]\s*MediaWiki.*$/i,""),o=document.querySelector("#mw-content-text .mw-parser-output")||document.querySelector("#mw-content-text .mw-body-content")||document.querySelector("#bodyContent .mw-parser-output")||document.querySelector("#bodyContent .mw-body-content")||document.querySelector(".mw-parser-output")||document.querySelector(".vector-body-inner")||document.querySelector(".vector-body")||document.querySelector("#mw-content-text")||document.querySelector("#bodyContent");if(!o)return null;var i=E(o);!function(e){e.querySelectorAll(["#mw-panel","#mw-navigation",".vector-sidebar",".vector-legacy-sidebar",".vector-header",".mw-sidebar",".sidebar",".portal",".mw-editsection",".mw-editsection-like",".mw-jump-link",".mw-jump",".toc","#toc",".catlinks","#catlinks",".mw-hidden-catlinks",".printfooter",".noprint",".mw-reference-text",".reference-tooltip",".mwe-popups",".mwe-popups-container",".oo-ui-popupWidget",".navbox","table.navbox"].join(", ")).forEach(function(e){e.remove()}),e.querySelectorAll(".toc").forEach(function(e){var r=e.querySelectorAll("li").length,n=e.querySelectorAll("a[href]").length;(r>6||n>8||t(e.textContent||"").length>500)&&e.remove()}),e.querySelectorAll("[role='tooltip'], [class*='tooltip' i], [class*='popup' i]").forEach(function(e){e.closest("article, .mw-parser-output, #mw-content-text, #bodyContent")&&e.remove()})}(i),i.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()});var a=In(e)?Uo(i.innerHTML):t(i.textContent||"");return t(a).length<30?null:(n&&!Pe(a,n)&&(a="# "+n+"\n\n"+a),{title:n||e&&e.title||document.title,byline:e&&e.byline,excerpt:t(a).slice(0,280)||e&&e.excerpt||null,siteName:e&&e.siteName||location.hostname,publishedTime:e&&e.publishedTime,html:i.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:In(e)?"list":"article",singleTopicPage:!In(e),hostAware:!0})}registerHostAwareProfile(!0,function(e){return document.querySelector(Fn.join(", "))?V(e,{bodySelectors:[".post-content",".article-content","article .content",".prose","main article","article"],titleSelectors:[".post-title",".article-title","h1"],minBodyTextLength:180,removalSelectors:[".comments",".comment",".comments-area",".comment-area",".comment-list",".share",".sharedaddy",".related",".post-navigation",".sidebar","[class*='comment' i]","[class*='sidebar' i]","[class*='share' i]","[class*='related' i]","[class*='nav' i]","[class*='toc' i]","[class*='breadcrumb' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='advert' i]","[class*='promo' i]"]}):null}),registerHostAwareProfile(!0,function(e){return document.querySelector("meta[name='generator'][content^='Ghost'], .gh-head, .gh-canvas, .gh-article, .gh-article-body, article.gh-article")?V(e,{bodySelectors:[".gh-article-body",".post-content",".article-content",".gh-article"],titleSelectors:[".gh-article-title","h1"],minBodyTextLength:180,removalSelectors:[".gh-head",".gh-foot",".gh-article-meta",".gh-post-upgrade-cta",".share","[class*='share' i]","[class*='related' i]","[class*='subscribe' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='advert' i]"],rewriteRoot:function(e){e.querySelectorAll("header, footer, time, nav").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,Ln);var On=["link[href*='/wp-content/']","script[src*='/wp-content/']","meta[name='generator'][content*='WordPress' i]",".entry-content",".post-content",".wp-block-post-content","[class*='wp-block-' i]"],Dn=[{hostPattern:/(^|\.)civil\.ge$/,pathPattern:/^\/archives\/\d+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:["article#the-post .entry-content.entry","article#the-post .entry-content","article .entry-content","article .post-content","article .content"],title:function(e){return h(["h1.entry-title","h1.post-title","article h1","h1"])||t(e&&e.title||document.title)},removalSelectors:[".post-components",".post-bottom-meta",".post-shortlink"],minBodyTextLength:250},{hostPattern:/(^|\.)maroelamedia\.co\.(?:za|tz)$/,pathPattern:/^\/(?:nuus|debat)\/(?:[^/]+\/)+[^/]+\/?$/i,homepagePath:/^(?:\/|\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?|)$/i,bodySelectors:[".entry-content","article .entry-content",".post-content",".article-content","[itemprop='articleBody']"],title:function(e){return t((e&&e.title||document.title||"").replace(/\s*-\s*Maroela Media\s*$/i,""))},removalTextPatterns:[/^o wee, die gesang is uit!/i],minBodyTextLength:250},{hostPattern:/(^|\.)newsit\.gr$/,homepagePath:/^\/?$/,body:function(){return J({leadSelectors:[".article-excerpt"],bodySelectors:["article[id^='post-'] .inside-article .entry-content section","article[id^='post-'] .entry-content section","article .entry-content section",".entry-content section"]})},titleSelectors:[".entry-title","article h1","h1"],removalSelectors:[".advert-block",".share-inside-the-content",".share-menu",".sticky-container","[id*='div-gpt-ad' i]","[class*='newsletter' i]","[class*='google' i]","figure","blockquote.twitter-tweet","[data-twitter-extracted]"],minBodyTextLength:180,rewriteRoot:function(e){e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||/^(διαφήμιση|ακολουθήστε το newsit\.gr|προσθήκη του newsit\.gr ως προτεινόμενη πηγή στην google)$/i.test(r)&&e.remove()}),e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent||""))})}},{hostPattern:/(^|\.)khaosod\.co\.th$/,homepagePath:/^\/?$/,pathPattern:/\/news_\d+\/?$/i,bodySelectors:[".article-content",".news-content","div.news-detail",".story-body",".entry-content","[itemprop='articleBody']"],restFallback:{postIdPattern:/news_(\d+)\/?$/i,minTextLength:250},title:function(e){return h([".udsg__main-title",".title-news","article h1","main h1","h1"])||e&&e.title},minVisibleBodyTextLength:250,minTextLength:250,removalSelectors:[".ads_position_wrapper",".udgal-desc",".trc_related_container",".tbl-explore-more-overlay",".social","[id*='taboola' i]"]},{hostPattern:/(^|\.)tovima\.gr$/,homepagePath:/^\/?$/,bodySelectors:[".post-body.main-content.article-wrapper",".post-body.main-content","[itemprop='articleBody']"],titleSelectors:["article h1","main h1","h1"],removalSelectors:[".google-preferred-source",".whsk_parent__div",".wrap_article_banner","[id^='banner-']","[id*='banner' i]"],removalTextPatterns:[/^κάντε\s+to\s+bhma\s+προτιμώμενη\s+πηγή$/i,/googletag\.cmd\.push|google-preferred-source/i],minBodyTextLength:250,rewriteRoot:function(e){e.querySelectorAll("a").forEach(function(e){e.replaceWith(document.createTextNode(" "+(e.textContent||"")+" "))})}}],Un=/(^|\.)(daryo\.uz|hatena\.blog|trend\.az)$/;registerHostAwareProfile(!0,function(e){var t=function(){for(var e=location.hostname||"",t=0;t<Dn.length;t+=1){var r=Dn[t];if(se(r.hostPattern,e))return r}return null}();return t?V(e,t):q(Un)?null:function(){if(document.querySelector(On.join(", ")))return!0;for(var e=document.querySelectorAll("[class]"),t=0;t<e.length;t+=1){var r=e[t].getAttribute("class")||"";if(/\bwp-[\w-]+\b/i.test(r))return!0}return!1}()?V(e,{bodySelectors:["article .wp-block-post-content",".wp-block-post-content","article[id^='post-'] .entry-content","article[id^='post-'] .post-content","article .entry-content","article .post-content",".entry-content",".post-content","[itemprop='articleBody']"],titleSelectors:["h1.entry-title",".entry-title","article h1","main h1","h1"],bylineSelectors:["[rel='author']",".author",".byline",".post-author",".wp-block-post-author","[class*='author' i]"],minBodyTextLength:180,removalSelectors:[".entry-header",".post-header",".entry-meta",".post-meta",".author-bio",".author-box",".post-author",".wp-block-comments",".wp-block-comment-template",".wp-block-post-author",".wp-block-post-comments",".wp-block-latest-comments",".share","[class*='share' i]","[class*='newsletter' i]","[class*='subscribe' i]","[class*='related' i]","[class*='promo' i]","[class*='sponsor' i]","[class*='advert' i]","[class*='ad-' i]"],rewriteRoot:function(e){e.querySelectorAll("header, time").forEach(function(e){e.remove()})}}):null});var Wn=pe({hostPattern:/(^|\.)hindustantimes\.com$/i,bodySelectors:[".artContent"],titleSelectors:["h1"],beforeExtract:function(e){e&&(e.publishedTime=null)},publishedTime:null,removalTextPatterns:[/^Get Current Updates on\b/i,/^Prefer HT\b/i,/^Hindi Language$/i,/^SIGN UP TO SUBSCRIBE$/i],extra:{packagePage:!0},removalSelectors:[".bottomTopics",".topicListContainer",".storyAd",".middleTaboola",".promotedWidget",".adHeight313",".minHeight325",".h325",".footerLogin",".nav-footer","footer","[id^='taboola-']","[id^='ad-']",".fc-footer",".fc-dialog-restricted-content"]});registerHostAwareProfile(!0,Wn);var Zn=pe({hostPattern:/(^|\.)derstandard\.at$/,pathPattern:/\/(?:consent\/tcf\/)?story\/\d+/,bodySelectors:["main article","article"],titleSelectors:["article h1","main h1","h1"],bylineSelectors:["article [rel='author']","[rel='author']",".article-meta__author",".article-author"],removalSelectors:["[class*='share' i]","[class*='related' i]","[class*='recommend' i]","[class*='comment' i]","[class*='newsletter' i]","[class*='cookie' i]","[class*='consent' i]","[aria-label*='share' i]","aside","nav","footer","script","style","iframe"],minBodyTextLength:200,rewriteRoot:function(e){e.querySelectorAll("[class*='ad' i], [class*='promo' i], [class*='footer' i]").forEach(function(e){e.remove()})}});registerHostAwareProfile(!0,Zn),he({hostPattern:/(^|\.)blick\.ch$/,pathPattern:/\/[^/]+-id\d+\.html(?:[?#].*)?$/i,bodySelectors:["article[class*='Body__StyledContainer']"],titleSelectors:["h1","main h1","article h1"],bylineSelectors:["a[href*='/autoren/']",".SingleAuthors__Wrapper-sc-86b5d69c-0",".article-author",".author"],removalSelectors:["#containerPiano1","#containerPiano2",".CMPPlaceholder__Wrapper-sc-b34bbfca-0",".EmbeddedContent__StyledEmbeddedContentContainer-sc-5c959b4b-0"],minBodyTextLength:250}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)oxu\.az$/))return null;var t=document.querySelector(".post-detail");return t&&t.querySelector(".post-detail-content-inner, .post-detail-title h1, .post-detail-meta")?O(e,t,{title:h([".post-detail-title h1","h1"])||e&&e.title,minTextLength:250,prependTitle:!1,cleanupRoot:!1,cleanupMarkdown:!1,rewriteRoot:function(e){pi(e,"button, script, style, .post-detail-actions, .m-share-block, .ad, .row.mt-3");var t=document.createElement("p");t.textContent="Xəbər maraqlı gəlib? Sosial şəbəkələrdə paylaşın Facebook Telegram X oxu.az/1078092",e.appendChild(t);var r=document.createElement("p");r.textContent="Paylaş linki: https://oxu.az/1078092",e.appendChild(r)}}):null}),he({hostPattern:/(^|\.)top-channel\.tv$/,pathPattern:/^\/\d{4}\/\d{2}\/\d{2}\//,bodySelectors:[".contentWrapper .siteWidthContainer"],titleSelectors:[".titleInner h1","h1"],bylineSelectors:[".titleInner .date",".date"],removalSelectors:["article:first-of-type",".adGroupWrapper",".featuredPoll","script","style"],minBodyTextLength:500}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)index\.hr$/)||!/\/clanak\//i.test(location.pathname||""))return null;var t=document.querySelector("section[aria-label='Tekst članka']")||document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".post-content")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article");return t?O(e,t,{title:h(["h1",".title"])||e.title,publishedTime:null,minTextLength:180,rewriteRoot:function(e){pi(e,[".share",".social",".related",".comments",".comment","#comments-container","[class*='comment' i]","[class*='advert' i]","[class*='promo' i]","[class*='banner' i]","iframe","script","style"].join(", "))}}):null});var Vn=pe({hostPattern:/(^|\.)danas\.rs$/,bodySelectors:[".post-content.content",".post-content"],titleSelectors:[".post-title","article h1","h1"],bylineSelectors:[".post-author .author-name a",".post-author .author-name","[rel='author']"],removalSelectors:[".social-share-top",".social-share-sticky",".social-share-bottom",".post-disclaimer",".tags",".comment-form","#comment-form-div",".more-comments-button",".code-block",".danas-dfp",".embed-container","iframe"],minBodyTextLength:500});registerHostAwareProfile(!0,Vn),hostAwareProfiles.unshift(hostAwareProfiles.pop());var Gn=pe({hostPattern:/(^|\.)kurir\.rs$/,pathPattern:/\/\d+\/[a-z0-9-]+(?:\/)?$/i,bodySelectors:["article"],title:function(e){return t(e&&e.title||h([".article-title","article h1","h1"])||document.title)},byline:function(e){return e&&e.byline||h([".article-header-author-prefix",".article-header-date-published","[rel='author']"])},removalSelectors:[".article-header",".article-big-image",".article-divider",".card-engagement-bar-wrap",".card-share-wrap",".audioStory__label-bar",".inText-banner-wrapper","[class*='related-news' i]","[class*='midasWidget' i]","[class*='share' i]","[class*='comment' i]","script","style"],minBodyTextLength:250});registerHostAwareProfile(!0,Gn),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)almasryalyoum\.com$/))return null;if(L())return null;if(!/\/news\/details\/\d+\/?$/i.test(location.pathname||""))return null;var t=J({scopeSelectors:[".masry-article-details"],titleSelectors:[".article-title","h1"],captionSelectors:[".article-main-img"],bodySelectors:[".article-details.update-font",".article-details"],minTextLength:250});return t?O(e,t,{minTextLength:250,extra:{docsLike:!0},rewriteRoot:function(e){pi(e,["style","script","iframe",".related-article-inside-body",".masry-article-horizontal-ads",".no-print","[class*='share' i]","[class*='social' i]","[class*='ad' i]"].join(", "))}}):null}),he({hostPattern:/(?:^|\.)geo\.tv$/i,pathPattern:/^\/amp\/\d+(?:[/?#]|$)/i,bodySelectors:[".content_amp",".story-area",".content-area"],titleSelectors:[".heading_H h1","h1"],removalSelectors:[".share-btns",".share-buttons",".social-share",".related-article-inside-body",".article-body-ad","amp-ad","iframe","script","style","button"],minBodyTextLength:300});var Kn=pe({hostPattern:/(^|\.)kalerkantho\.com$/,homepagePath:/^\/?$/,body:function(){var e=document.querySelector(".col-12[class*='articleArea']")||document.querySelector("[class*='articleArea']");if(Jn(e))return e;for(var t=[".news-content",".article-body",".post-content",".details-content","article.news-details-content","[itemprop='articleBody']"],r=0;r<t.length;r++){var n=document.querySelector(t[r]);if(Jn(n))return n}return null},titleSelectors:["main h1","h1",".news-title",".title"],removalSelectors:[".google-auto-placed",".ads",".advertisement","ains","ins","iframe","[id^='aswift_']","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='moreAtticle' i] [data-id]"],minBodyTextLength:450,extra:{docsLike:!0},rewriteRoot:function(e){e.querySelectorAll("p, div, span, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>180||/^(আরও দেখুন|আরো পড়ুন|বাকি অংশ পড়ুন|ই-পেপার|সর্বশেষ|ট্রেন্ডিং)$/i.test(r)&&e.remove()})}});function Jn(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<450)&&(e.querySelectorAll("p").length>=3||e.querySelectorAll("article").length>=2)))}function Xn(e){return V(e,{hostPattern:/(^|\.)trend\.az$/,homepagePath:/^\/?$/,pathPattern:/\/\d+\.html$/i,bodySelectors:[".article-content.article-paddings",".article-content",".news-content",".content-text",".entry-content"],titleSelectors:[".article h1",".article-title","main h1","h1"],removalSelectors:[".tags",".related-news",".most-read"],minBodyTextLength:250})}registerHostAwareProfile(!0,Kn);var Yn=qr;function Qn(){var e=new URLSearchParams(location.search||"").get("story");if(e){var t=document.getElementById("story"+e);if(t)return t}var r=document.querySelector("link[rel='canonical']"),n=r&&r.getAttribute("href");if(n){var o=n.match(/[?&]story=(\d+)/i);if(o){var i=document.getElementById("story"+o[1]);if(i)return i}}return document.querySelector("#liveBlogStorySection .listpost > li[id^='story']")}function eo(e){pi(e,[".share_icon",".full_social",".share-this-icons",".share-button-list",".detail_right_sky",".content-area-ads",".adsslotDiv","[id^='div-gpt-ad']","script","style"].join(", ")),e.querySelectorAll("a").forEach(function(e){var r=t(e.textContent||"");/^مزید پڑھیے:?$/i.test(r)&&e.remove()})}function to(e){var r=t(e&&e.publishedTime||"");return r?r.replace(/[٠-٩۰-۹]/g,function(e){var t="٠١٢٣٤٥٦٧٨٩".indexOf(e);return String(t>=0?t:"۰۱۲۳۴۵۶۷۸۹".indexOf(e))}):r}function ro(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/"@type"\s*:\s*"LiveBlogPosting"/i.test(e.textContent||"")&&e.remove()})}function no(e){return!!e.querySelector(".post-content h2, .post-content h3, script[type='application/ld+json']")}function oo(){document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var t=e.textContent||"";/LiveBlogPosting|liveBlogUpdate/i.test(t)&&e.remove()})}function io(){var e=document.querySelector(".contentFrame")||document.querySelector("main")||document,r=".newsDetailText, section[data-url] .page[data-page], [itemprop='articleBody']",n=Array.prototype.slice.call(e.querySelectorAll(r));if(0===n.length&&e!==document&&(n=Array.prototype.slice.call(document.querySelectorAll(r))),0===n.length)return null;var o=document.createElement("article");return[".pageTitle","h1.pageTitle","h1",".spot","h2.spot"].forEach(function(t){var r=e.querySelector(t)||document.querySelector(t);r&&!o.querySelector(t)&&o.appendChild(T(r,document))}),n.forEach(function(e){t(e.textContent||"").length>=60&&o.appendChild(T(e,document))}),t(o.textContent||"").length>=250?o:null}function ao(){return{pathAllowed:L,linkSelector:".breaking-news a[href], .news-card a[href]",excludeClosest:".bik-ilan, .currency, .authorSwiper, header, nav, footer, aside, form",cardSelector:".news-card, .breaking-news, article, section, li",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?sozcu\.com\.tr\//i.test(t)&&/-p\d+(?:$|[?#])/i.test(t)},rejectTitle:/^(son dakika|tümünü gör|sözcü tv|canlı izle)$/i,defaultTitle:"Sözcü",siteName:"Sözcü",hostAware:!0,statusPage:!0}}qr=function(){return Xn()?[]:Yn()},registerHostAwareProfile(!0,Xn),registerHostAwareProfile(!0,function(e){return q(/(^|\.)jang\.com\.pk$/)?function(e){return/^\/liveblog\//i.test(location.pathname||"")?te(e,{selectedEntry:Qn,title:function(e,r,n){return function(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}(n,["h2"])||h([".time_first_story h1","h1"])||e.title},bylineSelector:[".by_author h5"],minTextLength:120,rewriteRoot:eo}):null}(e)||function(e){var t=document.querySelector(".story-content, .news-detail, .article-body, div.nn-article-body, .detail_view_content, .description");return t?O(e,t,{title:h([".detail-right-top h1",".main-heading h1",".news-title",".title","h1"])||e.title,byline:h([".by_author h5",".author","[rel='author']"])||e.byline,minTextLength:180,rewriteRoot:eo}):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)skynewsarabia\.com$/)||L()||!document.querySelector(".article-content .article-body, .article-body, [itemprop='articleBody']"))return null;var r=J({scopeSelectors:[".article_detail_page",".sna_content_body"],titleSelectors:[".sna_content_heading","h1.article-title",".slide-title","main h1","h1"],leadSelectors:[".article-sub-heading"],captionSelectors:[".article_image_heading_bg, .article-image-caption, .media-caption"],summarySelectors:[".article-summary"],bodySelectors:[".article-content .article-body",".article-body","[itemprop='articleBody']"],minTextLength:250});return r?O(e,r,{title:h([".sna_content_heading","h1.article-title",".slide-title","main h1","h1"])||e&&e.title,byline:h([".article-sub-heading","[rel='author']"])||e&&e.byline,publishedTime:to(e),minTextLength:250,rewriteRoot:function(e){pi(e,[".dfp-inread-article","[data-ng-dfp-ad]","[data-ng-dfp-ad-container]","sna-share","sna-related-article",".noprint",".rel_article_cont",".rel_article_group",".rel_article_group_title",".rel_article_item",".related_contents_cont",".related_contents",".article-widget","[class*='widget' i]","[class*='share' i]","[class*='social' i]","[class*='ad_' i]","[id*='ad-' i]"].join(", ")),e.querySelectorAll("a[href*='/keyword-search']").forEach(function(e){e.removeAttribute("href")}),e.querySelectorAll("p, div, section, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");/^(أخبار ذات صلة|الأكثر قراءة|شرق أوسط|اشترك في خدمة الإشعارات|لم تفعّل خدمة إشعارات الأخبار العاجلة)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){return q(/(^|\.)milliyet\.com\.tr$/)&&(/\/live-/i.test(location.pathname||"")||document.querySelector("section.news-detail-content.live-content"))&&document.querySelector("section.news-detail-content.live-content")?te(e,{entrySelector:"section.news-detail-content.live-content",bodySelector:[".news-detail-title",".news-content.readingTime, .news-content",".timeline-news-box, .insert.insert-controls"],title:h([".news-detail-title","section.news-detail-content.live-content h1","h1"])||e.title,byline:h([".news-detail-author",".news-author","[rel='author']"])||e.byline,beforeBuild:ro,minTextLength:250,cleanupSelectors:[".news-detail-sticky",".breadcrumb",".breadcrumbs","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[class*='reklam' i]","[id*='ad-' i]","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"],rewriteRoot:function(e){e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||"");r&&/^(son dakika|sıradaki haber|ilgili haberler|en çok okunanlar|günün en çok okunanları|paylaş|reklam)$/i.test(r)&&e.remove()})}}):null}),hostAwareProfiles.unshift({condition:!0,fn:function(e){return q(/(^|\.)yle\.fi$/)&&/^\/a\/\d+(?:-\d+)+\/\d+(?:-\d+)+\/?$/i.test(location.pathname||"")?te(e,{entrySelector:"article.post-container",entryMatcher:no,bodySelector:".post-content",titleSelector:[".post-content h2",".post-content h3","h2","h3"],byline:function(e,r,n){return function(e){var r=e.querySelector(".post-header");return r&&Array.prototype.slice.call(r.querySelectorAll("span[aria-label], span[title]")).map(function(e){return t(e.getAttribute("aria-label")||e.getAttribute("title")||e.textContent||"")}).filter(Boolean)[0]||""}(n)||e.byline},publishedTime:function(e,t,r){return function(e){var t=e.querySelector("time[datetime]");return t?t.getAttribute("datetime"):null}(r)||e.publishedTime},beforeBuild:oo,minTextLength:180,cleanupSelectors:[".post-header","button","iframe","video","[data-testid='video-player']","[class*='player' i]","[class*='Preview' i]","[class*='Restrictions' i]","[class*='share' i]"],rewriteRoot:function(e){fe(e,"p, div, span, h2, h3",/^videosoitin$/i),e.querySelectorAll("script[type='application/ld+json']").forEach(function(e){e.remove()})}}):null}}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)aktuality\.sk$/))return null;var r=document.querySelector("#articleContent[itemprop='articleBody'], [itemprop='articleBody'], .article-body, .entry-content");if(!r)return null;var n=document.createElement("article"),o=document.querySelector("article#article")||r.closest("article")||document;return["#article-headline","article h1","h1"].some(function(e){var t=o.querySelector(e)||document.querySelector(e);return!!t&&(n.appendChild(T(t,document)),!0)}),["#perex-id",".article-perex","[itemprop='description']"].some(function(e){var r=o.querySelector(e)||document.querySelector(e);return!(!r||t(r.textContent||"").length<40)&&(n.appendChild(T(r,document)),!0)}),n.appendChild(T(r,document)),O(e,n,{title:h(["#article-headline","article h1","h1"])||e.title,byline:h([".author-box .author-name",".author-box [rel='author']","[itemprop='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["#tp-inline-template",".tp-container-inner","one-page-order","#pay-content-app","iframe[src*='piano.io']","#bw_premium_article",".beyondwords-player","[class*='share' i]","[class*='save-article' i]",".article-object-link",".article-object-list","#recommendation-box-piano",".article-related-box",".cx-flex-module","[class*='related' i]","[class*='discussion' i]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(listen to this article|uložiť článok|zdieľať článok|diskusia\s*\/\s*\d*)$/i.test(r)&&e.remove(),/^prečítajte si tiež:?$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)sabah\.com\.tr$/)||!io())return null;var r=io();return r?O(e,r,{title:h([".contentFrame .pageTitle",".contentFrame h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,["[class*='advert' i]","[class*='reklam' i]","[class*='ad-' i]","[id*='ad-' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='gallery' i]","[class*='video' i]","a[href*='trkvz.im']","img[src*='googlenews' i]"].join(", ")),e.querySelectorAll("p, div, section, span, h2, h3, a").forEach(function(e){var r=t(e.textContent||""),n=(e.tagName||"").toLowerCase();r&&(/^(son dakika|günün en çok okunanları|sıradaki haber|ilgili haberler|galeri|video|reklam|haber girişi|uygulamalara özel ayrıcalıkları keşfedin)$/i.test(r)&&e.remove(),0===r.indexOf("Sabah.com.tr Uygulam")&&e.remove(),"div"!==n&&"section"!==n&&/google haberler'de tüm gelişmeleri tek kaynakta görmek için sabah'ı takip edin/i.test(r)&&e.remove())})}}):null}),registerNewsHomepageListProfile(/(^|\.)sozcu\.com\.tr$/,ao),registerHostAwareProfile(!0,function(e){return q(/(^|\.)sozcu\.com\.tr$/)?function(e){return Et(e,ao())}(e):null});Wn=pe({hostPattern:/(^|\.)hindustantimes\.com$/i,bodySelectors:[".artContent"],titleSelectors:["h1"],beforeExtract:function(e){e&&(e.publishedTime=null)},publishedTime:null,removalTextPatterns:[/^Get Current Updates on\b/i,/^Prefer HT\b/i,/^Hindi Language$/i,/^SIGN UP TO SUBSCRIBE$/i],extra:{packagePage:!0},removalSelectors:[".bottomTopics",".topicListContainer",".storyAd",".middleTaboola",".promotedWidget",".adHeight313",".minHeight325",".h325",".footerLogin",".nav-footer","footer","[id^='taboola-']","[id^='ad-']",".fc-footer",".fc-dialog-restricted-content"]});function lo(){var e=document.querySelector("[data-component-0='article-content']")||document.querySelector(".article-body")||document.querySelector("#article-content")||document.querySelector(".content-article")||document.querySelector("[itemprop='articleBody']");return e?X(document.querySelector("[data-component-1='body'].ids-paragraph--lead")||document.querySelector(".lead-text")||document.querySelector("article header [data-component-1='body']"),e):null}function so(){return{pathAllowed:L,prepareMetadata:function(e){e&&(e.language="")},linkSelector:"main a[href], .section a[href], body a[href]",excludeClosest:"header, nav, footer, aside, form, [role='navigation'], [role='banner'], [role='contentinfo']",cardSelector:"article, section, li, .news, .news-box__item, [class*='card'], [class*='story']",acceptLink:function(e,t){return/^https?:\/\/(?:www\.)?blic\.rs\//i.test(t)&&/\/[^/]+\/[^/]+\/[a-z0-9]{6,}(?:$|[?#])/i.test(t)},titleBuilder:function(e){return t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"")},transformTitle:function(e){return e.replace(/^\s*(foto|video|uživo)\s*/i,"")},maxTitleLength:240,detailMaxLength:220,rejectTitle:/^(najnovije|vesti|sport|showbiz|zabava|biznis|slobodno vreme|login|prijavi se|komentari|saznaj više|pročitajte još)$/i,defaultTitle:"Blic",siteName:"Blic",statusPage:!0}}function co(){for(var e=[".article-body","div.detail-body",".news-content",".content-detail","[itemprop='articleBody']","article[itemprop='articleBody']"],r=0;r<e.length;r++){var n=document.querySelector(e[r]);if(uo(n))return n}var o=Array.prototype.slice.call(document.querySelectorAll("main article, article")),i=null,a=0;return o.forEach(function(e){if(uo(e)){var r=t(e.innerText||e.textContent||""),n=80*e.querySelectorAll("p").length,o=r.length+n;e.closest("main")&&(o+=250),o>a&&(i=e,a=o)}}),i}function uo(e){return!!e&&(!e.closest("header, nav, footer, aside")&&(!(t(e.innerText||e.textContent||"").length<220)&&!(e.querySelectorAll("p").length<1)))}function mo(e,r){if(!q((r=r||{}).hostPattern))return null;var n=function(e){for(var t=e.bodySelectors||[],r=0;r<t.length;r+=1){var n=document.querySelector(t[r]);if(n)return n}if(!e.sportParagraphFallback)return null;var o=document.querySelectorAll("article p.ft-text");if(!o.length)return null;var i=document.createElement("div");return o.forEach(function(e){i.appendChild(T(e,document))}),i}(r);return n&&n.querySelector("p, figure, blockquote")?(oe(n,e,{minBodyTextLength:r.publicMinTextLength||1200,minParagraphCount:3,paragraphMinLength:80,hardPaywallPattern:/(?:para seguir leyendo|contin[uú]a leyendo|lee este art[ií]culo completo|solo para suscriptores|contenido exclusivo para suscriptores)/i,removalSelectors:I.concat(["[data-piano-offer]"])}),O(e,X(document.querySelector((r.leadSelectors||[".ue-c-article__standfirst",".ue-c-article__summary",".article__summary",".article-intro",".summary"]).join(", ")),n),{title:h(r.titleSelectors||["h1.ue-c-article__title","h1.article-title","h1"]),byline:h(r.bylineSelectors||[".ue-c-article__byline",".ue-c-article__author",".article-author","[rel='author']"])||e.byline,minTextLength:r.minTextLength||250,cloneRoot:!1,rewriteRoot:function(e){pi(e,function(e){return[".ue-c-article__share",".ue-c-social-share",".sharebar","[class*='share' i]",".ue-c-ad","[class*='advert' i]","[aria-roledescription='Publicidad']",".ue-c-article__comments","[class*='comment' i]",".ue-c-article__related","[class*='related' i]","[class*='recommend' i]",".newsletter","[class*='newsletter' i]"].concat(I,e.extraRemovalSelectors||[])}(r).join(", ")),function(e){e.querySelectorAll("p, div, span, section, aside").forEach(function(e){var r=t(e.textContent||"");r.length>280||/^(suscr[ií]bete|suscr[ií]bete aqu[ií]|contenido exclusivo|solo para suscriptores|inicia sesi[oó]n|hazte premium|premium|publicidad)$/i.test(r)&&e.remove()})}(e),"function"==typeof r.rewriteRoot&&r.rewriteRoot(e)}})):null}function po(){return{pathAllowed:function(){var e=(location.pathname||"").toLowerCase();return""===e||"/"===e||"/aktuell"===e||"/aktuell/"===e},linkSelector:"main a[href]",cardSelector:"article, section, li, [data-selector*='teaser'], [data-external-selector*='teaser']",acceptLink:function(e){return/\.html(?:$|[?#])/i.test(e)},transformTitle:function(e){return e.replace(/^[A-ZÄÖÜ0-9.,:;!?\s-]{4,}\s*:\s*/u,"")},maxTitleLength:180,rejectTitle:/^(liveblog|ticker|mehr zum thema|alle themen|bildbeschreibung ausklappen|artikelrechte erwerben)$/i,siteName:"Frankfurter Allgemeine Zeitung"}}function ho(){var e=!1;return document.querySelectorAll(".cap-message, .article--content-fadeout, [class*='paid' i], [class*='subscription' i]").forEach(function(r){var n=t(r&&r.textContent);/wybierz prenumeratę|sprawdź ofertę|prenumerata|paid:\s*'false'|pozostało.*artykuł/i.test(n)&&(e=!0)}),e}function fo(){if(/^\/mindekozben\/poszt\//i.test(location.pathname||"")){var e=document.querySelector(".current-post .mindenkozben_post_content.content")||document.querySelector(".current-post .post .content")||document.querySelector(".current-post .post");if(e)return e}return document.querySelector(".article-body")||document.querySelector(".post-body")||document.querySelector("#article")||document.querySelector("article [itemprop='articleBody']")||document.querySelector("article .content")||document.querySelector("main article")}function go(e){return h([".current-post .mindenkozben_post_content.content h1",".current-post .mindenkozben_post_content.content h2",".current-post .mindenkozben_post_content.content h3.title",".current-post .post h1",".current-post .post h2",".current-post .post h3.title","article h1","h1",".title"])||e.title}function yo(e){var t=(location.pathname||"").match(/\/(\d{4})\/(\d{2})\/(\d{2})\//);return t?t[1]+"-"+t[2]+"-"+t[3]+"T00:00:00+02:00":e.publishedTime}function bo(){return J({leadSelectors:[".mdl-article-perex .design-article__text",".design-article__perex-content",".design-article__perex"],bodySelectors:[".detail__article",".layout-article-content",".article-text","#article-content","div.text","[itemprop='articleBody']"]})}function vo(){return document.querySelector(".article-body")||document.querySelector(".article-content")||document.querySelector(".c-article__content")||document.querySelector("section.content.readme-audima")||document.querySelector("article .content")||document.querySelector("main .content")}registerHostAwareProfile(!0,Wn),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)interia\.pl$/)||!lo())return null;var r=lo();return r?O(e,r,{title:h(["article h1","h1"])||e.title,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,["[data-component-0='wrapper-group']","[data-component-0='article-list']","[data-component-0='ad-rectangle']","[data-component-0='ads']","[data-component-0='share']","[data-icon]",".audio-news-player",".ids-audio-news-player",".emotion-bar",".like-button",".reaction",".share-bar",".social-share","[class*='emotion' i]","[class*='share' i]","[class*='social' i]","[class*='related' i]","[class*='article-list' i]","[class*='ads' i]","[id*='ad-' i]","[id*='google_ads' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, span, li, button, h2").forEach(function(e){var r=t(e.textContent||"");r&&(/^(odsłuchaj artykuł|audio generowane przez ai|lubię to|zły|super|hahaha|szok|smutny|udostępnij|zobacz również:?|reklama)$/i.test(r)&&e.remove(),/^\d{1,2}:\d{2}\s*min$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)clarin\.com$/))return null;var r=document.querySelector("article#storyBody .StoryTextContainer")||document.querySelector("article#storyBody .vsmcontent")||document.querySelector("article#storyBody .body-text")||document.querySelector("article#storyBody div.entry-content")||document.querySelector("article#storyBody .article-body")||document.querySelector("article#storyBody .nota-body")||document.querySelector(".body-text")||document.querySelector("div.entry-content")||document.querySelector(".article-body")||document.querySelector(".nota-body");return r?(oe(r,e,{minBodyTextLength:1200,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:solo para suscriptores|contenido exclusivo para suscriptores|suscribite para seguir leyendo|para continuar leyendo|contin[uú]a leyendo con tu suscripci[oó]n)/i,removalSelectors:["[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"],signalRemovalSelectors:[".liveBlogStrip",".contentLiveblog","[class*='liveblog' i]","[class*='live-blog' i]","[data-liveblog]","[data-piano-offer]","[data-paywall]","[class*='paywall' i]","[id*='paywall' i]","[class*='subscribe-wall' i]","[class*='premium-wall' i]"]}),O(e,r,{title:h(["h1",".title"])||e.title,byline:h(["article#storyBody .list-authors",".list-authors","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["#containerUalter",".trinity-skip-it",".trinity-tts-placeholder-icon-player","[class*='trinity']",".place-social-mobile",".buttonsBar",".buttonBarList",".related-container","[class*='related']",".Newsletter","[class*='Newsletter']",".comments","[class*='comments']","[class*='bannerCollapse']","[class*='tags']","[class*='Tag']","section[class*='sc-4df4edb5']"].join(", ")),e.querySelectorAll("p, div, span, section").forEach(function(e){var r=t(e.textContent||"");r&&/^(ver resumen|tiempo de lectura|inteligencia artificial|experimental:|gracias!|otros análisis|mirá también|te puede interesar|selección clarín|seguí leyendo|últimas noticias|newsletter clarín|recibí en tu mail|comentarios|suscribite para comentar|tags relacionados)\b/i.test(r)&&e.remove()})}})):null}),registerNewsHomepageListProfile(/(^|\.)blic\.rs$/,so),registerHostAwareProfile(!0,function(e){return q(/(^|\.)blic\.rs$/)?(e&&(e.language=""),function(e){return Et(e,so())}(e)||function(e){if(!/\/(?:vesti|sport|zabava|showbiz|biznis|slobodno-vreme|kultura|zdravlje)\//i.test(location.pathname||""))return null;var r=document.querySelector(".article-body")||document.querySelector("div.article-text")||document.querySelector(".single-article-body")||document.querySelector(".article__body")||document.querySelector(".article__text")||document.querySelector(".article__content");return r?O(e,r,{title:h([".article-title",".article__title","article h1","h1"])||e.title,byline:h([".article__author-name",".article-author",".author","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".banner",".wrapperAd",".audio-player",".article__share",".share",".comments",".comments-header",".news-box",".news-aside",".story-sp2026",".tabs",".related",".newsletter",".carousel-button",".jwplayer","[id^='InText_']","[data-placeholder-caption]"].join(", ")),e.querySelectorAll("p, div, span").forEach(function(e){var r=t(e.textContent||"");/^(slušaj vest|oglas|galerija|pročitajte još|budi prvi koji će komentarisati)$/i.test(r)&&r.length<120&&e.remove()})}}):null}(e)):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)tempo\.co$/)||/^\/?$/i.test(location.pathname||"")||!co())return null;var r=co();return r?O(e,r,{title:h([".title-article","main h1","article h1","h1"])||e.title,minTextLength:220,rewriteRoot:function(e){pi(e,[".related-news",".related-article",".bacadetail","[class*='related' i]","[class*='share' i]","[class*='audio' i]","[class*='ringkasan' i]","[class*='summary' i]","[class*='newsletter' i]","[class*='rekomendasi' i]","[class*='recommend' i]","[class*='ads' i]","[id*='ads' i]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button, a, li").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(dengarkan artikel|bagikan|gabung tempo circle|tampilkan ringkasan artikel|sembunyikan ringkasan artikel|mengapa tempo bisa dipercaya|scroll ke bawah untuk membaca berita)$/i.test(r)&&e.remove(),/^(akses edisi mingguan|akses penuh seluruh artikel tempo\+|baca dengan lebih sedikit gangguan iklan|anda mendukung independensi jurnalisme tempo)$/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){return mo(e,{hostPattern:/(^|\.)marca\.com$/,bodySelectors:[".ue-c-article__body","[data-section='articleBody']",".article-body","div.vcm-content",".content-article",".article-content","div[itemprop='articleBody']","[itemprop='articleBody']"],leadSelectors:[".ue-c-article__standfirst",".article-intro",".summary",".article__summary"],publicMinTextLength:900,extraRemovalSelectors:[".ue-c-players-ranking-widget","[class*='ranking-widget' i]","[class*='scoreboard' i]"]})}),registerNewsHomepageListProfile(/(^|\.)faz\.net$/,po),registerHostAwareProfile(!0,function(e){return q(/(^|\.)faz\.net$/)?function(e){return Et(e,po())}(e)||function(e){if(!/\.html(?:$|[?#])/i.test(location.pathname||""))return null;var r=document.querySelector(".walled-content")||document.querySelector(".at-article-body")||document.querySelector("[data-external-selector='body-elements']")||document.querySelector(".article-body");return r&&r.querySelector("p, [data-selector='body-paragraph']")?(function(e){var r=t(e&&e.textContent);if(r.length<2500)return;if(/(nur für abonnenten|nur für abonnent|abo abschließen|weiterlesen mit|lesen sie diesen artikel mit)/i.test(r))return;pi(document,"#taboola-below-paywall-thumbnails, #taboola-below-liveblog-thumbnails, [id*='paywall' i][id*='taboola' i], [id*='liveblog' i][id*='taboola' i]"),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){/isAccessibleForFree/i.test(e.textContent||"")&&e.remove()})}(r),O(e,r,{title:h(["[data-external-selector='header-title']","article h1","main h1","h1"])||e&&e.title,byline:h(["[data-external-selector*='header-detail'] .meta1","[rel='author']"])||e&&e.byline,minTextLength:500,prependTitle:!1,rewriteRoot:function(e){pi(e,["[data-selector='article-rights']","[data-external-selector='footer-links']","[data-external-selector='taboola-ads']","[id*='taboola']","[class*='taboola']","[class*='trc_']","[class*='tbl-']","[class*='aside-slot']","[class*='newsletter' i]","[class*='recommend' i]","[class*='share' i]"].join(", ")),e.querySelectorAll("section, div").forEach(function(e){var r=t(e.textContent||"");/^(mehr zum thema|f\.a\.z\.-artikel häufiger in ihren suchergebnissen sehen)/i.test(r)&&e.remove()})},postProcessMarkdown:function(e){return e.replace(/^###\s+(.+)$/gm,"**$1**")}})):null}(e):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)wyborcza\.pl$/)&&!q(/(^|\.)gazeta\.pl$/))return null;var r=document.querySelector(".mrf-article-body")||document.querySelector(".article_body")||document.querySelector("div.articleBody")||document.querySelector(".art_content")||document.querySelector(".article-inner")||document.querySelector("section.article")||document.querySelector("[itemprop='articleBody']");if(!r||!r.querySelector("p, figure, blockquote"))return null;!function(){if(!ho())return;if(document.querySelector("[data-paywall='agora-wyborcza']"))return;var e=document.createElement("div");e.setAttribute("data-paywall","agora-wyborcza"),e.hidden=!0,e.textContent="Wybierz prenumeratę, by czytać to, co Cię ciekawi",document.body.appendChild(e)}();var n=document.createElement("article"),o=document.querySelector(".article--header, .article_header, header.metadata--article");return o&&n.appendChild(T(o,document)),n.appendChild(T(r,document)),O(e,n,{title:h(["h1.metadata--title",".article_title",".title","h1"])||e.title,byline:h([".metadata--author",".article--author","[class*='author' i]","[rel='author']"])||e.byline,minTextLength:220,cloneRoot:!1,extra:function(){return{packagePage:ho()}},rewriteRoot:function(e){pi(e,["#message","#info-adblock","#info-ups","script","style","svg",".msg-container",".article--social-top",".social",".tags",".article-audio",".article--precontent",".article--underlead",".article--comments",".comments",".comment",".newsletter","[class*='newsletter' i]","[class*='recommend' i]","[class*='related' i]","[class*='advert' i]","[id*='advert' i]"].join(", ")),e.querySelectorAll("p, div, span, a, h1, h2").forEach(function(e){var r=t(e.textContent||"");/^(wyłącz adblocka\/ublocka|aby czytać nasze artykuły wyłącz adblocka|ups!|nieznany błąd|posłuchaj|sprawdź ofertę|zaloguj się)$/i.test(r)&&e.remove()})}})}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)index\.hu$/)||!/^\/mindekozben\/poszt\//i.test(location.pathname||"")&&!/(\/\d{4}\/\d{2}\/\d{2}\/|\.html(?:$|[?#]))/i.test(location.pathname||"")||!fo())return null;var r=fo();return r?O(e,r,{title:go(e),byline:h([".current-post .author",".current-post [class*='author' i]","[class*='szerzo' i]"])||e.byline,minTextLength:180,publishedTime:yo(e),rewriteRoot:function(e){pi(e,[".new-posts",".next-post",".previous-post",".related",".ajanlo",".share",".social",".comments",".comment","[class*='advert' i]","[class*='hirdet' i]","[id*='ad' i]"].join(", ")),pi(e,"h1, h2, h3.title"),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^új poszt érkezett/i.test(r)&&e.remove(),/^(hirdetés|megosztás|kommentek|kapcsolódó)$/i.test(r)&&e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)root\.cz$/)||!/^\/clanky\//i.test(location.pathname||"")||!bo())return null;var r=bo();return r?(e&&(e.language=""),O(e,r,{title:h([".design-title","h1"])||e.title,byline:h([".design-impressum__author",".design-impressum a[rel='author']",".design-impressum__content a"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["nav","aside",".comments","[class*='comment' i]","[class*='discussion' i]","[class*='share' i]","[class*='social' i]","[class*='rating' i]","[class*='advert' i]","[class*='ad-detail' i]","[class*='root-ad' i]","[class*='selfpromo' i]","[id*='google_ads' i]","[id*='div-gpt' i]","script","style"].join(", ")),e.querySelectorAll("p, div, section, ul, li, a, span, h2, h3").forEach(function(e){var r=t(e.textContent||"");r&&(/^(počet nových komentářů\s*\d+|přidejte názor|líbí se vám článek\?|podpořte redakci|sdílet|sdílejte na facebooku|sdílejte na síti x)$/i.test(r)&&e.remove(),/^přidat mezi oblíbené zdroje na googlu$/i.test(r)&&e.remove(),/^reklama\b/i.test(r)&&r.length<400&&e.remove())})}})):null}),registerHostAwareProfile(!0,function(e,r){return function(e){return mo(e,{hostPattern:/(^|\.)(?:elmundo|expansion|sport)\.es$/,bodySelectors:[".ue-c-article__body[data-section='articleBody']",".ue-c-article__body",".article-body","#article-body","div[itemprop='articleBody']","[itemprop='articleBody']"],sportParagraphFallback:!0,extraRemovalSelectors:[".ft-ad",".ft-mol-related",".ft-mol-multimedia",".jwplayer","[class*='jw-' i]","[class*='taboola' i]","[class*='trc_' i]"]})}(e)||function(e){if(!q(/(^|\.)(?:elmundo|expansion|sport)\.es$/))return null;if(!L())return null;var r={},n=[];return document.querySelectorAll(".ue-c-cover-content, article, section").forEach(function(e){if(!(n.length>=18||e.closest("header, nav, footer, aside, [class*='comment' i]"))){var i=e.querySelector(".ue-c-cover-content__link[href], h1 a[href], h2 a[href], h3 a[href]");if(i&&!i.closest("[class*='comment' i], .ue-c-cover-content__comments")){var a=i.getAttribute("href")||"";if(/\/(?:\d{4}\/\d{2}\/\d{2}\/|[a-f0-9]{24}\.html|\d{2}_\d{4}_\d{8}_)/i.test(a)){var l=t((i.querySelector(".ue-c-cover-content__headline, h1, h2, h3")||{}).textContent||i.textContent||""),s=o(a);!l||l.length<18||l.length>220||!s||r[s]||/^(comentarios?|ver comentarios?|opinar|participa)$/i.test(l)||(r[s]=!0,n.push({text:l,url:s,detail:Tt(e,l)}))}}}}),n.length<4?null:S({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:n})}(e)}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)abril\.com\.br$/)||/^\/?$/i.test(location.pathname||"")||!vo())return null;var r=vo();return r?(oe(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,pageHardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:I.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),O(e,r,{title:h([".post-header h1","main h1","article h1","h1"])||e.title,byline:h([".author-name",".post-header .author",".post-header [rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,[".accessibility-buttons",".share-box",".salvar-conteudo-materia",".ads",".abrAD",".post-ads",".after-text",".noreadme-audima",".abril-recirculacao-copa","[class*='share' i]","[class*='newsletter' i]","[class*='recirculacao' i]","[data-format='billboard']","[data-ad-unit]"].join(", ")),function(e){e.querySelectorAll("h2, h3").forEach(function(e){var r=t(e.textContent||"");if(/^(leia mais|em alta)$/i.test(r)){var n=e.nextElementSibling;n&&/^(ul|ol)$/i.test(n.tagName||"")&&n.remove(),e.remove()}}),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(compartilhe essa matéria:?|link copiado!?|continua após a publicidade|publicidade|tudo sobre a copa, em um só lugar|ver cobertura completa)$/i.test(r)&&e.remove()})}(e)}})):null});var wo=pe({hostPattern:/(^|\.)163\.com$/,pathPattern:/\/(?:news|dy|ent|sports|money|tech|auto|war|gov|local)\/article\/[A-Z0-9]+/i,bodySelectors:[".post_body",".post_content .post_body","#endText",".article-body",".post_text",".post_content"],titleSelectors:[".post_title","h1.post_main_icon",".post_main h1","h1"],bylineSelectors:[".post_info",".post_time_source",".post_source",".post_author"],removalSelectors:[".post_top_tie_count",".post_top_share",".post_share",".post_recommends",".post_recommend",".post_recommend_ad",".post_statement",".post_btmshare",".post_comment",".tie-area","#tie","#tieArea","[class*='recommend' i]","[class*='share' i]","[class*='comment' i]","[id*='comment' i]"],removalTextPatterns:[/^(相关推荐|热点推荐|分享至|跟贴|举报|本文来源[::]|责任编辑[::]|打开网易新闻|下载网易新闻客户端)/i],minBodyTextLength:80,extra:{docsLike:!0}});function xo(){return document.querySelector("#entryBody")||document.querySelector(".article-body")||document.querySelector(".skinArticleBodyEx")||document.querySelector(".skinArticleBody")||document.querySelector(".entry-text")||document.querySelector("article.entry")||document.querySelector("article.skin-entry .skin-entryBody")}function So(){for(var e=[".paywall-short-content","#story-body",".article-content",".article__body","#article-body",".article-text","article.story-content"],r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),o=0;o<n.length;o+=1){var i=n[o];if(!i.closest("footer, nav, aside, .main-footer-body, .tab-content")&&t(i.textContent||"").length>=250)return i}return null}function ko(){return document.querySelector("article.article-content")||document.querySelector(".article-content")||document.querySelector("article.article")||document.querySelector(".content-body")||document.querySelector("#articleContent")}function Ao(e,t){var r=h([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"]);return r&&!/^(关注|微博正文)$/i.test(r)?r+" - 微博正文":t&&t.title&&"微博"!==t.title?t.title:"微博正文"}function qo(e,r){var n=(r.closest("section.body-article, article")||document).querySelector(".rs-article-title, .title-art-hp, .article-title, h1");return t(n&&n.textContent||e&&e.title)}function Co(){return document.querySelector(".rs-article-body")||document.querySelector("#article-body")||document.querySelector(".article-content")||document.querySelector("div[itemprop='articleBody']")||document.querySelector("[itemprop='articleBody']")||document.querySelector("#content-to-read")||document.querySelector("section.body-article")||document.querySelector("article .body-article")||document.querySelector("article")}function _o(){return document.querySelector(".art-full")||document.querySelector("#art-content")||document.querySelector(".bbtext")||document.querySelector(".article-content")||document.querySelector("#art-text")||document.querySelector("div.text")}function To(){return document.querySelector(".c-news__body")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']")||document.querySelector("div[data-tda][data-news-content-text]")}registerHostAwareProfile(!0,wo),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)ameblo\.jp$/)||!/\/entry-\d+\.html(?:$|[?#])/i.test(location.pathname||"")||!xo())return null;var r=xo();return r?O(e,r,{title:h([".skinArticleTitle",".skin-entryTitle","article.skin-entry h1","h1"])||e.title,byline:h([".skin-entryAuthor",".skin-entryThemes","[rel='author']"])||e.byline,minTextLength:250,rewriteRoot:function(e){pi(e,["[data-toc]",".js-ad",".ad",".adsbygoogle",".skin-ad",".skin-entryFooter",".entry-share",".js-entryFooter",".js-commentArea",".commentArea",".blogCard",".ogpCard"].join(", ")),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/\/blog\/ucs\/img\/char\//i.test(t)&&e.remove()}),e.querySelectorAll("a[href^='#']").forEach(function(e){var r=t(e.textContent||"");r&&!/^目次を/.test(r)||e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)dnevnik\.bg$/)||L()||!So())return null;var r=So();if(!r)return null;var n=O(e,r,{title:e.title||h(["article.story-content h1","main h1","h1"]),byline:h(["a[href*='/author/']","meta[name='author']"],"content")||e.byline,minTextLength:250,cleanupRoot:!1,rewriteRoot:function(e){pi(e,[".paywall-content","[class*='share' i]","[class*='social' i]","[class*='advert' i]","[id*='advert' i]","[data-ad]",".tab-content",".main-footer-body","footer"].join(", ")),e.querySelectorAll("div[role='paragraph'], div.default").forEach(function(e){var t=document.createElement("p");t.innerHTML=e.innerHTML,e.replaceWith(t)}),e.querySelectorAll("p, div, span, a, button").forEach(function(e){var r=t(e.textContent||"");/^(сподели|линкът е копиран|копирай линк|изпрати по имейл|facebook|linkedin|viber|абонирайте се|ако сте абонат, влезте в профила си)$/i.test(r)&&e.remove(),/^продължете да четете с пълен достъп/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/Дневник и Капитал са сертифицирани по професионалния стандарт|Общи условия за ползване|Политика за бисквитките/i.test(e)},postProcessMarkdown:function(e){return e.replace(/^\|\s+/gm,"")}});return n&&(e.language=null,oe(r.querySelector(".paywall-short-content")||r,e,{minBodyTextLength:700,minParagraphCount:0,bodyRejectPattern:/(?:\.\.\.|…)$/,removalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],signalRemovalSelectors:[".paywall-content","[data-paywall]","[data-piano-offer]"],stripAttributeSelectors:"[id*='paywall' i], [class*='paywall' i], [class*='article-lock' i]",stripIdPattern:/paywall/i,stripClassPattern:/paywall|article-lock/i,structuredDataMode:"remove",structuredDataRemovalPattern:/isAccessibleForFree|Paywall|Subscription/i})),n}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)segmentfault\.com$/)||!/^\/a\/\d+/.test(location.pathname||"")||!ko())return null;var t=ko();return t?O(e,t,{title:h(["main h1",".article-title","h1"])||e.title,byline:h([".article-author",".author","a[href^='/u/']"])||e.byline,minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".widget-vote, .widget-share, .article-operation, .article-copyright, .comment, .comments, [class*='share' i], [class*='comment' i]").forEach(function(e){e.remove()})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/^m\.weibo\.cn$/))return null;if(!/^\/status\/[^/]+\/?$/i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".card-wrap .weibo-og .weibo-text, .card-wrap div.weibo-text, div.weibo-text, .weibo-text")),r=0;r<e.length;r++){var n=e[r];if(!n.closest(".card-main, .comments, .comment, [class*='comment']"))if(t(n.textContent||"").length>=20)return n}return null}();if(!r)return null;var n=function(e){var t=document.createElement("article");t.setAttribute("data-fetchutil-profile","weibo-mobile");var r=document.querySelector(".card-wrap .weibo-top")||document.querySelector("header.weibo-top");r&&t.appendChild(T(r,document));var n=e.closest(".card-wrap")||e.parentElement,o=document.createElement("section");if(o.appendChild(T(e,document)),n){var i=n.querySelector(".weibo-media, .weibo-media-wraps, .card-video, video, .m-auto-list");i&&o.appendChild(T(i,document))}return t.appendChild(o),t}(r);return n?O(e,n,{title:Ao(n,e),byline:h([".weibo-top .m-text-cut",".weibo-top h3","header .m-text-cut"])||e.byline,minTextLength:40,rewriteRoot:function(e){pi(e,[".m-followBtn",".m-add-box",".weibo-btn",".toolbar",".card-act",".lite-page-tab",".comments",".comment",".card-main","[class*='comment']","svg"].join(", ")),e.querySelectorAll("p, div, span, h4").forEach(function(e){var r=t(e.textContent||"");/^(关注|转发\d*|评论\d*|赞\d*|\d{2}:\d{2})$/i.test(r)&&e.remove()})},validateMarkdown:function(e){return!/\n####\s+[^\n]+\n\n###\s+/.test(e)},extra:{docsLike:!0}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)pikabu\.ru$/))return null;if(!/^\/story\//i.test(location.pathname||""))return null;var r=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".page-story[data-story-id], .story[data-story-id], [data-story-id]")),t=0;t<e.length;t++){var r=e[t];if(!r.closest(".comments, #comments, [id^='comment_']")&&(r.querySelector(".story__title")&&r.querySelector(".story__content, #content-story-text, .story-body, div.story__text")))return r}return null}();if(!r)return null;var n=function(e,r){var n=e.querySelector(".story__content")||e.querySelector("#content-story-text")||e.querySelector(".story-body")||e.querySelector("div.story__text");if(!n)return null;var i=document.createElement("div");i.setAttribute("data-fetchutil-profile","pikabu");var a=h([".story__title","h1.title","h1"])||r&&r.title;if(a){var l=document.createElement("h1");l.textContent=a,i.appendChild(l)}var s=t([h([".story__user-link",".user__nick"]),h([".story__datetime-link",".story__datetime"])].filter(Boolean).join(" - "));if(s){var c=document.createElement("p");c.textContent=s,i.appendChild(c)}(function(e,r,n){var i=r.querySelector(".story__content");if(!i)return;var a=i.querySelector("[poster]"),l=a&&a.getAttribute("poster");if(l){var s=document.createElement("img");s.setAttribute("src",l),n&&s.setAttribute("alt",n),e.appendChild(s)}var c=i.querySelector("a[href*='/video/story/']");if(c&&c.getAttribute("href")){var u=document.createElement("p"),d=document.createElement("a");d.setAttribute("href",o(c.getAttribute("href"))),d.textContent=t(c.textContent||"Перейти к видео")||"Перейти к видео",u.appendChild(d),e.appendChild(u)}})(i,e,a),i.appendChild(T(n,document));var u=e.querySelector(".story__tags");u&&i.appendChild(T(u,document));return i}(r,e);return n?O(e,n,{title:h([".story__title","h1.title","h1"])||e.title,byline:h([".story__user-link",".user__nick","[data-story-username]"])||e.byline,minTextLength:60,rewriteRoot:function(e){pi(e,[".comments","#comments","[id^='comment_']",".story__footer",".story__tools",".story__left",".story__save",".story__share",".story__comments-link",".story-title-icons","[data-role='player-controls']","[class*='player-controls']","[class*='timeline']","[class*='player-btn']","[class*='recommend']","[class*='advert']","[data-adfox]","svg"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(00:\d{2}\s*\/\s*\d{2}:\d{2}|раскрыть \d+ комментар|ещё \d+|поделиться|сохранить)$/i.test(r)&&e.remove()});var r={};e.querySelectorAll("a[href]").forEach(function(e){var t=e.getAttribute("href")||"";r[t]&&e.remove(),r[t]=!0})},validateMarkdown:function(e){return!/\b\d+\s+час(?:а|ов)?\s+назад[\s\S]{0,240}\bраскрыть\s+ветку/i.test(e)},extra:{docsLike:!0}}):null}),registerHostAwareProfile(!0,function(e){if(!(q(/(^|\.)corriere\.it$/)||q(/(^|\.)gazzetta\.it$/)||q(/(^|\.)lastampa\.it$/))||L()||!Co())return null;var r=Co();return r?O(e,r,{title:qo(e,r),byline:h([".author-art .writer",".author-art",".byline","[rel='author']","[itemprop='author']"])||e.byline,minTextLength:300,rewriteRoot:function(e){pi(e,[".widget-audio-article",".box-audio",".article-audio",".sharebar",".share-bar",".social-share",".article-share",".adv",".adv__content",".advertising",".banner",".newsletter",".paywall",".piano",".trc_rbox",".taboola",".comment",".comments",".discussion",".scoreboard","[class*='scoreboard' i]","[class*='share' i]","[id*='share' i]","[data-mrf-recirculation]","[data-testid*='share' i]"].join(", ")),e.querySelectorAll("p, div, span, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>220||(/^(ascolta l'articolo|\d+\s*min|new|condividi|leggi anche|continua a leggere|pubblicit[àa]|abbonati|scegli corriere come fonte preferita)/i.test(r)&&e.remove(),/^(i\s*)?questo audio è generato in automatico/i.test(r)&&e.remove(),/^(portogallo|spagna)\d/i.test(r)&&e.remove())})}}):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)lemonde\.fr$/))return null;var r,n,o=document.querySelector("article.article__content")||document.querySelector(".article__content")||document.querySelector(".article-content")||document.querySelector("[itemprop='articleBody']");return o&&o.querySelector("p, figure, blockquote")?((r=document.querySelector("#js-modal-gifted-url, .article__gift-modal"),n=t(r&&r.textContent||""),/cet article vous est offert/i.test(n))&&oe(o,e,{minBodyTextLength:350,minParagraphCount:3,paragraphMinLength:60,removalSelectors:I.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall"]),textRemovalPattern:/cet article vous est offert|pour lire gratuitement cet article réservé aux abonnés|article réservé aux abonnés|la suite est réservée à nos abonnés/i,textRemovalMaxLength:260}),O(e,X(document.querySelector(".article__desc, .article__lead, .article__standfirst"),o),{title:h(["h1.article__title",".article__title","h1"])||e.title,byline:h([".article__author",".meta__author","[rel='author']"])||e.byline,minTextLength:250,cloneRoot:!1,rewriteRoot:function(e){pi(e,I.concat(["#js-modal-gifted-url",".article__gift-modal",".paywall",".js-paywall",".article__siblings",".article__reactions",".article__share",".meta__social",".services","[data-module*='newsletter' i]","[data-module*='recommend' i]"]).join(", ")),e.querySelectorAll("p, div, span, figcaption").forEach(function(e){var r=t(e.textContent||"");/^(article réservé aux abonnés|la suite est réservée|il vous reste \d+(?:[,.]\d+)?% de cet article à lire|se connecter|s’abonner|s'abonner)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!(q(/(^|\.)idnes\.cz$/)||q(/(^|\.)lidovky\.cz$/)||q(/(^|\.)blaze\.cz$/)||q(/^expats\.cz$/))||!_o()||!document.querySelector("h1.arttit, h1.title, .art-title, .article-title, h1"))return null;var r=_o();return r?(e.language="",O(e,r,{title:e.title||h(["h1.arttit","h1.title",".art-title",".article-title","h1"]),byline:h([".authors",".author",".art-info .author","[rel='author']"])||e.byline,minTextLength:450,postProcessMarkdown:function(e){var r=document.querySelector("#paywall, #promo-paywall, .paywall-before"),n=r&&E(r),o=t(n&&n.textContent);return o&&(e+="\n\nTento veřejný úryvek proto končí u nabídky Premium; další část bude dostupná pouze v iDNES Premium. Předplatné odemyká pokračování článku na iDNES.cz.\n\n"+o.slice(0,2200)),e},extra:function(){return{packagePage:!0}},rewriteRoot:function(e){pi(e,["#promo-premium-button",".social",".share",".sharing",".discussion",".comments",".gallery",".photogallery",".video",".advert",".advertising",".reklama",".ad",".m-ad",".js-ad",".art-media",".art-tools",".art-tags",".tag-list",".paywall-foot","#recombee-premium","[id^='AdTrack']","[class*='recommend' i]","[class*='related' i]"].join(", ")),e.querySelectorAll("p, div, span, a").forEach(function(e){var r=t(e.textContent||"");/^(diskuse|sdílet|fotogalerie|premium|přihlásit se)$/i.test(r)&&e.remove()})}})):null}),registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)folha\.uol\.com\.br$/)||!/\.shtml(?:$|[?#])/i.test(location.pathname||"")||!To())return null;var r=To();return r?(oe(r,e,{minBodyTextLength:900,minParagraphCount:3,paragraphMinLength:70,hardPaywallPattern:/(?:conte[uú]do exclusivo|exclusivo para assinantes|assine para continuar|continue lendo com|conte[uú]do para assinantes)/i,removalSelectors:I.concat(["[data-piano-offer]"]),structuredDataMode:"remove"}),O(e,r,{title:h(["main h1","article h1","h1"])||e.title,minTextLength:250,rewriteRoot:function(e){pi(e,[".c-more-options",".c-newsletter",".gallery-widget",".js-gallery-widget",".gallery-widget-share-container",".c-loading",".ads",".advertising","[class*='advertising']","[class*='newsletter']","[class*='share']","[data-ad-unit]"].join(", ")),e.querySelectorAll("p, div, span, li").forEach(function(e){var r=t(e.textContent||"");/^(carregando|compartilhe|voltar|ver novamente|copiar link|ícone (facebook|whatsapp|x|linkedin|de envelope|de link))$/i.test(r)&&e.remove()})}})):null});var Eo=pn;function jo(e,r){if(!q(/(^|\.)(komputerswiat\.pl|onet\.pl|medonet\.pl)$/)&&!q(/(^|\.)poradnikzdrowie\.pl$/))return null;var n=document.createElement("div"),o=h(["h1.article__title",".detail_title",".ods-m-labeled-h1__text","article h1","h1"])||e.title,i=document.querySelector(".ods-article-lead[data-section='article-lead']"),a=document.querySelector(".ods-article-lead .ods-a-lead, .article__lead, .detail_lead, .articleLead"),l=document.querySelector(".ods-m-inline-summary-container__list"),s=document.querySelector(".ods-article-body[data-section='article-body'], .article__body, .detail_body, div.articleContent, .cda_artblox"),c=d(["NewsArticle","Article","VideoObject"]),u=p(c&&c.articleBody),m=function(e){var r=t(e||""),n=r.match(/Poniżej streszczenie artykułu:\s*(?:Skrót przygotowany przez Onet Czat z AI, może zawierać błędy\.\s*)?(.+?)\s*Zapytaj o więcej Onet Czat z AI/i);return n?t(n[1]):""}(r);if(!(i||a||l||s||m||u))return null;var f=l?Array.prototype.map.call(l.querySelectorAll("li"),function(e){return t(e.textContent||"")}).filter(Boolean):[];if(a&&n.appendChild(T(a,document)),!a&&e.excerpt){var g=document.createElement("p");g.textContent=e.excerpt,n.appendChild(g)}if(s&&n.appendChild(T(s,document)),!s&&u){var y=document.createElement("p");y.textContent=u,n.appendChild(y)}var b=t(a&&a.textContent||e.excerpt||""),v=t(s&&s.textContent||u||""),w=[];o&&w.push("# "+o),f.length?w.push("## Streszczenie\n\n"+f.map(function(e){return"- "+e}).join("\n")):m&&w.push("## Streszczenie\n\n"+m),Lo(w,b),Lo(w,v);var x=Ei(w.filter(Boolean).join("\n\n")),S=t(x);return S.length<250?null:{title:o||e.title,byline:h([".ods-m-author-authorship__author-item a",".article__author",".detail_author","[rel='author']"])||e.byline,excerpt:b||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.innerHTML,markdown:x,textContent:S,readerMode:!1,contentType:"article",hostAware:!0,docsLike:!0}}function Lo(e,r){if(r=t(r||"")){var n=r.toLowerCase();e.some(function(e){return-1!==t(e).toLowerCase().indexOf(n)})||e.push(r)}}pn=function(e){return function(e){return V(e,{hostPattern:/(^|\.)(hatenablog\.com|hateblo\.jp|hatenablog\.net|hatenadiary\.com)$/i,bodySelectors:["article.entry .entry-content","article.entry .entry-body","article .entry-content",".entry-body",".entry-content"],titleSelectors:["h1.entry-title",".entry-title-link","article.entry h1","h1"],bylineSelectors:[".entry-footer .author a",".entry-footer .vcard a",".entry-header .author a"],minTextLength:180,removalSelectors:[".hatena-star-container",".hatena-star-star-container",".entry-footer",".entry-footer-section",".comment-box",".comment",".comments",".pager",".related-entries",".google-afc"]})}(e)||Eo(e)};var $o=an;function Po(e){return e&&(e.querySelector("div.se-main-container")||e.querySelector("#printpost")||e.querySelector("#postViewArea")||e.querySelector(".se_component_wrap")||e.querySelector(".post-view"))||null}function zo(e,r){for(var n=0;n<r.length;n++){var o=e.querySelector(r[n]),i=t(o&&o.textContent);if(i)return i}return""}function No(e,r){var n=e.querySelector("#container, #paddingLR12, main, body"),o=t(n&&n.textContent||"").slice(0,2e4),i=t([r&&r.title,e.title,(e.querySelector("h1")||{}).textContent].join(" ")),a=Ze({root:n,text:o,title:i});return/\b(?:code|act|statute|regulation|ordinance)\b/i.test(i)&&a.profileOfficialTextSignals&&/\b(?:section|article)\s*\d+[a-z]?\b/i.test(o)}function Ro(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mo(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function Bo(e){var r=t([e&&e.className,e&&e.getAttribute&&e.getAttribute("data-language"),e&&e.getAttribute&&e.getAttribute("data-testid"),e&&e.parentElement&&e.parentElement.className].join(" ")).toLowerCase();return/python|pycon/.test(r)?"python":/javascript|js\b/.test(r)?"javascript":/typescript|tsx|ts\b/.test(r)?"typescript":/json/.test(r)?"json":/yaml|yml/.test(r)?"yaml":/bash|shell|sh\b|curl/.test(r)?"bash":""}function Ho(e){return t(e).toLowerCase().replace(/\s+/g,"")}function Fo(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return null;if(/^(p|div|section|article|header|h[1-6]|li)$/i.test(e.tagName))return e;for(var t=0;t<e.children.length;t+=1){var r=Fo(e.children[t]);if(r)return r}return null}function Io(e){var r=function(e){for(var t=e.cloneNode(!0),r=Array.prototype.slice.call(t.children),n=1;n<r.length;n+=1){var o=Fo(r[n-1]),i=Fo(r[n]);if(o&&i){var a=Ho(o.textContent),l=Ho(i.textContent);a&&a===l&&i.remove()}}return t}(e),n=[];return Array.prototype.forEach.call(r.childNodes,function(e){var r=t(e.textContent);r&&n.push(r)}),n.length?n.join(" "):r.textContent}function Oo(e){var r=Array.prototype.map.call(e.querySelectorAll("thead th, thead td"),function(e){return t(e.textContent).toLowerCase()}),n=t((e.querySelector("caption")||{}).textContent).toLowerCase(),o=Array.prototype.slice.call(e.querySelectorAll("tbody tr"));if(!o.length)return null;if(e.querySelector("td[kind='field'][title], th[kind='field'][title]")){var i=o.map(function(e){for(var r=e.querySelector("td[kind='field'][title], th[kind='field'][title]"),n=e.querySelectorAll("th, td"),o=null,i=0;i<n.length;i+=1)if(n[i]!==r){o=n[i];break}if(!r||!o)return null;var a=t(r.getAttribute("title")||(r.querySelector(".property-name")||{}).textContent||r.textContent);if(!a)return null;var l=/\brequired\b/i.test(t(e.textContent)),s=[];Array.prototype.forEach.call(o.querySelectorAll(":scope > span, :scope > code, :scope > div, :scope > strong, :scope > em"),function(e){if(!e.querySelector("p, ul, ol, table, pre")){var r=t(e.textContent);r&&!/^required$/i.test(r)&&s.push(r)}});var c=Array.prototype.map.call(o.querySelectorAll("p, li"),function(e){return t(e.textContent)}).filter(Boolean).join(" "),u=[];s.length&&u.push(s.shift()),s.forEach(function(e){/^(Default:|Example:|Enum:)/i.test(e)?u.push(e):c?c+=" "+e:c=e}),l&&u.push("required");var d="- `"+a+"`";return u.length&&(d+=" ("+u.join("; ")+")"),c&&(d+=": "+c),d}).filter(Boolean);return i.length?i.join("\n"):null}if(1===r.length&&/name, type, description/.test(r[0])||/parameter/.test(n)){var a=o.map(function(e){return function(e){var r=e.querySelector("div > div")||e.firstElementChild||e,n=r.querySelector("code, strong, b"),o=t(n&&n.textContent);if(!o)return null;var i=Ne(r.textContent),a=t(i.replace(new RegExp("^"+Ro(o)),"")).replace(/\brequired\b/i,""),l=/\brequired\b/i.test(i),s=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return Ne(e.textContent)}).filter(Boolean).join(" ");s||(s=Ne(e.textContent).replace(new RegExp("^"+Ro(o)+"\\s*"+Ro(a)),"").trim());var c="- `"+o+"`";if(a||l){var u=[];a&&u.push(a),l&&u.push("required"),c+=" ("+u.join(", ")+")"}return s&&(c+=": "+s),c}(e.querySelector("td, th"))}).filter(Boolean);return a.length?a.join("\n"):null}if(r.length>=2&&/status code/.test(r[0])&&/description/.test(r[1])){var l=o.map(function(e){var r=e.querySelectorAll("th, td");if(r.length<2)return null;var n=t(r[0].textContent),o=Ne(r[1].textContent);return n&&o?"- `"+n+"`: "+o:null}).filter(Boolean);return l.length?l.join("\n"):null}return null}function Do(e,r){var n=Oo(e);if(n)return n;if(e.querySelector("table")&&!e.querySelector("th, caption"))return String(r||"").trim();var o=Array.prototype.map.call(e.querySelectorAll("tr"),function(e){return Array.prototype.map.call(e.querySelectorAll("th, td"),function(e){return t(Io(e)).replace(/\|/g,"\\|")})}).filter(function(e){return e.length>0});if(!o.length)return"";var i=o.reduce(function(e,t){return Math.max(e,t.length)},0),a=(o=o.map(function(e){for(;e.length<i;)e.push("");return e}))[0],l=a.map(function(){return"---"}),s=o.slice(1);return[a,l].concat(s).map(function(e){return"| "+e.join(" | ")+" |"}).join("\n")}function Uo(e){if("function"!=typeof TurndownService)return e;var r=document.createElement("div");r.innerHTML=e,hi(r),function(e){fe(e,"button, a, span, div",/^(copy|copy to clipboard)$/i),e.querySelectorAll("button.copybutton, [aria-label*='copy' i], [title*='copy to clipboard' i]").forEach(function(e){e.remove()}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("pre span[style], code span[style]").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))}),e.querySelectorAll("div.highlight, div[class*='CodeBlock'], div[class*='codeBlock'], div[class*='code-sample'], div[class*='CodeSample'], div[class*='snippet'], div.redoc-json, div[class*='redoc-json']").forEach(function(e){var t=e.querySelector("pre"),r=Mo((t||e).innerText||(t||e).textContent);if(r&&(t||/^(curl\b|[{[]|>>>|\$\s|GET\b|POST\b|PUT\b|PATCH\b|DELETE\b|HTTP\/|<\w)/m.test(r))){var n=document.createElement("pre"),o=document.createElement("code"),i=Bo(t||e);i||!e.matches(".redoc-json, [class*='redoc-json']")&&!/^[\[{]/.test(r)||(i="json"),o.textContent=r,i&&o.setAttribute("data-language",i),n.appendChild(o),e.replaceWith(n)}}),e.querySelectorAll("pre").forEach(function(e){var t=e.querySelector("code")||document.createElement("code"),r=t.getAttribute("data-language")||Bo(t)||Bo(e);t.textContent=Mo(t.textContent||e.textContent),r&&t.setAttribute("data-language",r),e.innerHTML="",e.appendChild(t)})}(r),function(e){for(var t=/^(P|H[1-6]|UL|OL|LI|TABLE|PRE|BLOCKQUOTE|HR|DL|FIGURE|DETAILS|SUMMARY|ARTICLE|SECTION|HEADER|FOOTER|NAV|ASIDE|MAIN|FORM|FIELDSET)$/,r=!0;r;)r=!1,e.querySelectorAll("div").forEach(function(e){if(e.parentNode){for(var n=!1,o=0;o<e.childNodes.length;o++){var i=e.childNodes[o];if(1===i.nodeType&&(t.test(i.nodeName)||"DIV"===i.nodeName)){n=!0;break}}if(n){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.remove(),r=!0}}})}(r);var n=new TurndownService({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",emDelimiter:"_"});n.addRule("tables",{filter:function(e){return"TABLE"===e.nodeName},replacement:function(e,t){return"\n\n"+Do(t,e)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=Mo(r?r.textContent:t.textContent);return n?function(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}(r&&r.getAttribute("data-language")||Bo(r||t),n):"\n\n"}}),n.addRule("images",{filter:function(e){return"IMG"===e.nodeName},replacement:function(e,r){var n=r.getAttribute("src")||r.getAttribute("data-src")||r.getAttribute("data-lazy-src")||"",i=t(r.getAttribute("alt")||"").replace(/[\[\]]/g,"");return n&&i?"!["+i+"]("+o(n)+")":""}}),n.addRule("legalCitationLinks",{filter:function(e){return"A"===e.nodeName&&function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||"");return!(!n||!r)&&(/govinfo\.gov\/link\/(?:uscode|plaw|statute)|ecfr\.gov\/current\/title-\d+/i.test(r)?/^(?:\d+\s+U\.?S\.?C\.?\s+)?[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n)||/^(?:Pub\.\s*L\.|Section\s+\d)/i.test(n):/^(?:\d+\s+U\.?S\.?C\.?\s+)[\dA-Za-z][\dA-Za-z.\-(),\s]*(?:\s+(?:note|nt\.?))?[,]?$/.test(n))}(e)},replacement:function(e,r){var n=r.getAttribute("href")||"",i=t(r.textContent||"").replace(/\s+([,;:.])/g,"$1").replace(/\s+-\s+/g,"-");return n&&i?"["+i.replace(/[\\[\]]/g,"")+"]("+o(n)+")":i}}),n.addRule("paragraphLikeDivs",{filter:function(e){if("DIV"!==e.nodeName)return!1;var r=t(e.textContent);return!(!r||r.length<20)&&0===e.querySelectorAll("div, p, table, ul, ol, h1, h2, h3, h4, h5, h6, pre, blockquote, article, section").length},replacement:function(e){return t(e)?"\n\n"+e.trim()+"\n\n":""}}),n.addRule("stripStyledInlineElements",{filter:function(e){if(1!==e.nodeType)return!1;var t=e.nodeName;return"FONT"===t||("A"===t||"SPAN"===t||"B"===t||"I"===t||"U"===t||"EM"===t||"STRONG"===t||"MARK"===t)&&!!e.getAttribute("style")},replacement:function(e){return e}});var i=n.turndown(r).replace(/\n{3,}/g,"\n\n").trim();return(i=i.replace(/(```[\s\S]*?```|`[^`\n]+`)|<\/?[a-z][^>]*>/gi,function(e,t){return t||""})).replace(/\n{3,}/g,"\n\n").trim()}function Wo(e){return e.join("|")}function Zo(e,t){return new RegExp("^(?:"+Wo(e)+")$",t||"i")}function Vo(e,t,r){return new RegExp("^\\s*(?:"+Wo(e)+")"+(t||"")+"\\s*$",r||"gmi")}function Go(e){return e.map(function(e){return new RegExp("^\\s*(?:"+e+")\\b.*$","gmi")})}an=function(e){return jo(e,j())||$o(e)},registerHostAwareProfile(!0,function(e){if(!q(/(^|\.)blog\.naver\.com$/))return null;var t=function(){var e=document.querySelector("iframe#mainFrame, iframe[name='mainFrame']");if(!e)return null;try{var t=e.contentDocument||e.contentWindow&&e.contentWindow.document||null;if(Po(t))return t;var r=e.getAttribute("srcdoc");return r?(new DOMParser).parseFromString(r,"text/html"):t}catch(e){return null}}()||document,r=Po(t);return r?le(e,r,{title:zo(t,[".se-module.se-module-text.se-title-text",".se-title-text span",".se-title .se-title-text",".se-title","h3.se_textarea_title",".pcol1.itemSubjectBoldfont",".htitle","h1"])||e.title,byline:zo(t,[".nick",".blog_author",".writer",".se_publishDate + .nick"]),minTextLength:120,rewriteRoot:function(e){e.querySelectorAll(".post_btn, .post_footer_contents, .comment, .u_likeit_module, .wrap_tag, .post_tag, .se-module-oglink, .se-sticker, .se-map, script, style").forEach(function(e){e.remove()})}}):null});var Ko,Jo="(?:outbrain|taboola|zemanta|revcontent|mgid|content\\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\\.(?:com|net|co|io)",Xo="nav, aside, footer, script, style, noscript, template",Yo=Xo+", .sidebar, .toc, .pagination, .edit-link, .theme-toggle",Qo=Xo+", .breadcrumb, .site-header, .site-footer, .region-sidebar",ei="[class*='related-posts'], [class*='related_posts'], [id*='related-posts'], [id*='related_posts'], .yarpp-related, [class*='recommended-posts'], [class*='more-stories'], [class*='also-like'], [class*='you-may-also'], .jp-relatedposts, [class*='more-from'], [class*='more_from'], [class*='latest-news'], [class*='latest_news'], [class*='trending'], [class*='popular-posts'], [class*='popular_posts'], [class*='related-articles'], [class*='related_articles'], [id*='related-articles'], [id*='related_articles'], [class*='related-links'], [class*='related_links'], [class*='further-reading'], [class*='further_reading']",ti=Zo(["report this article","\\+?\\s*follow","sign in","sign up","join now","show more","show less","log in","create account","create an account","subscribe to read","inloggen","iniciar sessão","entrar","prijavi se","пријави се","log masuk","maak een account","criar conta","registreer","cadastre-se","přihlásit se","logga in","log ind","logg inn","inicia sessió","iniciar sessió","giriş yap","შესვლა","පිවිසෙන්න","daxil ol","zaloguj się","zarejestruj się","zaloguj","załóż konto","moje konto","dołącz do nas","zobacz więcej","czytaj więcej","czytaj dalej","pokaż więcej","zwiń","rozwiń"],"i"),ri=(Ko="i",new RegExp("^(?:"+Wo(["skip ad","continue watching","visit advertiser website","go to page","advertisement \\d+\\/\\d+","advertisement","close ad","skip this ad","skip in \\d+","ad \\d+ of \\d+","sponsored","sponsor","reklama","materiał sponsorowany","materiał promocyjny","materiał partnerski","autopromocja","ad$","Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"])+")",Ko||"i")),ni=/^(like|dislike|share|save|bookmark|pin it|tweet|follow us|subscribe|subscribe now|sign up|view all|show more comments?|load more|report|flag|print|copy link|copy url|edit|delete|reply|retweet|repost|reblog|thanks for your feedback!?)$/,oi=Zo(["join (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","follow (?:us )?on (?:telegram|whatsapp|instagram|facebook|youtube|twitter|x|viber)","join (?:our )?(?:telegram|whatsapp|viber) (?:group|channel)","download (?:our|the) app","get (?:our|the) app","install (?:our|the) app","डाउनलोड करें","ऐप डाउनलोड","टेलीग्राम","व्हाट्सएप ग्रुप","হোয়াটসঅ্যাপ","টেলিগ্রাম","(?:become|be) a (?:member|subscriber|patron)","subscribe (?:now|today|here)","sign up (?:for|to) (?:our )?(?:newsletter|updates|emails?)","get started for free","サブスクライブ","구독하기","підписуйтесь на наш","приєднуйтесь до нас","підписатися на телеграм","підписатися на канал","ακολουθήστε μας","εγγραφείτε","ikuti kami di","gabung (?:di )?(?:telegram|whatsapp)","berlangganan","ติดตาม(?:เรา)?(?:ที่|ใน|ได้ที่)","theo dõi chúng tôi","volg ons","schrijf je in","abonneer","meld je aan","пратите нас","пријавите се","претплатите се","pratite nas","prijavite se","pretplatite se","ikut(?:i)? kami","langgan","inscreva-se","siga-nos","assine","sledujte nás","odebírejte","přihlaste se k odběru","připojte se","följ oss","prenumerera","registrera dig","følg os","abonner","tilmeld dig","følg oss","abonner på","meld deg på","registrer deg","subscriu-te","fes-te subscriptor","fes-te'n subscriptor","გამოიწერეთ","შემოგვიერთდით","მოგვყევით","අපව අනුගමනය කරන්න","bizə qoşulun","abunə olun","bizi izləyin","subskrybuj","zasubskrybuj","zapisz się na newsletter","dołącz do nas","obserwuj nas","śledź nas"],"i"),ii="[class*='app-download'], [class*='app_download'], [class*='download-app'], [class*='download_app'], [class*='app-banner'], [class*='app_banner'], [class*='app-install'], [class*='app_install'], [class*='install-app'], [class*='install_app'], [class*='mobile-app'], [class*='mobile_app'], [class*='open-in-app'], [class*='open_in_app'], [class*='app-promo'], [class*='app_promo'], [class*='amp-banner'], [class*='amp_banner'], [class*='amp-promo'], [class*='amp_promo'], [class*='subscribe-cta'], [class*='subscribe_cta'], [class*='newsletter-signup'], [class*='newsletter_signup'], [class*='push-notification'], [class*='push_notification'], [class*='telegram-cta'], [class*='whatsapp-cta']",ai="[class*='share'], [class*='social'], [class*='rating'], [class*='vote'], [class*='like-button'], [class*='dislike'], [data-testid*='share'], [data-testid*='like'], [class*='ad-overlay'], [class*='ad_overlay'], [class*='video-ad'], [class*='adWrapper'], [class*='ad-wrapper'], [class*='ad-container'], [id*='ad-overlay'], [id*='ad_overlay'], [class*='announcement-bar'], [class*='global-alert'], [id*='announcement-bar']",li="[class*='taboola'], [id*='taboola'], [class*='outbrain'], [id*='outbrain'], [data-widget-type*='taboola'], [data-widget-type*='outbrain'], [class*='promoted-content'], [class*='promoted_content'], [id*='promoted-content'], [class*='sponsored-content'], [class*='sponsored_content'], [class*='mgid'], [id*='mgid'], [class*='zergnet'], [id*='zergnet'], [class*='revcontent'], [id*='revcontent']",si=new RegExp("(?:^|[-_\\s])(ad|ads|advert|advertisement|promo|promoted|sponsor|sponsored|subscription|subscribe|subscriber|paywall|upsell|marketing|newsletter|cta)(?:[-_\\s]|$)","i"),ci=new RegExp("\\b(save\\s+\\d+%|subscribe\\s+(?:now|today)|subscription|subscriber|sign\\s+up\\s+for|get\\s+started\\s+for\\s+free|limited\\s+time\\s+offer|annual\\s+subscriptions?|trusted\\s+destination\\s+for)\\b","i"),ui=new RegExp("(?:\\/|[-_])(ad|ads|advert|promo|sponsor|sponsored|subscription|subscribe|marketing|upsell)(?:\\/|[-_.?]|$)","i"),di=Zo(["related\\s*(articles?|stories|news|posts|content|links)?","more\\s*(from|in|stories|articles?|news)","see\\s*also","you\\s*may\\s*(also\\s*)?like","recommended","trending","popular","latest\\s*news","other\\s*news","also\\s*read","read\\s*more\\s*:?","further\\s*reading","references","citations","metrics","altmetric","więcej\\s*(z\\s*tej\\s*kategorii|artykułów|wiadomości|na\\s*ten\\s*temat)","zobacz\\s*również","polecamy","czytaj\\s*również","inne\\s*wiadomości","повезано","погледајте","сродне\\s*вијести","слично","такође\\s*прочитајте","още\\s*от","виж\\s*също","свързани\\s*новини","más\\s*de","noticias\\s*relacionadas","ver\\s*también","plus\\s*de","à\\s*lire\\s*aussi","lire\\s*aussi","sur\\s*le\\s*même\\s*sujet","mehr\\s*aus","lesen\\s*sie\\s*auch","das\\s*könnte\\s*sie\\s*auch\\s*interessieren","altre\\s*notizie","leggi\\s*anche","ook\\s*interessant","lees\\s*ook","läs\\s*också","relateret","relaterte\\s*saker","les\\s*også","aiheeseen\\s*liittyvät","lue\\s*myös","ilgili\\s*haberler","daha\\s*fazla","saistītie","susijusios\\s*naujienos","поврзано","citește\\s*și","articole\\s*similare","також\\s*читайте","схожі\\s*новини","σχετικά\\s*νέα","διαβάστε\\s*επίσης","関連記事","関連ニュース","おすすめ","あわせて読みたい","続きを読む","更多相关新闻","相关新闻","相关阅读","延伸阅读","관련\\s*기사","함께\\s*읽기","اقرأ\\s*أيض[اً]ا","إقرأ\\s*أيض[اً]ا","مواضيع\\s*ذات\\s*صلة","أخبار\\s*ذات\\s*صلة","مطالب\\s*مرتبط","مطالب\\s*ذات\\s*صلة","مرتبط","עוד\\s*כתבות","כתבות\\s*נוספות","संबंधित\\s*(?:खबरें|लेख)","और\\s*पढ़ें","আরও\\s*পড়ুন","সম্পর্কিত\\s*খবর","อ่านเพิ่มเติม","ข่าวที่เกี่ยวข้อง","tin\\s*liên\\s*quan","đọc\\s*thêm","baca\\s*juga","berita\\s*terkait"],"i"),mi=Zo(["za ogled potrebujemo tvojo privolitev(?: za vstavljanje vsebin družbenih omrežij in tretjih ponudnikov\\.?)?","omogoči piškotke","cookie manager","your cookie preferences","got it!","let us know your cookie preferences","we value your privacy","manage choices","privacy settings","polityka prywatności i cookies","nie widzisz nawet do 30% treści dostępnych w serwisie","data preferences(?:\\s*[\\/|]\\s*|\\s+)manage your data","data preferences","manage your data","manage (?:privacy|cookie|consent|data) preferences","privacy preference center","your privacy settings","your privacy choices","veri tercihleri","nastavení souhlasu","souhlas s personalizací","เว็บไซต์นี้ใช้คุ้กกี้"],"i");function pi(e,t){return e&&t?(e.querySelectorAll(t).forEach(function(e){e.remove()}),e):e}function hi(e){return R(e),function(e){e&&e.querySelectorAll&&e.querySelectorAll("p, div, span, section, aside, figcaption, li, a, button").forEach(function(e){var r=t(e.textContent||"");!r||r.length>250||mi.test(r)&&e.remove()})}(e),e.querySelectorAll("#comments, #respond, .comments-area, .comment-list, .comments-section, #disqus_thread, .disqus-comment-count, [class*='comment-respond'], .wp-block-comments, .post-comments").forEach(function(e){e.remove()}),e.querySelectorAll(ei).forEach(function(e){e.remove()}),bi(e),e.querySelectorAll("section, div, aside, form, table, ul").forEach(function(e){(function(e){if(!e||1!==e.nodeType)return!1;if(t(e.textContent||"").length>1e3&&e.querySelectorAll("p, h1, h2, h3, h4, h5, h6").length>=2)return!1;var r=t((e.querySelector("h2, h3, h4, h5, h6, strong, b")||{}).textContent||"");if(!r){var n=t((e.firstElementChild||e).textContent||"");n.length<=40&&(r=n)}return!!H(r)&&e.querySelectorAll("a[href], li, tr").length>=3})(e)&&e.remove()}),function(e){e.querySelectorAll("aside, section, div, figure, picture").forEach(function(e){if(!e.matches("main, article, [role='main']")&&!e.querySelector("article, main, [role='main']")){var r=t(e.textContent||""),n=r.toLowerCase(),o=[e.className||"",e.id||"",e.getAttribute("data-testid")||"",e.getAttribute("data-test")||"",e.getAttribute("aria-label")||""].join(" ").toLowerCase(),i=Array.prototype.map.call(e.querySelectorAll("img, source"),function(e){return(e.getAttribute("src")||e.getAttribute("srcset")||"").toLowerCase()}).join(" "),a=si.test(o),l=ci.test(n),s=ui.test(i);((a||s)&&(r.length<900||l)||l&&s&&r.length<1200)&&e.remove()}})}(e),e.querySelectorAll('a[href^="#"]').forEach(function(e){var r=t(e.textContent),n=(e.className||"").toString();r&&!/anchor|heading/i.test(n)||e.remove(),/^skip\s+(to\s+)?(main\s+)?/i.test(r)&&e.remove(),/^(تخطى|تجاوز|דלג)\s/i.test(r)&&e.remove(),/^(μετάβαση στο |παράλειψη |перейти до |пропустити |bỏ qua |ข้ามไปยัง|lewati |langsung ke )/i.test(r)&&e.remove(),/^(ga naar |doorgaan naar |overslaan|spring naar |прескочи |пређи на |langkau |ir para |pular para |saltar )/i.test(r)&&e.remove(),/^(přejít na |přeskočit |gå til |spring over |hoppa till |gå vidare |pumunta sa |laktawan |hopp over |gå til innhold|anar a |saltar a )/i.test(r)&&e.remove(),/^(przejdź do |pomiń )/i.test(r)&&e.remove()}),e.querySelectorAll("a, button").forEach(function(e){var r=t(e.textContent).toLowerCase();ti.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();ri.test(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("p, div").forEach(function(e){(function(e){if(!e)return!1;var r=t(e.textContent);if(r.length>200)return!1;var n=e.querySelectorAll("img").length,o=e.querySelectorAll("a").length,i=t(Array.prototype.map.call(e.querySelectorAll("img[alt]"),function(e){return e.getAttribute("alt")||""}).join(" ")).toLowerCase();return n>=1&&o>=1&&(r.length<=24||/\b(status|badge|build|coverage|workflow|ci)\b/.test(i))})(e)&&e.remove()}),e.querySelectorAll("p, div, li, span, strong, button").forEach(function(e){var r,n;(M(e.textContent)||(r=e.textContent,"video player is loading."===(n=t(r||"").toLowerCase())||"videosoitin"===n||"play video"===n||"playback speed"===n||/^playback speed \d/.test(n)||/^this is a modal window\./.test(n)||/^beginning of dialog window\./.test(n)||/^end of dialog window\./.test(n)||/^current time\s+\d/.test(n)||/^remaining time\s/.test(n)||/^duration\s/.test(n)||/^loaded:\s*\d/.test(n)||/^progress:\s*\d/.test(n)||/^fullscreen$/i.test(n)||/^mute$/i.test(n)||/^unmute$/i.test(n)))&&e.remove()}),e.querySelectorAll("svg, .octicon").forEach(function(e){e.remove()}),e.querySelectorAll(".anchor, .heading-link, .header-anchor").forEach(function(e){var r=t(e.textContent);e.closest("h1, h2, h3, h4, h5, h6")&&r.length>=8?e.replaceWith(document.createTextNode(r)):e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(!(n=t(r||""))||n.length>1200||n.length<12)&&/\b(document\.(body|getElementById|querySelector|createElement|cookie|write)|window\.(location|addEventListener|dataLayer|gtag|ga\()|function\s*\(|var\s+\w+\s*=\s*|\.push\s*\(\s*function|\.classList\.(add|remove|toggle)|\.style\.\w+\s*=|\.innerHTML\s*=|\.setAttribute\s*\(|addEventListener\s*\(|\.insertBefore\s*\(|\.appendChild\s*\(|\.parentNode\s*\.|new\s+(Date|Array|Object|RegExp|Map|Set)\s*\(|typeof\s+\w+\s*[!=]==?\s*|===?\s*['"]undefined['"]|console\.(log|warn|error)|setTimeout\s*\(|setInterval\s*\(|JSON\.(parse|stringify)|Promise\.(resolve|reject|all)|Object\.(keys|values|assign|defineProperty)|Array\.(isArray|from|prototype)|return\s+(true|false|null|void|this)\b|if\s*\([^)]*\)\s*\{|try\s*\{|catch\s*\(\w+\)\s*\{|throw\s+new\s+\w+)/.test(n)&&(n.match(/[{};()=]|function\s|var\s|const\s|let\s|return\s|\.push\(|\.call\(|\.apply\(|=>|===?|!==?|&&|\|\|/g)||[]).length>=3&&!e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")&&e.remove()}),e.querySelectorAll("p, div, span, li, td").forEach(function(e){var r,n;r=e.textContent,!(n=t(r||""))||n.length<40||!/\bdebug info:|fetchCache\[|\.expirationTime:|cache key:/i.test(n)||e.querySelector("p, h1, h2, h3, h4, h5, h6, ul, ol, table, blockquote, pre, article")||e.remove()}),fi(e),gi(e),yi(e),vi(e),e}function fi(e){return e.querySelectorAll("img").forEach(function(e){var t=parseInt(e.getAttribute("width")||"",10),r=parseInt(e.getAttribute("height")||"",10),n=(e.getAttribute("src")||"").toLowerCase();t<=2&&r<=2||0===t||0===r?e.remove():(/\/(pixel|beacon|track|rt)\.(gif|png|jpg)|\/pixel\?|\/beacon\?|1x1\.|spacer\.|transparent\.|blank\.(gif|png)|\/tr\?|\.gif\?.*utm_|__utm\.gif|\/pixel\.php/i.test(n)&&e.remove(),/^data:image\/(svg\+xml|png|gif|jpeg);base64,/.test(n)&&n.length<300&&e.remove())}),e}function gi(e){return e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src"),r=e.getAttribute("data-lazy-src")||e.getAttribute("data-src")||e.getAttribute("data-original")||e.getAttribute("data-lazy");!r||t&&!/^data:image\//i.test(t)||e.setAttribute("src",o(r))}),e}function yi(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();ni.test(r)&&n(e)<60&&e.remove(),B(r)&&n(e)<80&&e.remove()}),e.querySelectorAll("a, button, div, p, span, li").forEach(function(e){var r=t(e.textContent).toLowerCase();n(e)>200||oi.test(r)&&e.remove()}),e.querySelectorAll(ii).forEach(function(e){n(e)<300&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=(e.getAttribute("alt")||"").toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();/^close$/.test(t)&&/(close|cross|dismiss|x-icon)/i.test(r)&&e.remove()}),e.querySelectorAll(ai).forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll(li).forEach(function(e){e.remove()}),e.querySelectorAll("[class*='comment-count'], [class*='comment_count'], [class*='comments-count'], [class*='commentCount'], [class*='komentari'], [data-type='comment-count']").forEach(function(e){n(e)<30&&e.remove()}),e.querySelectorAll("img").forEach(function(e){var t=e.getAttribute("src")||"";/maps\.wikimedia\.org\/osm|\/osm-intl\/\d+\/|tile\.openstreetmap\.org|maps\.wikimedia\.org\/v4\/marker/i.test(t)&&e.remove()}),e.querySelectorAll("a, button, div, span").forEach(function(e){var r=t(e.textContent).toLowerCase(),o=(e.getAttribute("title")||"").toLowerCase();(/^(zoom in|zoom out|show in full screen|layers|leaflet|maplibre)$/.test(r)&&n(e)<40||/^(zoom in|zoom out)$/.test(o)&&n(e)<10)&&e.remove()}),e.querySelectorAll("[class*='leaflet-'], [class*='maplibre-'], [class*='map-container'], [class*='kartographer']").forEach(function(e){n(e)<200&&e.remove()}),e}function bi(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&di.test(r)&&e.parentElement){for(var n=[],o=e.nextElementSibling;o;){var i=o.tagName;if(/^H[1-4]$/.test(i)&&!di.test(t(o.textContent||"").trim()))break;n.push(o),o=o.nextElementSibling}var a=0,l=0;n.forEach(function(e){a+=(e.matches&&e.matches("a[href]")?1:0)+(e.querySelectorAll?e.querySelectorAll("a[href]").length:0),l+=t(e.textContent||"").length}),a>=2&&(l<1500||a>=4)&&(e.remove(),n.forEach(function(e){e.remove()}))}}),e.querySelectorAll("div, section, aside").forEach(function(e){if(e.closest("article, main, [role='main']")){var r=t(e.textContent||"").trim();if(r&&di.test(r.slice(0,120)))e.querySelectorAll("a[href]").length>=2&&r.length<5e3&&e.remove()}})}function vi(e){return e.querySelectorAll("[role='navigation'], [role='menubar'], [role='menu'], [role='toolbar'], [role='complementary'], [role='banner'], [role='contentinfo'], [aria-label*='navigation' i], [aria-label*='menu' i], [aria-label*='breadcrumb' i], [aria-label*='sidebar' i]").forEach(function(e){e.remove()}),e.querySelectorAll("header").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");r>=4&&n.length<800&&e.remove()}),e.querySelectorAll("[class*='sidebar'], [class*='side-nav'], [class*='sidenav'], [class*='left-rail'], [class*='right-rail'], [class*='article-drawer'], [class*='toc-drawer'], [class*='table-of-contents'], [class*='mobile-menu'], [class*='mobile-nav'], [class*='hamburger-menu'], [class*='toc']").forEach(function(e){var r=e.querySelectorAll("a[href]").length,n=t(e.textContent||"");if(r>=3&&!e.querySelector("article, main, [role='main'], pre, blockquote, table"))e.remove();else if(r>=3&&n.length<1200){var o=n.split(/\s+/).length;o>0&&r/o>.3&&e.remove()}}),e.querySelectorAll("div, section, ul").forEach(function(e){if(!e.closest("article, main, [role='main']")||!e.matches("article *, main *, [role='main'] *")){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,o=r.split(/\s+/).length;n>=6&&o>0&&n/o>.5&&r.length<600&&!e.querySelector("article, main, [role='main'], p, h1, h2, h3, blockquote, pre, table")&&e.remove()}}),e}var wi=Vo(["Реклама","Рекламний блок","Рекламний матеріал","Διαφήμιση","Iklan","Quảng cáo","โฆษณา","Sponsorlu","Reklama?","Advertentie","Реклама","Оглас","Publicidade","Anúncio","Annons","Annonce","Reklame","Annonsørinnhold","Kommersielt innhold","Contingut patrocinat"],"\\s*:?"),xi=Vo(["(?:Join|Follow)\\s+(?:us\\s+)?on\\s+(?:Telegram|WhatsApp|Instagram|Facebook|YouTube|Twitter|X)","(?:Join|Follow)\\s+(?:our\\s+)?(?:Telegram|WhatsApp)\\s+(?:Group|Channel)","(?:Download|Get|Install)\\s+(?:our|the)\\s+(?:App|Mobile App)"]),Si=Go(["Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі)","Ακολουθήστε μας|Εγγραφείτε","Ikuti kami di|Gabung (?:di )?(?:Telegram|WhatsApp)|Berlangganan","Theo dõi chúng tôi","Volg ons|Schrijf je in|Abonneer je|Meld je aan voor","Пратите нас|Претплатите се|Пријавите се|Pratite nas|Pretplatite se|Prijavite se","Ikuti kami|Langgan(?:i)?|Sertai (?:kami|saluran)","Siga-nos|Inscreva-se|Assine|Acompanhe-nos","Sledujte nás|Odebírejte|Přihlaste se k odběru|Připojte se","Följ oss|Prenumerera|Registrera dig","Følg os|Abonner|Tilmeld dig","Følg oss|Abonner på|Meld deg på|Registrer deg","Subscriu-te|Fer-se subscriptor|Si ets subscriptor|Suma't a|Quins són els avantatges|Fes-te subscriptor|Fes-te'n subscriptor","გამოიწერეთ|შემოგვიერთდით|მოგვყევით","වැඩි විස්තර කියවන්න|අපව අනුගමනය කරන්න","Bizə qoşulun|Abunə olun|Bizi izləyin"]),ki=Go(["Subskrybuj|Zasubskrybuj|Zapisz się na newsletter|Dołącz do nas|Obserwuj nas|Śledź nas","Dziękujemy,?\\s*że\\s*przeczytała?(?:ś|ś\\/eś|eś)?","Bądź na bieżąco","Obserwuj nas w Google","Dalszy ciąg (?:artykułu|materiału) (?:pod |poniżej )?(?:materiałem wideo|wideo|galerią|zdjęciem)","Sprawdź,?\\s*gdzie kupisz","Materiał (?:sponsorowany|promocyjny|partnerski)"]).concat(function(e){return e.map(function(e){return Vo([e])})}(["Zobacz więcej|Czytaj więcej|Czytaj dalej|Pokaż więcej|Więcej informacji","Zaloguj się|Zarejestruj się|Zaloguj|Załóż konto|Moje konto","Udostępnij|Skomentuj|Komentarze\\s*\\d*|Dodaj komentarz|Napisz komentarz","Autopromocja"])),Ai=Vo(["Met een account kan je","Log in of maak een account","Acesse seus artigos salvos","Uma só conta para todos","Maak een account aan","Cadastre-se","Faça login","Faça seu login","Crie sua conta","Meld je aan","Inloggen","Entrar na sua conta","Sign in to save","Create an account","Log in to continue","Log in","Sign in","Create account","Subscribe to read","Daftar atau masuk","Giriş yap","Logg inn","Opprett konto","For å kunne lagre","Inicia sessió","Crea un compte","Registra't","පිවිසෙන්න","ගිණුමක් සාදන්න","Daxil ol","Hesab yaradın"],"\\b.*"),qi=new RegExp("\\[([^\\]]*)\\]\\(https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Jo+"\\/[^)]*\\)","gi"),Ci=new RegExp("^\\s*https?:\\/\\/(?:[a-z0-9-]+\\.)*"+Jo+"\\b[^\\n]*$","gmi"),_i=[/Was (?:this )?(?:summary |article |page )?helpful\?\s+Thank you\s+(?:for\s+)?feedback/i,/Trusted by Consumers\.\s+Recognized by AI\./i,/(?:^|\n|\s{2,})(?:AI[-\s]generated summary|AI summary|Related content|Related articles|You May Also Like|Need (?:to )?Find (?:an? )?Attorney\?|For Legal Professionals|Get updates|Subscribe to read|Create account|Sign in)\b/i];function Ti(e,t){var r=e;return t.forEach(function(e){r=r.replace(e,"")}),r}function Ei(e){var r=(e||"").replace(/Your browser doesn't support HTML5 audio\s*/g,"").replace(/^\s*[-*]\s*$/gm,"").replace(/<iframe\b[^>]*>?(?:<\/iframe>)?/gi,"").replace(/<iframe\b[^\n]*/gi,"").replace(/document\s*\.\s*body\s*\.\s*classList\s*\.\s*add\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*cmd\s*\.\s*push\s*\([^)]*\)\s*;?/g,"").replace(/\biaw\s*\.\s*display\s*\([^)]*\)\s*;?\s*\}\s*\)\s*;?/g,"").replace(/^\s*(?:var|let|const)\s+\w+\s*=\s*[^;]+;\s*$/gm,"").replace(/\bSkip Ad\b/g,"").replace(/\bContinue watching\s*(?:after the ad)?/gi,"").replace(/Visit Advertiser website/gi,"").replace(/\bExplore\b[^\n]{0,120}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\bExplore\b[^\n]{0,100}\bSUBSCRIBE\b/gi,"").replace(/\bExplore\s+[A-Z][A-Za-z0-9 .!&-]{0,80}\d+%\s+SUBSCRIBE\b/gi,"").replace(/\bExplore\s+(?:[A-Z][A-Za-z0-9&.-]+\s+)?\d+%\s+SUBSCRIBE\b/gi,"").replace(/\b\d+%[^\n]{0,60}S\W*U\W*B\W*S\W*C\W*R\W*I\W*B\W*E\b/gi,"").replace(/\b\d+%\s+SUBSCRIBE\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{1,60}\s+AIchevron_right[A-Z][A-Za-z0-9 .&-]{0,80}\b/g,"").replace(/\b[A-Z][A-Za-z0-9 .&-]{0,60}\s+AI(?:chevron_right)?\s*AI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/g,"").replace(/\bAI-generated answers? from [^.\n]{0,180}\.\s*AI makes mistakes,?\s*so verify(?: using| with)? [^.\n]{0,160}\.?/gi,"").replace(/,?\s*so verify(?: using| with)? [A-Z][A-Za-z0-9 .&-]{0,80} articles\.?/g,"").replace(/GO TO PAGE\.?/g,"").replace(/^\s*#{1,6}\s*$/gm,"").replace(/\bAdvertisement\s+\d+\/\d+\b/gi,"").replace(/^\s*Advertisement\s*$/gim,"").replace(wi,"").replace(/Definition Source\s+All sources\s+\w+/gi,"").replace(/^.*\bdebug info:.*(?:\n.*(?:fetchCache|expirationTime|cache key|seconds remaining|All fetchCache).*)*$/gim,"").replace(/!\[close\]\([^)]*(?:close|cross)[^)]*\)/gi,"").replace(/^\s*#\s*Tags?\s*$/gim,"").replace(/^\s*Comments?\s*\d*\s*$/gim,"").replace(/^\s*Leave a Reply\s*(?:Cancel reply)?\s*$/gim,"").replace(/^\s*Loading comments\.*\s*$/gim,"").replace(/Current Time\s+\d+:\d+\s*/gi,"").replace(/Duration\s+[-\\]?:?[-\\]?\s*/gi,"").replace(/Remaining Time\s+-?\d+:\d+\s*/gi,"").replace(/Loaded:\s*\d+%?\s*/gi,"").replace(/Progress:\s*\d+%?\s*/gi,"").replace(/^\s*Volume\s+\d+%\s*$/gim,"").replace(/^\s*Rewind\s+\d+\s+Seconds\s*$/gim,"").replace(/^\s*Chromecast\s*$/gim,"").replace(/^\s*Closed Captions\s*$/gim,"").replace(/^\s*Settings\s*$/gim,"").replace(/^\s*Fullscreen\s*$/gim,"").replace(/^\s*Learn More\s*$/gim,"").replace(/^\s*This website uses cookies\..*$/gim,"").replace(/^\s*By accepting cookies.*$/gim,"").replace(/^\s*Cookie declaration last updated.*$/gim,"").replace(/^\s*Consent ID:.*$/gim,"").replace(/^\s*Change your consent.*$/gim,"").replace(/^\s*Your current state:.*$/gim,"").replace(/^\s*(?:Necessary|Preference|Statistics|Marketing)\s*\(\d+\)\s*$/gim,"").replace(/^\s*Video Player is loading\.\s*$/gim,"").replace(/^\s*Play Video\s*$/gim,"").replace(/^\s*Playback Speed\s*$/gim,"").replace(xi,"").replace(/^\s*(?:Skip to main content|Skip to content|View on GitHub|Report a problem with this content|Copy item path|Open menu|Open Sidebar|Search or ask Copilot|API preferences|JavaScriptTypeScript|TypeScriptJavaScript)\s*$/gim,"").replace(/^\s*\/\s*$/gm,"").replace(/^\s*\*\s+\*\s+\*\s*$/gm,"").replace(/^\s*(?:show sidebar|hide sidebar|toggle sidebar|show attributes?|hide attributes?|show child attributes?|hide child attributes?)\s*$/gim,"").replace(/\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s+(?:Hide|Show)\s+(?:child\s+)?attributes?\s*$/gm,"").replace(/Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"").replace(/!\[]\([^)]+\)\s*/g,"").replace(/\[]\([^)]+\)\s*/g,"").replace(/!\[[^\]]*\]\(data:image\/(?:png|gif|jpe?g|webp);base64,[A-Za-z0-9+/=]{500,}\)\s*/gi,"").replace(/^\s*([-*])\s+\[(?:!\[[^\]]*\]\([^)]+\)\s*)?\n+\s*#{1,6}\s*([^\n]+)\n+\s*\]\(([^)]+)\)/gm,"$1 [$2]($3)").replace(/^(\s*[-*]\s*)!#{1,6}\s*/gm,"$1").replace(/^(\s*[-*]\s*)#{1,6}\s*/gm,"$1").replace(/^\s*\[\s*\n+\s*(#{1,6})\s+([^\n]+)\n+\s*\]\((https?:\/\/[^)]+)\)\s*$/gm,"$1 [$2]($3)").replace(/^\s*\]\((https?:\/\/[^)]+)\)\[\s*\n+\s*([^\n\[\]#][^\n]*)\n+\s*\]\(\1\)\s*$/gm,"[$2]($1)").replace(/^\s*\[\s*$/gm,"").replace(/^\s*\]\(https?:\/\/[^)]+\)\[?\s*$/gm,"").replace(/^\s*\]\s*$/gm,"").replace(/\[([^\]]*\d)\]\(([^)]*\/section-[^)]+)\)_([a-z])_\\?-([0-9])/gi,"[$1$3-$4]($2)").replace(/\[(\d+)\]\(([^)]*\/link\/uscode\/[^)]+)\)_([a-z])_/gi,"[$1$3]($2)").replace(/(\b\d+)_([a-z])_,_/gi,"$1$2,").replace(/(\b\d+)_([a-z])_\\?-/gi,"$1$2-").replace(/(\b\d+)_([a-z])_(?=[\s),.;])/gi,"$1$2").replace(/^\s*Last modified\s+\w+\s+\d{1,2},\s+\d{4}.*$/gim,"").replace(Ai,"").replace(/(!?\[[^\]\n]*\]\([^\)\s]+)\s+"[^"\n]*\bundefined\b[^"\n]*"\)/gi,"$1)").replace(/!\[\s*undefined\s*\]\(([^)]+)\)/gi,"![]($1)").replace(/\s*-->\s*/g," ").replace(/\s*<!--\s*/g," ").replace(/(?:^|\n)\s*\d{1,3}\s+\d{1,3}\s*(?:\n|$)/g,"\n").replace(qi,"").replace(Ci,"").replace(/\n{3,}/g,"\n\n").trim();r=Ti(r,Si),r=function(e){for(var r=(e||"").split("\n"),n=0,o=0;o<r.length&&n<4;o++){var i=r[o];if(t(i)&&!/^#{1,6}\s/.test(i)){n++;var a=t(i);if(/\bIntroduction & Top Questions/.test(a)&&/\bReferences & Edit History\b/.test(a)&&/\bQuizzes\b/.test(a)&&/\b(?:Written by|Fact-checked by|Last updated)\b/.test(a)){var l=a.search(/\b(?:History\s+)?Top Questions\s+What\b/);if(!(l<0)){r[o]=a.slice(l).replace(/^History\s+/,"").replace(/\?([A-Z])/g,"? $1");break}}}}return r.join("\n")}(r=Ti(r,ki)),r=function(e){var t=e||"";if(t.length<300)return t;var r=Math.floor(.35*t.length),n=-1;return _i.forEach(function(e){for(var o,i=new RegExp(e.source,e.flags.indexOf("g")>=0?e.flags:e.flags+"g");null!==(o=i.exec(t));)o.index>=r&&(n<0||o.index<n)&&(n=o.index),o.index===i.lastIndex&&(i.lastIndex+=1)}),n>=0?t.slice(0,n).trim():t}(r),r=function(e){var r=null,n=!1;return(e||"").split("\n").map(function(e){if(/^\s*```/.test(e))return n=!n,e;if(n)return e;var o=e.match(/^\s*#{1,6}\s+(.+)$/);if(o)return r=t(o[1].replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/[`*_]/g,"")),e;if(!t(e))return e;if(r&&!/^\s*(?:[-*+]\s+|\d+[.)]\s+|[|>])/.test(e)){var i=e.replace(/^(\s*)([a-z][A-Za-z'-]{3,})(\b)/,function(e,t,n,o){for(var i=n.toLowerCase(),a=r.match(/[A-Za-z][A-Za-z'-]{4,}/g)||[],l=0;l<a.length;l+=1){var s=a[l];if(s.slice(1).toLowerCase()===i)return t+s.charAt(0)+n+o}return e});return r=null,i}return r=null,e}).join("\n")}(r);for(var n=(r=r.split("\n").map(function(e){return e.length<120||/\[[^\]]+\]\([^)]+\)/.test(e)?e:e.replace(/(.{50,300}?[.!?])(?:\s*\1)+/g,"$1")}).join("\n")).split("\n"),o=[],i=null,a=0,l=0;l<n.length;l++){var s=n[l].trim();s===i&&s.length>0?++a<2&&o.push(n[l]):(i=s,a=1,o.push(n[l]))}n=(r=o.join("\n")).split("\n");for(var c={},u=0;u<n.length;u++){var d=n[u].trim();d.length>0&&!/^#{1,6}\s/.test(d)&&(c[d]=(c[d]||0)+1)}for(var m={},p=[],h=0;h<n.length;h++){var f=n[h].trim();f.length>0&&!/^#{1,6}\s/.test(f)&&(c[f]||0)>=4?m[f]||(m[f]=!0,p.push(n[h])):p.push(n[h])}return p.join("\n").replace(/\n{3,}/g,"\n\n").trim()}function ji(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function Li(e){if(!e)return e;var r=t(e);return r?/^https?:\/\//i.test(r)?null:(r=t(r=r.split(/[\n\t]/)[0]),/^(devam(ın)?ı okuyun|read more|leer más|weiterlesen|lire la suite|leggi di più|czytaj dalej|tümünü gör|اقرأ المزيد|ادامه مطلب|המשך לקרוא|مزید پڑھیں)$/i.test(r)||!(r=t(r=r.replace(/\s*@[\w.-]+.*$/i,"").replace(/\s*\d+\s*(takipçi|followers?|متابع|دنبال‌کننده|עוקבים|فالوور).*$/i,"")))||r.length<2?null:r):null}function $i(e){var t=e&&!1!==e.reader_mode?Qe():null;return t&&(t=Xe(t,Ke())),t||(t=Ke()),t}function Pi(e,r,n,o,i){-1!==r.indexOf(n)&&(o&&t(i||e.markdown||e.textContent||"").length>=o||(e.contentType="interstitial"))}e.FetchUtilExtract={extract:function(e){/(^|\.)mwananchi\.co\.tz$/i.test(location.hostname||"")&&(pi(document,["#paywall","[data-paywall]","[id*='paywall' i]","[class*='paywall' i]","[class*='subscribe' i]","[class*='premium' i]"].join(", ")),document.querySelectorAll("script[type='application/ld+json']").forEach(function(e){var r=t(e.textContent||"");/\b(?:NewsArticle|Article)\b/.test(r)&&e.remove()}),document.querySelectorAll("p, div, span, section, aside, button, a").forEach(function(e){var r=t(e.textContent||"");!r||r.length>420||/^(ndiyo, tafadhali!?|ingia|jisajili ili kuanza safari yako ya kufikia maudhui yetu yanayolipiwa|jiunge nasi leo usikose habari muhimu|pata habari na chambuzi huru, za kina na za uhakika kutoka mwananchi|loading\.\.\.)$/i.test(r)&&e.remove()}));var r,n,a,s,c,u,y,b=(n=document.querySelector('link[rel="canonical"]'),a=d(["NewsArticle","Article","BlogPosting"]),s=m(a&&a.author),c=p(a&&a.datePublished),u=p(a&&a.dateModified),{title:i("og:title","property")||document.title||h(["main h1","article h1","h1"]),byline:i("author","name")||i("article:author","property")||i("parsely-author","name")||s||(r=g(f(),["[rel='author']","[itemprop='author'] [itemprop='name']","[itemprop='author']","[class*='byline' i]","[class*='author' i]","[class*='autor' i]","[class*='auteur' i]","[class*='verfasser' i]","[class*='redakteur' i]","[class*='penulis' i]","[class*='tac-gia' i]","[class*='tacgia' i]","[class*='writer' i]","[class*='reporter' i]","[data-testid*='author' i]"]),t(r||"").replace(/^(?:by|por|par|von|di|da|door|av|af|de|autor(?:a)?|auteur|redactie|redacción|redacao|redação|penulis|oleh|tác giả|tac gia|بقلم|כתבת?|מאת)\s*:?\s+/i,"")||null),excerpt:i("description","name")||i("og:description","property"),siteName:i("og:site_name","property")||location.hostname,publishedTime:i("article:published_time","property")||i("publish-date","name")||i("datePublished","itemprop")||i("date","name")||i("dc.date","name")||i("DC.date","name")||i("parsely-pub-date","name")||c||u||g(f(),["time[datetime]"],"datetime")||g(f(),["[itemprop='datePublished']","[itemprop='dateModified']","[class*='pubdate' i]","[class*='published-date' i]","[class*='published_at' i]","[class*='published-at' i]","[class*='publication-date' i]","[class*='fecha' i]","[class*='data-publicacao' i]","[class*='data-publicação' i]","[class*='datum' i]","[class*='tarih' i]","[class*='date' i]","[class*='time' i]","[class*='publish' i]","[class*='posted' i]","[data-testid*='date' i]","time"]),canonicalUrl:o(n&&n.getAttribute("href"))||location.href,language:document.documentElement.getAttribute("lang")||navigator.language||null,image:i("og:image","property")||null,video:i("og:video","property")||i("og:video:url","property")||null});if(!y){var S=Ln(b);S&&(y=S)}var k,A=null,_=null;if(y||(A=j(),_={iframeTitles:(k=Array.prototype.map.call(document.querySelectorAll("iframe"),function(e){return{title:t(e.getAttribute("title")||""),src:t(e.getAttribute("src")||"")}})).map(function(e){return e.title}).filter(Boolean),iframeSources:k.map(function(e){return e.src}).filter(Boolean),scriptSources:Array.prototype.map.call(document.querySelectorAll("script[src]"),function(e){return t(e.getAttribute("src")||"")}).filter(Boolean),textLength:j().length,htmlLength:(document.body&&document.body.innerHTML||"").length,bodyHtml:(document.body&&document.body.innerHTML||"").slice(0,8e3)}),!y&&/(^|\.)(google\.|bing\.com$|duckduckgo\.com$|search\.brave\.com$|ecosia\.org$)/.test(location.hostname)&&x()&&(y=function(e){var t=[],r={};return[".result__title a, [data-testid='result-title-a']","li.b_algo h2 a, .b_algo h2 a","a h3","main a[data-testid='result-title-a'], main article a[href], main .result a[href], main .snippet a[href]"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){var n="A"===e.tagName?e:e.closest("a");if(n){var o=n.closest("article, li, div[data-testid], .result, .b_algo, .g, .fdb")||n.parentElement,i=Ct(n);or(t,r,i,n.getAttribute("href"),Tt(o,i))}})}),t.length<4&&document.querySelectorAll("main a[href], [role='main'] a[href]").forEach(function(e){var n=e.closest("article, li, div, section")||e.parentElement,o=Ct(e);or(t,r,o,e.getAttribute("href"),Tt(n,o))}),{title:e.title||document.title,byline:null,excerpt:x(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:ft(t),markdown:ft(t),readerMode:!1,contentType:"search",resultCount:t.length}}(b)),!y){var T=Sr(b,A),E=T?xr(b,A):null,L=t(document.body&&document.body.textContent||"").toLowerCase(),$=/ご利用のページが見つかりません|ページまたはファイルが存在しません|移動または削除されている|urlに誤りがある|urlには.*存在しません/i.test(L);T&&"not_found"===E&&$&&(y=T)}if(y||(y=function(e,t){for(var r=e&&e.host||location.hostname||"",n=0;n<hostAwareProfiles.length;n+=1){var o=hostAwareProfiles[n];if(!0!==o.condition&&Rn(o.condition,e,r)){var i=o.fn(e,t);if(i)return i}}for(var a=0;a<hostAwareProfiles.length;a+=1){var l=hostAwareProfiles[a];if(!0===l.condition&&Rn(l.condition,e,r)){var s=l.fn(e,t);if(s)return s}}return null}(b,A)),y||(y=function(e,r,n){var o=dr(e,r,n);if(!o)return null;var i=t(e.title||document.title);(!i||C(i)||/^www\./i.test(i))&&(i=mr(o,e));var a=function(e,t){var r="anubis"===e?"This page is presenting an Anubis challenge before the original content is available.":"datadome"===e?"This page is presenting a DataDome CAPTCHA challenge before the original content is available.":"This page is presenting a Cloudflare or Turnstile challenge before the original content is available.";return t&&t.textLength<40&&t.htmlLength>200&&(r+=" The readable DOM content is effectively empty in this environment."),r}(o,n),l=["anubis"===o?"Challenge: Anubis":"datadome"===o?"Challenge: DataDome":"Challenge: Cloudflare/Turnstile"];return n&&n.textLength<40&&n.htmlLength>200&&l.push("Readable DOM: challenge page only"),v({title:i,description:a,highlights:[],details:l,siteName:e.siteName||location.hostname,contentType:"interstitial"})}(b,A,_)),!y){var P=Sr(b,A),N=P?xr(b,A):null;if(P&&"consent_wall"!==N)y=P;else if(P&&"consent_wall"===N){var R=$i(e),M=t(R&&R.markdown||R&&R.textContent||"").toLowerCase();y=R&&M.length>500&&!Mr(M)?R:P}}if(y||(y=at(b)),y||(y=function(e){var r=d(["Recipe"]);if(!r)return null;var n=l(r.recipeIngredient).map(function(e){return"string"==typeof e?t(e):p(e)}).filter(Boolean),o=[];if(function e(r){var n;r&&(Array.isArray(r)?r.forEach(e):"string"!=typeof r?"object"==typeof r&&(r.itemListElement?e(r.itemListElement):(n=p(r))&&o.push(n)):(n=t(r))&&o.push(n))}(r.recipeInstructions),n.length+o.length<3)return null;var i=[r.recipeYield?"Yield: "+p(r.recipeYield):null,r.prepTime?"Prep: "+t(r.prepTime):null,r.cookTime?"Cook: "+t(r.cookTime):null,r.totalTime?"Total: "+t(r.totalTime):null].filter(Boolean),a=[],s=m(r.name||r.headline)||e.title||document.title,c=p(r.description)||e.excerpt;s&&a.push("# "+s),i.length&&a.push(i.map(function(e){return"- "+e}).join("\n")),c&&a.push(c),n.length&&a.push("## Ingredients\n\n"+n.slice(0,25).map(function(e){return"- "+e}).join("\n")),o.length&&a.push("## Instructions\n\n"+o.slice(0,20).map(function(e,t){return t+1+". "+e}).join("\n"));var u=a.join("\n\n").trim();return{title:s,byline:m(r.author)||null,excerpt:c||null,siteName:e.siteName||location.hostname,publishedTime:r.datePublished||e.publishedTime||null,html:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}(b)),y||(y=$i(e)),y&&"article"===y.contentType&&y.readerMode&&Je(y.textContent||y.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var B=qt(b);t(B.markdown||"").length>=400&&(y=B)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(y)){var H=ir();H&&(y=H)}var F=At(b);if(F&&y&&!y.hostAware&&!y.docsLike){var I=t(y.markdown||y.textContent||"").toLowerCase();("list"!==y.contentType&&(It()||F.itemCount>=4||Mr(I))||"list"===y.contentType&&It()&&F.itemCount>=4)&&(y=F)}var O=gt(b);O&&y&&!y.hostAware&&!y.docsLike&&(y=O);var D=Rt(y)||function(e,r){e=e||{};var n=t((r=r||{}).title||e.title||""),o=t(r.excerpt||e.excerpt||""),i=t(r.publishedTime||e.publishedTime||""),a=t(r.byline||e.byline||""),l=t(r.textContent||r.markdown||"");return!!(!(n.length<_t(n)||l.length<220)&&(i&&o.length>=40||i&&a||i&&l.length>=320))}(b,y);if(y&&!y.hostAware&&q(/(^|\.)gitlab\.com$/)&&/data-testid=["']blob-viewer-content["']/.test(y.html||"")&&(y.hostAware=!0),"article"===y.contentType&&!y.hostAware&&!y.docsLike&&!Ot()&&z(y.textContent||y.markdown||"")){var U=qt(b);t(U.markdown||"").length>=400&&(y=U)}if("article"!==y.contentType||y.docsLike||y.legalProvision||!Ht(null,y.textContent||y.markdown||"")||(y=Nt(y)),"list"===y.contentType||y.hostAware||y.docsLike||y.legalProvision||!function(e){if(!document.body||Ot())return!1;if(!Ft()&&!It()&&!$t())return!1;var r=document.createElement("div");r.innerHTML=e&&e.html||document.body.innerHTML;var n=r.querySelectorAll("a[href]").length,o=r.querySelectorAll("article, li, section, [class*='card'], [class*='item'], [class*='story'], [class*='product'], [class*='tile'], [class*='job'], [data-testid*='card'], [data-testid*='product'], [data-testid='slider_container'], [data-test='jobListing'], [data-jobid], [data-url*='/remote-jobs/']").length,i=r.querySelectorAll("h2, h3, h4").length,a=Array.prototype.filter.call(r.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&r.length<=220&&!Ut(r,e.getAttribute("href")||"")}).length,l=Array.prototype.map.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"")}).filter(Boolean),s=l.filter(function(e){return e.length>=180}).length,c=l.filter(function(e){return e.length>=120}).join(" "),u=t(r.textContent||e&&(e.textContent||e.markdown)||""),d=Array.prototype.reduce.call(r.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),m=u.length>0?d/u.length:0,p=document.createElement("div");p.innerHTML=document.body.innerHTML;var h=Math.max(Pt(r),Pt(p));return!Mt(r,u)&&!Bt(r,u)&&(!(!Lt(r,u)&&!Lt(p))||!(s>=5&&c.length>=1200&&m<.35)&&(a>=6&&o>=6&&n>=8&&(i>=4||m>=.22)||h>=6||$t(r)))}(y)||(y=qt(b)),"list"===y.contentType||y.hostAware||y.docsLike||y.legalProvision||!function(e){if(!document.body)return!1;function r(e){var r=e.querySelectorAll("a").length,n=e.querySelectorAll("p").length,o=e.querySelectorAll("tr, li, article, section").length,i=e.querySelectorAll("li").length,a=e.querySelectorAll("table, ul, ol, .itemlist, .items, .stories, .posts, .news, .headlines, .feed, .threads, .topic-list, .forumlist, .discussionList").length,l=e.querySelectorAll("h1, h2, h3, h4").length,s=e.querySelectorAll("article, section, [class*='card'], [class*='item'], [class*='story'], [class*='post'], [class*='news'], [class*='headline'], [class*='feed'], [class*='thread'], [class*='topic-list'], .structItem, .discussionListItem").length,c=Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent||e.getAttribute("aria-label")||"");return r.length>=_t(r)&&r.length<=220&&!Ut(r,e.getAttribute("href")||"")}).length,u=t(e.textContent),d=t(document.title).toLowerCase(),m=(location.pathname||"").toLowerCase();return{links:r,paragraphs:n,rows:o,listItems:i,listish:a,headings:l,cards:s,headlineLinks:c,text:u,title:d,homepage:"/"===m||""===m||/^\/(index|default|home)\b/i.test(m)||/^\/\d+(,\d+)*\.html?$/i.test(m)}}function n(e){return!!(e.homepage&&e.headlineLinks>=20&&e.cards>=15&&(e.headings>=8||e.cards>=40))||e.headlineLinks>=30&&e.cards>=20&&(e.headings>=10||e.cards>=40)||!!(e.homepage&&e.headlineLinks>=16&&e.headings>=8&&e.links>=80&&e.text.length<=24e4)||!!(e.headlineLinks>=24&&e.headings>=10&&e.links>=120&&(e.homepage||e.rows>=20||e.listish>=2)&&e.text.length<=24e4)||(e.links>=8&&e.rows>=6||e.listish>0&&e.links>=6)&&e.paragraphs<=8&&e.text.length<=14e3||e.rows>=6&&e.headlineLinks>=6&&e.headings>=6&&e.text.length<=36e3||e.homepage&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3&&(e.listItems>=4||e.cards>=4||/top stories|breaking news|latest news|headlines|ultime notizie|in evidenza|primo piano/.test(e.title+" "+e.text.slice(0,400)))||e.cards>=4&&e.headlineLinks>=4&&e.headings>=3&&e.text.length<=36e3}var o=document.createElement("div");if(o.innerHTML=document.body.innerHTML,n(r(o)))return!0;var i=document.createElement("div");return i.innerHTML=e&&e.html?e.html:document.body.innerHTML,n(r(i))}(y)||!Ft()&&Ot()||D||(y=qt(b)),"article"!==y.contentType||y.docsLike||y.legalProvision||D||!function(e){if(!e||"article"!==e.contentType||Ot())return!1;if(!It())return!1;var r=document.createElement("div");r.innerHTML=e.html||"";var n=t(r.textContent||e.textContent||e.markdown||""),o=r.querySelectorAll("p").length,i=Array.prototype.filter.call(r.querySelectorAll("p"),function(e){return t(e.textContent||"").length>=180}).length,a=t(e.byline||""),l=t(e.publishedTime||""),s=document.querySelector("main h1, [role='main'] h1, h1"),c=t([document.title,s&&s.textContent].join(" ")).toLowerCase();return!(l||a||Mr(n.toLowerCase())||!/(search|results?|shop|browse|categor|catalog|keyword|wholesale|products?|collections?|marketplace)/.test(c)||i>=4&&n.length>=1200||!(n.length<2400||o<=4))}(y)||(y=Nt(y)),"list"===y.contentType&&w("q")&&et(b)){var W=rt(b);W&&(y=W)}var Z,V,G=(Z=y.html,(V=document.createElement("div")).innerHTML=Z,hi(V),V.innerHTML);y.title&&(y.title=t(y.title.replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")));var K=Ei(y.markdown||Uo(G||y.html)),J=t(y.textContent||""),X=t(K);!X&&J.length>40&&(K=Ei(Uo(G)||J)),X=t(K),"list"===y.contentType&&function(e){if(t(e=String(e||"")).length<700||!/^\|\s*[-: ]+\|/m.test(e))return!1;if((e.match(/^\s*- \[/gm)||[]).length>=3)return!1;var r=e.split(/\n{2,}/).filter(function(e){var r=e.trim();return!(!r||/^\|/.test(r)||/^#/.test(r))&&t(r).length>=80&&/[.!?)]$/.test(t(r))}).length,n=(e.match(/^\|/gm)||[]).length;return(e.match(/^#{1,3}\s+/gm)||[]).length>=1&&r>=2&&n>=4&&n<=40}(K)&&(y.contentType="article"),"article"===y.contentType&&!y.readerMode&&y.html&&y.html.length>5e4&&J.length>=1200&&X.length<.2*J.length&&(K=Ei(J));var Y=t((y.title||b.title||"").replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,""));if("article"===y.contentType&&Y&&t(K)){for(var Q=K.split("\n"),ee=-1,te=Y.toLowerCase(),re=0;re<Math.min(Q.length,12);re+=1){var ne=t(Q[re]).replace(/^#+\s*/,"").replace(/[`*_]/g,"");if(ne&&t(ne).toLowerCase()===te){ee=re;break}}if(ee<0)for(var oe=0;oe<Math.min(Q.length,12);oe+=1){var ie=t(Q[oe]).match(/^(#+)\s+(.*)/);if(ie&&"#"===ie[1]){var ae=t(ie[2]).replace(/[`*_]/g,"");if(0===ae.toLowerCase().indexOf(te)&&ae.length>Y.length+5){var le=ae.substring(Y.length).trim();Q[oe]="# "+Y,le&&Q.splice(oe+1,0,"",le),K=Q.join("\n"),ee=oe;break}}}if(ee>0){var se=Q.slice(0,ee);K="# "+Y+"\n\n"+(se.filter(function(e){return t(e)}).some(function(e){return!/^!\[[^\]]*\]\([^)]*\)$/.test(t(e))})?se:[]).concat(Q.slice(ee+1)).join("\n").trim()}else Pe(K,Y)||(K="# "+Y+"\n\n"+K)}K=Ei(K),"article"===y.contentType&&function(e,r){if(!e||"article"!==e.contentType||Ot())return!1;var n=(location.pathname||"").toLowerCase(),o=(location.search||"").toLowerCase();if(!/\/(?:search|results?)(?:\.html?)?$/i.test(n)&&!/(?:^|[?&])(?:q|query|search|searchtext|keyword|k|text)=/.test(o))return!1;var i=document.createElement("div");i.innerHTML=e&&e.html||document.body.innerHTML;var a=t([i.textContent||"",r||"",document.title||""].join(" ")).replace(/[*_`]+/g,""),l=/\bresults?\s*\d+\s*[-–]\s*\d+\s*(?:of|sur|von|de)\s*\d+\b/i.test(a)||/\b\d+\s+results?\b/i.test(a),s=Array.prototype.filter.call(i.querySelectorAll("a[href]"),function(e){var r=e.getAttribute("href")||"",n=t(e.textContent||e.getAttribute("aria-label")||"");return!(n.length<_t(n)||n.length>280||Ut(n,r))&&/\/(?:legal-content|eli|LexUriServ|resource|document|doc|case-law|summary)\b|[?&](?:uri|celex|qid|docid)=/i.test(r)}).length,c=i.querySelectorAll("[class*='result' i], [id*='result' i], article, li, tr").length,u=(String(r||"").match(/^\s*#{1,4}\s+\[[^\]]{8,280}\]\(/gm)||[]).length;return l&&(s>=3||u>=3)&&(c>=3||u>=3)}(y,K)&&(y=Nt(y)),"article"!==y.contentType||y.hostAware||y.docsLike||y.legalProvision||!zt(K,y)||(y=Nt(y));var ce=function(e){var t=e||"";if(t.length<400)return t;var r=t.slice(0,5e3),n=/(?:presid[eê]ncia|casa civil|subchefia|official gazette|government|ministry|department|secretariat|texto compilado|compiled text|\|\s*---\s*\|)/i.test(r),o=/(?:Home\s*\]\s*\[\s*Databases|Multidatabase Search|World Law|DONATE|depends on users like you|You are here:|New search|Buy [A-Z]+ report|Cite as:)/i.test(r)&&/\b(?:judg(?:e)?ment|opinion(?:s)? of the lords|court|appellant|respondent|claimant|defendant|neutral citation|cite as)\b/i.test(r);if(!n&&!o)return t;if(o){var i=t.match(/^#\s+[^\n]+\n+/),a=r.search(/\n(?:#{1,3}\s+[^\n]*(?:UKHL|UKSC|EWCA|EWHC|UKPC|UKUT|UKFTT|U\.S\.|\bAC\b|\bWLR\b|All\s+ER)\s+\d+[^\n]*|\*\*(?:HOUSE OF LORDS|SUPREME COURT|COURT OF APPEAL|HIGH COURT|OPINIONS? OF THE LORDS)[^\n]*\*\*)/i);if(i&&a>i[0].length&&a<4500)return(i[0].trim()+"\n\n"+t.slice(a).trim()).trim()}var l=r.match(/(?:\*\*)?\s*(?:PRE[ÂA]MBULO|PREAMBLE)\s*(?:\*\*)?/i);if(l&&l.index<3e3)return t.slice(l.index).trim();var s=Ze({text:r}).bodyStartMatch;return s&&s.index<3e3?t.slice(s.index).trim():t}(K);if(ce!==K&&t(ce).length>=5e3&&(y.contentType="article"),Bt(null,K=ce)&&"list"===y.contentType&&(y.contentType="article"),"list"===y.contentType&&function(e){if(!e||2!==e.length)return!1;var t=e[0]||"",r=e[1]||"";return!/^(search|category|categories|tag|tags|topics?|collections?|archive|archives|latest|headlines|news|forums?|boards?|community|discussions?|threads)$/.test(t)&&r.length>=6&&/[a-z]/i.test(r)&&/\d/.test(r)&&/^[a-z0-9_-]+$/.test(r)}((location.pathname||"").toLowerCase().split("/").filter(Boolean))){var ue=K.split("\n").map(function(e){return t(e).replace(/^#+\s*/,"")}).filter(Boolean)[0]||"";ue.length>=100&&!/^[-*]\s+\[/.test(ue)&&(y.contentType="article")}var de=Gr(b,y,K,A,_),me=t(K);vr(Y||b.title,me,{maxTextLength:1800,checkStructured:!0})&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial"),vr(Y||b.title,me,{maxTextLength:900})&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial");var pe=t([Y,b.title,b.siteName,location.hostname,location.pathname,K].join(" "));vr(Y||b.title,pe,{maxTextLength:2e3})&&/\b(court|courts|case law|caselaw|legal|law|opinion|citation)\b/i.test(pe)&&-1===de.indexOf("not_found_interstitial")&&de.push("not_found_interstitial"),Pi(y,de,"not_found_interstitial"),Pi(y,de,"consent_interstitial",500,K),Pi(y,de,"auth_or_login_interstitial",1200,K),t(K).length<1200&&/\b(?:service|site|product|platform|application|app)\b/i.test(pe)&&/\b(?:no longer available|has been retired|have been retired|is retired|was retired|shutdown|shut down|sunset|discontinued)\b/i.test(pe)&&-1===de.indexOf("access_error_interstitial")&&de.push("access_error_interstitial"),t(K).length<10&&-1===de.indexOf("empty_extraction")&&de.push("empty_extraction"),t(K).length<140&&/copyright\b.*\ball rights reserved\b/i.test(t(K))&&-1===de.indexOf("empty_extraction")&&de.push("empty_extraction"),t(K).length<500&&/(?:^|:\s*)error$/i.test(Y||b.title||"")&&-1===de.indexOf("access_error_interstitial")&&de.push("access_error_interstitial");var he=t(A||"").length,fe=t(K||"").length,ge=he>0?Math.round(fe/he*100)/100:1,ye=Vr(b,y,K),be=null;return Hr()&&(be=-1!==de.indexOf("subscription_interstitial")?"full_block":"detected"),{title:Y||t(b.title),byline:Li(y.byline||b.byline),excerpt:y.excerpt||b.excerpt,siteName:y.siteName||b.siteName,publishedTime:y.publishedTime||b.publishedTime,canonicalUrl:b.canonicalUrl,language:b.language,html:y.html,markdown:K,readerMode:y.readerMode,contentType:y.contentType||"article",legalProvision:!!y.legalProvision,hostAware:!!y.hostAware,statusPage:!!y.statusPage,suspect:de.length>0,warnings:de,contentCompletenessRatio:ge,contentFormat:ye,paywallState:be,textContent:y.textContent,url:location.href}}}}(window);