fetch_util 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +2 -0
  3. data/.rubocop.yml +97 -0
  4. data/CHANGELOG.md +48 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +199 -0
  7. data/Rakefile +18 -0
  8. data/SKILL.md +92 -0
  9. data/exe/fetch_util +6 -0
  10. data/lib/fetch_util/assets/extract.js +1 -0
  11. data/lib/fetch_util/assets/vendor/readability.js +2314 -0
  12. data/lib/fetch_util/assets/vendor/turndown.js +974 -0
  13. data/lib/fetch_util/browser/interaction_helpers/consent_helpers.rb +224 -0
  14. data/lib/fetch_util/browser/interaction_helpers/dom_interaction.rb +162 -0
  15. data/lib/fetch_util/browser/interaction_helpers/timing_helpers.rb +39 -0
  16. data/lib/fetch_util/browser/interaction_helpers.rb +15 -0
  17. data/lib/fetch_util/browser/navigation/headers_and_readiness.rb +26 -0
  18. data/lib/fetch_util/browser/navigation/navigator_patch.rb +118 -0
  19. data/lib/fetch_util/browser/navigation.rb +13 -0
  20. data/lib/fetch_util/browser/site_stabilization/community_and_marketplace.rb +117 -0
  21. data/lib/fetch_util/browser/site_stabilization/social_platforms.rb +118 -0
  22. data/lib/fetch_util/browser/site_stabilization.rb +13 -0
  23. data/lib/fetch_util/browser/stabilization/page_flow.rb +80 -0
  24. data/lib/fetch_util/browser/stabilization/spa_hydration.rb +183 -0
  25. data/lib/fetch_util/browser/stabilization.rb +13 -0
  26. data/lib/fetch_util/browser.rb +135 -0
  27. data/lib/fetch_util/cli.rb +124 -0
  28. data/lib/fetch_util/extractor.rb +56 -0
  29. data/lib/fetch_util/fetcher.rb +242 -0
  30. data/lib/fetch_util/parallel_fetcher.rb +97 -0
  31. data/lib/fetch_util/raw_docs_fallback.rb +260 -0
  32. data/lib/fetch_util/regulatory/cache_store.rb +92 -0
  33. data/lib/fetch_util/regulatory/directives.rb +106 -0
  34. data/lib/fetch_util/regulatory/fetch_records.rb +108 -0
  35. data/lib/fetch_util/regulatory/headers.rb +39 -0
  36. data/lib/fetch_util/regulatory/http_client.rb +70 -0
  37. data/lib/fetch_util/regulatory/human.rb +104 -0
  38. data/lib/fetch_util/regulatory/orchestration.rb +82 -0
  39. data/lib/fetch_util/regulatory/page.rb +70 -0
  40. data/lib/fetch_util/regulatory/robot_globs.rb +17 -0
  41. data/lib/fetch_util/regulatory/robots.rb +117 -0
  42. data/lib/fetch_util/regulatory/signals.rb +106 -0
  43. data/lib/fetch_util/regulatory/source_selection.rb +60 -0
  44. data/lib/fetch_util/regulatory/tdm_page.rb +39 -0
  45. data/lib/fetch_util/regulatory/tdm_policy.rb +55 -0
  46. data/lib/fetch_util/regulatory/tdm_rep.rb +50 -0
  47. data/lib/fetch_util/regulatory/tdm_support.rb +94 -0
  48. data/lib/fetch_util/regulatory/trust_txt.rb +49 -0
  49. data/lib/fetch_util/regulatory/usage_preferences.rb +106 -0
  50. data/lib/fetch_util/regulatory.rb +74 -0
  51. data/lib/fetch_util/request_log.rb +24 -0
  52. data/lib/fetch_util/result.rb +58 -0
  53. data/lib/fetch_util/searcher/result_filtering.rb +102 -0
  54. data/lib/fetch_util/searcher.rb +332 -0
  55. data/lib/fetch_util/version.rb +5 -0
  56. data/lib/fetch_util.rb +115 -0
  57. metadata +145 -0
@@ -0,0 +1 @@
1
+ !function(e){function t(e){return"string"!=typeof e&&(e=null==e?"":String(e)),e.replace(/\s+/g," ").trim()}function r(e){try{return decodeURIComponent(e)}catch(t){return e}}function n(e){return t(e&&e.textContent).length}function i(e){if(!e)return null;try{return new URL(e,document.baseURI).href}catch(t){return e}}function o(e,t){var r="meta["+t+'="'+e+'"]',n=document.querySelector(r);return n?n.getAttribute("content"):null}function a(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 l(){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 c(e){return a(e&&e["@type"]).map(function(e){return String(e)})}function u(e){var t=a(e);return l().find(function(e){return c(e).some(function(e){return-1!==t.indexOf(e)})})||null}function d(e){return e?"string"==typeof e?t(e):Array.isArray(e)?d(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 m(e,r){for(var n=0;n<e.length;n+=1){var i=document.querySelector(e[n]);if(i){var o=r?i.getAttribute(r):i.textContent;if(o=t(o))return o}}return null}function h(e,r){var n={},i=[];return e.forEach(function(e){document.querySelectorAll(e).forEach(function(e){if(!(i.length>=(r||20))){var o=t(e.textContent);o&&!n[o]&&(n[o]=!0,i.push(o))}})}),i}function f(e){return t(String(e||"").split("/").pop().replace(/[_-]+/g," "))}function g(e){var r=[],n=[];e.title&&r.push("# "+e.title),e.byline&&n.push("- Author: "+e.byline),e.publishedTime&&n.push("- Published: "+e.publishedTime),a(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 i=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:i,textContent:t(i),docsLike:!!e.docsLike,hostAware:!!e.hostAware,readerMode:!1,contentType:e.contentType||"article"}}function v(e){return new URLSearchParams(location.search).get(e)}function b(){return v("q")||v("p")||v("query")||v("text")||""}function y(e){var t=null!=e.markdown?e.markdown:Dt(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){return document.body&&document.body.innerText||e||""}function w(e){return e.test(location.hostname)}function x(e){return/^[\w.-]+\.[a-z]{2,}$/i.test(t(e||""))}function A(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(),i=n&&!/-/.test(n)?n:"div";try{r=t.createElement(i||"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=A(e,t);n&&r.appendChild(n)}),r}function S(e,t){try{return e.cloneNode(!0)}catch(r){return A(e,t)}}function C(e){if(L(e))return document.createElement("div");var r,n=S(e,document);return(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)&&!(j(r)||M(r)||N(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="",i=e.querySelectorAll("span"),o=0;o<i.length;o++)if(i[o]!==r&&!i[o].querySelector("[class*='http-verb']")&&!/collapser|ellipsis|arrow/i.test(i[o].className||"")){var a=t(i[o].textContent);if(a&&/^\//.test(a)){n=a;break}}if(n){var s=document.createElement("p");s.innerHTML="<code>"+t(r.textContent).toUpperCase()+" "+n+"</code>",e.replaceWith(s)}}}),n.querySelectorAll("script, style, noscript, template, iframe, form, button, input, aside, nav, footer").forEach(function(e){e.remove()}),_(n),n.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");t&&e.setAttribute("href",i(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",i(t))}),n}function q(){if(!document.body)return"";var e=S(document.body,document);return e.querySelectorAll("script, style, noscript, template, iframe").forEach(function(e){e.remove()}),_(e),t(e.textContent)}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 E(e,r){if(r=r||{},!document.body||""!==(n=(location.pathname||"").toLowerCase())&&"/"!==n&&!/^\/(?:index|default|home)(?:\.[a-z0-9]+)?\/?$/i.test(n))return null;var n;if(ve())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 s=null,l=r.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 r={},n=[],o=[],a=t((e.querySelector("h1")||{}).textContent||"");e.querySelectorAll("h2, h3").forEach(function(e){if(!(o.length>=8)){var r=t(e.textContent||"");r.length>=6&&r.length<=90&&!$(r,"")&&o.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 o=e.getAttribute("href")||"",a=i(o),s=t((e.querySelector("h1, h2, h3, h4")||{}).textContent||e.textContent||e.getAttribute("aria-label")||"");if(a&&!r[a]&&!$(s,o)&&(!(s.length<12)||/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(s))){var l=he(e.closest("article, section, li, [class*='card'], [class*='tile'], [class*='item'], [class*='listing'], [class*='result'], [class*='destination'], [class*='route'], [class*='story']")||e.parentElement,s);l.length>180&&(l=""),r[a]=!0,n.push({text:s,url:a,detail:l})}}});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*n.length+m+h+12*Math.min(p,18)+Math.min(d,80);n.length<l&&!(n.length>=3&&m&&o.length>=2)||(u||n.length>=6&&p>=6&&o.length>=3)&&(d<n.length||c.length<120||(!s||f>s.score)&&(s={root:e,items:n,hero:a,headings:o,score:f}))}),s?s.items.length<l&&(!s.hero||s.headings.length<2)?null:s:null}function j(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 T(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 L(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 i=/(cookie|consent|privacy|gdpr|ccpa)/.test(r);if(i&&j(n))return!0;if(i&&n.length>5e3&&/(cookie|cookies|consent|privacy|gdpr|ccpa)/i.test(n.slice(0,2e3)))return!0;if((e.matches("[role='dialog'], [aria-modal='true'], dialog")||/position:\s*(fixed|sticky)/i.test(e.getAttribute("style")||""))&&j(n))return!0;if("undefined"!=typeof window&&e.ownerDocument&&e.ownerDocument.defaultView)try{var o=e.ownerDocument.defaultView.getComputedStyle(e);if(o&&/fixed|sticky/.test(o.position)&&j(n))return!0}catch(e){}return!!(j(n)&&n.length<3e3&&e.querySelectorAll("button, a, input[type='button'], input[type='submit']").length>=1)}function _(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){L(e)&&e.remove()}),e.querySelectorAll("section, div, aside, form").forEach(function(e){L(e)&&e.remove()}),e):e}function z(e){return/^your browser doesn't support html5 audio$/i.test(t(e||""))}function N(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 M(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 R(e,r,n){e.querySelectorAll(r).forEach(function(e){var r=t(e.textContent);r&&n.test(r)&&e.remove()})}function P(e){if(!e)return!1;var t=location.href.split("#")[0]+"#";return"#"===e||0===e.indexOf("#")||0===e.indexOf(t)}function I(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 P(e.getAttribute("href"))}).length,i=t(e.textContent);return n>=4&&n>=Math.ceil(.8*r.length)&&i.length<900}function B(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 O(e,r){return r=r||{},R(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),R(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()}),R(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()}}),R(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=B(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"));P(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||I(e)||function(e){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()}),R(e,"h2, h3, h4",/^try it$/i)),r.removeCookiePrefs&&R(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 F(e,r){for(var n=0;n<r.length;n+=1)for(var i=e.querySelectorAll(r[n]),o=0;o<i.length;o+=1){var a=t(i[o].textContent);if(a)return a}return null}function H(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 D(e,r,n){for(var i=0;i<r.length;i+=1)for(var o=H(e,r[i],n),a=0;a<o.length;a+=1){var s=t(o[a].textContent);if(s)return s}return""}function U(e){for(var t=0;t<e.length;t+=1){var r=document.querySelector(e[t]);if(r)return r}return null}function V(e){return t([location.hostname,e&&e.siteName,e&&e.title,document.title].join(" "))}function G(e,t,r){return e?("function"==typeof t&&(e=t(e,r)),B(e||"")||null):null}function W(e,t,r,n){var i=m(t||[]);return i||"function"!=typeof r||(i=r(e)),i||"string"!=typeof r||(i=r),G(i,n,e)}function K(e,t,r){t=t||"h1, h2, h3, h4, h5, h6",r=r||function(e){return B(e)},e.querySelectorAll(t).forEach(function(e){var t=r(e.textContent,e);t&&(e.textContent=t)})}function Z(e,t,r){return J(e,U(t),r)}function J(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 i=!1===r.preferFragmentTitle?null:Y(t);i=G(i,r.titleFormatter,e)||W(e,r.titleSelectors,r.fallbackTitle,r.titleFormatter),n.title=i}return ee(e,t,n)}function X(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 Y(e){var t=X(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),B((r||t).textContent)||null}function Q(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 ee(e,r,n){if(!r)return null;var i,o=!1===(n=n||{}).focusFragment?r:function(e){var r=X(e);if(!r)return e;for(var n=r;n&&n!==e;){var i=t(n.textContent);if(/^(section|article|div|li|dt|dd|main)$/i.test(n.tagName||"")&&i.length>=20)return n;n=n.parentElement}return r}(r),a=C(o);if(jt(a),O(a,n),"function"==typeof n.rewriteRoot)try{n.rewriteRoot(a)}catch(e){}try{i=Et(a.innerHTML).trim()}catch(e){i=""}"function"==typeof n.postProcessMarkdown&&(i=n.postProcessMarkdown(i));var s=B(n.title||Y(r)||F(a,["h1","header h1","h2"])||"")||null,l=n.description||F(a,["p"]);return i?(s&&!Q(i,s)&&(i="# "+s+"\n\n"+i),{title:s||e.title,byline:e.byline,excerpt:l||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:a.innerHTML,markdown:i,textContent:t(i),docsLike:!0,hostAware:!1!==n.hostAware,readerMode:!1,contentType:n.contentType||"article"}):s||l?g({title:s||e.title,description:l||e.excerpt,siteName:e.siteName||location.hostname,docsLike:!0,hostAware:!1!==n.hostAware}):null}function te(e){return t(e||"").replace(/([a-z0-9])((?:Default:|Can be one of:|For more information:|Example:|Required))/g,"$1 $2").replace(/([a-z])([A-Z][a-z])/g,"$1 $2")}function re(){var e=[];["article","main","[role='main']","[itemprop='articleBody']",".article",".post",".entry",".content",".main","section","div"].forEach(function(t){document.querySelectorAll(t).forEach(function(t){e.push(t)})});var r=e.reduce(function(e,r){var i=function(e){if(!e||L(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']"),i=t(r&&r.textContent||e.textContent||"").slice(0,500);if(r&&(j(i)||M(i)))return-1/0;var o=n(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 s=e.querySelectorAll("p").length,l=e.querySelectorAll("h1, h2, h3").length,c=Array.prototype.reduce.call(e.querySelectorAll("a"),function(e,t){return e+n(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),!h&&o<1800&&ne(d)||o<1800&&T(d)&&(s<4||l<3)||o<2200&&/(discover more|newspapers|tourist destinations|travel guides?|travelogues)/i.test(d)&&(s<5||l<4)?-1/0:o+60*s+30*l+m-Math.round(250*u)}(r);return!e||i>e.score?{node:r,score:i}:e},null),i=C(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 ne(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 ie(){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=A(t,e);r&&e.head.appendChild(r)}),document.body){var t=A(document.body,e)||e.createElement("body");e.documentElement.replaceChild(t,e.body)}return e}();_(e),jt(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 oe(e){var r=t(e&&e.title||document.title).toLowerCase(),n=t(e&&e.excerpt||"").toLowerCase(),i=(location.pathname||"").toLowerCase(),a=q().slice(0,2e3).toLowerCase(),s=!!v("q"),u=function(e){var r=t([e&&e.title,e&&e.excerpt,e&&e.siteName,o("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),l().some(function(e){var t=c(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(i)||/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(a)||s&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(r+" "+n)||u>=4&&/\b(definition|definitions|meaning|pronunciation|part of speech|citation|reference)\b/.test(a)}function ae(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 se(e){var r=ae(e&&e.excerpt||"");return!r||r.length<16?null:g({title:m(["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 le(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 ce(e,r){var n=ae(r&&r.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)||!(!n||n.length<18)&&(-1===i.indexOf(n)&&i.length<Math.max(260,3*n.length)))}function ue(e){if(!e||1!==e.nodeType)return!1;var r=t((e.querySelector("h2, h3, h4, strong")||{}).textContent||""),n=t(e.textContent||""),i=t([e.id||"",e.className||""].join(" ")).toLowerCase();return!!z(n)||(!!M(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(i)&&n.length<2400)))))}function de(e){if(!oe(e))return null;var r=function(e){var r=m(["main h1","article h1","h1"])||t(e&&e.title||document.title),n=m(["main h1","article h1","h1"]),i=[];function o(e){if(!(e=t(e||"")))return null;if(e.length<=320)return e;for(var r=e.match(/[^.!?]+[.!?]+/g)||[],n="",i=0;i<r.length;i+=1){var o=t((n?n+" ":"")+r[i]);if(o.length>220)break;if((n=o).length>=90)break}return n||e.slice(0,217)+"..."}document.querySelectorAll("p.desc").forEach(function(e){var r=o(e.textContent||"");if(!(!r||r.length<12||M(r))){var n=e.parentElement&&e.parentElement.querySelector("p.term"),a=t(n&&n.textContent);a&&-1===r.toLowerCase().indexOf(a.toLowerCase())&&(r=a+": "+r),-1===i.map(le).indexOf(le(r))&&i.push(r)}});var a=h([".fl","[data-fl]",".partOfSpeech","[class*='part-of-speech']"],4).filter(function(e){return e&&e.length<=40&&!M(e)}),s=h([".prs .pr",".ipa","[class*='ipa']",".pron","[class*='pron-us']","[class*='pron-uk']"],8).filter(function(e){return e&&e.length<=120&&!z(e)&&!M(e)&&!/how to pronounce|how to say|listen to the pronunciation/i.test(e)}),l=i.concat(h(["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(o)).filter(function(e){return e&&e.length>=12&&e.length<=320&&!M(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=le(e);return!n||n.length<10?r.indexOf(e)===t:r.map(le).indexOf(n)===t});if(!l.length&&!s.length)return null;var c=["# "+r];n&&-1===r.toLowerCase().indexOf(n.toLowerCase())&&c.push("## "+n),a.length&&c.push(a.join(" | ")),s.length&&c.push(s.slice(0,4).join("\n")),l.slice(0,6).forEach(function(e){c.push(e)});var u=Mt(c.filter(Boolean).join("\n\n")),d=t(u);return d.length<40?null:{title:r||e&&e.title||document.title,byline:null,excerpt:l[0]||d.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:"",markdown:u,textContent:d,readerMode:!1,contentType:"article"}}(e);if(r)return r;var i=se(e),o=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 i=function(e){if(!e)return-1/0;var r=n(e);if(r<60||r>14e3)return-1/0;var i=t(e.textContent||""),o=((e.className||"")+" "+(e.id||"")).toLowerCase(),a=e.querySelectorAll("h1, h2, h3").length,s=e.querySelectorAll("dd, dt, dl, [class*='definition'], [class*='sense'], [class*='pron'], [class*='entry'], [class*='meaning']").length,l=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&&!ue(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*(l||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)&&(l||c)&&(m+=90),/\bpart of speech\b|\bdefinition:\b|\bpronunciation\b/.test(i.toLowerCase())&&(m+=220),l>=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),ue(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),r>3500&&(m-=220),r>7e3&&(m-=400),r+80*s+95*l+160*c+18*d+35*a+m-p}(r);return!e||i>e.score?{node:r,score:i}:e},null);if(!o||o.score<260)return i;var a=C(o.node);a.querySelectorAll("section, div, aside, form, table, ul, ol, p, li, span").forEach(function(e){ue(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=le(t(e.textContent||""));!n||n.length<16||(r[n]?e.remove():r[n]=!0)})}(a),jt(a);var s=Mt(Et(a.innerHTML)),l=t(s);if(l.length<40)return i;var c=m(["h1"])||t(e&&e.title||document.title);return c&&!Q(s,c)&&(s="# "+c+"\n\n"+s),ce(l=t(s=Mt(s)),e)&&i?i:{title:c||e&&e.title||document.title,byline:null,excerpt:l.slice(0,280)||null,siteName:e&&e.siteName||location.hostname,publishedTime:null,html:a.innerHTML,markdown:s,textContent:l,readerMode:!1,contentType:"article"}}function pe(e){var r=e.querySelector("h1, h2, h3, h4");return t(r?r.textContent:e.textContent)}function me(e){return function(e){return/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}(e)?4:8}function he(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 fe(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 i=t(n.textContent||e.textContent||""),o=n.querySelectorAll("p").length,a=n.querySelectorAll("h1, h2, h3").length,s=(e.markdown||"").match(/^\s*- \[/gm)||[],l=Array.prototype.reduce.call(n.querySelectorAll("a[href]"),function(e,r){return e+t(r.textContent||r.getAttribute("aria-label")||"").length},0),c=i.length>0?l/i.length:0,u=ve();return!ge()&&i.length>=280&&c<.5||!(ge()&&c>.5)&&(!(ge()&&a>=5&&a>=.6*o)&&(!(i.length<280)&&(!(o<3&&a<1&&!u)&&(!(s.length>=8&&o<5)&&(!(c>.33&&o<6)&&(u&&i.length>=280&&c<.5||o>=5||e.readerMode&&o>=3&&c<.28))))))}function ge(){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 ve(){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 be(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 ye(e){return r(e||"").toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").split(/\s+/).filter(Boolean)}function ke(e){e=e||{};var t=document.querySelector("main h1, [role='main'] h1, h1"),n=ye((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=ye([location.pathname||"",e.title||"",document.title||"",t?t.textContent:""].join(" ")).filter(function(e){return e.length>=3&&!/^\d+$/.test(e)&&!i.test(e)&&-1===n.indexOf(e)}),a=[];o.forEach(function(e){-1===a.indexOf(e)&&a.length<12&&a.push(e)});var s=[];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===s.indexOf(t)&&s.push(t)}),{currentUrl:location.origin+location.pathname,keywords:a,sectionFragments:s.slice(0,4)}}function we(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 xe(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 Ae(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)||we(n)}function Se(e,t,r,n){var i="",o=(e+" "+(r||"")).toLowerCase(),a=0,s=0;try{i=new URL(t,location.href).pathname.toLowerCase()}catch(e){i=""}return n.keywords.forEach(function(e){-1!==(o+" "+i).indexOf(e)&&(a+=1)}),n.sectionFragments.forEach(function(e){-1!==i.indexOf(e)&&(s+=1)}),{path:i,keywordMatches:a,sectionMatches:s}}function Ce(e,r,n){if(!e)return null;var o=e.getAttribute("href"),a=t(e.textContent||e.getAttribute("aria-label")||""),s="",l=/(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(a.length<me(a)||a.length>220)return null;var c=i(o);if(!c)return null;try{s=new URL(c,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(a))return null;if(/\/(subscribe|subscription|abonnement|login|register|newsletter|account|instellingen|settings)\b/i.test(c))return null;if(/\/(privacycontrols?|privacy|cookies?|consent)\b/i.test(c)&&a.length<80)return null;if(be(a,o)||je(e)||je(e.parentElement)||$e(e))return null;var u=t(r&&r.textContent||"").replace(a,"").replace(/\s*[|·]\s*/g," - ");if(u=u.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(),!l&&/\/(ve[ðd]ur|vedur|forecast|weather|spastod)\b/i.test(c)&&xe(a+" "+u))return null;if(/\/(tv|spored)\//i.test(c)&&(/(vsak dan|poglej več|sezona|epizoda|oddaja)/i.test(a+" "+u)||/\b\d{1,2}\.\d{2}\b/.test(a+" "+u)))return null;var d=function(e,r,n,i,o){if(!r)return-1/0;var a=e.length,s=Se(e,r,n,o),l=s.path;if(location.origin+l===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*s.keywordMatches,a+=220*s.sectionMatches,(Ae(i)||Ae(i&&i.parentElement))&&(a-=260),(we(e)||we(n))&&(a-=220),a}(a,c,u,r||e.parentElement,n);return d===-1/0?null:{text:a,url:c,detail:u,score:d}}function qe(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 $e(e){return qe(e,je)}function Ee(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 je(e){return Ee(e,!0)}function Te(e){return Ee(e,!1)}function Le(e){var r=ke(e),o=[];["main","[role='main']",".itemlist","table","ol","ul",".posts",".stories",".items",".news",".feed",".headlines","[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,r){if(je(e)||Ae(e))return-1/0;var o=e.querySelectorAll("a[href]").length,a=e.querySelectorAll("li, tr, article, section").length,s=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,l=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>=me(r)&&!be(r,e.getAttribute("href")||"")&&!je(e.parentElement)&&!je(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||""))&&l<2)return-1/0;var d=0;return 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<me(n))){var o=i(e.getAttribute("href"));if(o){var a=Se(n,o,"",r);d+=140*a.sectionMatches+30*a.keywordMatches}}}),10*o+30*c+20*a+45*s+20*l+d-Math.round(u/40)}(o,r);return!e||a>e.score?{node:o,score:a}:e},null);return a&&a.score>-1/0?a.node:document.body}function _e(e,r,n,o,a){if(!(e.length>=12)){n=t(n);var s=o;if(o=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 i(e)}(o),a=t(a),o&&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(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,r,n){var i=(e+" "+t).toLowerCase();return/\bad\b|sponsored|report ad/.test(i)||/[?&](ad_|ad=|ad_domain=)/i.test(r)||/(?:^|\/)y\.js\?/i.test(n||"")}(n,a,o,s)){var l=n+"|"+o;r[l]||(r[l]=!0,e.push({text:n,url:o,detail:a}))}}}function ze(){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 i=[],o=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"],s=0;s<a.length;s++){var l=a[s];t[l]&&"string"==typeof t[l]&&t[l].trim().length>100&&i.push(t[l].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]],r+1)}}else{var m=t.trim();m.length>80&&i.push(m)}}(n,0),0===i.length)return null;var a,s,l,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)){s=c;var u=document.createElement("div");u.innerHTML=c,jt(u),l=t(u.textContent),a=null}else s=null,l=t(c),a=c;return{title:o||document.title,byline:null,excerpt:l?l.slice(0,280):null,siteName:location.hostname,publishedTime:null,html:s,textContent:l||c,markdown:a,contentType:"article",spaFallback:!0}}()}var Ne="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 Me(e){return new RegExp(Ne,e||"")}function Re(e){return new RegExp("^(?:"+Ne+")",e||"")}function Pe(e){return t([((e=e||{}).iframeTitles||[]).join(" "),(e.iframeSources||[]).join(" "),(e.scriptSources||[]).join(" "),e.bodyHtml||""].join(" ")).toLowerCase()}function Ie(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 Be(e,r,n){var i=t(e.title||document.title),o=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)}(i,o)?"anubis":function(e,r,n){e=e||"",r=r||"";var i=Pe(n),o=!r||t(r).length<80;return/datadome captcha/i.test(e+" "+r)||o&&/(captcha-delivery\.com|datadome captcha|\bvar dd=)/i.test(i)}(i,o,n)?"datadome":function(e,r,n){e=e||"",r=r||"";var i=Pe(n),o=!r||t(r).length<120;return!Ie(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)&&!Ie(r)||o&&/(cdn-cgi\/challenge-platform|cloudflare ray id|turnstile|cf challenge)/i.test(i)&&!Ie(i))}(i,o,n)?"cloudflare":null}function Oe(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 i=t(r[n]||"").replace(/^www\./i,"");if(x(i))return i}return null}(r);return n?"Access verification required for "+n:"datadome"===e?"Access verification required":"Verifying you are human"}function Fe(e,r){var n=t([location.hostname,e&&e.siteName,e&&e.title,e&&e.excerpt].join(" ")).toLowerCase(),i=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+" "+i)}function He(e,n){if(!Fe(e,n))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=v("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}(),s=[i?"Access notice: Threads login or cookie acceptance required":"Access notice: Facebook login or cookie acceptance required"],l=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"),l&&!/join threads to share ideas|log in with your instagram|create an account or log into facebook/i.test(l)||(l=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)&&s.push("Requested page: "+a),g({title:o,description:l,details:s,siteName:e.siteName||location.hostname})}function De(e){return/^(skip to content|showing slide\b|trending searches|popular near you|concerts|sports|theater|family)$/i.test(e||"")}function Ue(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 Ve(e){return e?t(e.innerText||e.textContent||e.value||e.getAttribute("aria-label")||e.getAttribute("title")||""):""}function Ge(e,r,n,i){!(n=t(n||""))||n.length>i||De(n)||r[n]||(r[n]=!0,e.push(n))}function We(e){var r,n,i=t(e||""),o=(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,s=document.querySelectorAll("main a[href], a[href]").length;return o>=5&&(i.length>=180||a>=1&&s>=3)}function Ke(e,r){var n=t(e.title||document.title),i=t(r||""),o=(n+" "+i).toLowerCase(),a=We(i),s=/\b404\b|page not found|sorry, (?:we )?(?:can.?t|could not) find (?:that |the )?page|the page you (?:requested|were looking for) (?:can.?t be found|does(?:n'?t| not) exist)|this page is no longer available|content no longer available/i;if(Fe(e,r))return"meta_login";if(/robot or human|confirm that you.?re human|activate and hold the button|press and hold|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))return"human_verification";if(/select your country|choose a country|shopping in the u\.s\?|best buy international/i.test(o)&&!a)return"region_selector";if(/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)return"browser_support";if(/^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(o))return"access_error";if(function(e,r){var n=t(e||"").toLowerCase(),i=t(r||"").toLowerCase();return/خطایی رخ داده|وب سایت مورد نظر در دسترس نیست|site unavailable|website unavailable|service temporarily unavailable|temporarily unavailable|service unavailable/.test(n+" "+i)}(n,i))return"site_unavailable";if(function(e,r){var n=t(e||"").toLowerCase(),i=t(r||"").toLowerCase(),o=Me(),a=Re();return!!/^before you continue to (google|youtube)\b/.test(n)||!(!/before you continue to (google|youtube)/.test(i)||!/accept all|reject all|more options|we use cookies and data/.test(i))||!!Qe(i)&&(o.test(n)||a.test(i))}(n,i))return"consent_wall";if(s.test(o)){var l=s.test(n.toLowerCase()),c=s.test(i.toLowerCase().slice(0,240));if(!/definitions\.net/i.test(n+" "+location.hostname)&&(l||c||!a))return"not_found"}return/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,r,n){var i=t(e||"").toLowerCase(),o=t(r||""),a=document.querySelectorAll("input[type='email'], input[name*='email' i], input[name*='password' i]").length,s=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,l=h(["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,c=document.querySelectorAll("main article, main section, main a[href], main img, main h2, main h3").length,u=document.querySelectorAll("article, [role='article'], .article, .post, .entry, .content a[href], .content img, nav a[href]").length,d=Math.max(c,u),p=/forgot(?:ten)? password|reset your password|check your email for a reset link/i.test(n);return!!(p&&c<10&&o.length<2200||(p||/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(i)||!(!/sign in|log in|login|create (?:an )?account|reset your password/.test(i)&&d>=15&&o.length>=1e3)&&((s>0||l>0)&&a>=1&&c<10||a>=1&&o.length<900&&c<8||o.length<400&&c<5)))}(n,i,o)?"auth_wall":null}function Ze(e,r){var n=Ke(e,r);if(!n)return null;if("meta_login"===n)return He(e,r);var i=t(e.title||document.title),o=h(["main h1","main h2","main p","main li","body h1","body h2","body p"],20).filter(function(e){return e&&e.length<=240&&!De(e)}),a=o.find(function(e){return e!==i&&e.length>=12})||e.excerpt||t(r||""),s=[],l=[];if("human_verification"===n)i&&!x(i)||(i="Robot or human?"),s.push("Gate: human verification");else if("consent_wall"===n){var c=function(){var e={},t=[],r=[],n=[],i=[];document.querySelectorAll("main h1, main h2, main h3, body h1, body h2, body h3").forEach(function(r){Ue(r)&&Ge(t,e,Ve(r),140)}),document.querySelectorAll("main p, body p").forEach(function(t){Ue(t)&&Ge(r,e,Ve(t),260)}),document.querySelectorAll("main li, body li").forEach(function(t){Ue(t)&&Ge(n,e,Ve(t),160)}),document.querySelectorAll("main button, main [role='button'], main a[href], body button, body [role='button'], body a[href]").forEach(function(t){if(Ue(t)){var r=Ve(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)&&Ge(i,e,"Control: "+r,100)}});var o=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:o,highlights:t.concat(r).concat(n).concat(i)}}();c.headings.length&&(i=c.headings[0]),c.description&&(a=c.description),s.push("Interstitial: cookie or consent prompt"),l=c.highlights.filter(function(e){return e!==i&&e!==a}).slice(0,6)}else"region_selector"===n?(s.push("Interstitial: region or country selector"),l=o.filter(function(e){return e!==i&&e!==a}).slice(0,3)):"browser_support"===n?s.push("Interstitial: unsupported browser shell"):"access_error"===n?s.push("Interstitial: access error or blocked session"):"site_unavailable"===n?s.push("Interstitial: site unavailable or temporarily offline"):"not_found"===n?(i&&!x(i)||(i="Page not found"),s.push("Interstitial: requested page is unavailable")):"subscription"===n?s.push("Access notice: subscription or institutional login required"):"auth_wall"===n?(i&&!x(i)||(i="Login required"),s.push("Access notice: login or account required")):"js_redirect"===n&&(i&&!x(i)||(i="Redirecting..."),s.push("Interstitial: JavaScript redirect page — content not yet loaded"));return g({title:i,description:a,details:s,highlights:l,siteName:e.siteName||location.hostname})}function Je(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 Xe(){return 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)})}var Ye={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|się|jak|czy|ale|lub|tak|ich|jego|już|pod|przy|bez|dla|gdy|gdzie|między|tylko|może|który|która)\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 Qe(e){var r=t(e||"").toLowerCase();if(!r)return!1;if(!Me("i").test(r))return!1;if(Re("i").test(r))return!0;var n=r.match(Me("gi"))||[];return r.length<5e3&&n.length>=3||n.length>=8&&n.length/(r.length/500)>=.4}function et(){var e=u(["NewsArticle","Article","BlogPosting","WebPage","LiveBlogPosting","ReportageNewsArticle"]),r=e&&(!1===e.isAccessibleForFree||"False"===e.isAccessibleForFree||"false"===e.isAccessibleForFree),n=o("article:content_tier","property")||o("article:content_tier","name"),i=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]"),s=t(document.body&&document.body.innerText||"").slice(0,6e3).toLowerCase(),l=/(for abonnenter|unlock full access|contenu réservé aux abonnés|solo para suscriptores|nur für abonnenten|alleen voor abonnees|solo per abbonati|dostępne dla subskrybentów|только для подписчиков|лише для передплатників|přístupné pouze pro předplatitele|csak előfizetőknek|exklusivt för prenumeranter|kun for abonnenter|vain tilaajille|tik prenumeratoriams|tikai abonentiem|nur für abonnent|nur für abonnenten|contenido exclusivo para suscriptores|réservé aux abonnés|subscriber exclusive|subscribers only|premium content|members only|členský obsah|premium-inhalt)/.test(s);return r||i||a||l?{source:r?"structured_data":i?"meta_tag":a?"dom_element":"text_pattern",contentTier:n?t(n).toLowerCase():r?"locked":null}:null}function tt(e,r,n){var i=t(r&&r.title||e.title||"").toLowerCase(),o=(location.pathname||"").toLowerCase(),a=t(n||r&&r.textContent||"").toLowerCase();if(u(["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(u(["Event","MusicEvent","SportsEvent","TheaterEvent","Festival"]))return"event_listing"}if(u(["VideoObject","Movie","TVEpisode","TVSeries","TVSeason","Clip"])&&a.length<800)return"video";var s=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]"),l=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((s.length>=1||l.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(r&&r.html){var c=document.createElement("div");c.innerHTML=r.html;for(var d=c.querySelectorAll("h2, h3"),p=c.querySelectorAll("time, [datetime]"),m=[],h=0;h<p.length;h++){for(var f=p[h],g=!1,v=f.parentElement;v&&v!==c;){var b=(v.tagName||"").toLowerCase(),y=(v.className||"").toLowerCase(),k=(v.getAttribute("role")||"").toLowerCase();if("aside"===b||"nav"===b||"footer"===b||"complementary"===k||"navigation"===k||/\b(sidebar|related|teaser|widget|aside|nav|footer|meta)\b/.test(y)){g=!0;break}v=v.parentElement}g||m.push(f)}if(m.length>=6&&d.length>=4){for(var w=[],x=0;x<m.length;x++){var A=m[x].getAttribute("datetime")||t(m[x].textContent);A&&-1===w.indexOf(A)&&w.push(A)}if(w.length>=4)return"liveblog"}}if(n){var S=(n.match(/^##\s+/gm)||[]).length,C=(n.match(/\b\d{1,2}[:.]\d{2}\s*(?:Uhr|AM|PM|CET|CEST|UTC|GMT|[A-Z]{2,4}T)?\b/gm)||[]).length;if(S>=6&&C>=6)return"liveblog"}if(n&&r&&r.html){for(var q=n.split("\n").filter(function(e){return e.trim().length>0}),$=n.match(/\[([^\]]*)\]\([^)]+\)/g)||[],E=(n.match(/^#{1,3}\s+/gm)||[]).length,j=0,T=0,L=0;L<q.length;L++){var _=q[L];/^#{1,3}\s+/.test(_)?(T>0&&T<200&&j++,T=0):T+=_.length}if(T>0&&T<200&&j++,E>=4&&$.length>=5&&j>=4&&j>=.6*E)return"newsletter";var z=n.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($.length>=8&&E>=4&&z<5*$.length)return"newsletter"}return null}function rt(e,r,n,i,o){var a=[],s=t(r&&r.title||e.title).toLowerCase(),l=t(n||r&&r.textContent||"").toLowerCase(),c=t(i||"").toLowerCase(),u=(s+" "+l+" "+c).trim(),d=Be(e,i,o),p=Ke(e,i),m=!(!r||!r.docsLike),h=/definition of |what does .+ mean\??| pronunciation in english|dictionary|definitions for /.test(s)||/(\/dictionary\/|\/definition\/|\/definitions\/|\/pronunciation\/)/.test(location.pathname||"")||!!v("q")&&/\b(dictionary|translation|translate|thesaurus|lexicon|s[łl]ownik|t[łl]umaczenie)\b/.test(s+" "+t(e.excerpt||"").toLowerCase()),f=m&&l.length>20,g=!t(n||"")&&!t(r&&r.textContent||""),b=l.length>500&&!Qe(l);if(!m&&Qe(l)&&a.push("consent_interstitial"),m||b||!function(e,r,n,i){var o=t(n||"").toLowerCase(),a=t(i||"").toLowerCase(),s=Me("i"),l=Re(),c=s.test(o),u=s.test(a);if(!c&&!u&&"meta_login"!==e)return!1;var d=l.test(o)||o.indexOf("cookie")>=0&&o.indexOf("cookie")<140&&o.length<500,p=l.test(a)||a.indexOf("cookie")>=0&&a.indexOf("cookie")<140&&o.length<260;return"meta_login"===e||d||p}(p,0,l,c)&&!Qe(c)||a.push("consent_interstitial"),"anubis"===d&&a.push("anubis_challenge_page"),"datadome"===d&&a.push("datadome_challenge_page"),"cloudflare"===d&&a.push("cloudflare_challenge_page"),"consent_wall"===p&&a.push("consent_interstitial"),"meta_login"===p&&a.push("meta_login_wall"),"human_verification"===p&&a.push("human_verification_interstitial"),"region_selector"===p&&a.push("regional_selector_interstitial"),"browser_support"===p&&a.push("browser_support_interstitial"),"access_error"===p&&a.push("access_error_interstitial"),"site_unavailable"===p&&a.push("site_unavailable_interstitial"),"not_found"!==p||m&&f||a.push("not_found_interstitial"),"subscription"===p&&a.push("subscription_interstitial"),"auth_wall"===p&&a.push("auth_or_login_interstitial"),"meta_login"===p&&/cookie/i.test(u)&&a.push("consent_interstitial"),m&&f||!d&&!/(verify you are human|unusual traffic|are you a robot|access denied|security verification|checking your browser)/.test(u)||a.push("bot_or_access_interstitial"),m&&f||"human_verification"!==p&&"access_error"!==p||a.push("bot_or_access_interstitial"),g&&c.length>80&&a.push("empty_extraction"),!d&&!p&&t(n||"").length<10&&(e.title||"").length>3&&-1===a.indexOf("empty_extraction")&&-1===a.indexOf("short_extraction")&&a.push("short_extraction"),!d&&!p&&r&&"search"!==r.contentType){var y=l.length,k=c.length,w=Xe().length>=2;if("article"!==r.contentType||f||h||(w&&y<500&&k>2e3&&a.push("truncated_content"),w&&y>=500&&y<1500&&k>3e3&&y/k<.15&&a.push("truncated_content"),w&&y>=1500&&y<3e3&&k>8e3&&y/k<.12&&a.push("truncated_content")),y<200&&k>1e3&&!f&&!h&&a.push("short_extraction"),"article"===r.contentType&&!f&&!h&&y>=200&&y<1e3&&k>2e3){var x=t(n||""),A=(x.match(/\[([^\]]*)\]\([^)]+\)/g)||[]).length,S=(x.match(/^#{1,6}\s/gm)||[]).length,C=x.replace(/\[([^\]]*)\]\([^)]+\)/g,"").replace(/^#{1,6}\s.*$/gm,"").split(/\s+/).filter(function(e){return e.length>=3}).length;(A>=3&&C<2*A||S>=3&&C<20)&&a.push("short_extraction")}h&&y<60&&k>500&&a.push("short_extraction")}var q=Xe(),$=r&&"list"===r.contentType&&(v("q")||v("_nkw")||v("st")||/^\/search\//.test(location.pathname));if(!d&&!p&&q.length>=2&&!$&&!m){var E=(l.match(/[a-zA-Z]/g)||[]).length,j=l.replace(/\s/g,"").length;if((j>0?E/j:1)>.25){var T=Je(u),L=q.filter(function(e){return-1!==T.indexOf(e)}).length,_=q.length>=5?.3:.25;if(L/q.length<_){var z=Je(s);q.filter(function(e){return-1!==z.indexOf(e)}).length/q.length<_&&a.push("url_content_mismatch")}}}if(!d&&!p&&l.length>200){var N=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();N&&Ye[N]&&!function(e,t){var r=Ye[e];if(!r)return!0;var n=t.match(r)||[],i=t.split(/\s+/).length;return i<40||n.length/i>=.03}(N,l)&&a.push("url_content_mismatch")}(r&&"search"===r.contentType&&((r.resultCount||0)<3&&a.push("search_results_unusable"),(/^aplikacje google$/i.test(s)||/^google apps$/i.test(s))&&a.push("search_engine_shell_page"),/zawartość została wygenerowana przy użyciu ai|generated with ai|ai-generated/i.test(u)&&a.push("search_engine_ai_summary_only")),d||p||!r||"search"===r.contentType)||tt(e,r,n)&&a.push("multi_topic_page");if(!d&&!p&&r&&"search"!==r.contentType&&(et()&&-1===a.indexOf("subscription_interstitial"))){var M=c.length>0?l.length/c.length:1;l.length>0&&(l.length<5e3||l.length<8e3&&M<.4||l.length<12e3&&M<.25)&&a.push("paywall_partial_content")}d||p||!r||"search"===r.contentType||m||/\/(foto|fotos|photos?|gallery|galleries|galerie|galerij|galleria|galeria|fotogalerie|bildergalerie|bildspel|fotogalleri|valokuvat|fotoalbum|fotoreportaz|фото|фотогалерея|φωτογραφίες)\b/i.test(location.pathname||"")&&l.length<800&&a.push("photo_gallery_page");if(!d&&!p&&r&&"search"!==r.contentType){var R=t(r&&r.publishedTime||e.publishedTime||"");if(R){var P=Date.parse(R);if(!isNaN(P))(Date.now()-P)/864e5>30&&a.push("stale_content")}}return d||p||!r||"search"===r.contentType||m||/(ein presswire|business wire|pr newswire|prnewswire|globe newswire|globenewswire|cision|marketwired|pr\.com|accesswire|\/prnewswire\/|this press release was issued through)/i.test(l+" "+c)&&a.push("syndicated_repost"),a}function nt(e){return function(e){var r=V(e);return(w(/(^|\.)nextjs\.org$/)||/next\.js/i.test(r))&&/^\/docs\//.test(location.pathname)?Z(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=V(e);return(w(/(^|\.)react\.dev$/)||/react/i.test(r))&&/^\/(reference|learn)\//.test(location.pathname)?Z(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=V(e);if(!w(/(^|\.)docs\.stripe\.com$/)&&!/stripe/i.test(r))return null;if(!/^\/api\//.test(location.pathname)&&!/api reference/i.test(r))return null;var o,a=t((e.title||document.title).replace(/\s*[|·-]\s*Stripe API Reference$/i,"")),s=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(s){var l=s.parentElement;o=(l?l.querySelectorAll(":scope > section").length:0)>1?l:s}else o=document.querySelector("main article, article, main");return J(e,o,{titleSelectors:["article h1","main h1"],fallbackTitle:a,rewriteRoot:function(e){R(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=i(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']"),i=t(r&&r.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&&(n(e)<n(o)?e.remove():o.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 o={};r.forEach(function(e){var r=t(e.textContent).toLowerCase().replace(/\s*\[?deprecated\]?\s*$/i,"");o[r]?e.remove():o[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=V(e);return w(/(^|\.)docs\.aws\.amazon\.com$/)||/aws/i.test(r)?Z(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=V(e);return(w(/(^|\.)developer\.mozilla\.org$/)||/mdn|mozilla/i.test(r))&&(/^\/.*\/docs\//.test(location.pathname)||/^\/en-US\//.test(location.pathname)||/mdn|mozilla/i.test(r))?Z(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 i=t(e.textContent),o=n.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 r=V(e);return w(/(^|\.)docs\.github\.com$/)||/github docs/i.test(r)?Z(e,["main .markdown-body","main"],{titleSelectors:["main h1",".markdown-body h1"],fallbackTitle:function(e){return t((e.title||document.title).replace(/\s*-\s*GitHub Docs$/i,""))},rewriteRoot:function(e){e.querySelectorAll("[role='tablist'], ul[class*='SegmentedControl'], .prc-SegmentedControl-SegmentedControl-lqIXp").forEach(function(e){e.remove()}),R(e,"div, p, span, button, a",/^(copy to clipboard|request example|response)$/i)}}):null}(e)||function(e){var r=V(e);return(w(/(^|\.)docs\.python\.org$/)||/python .*documentation/i.test(r))&&(/\/library\//.test(location.pathname)||/python .*documentation/i.test(r))?Z(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()}),K(e,"h1, h2, h3, h4",function(e){return t(e).replace(/¶$/,"")}),e.querySelectorAll("dt.sig").forEach(function(e){var r=document.createElement("h3");r.textContent=t(e.textContent).replace(/¶$/,""),e.replaceWith(r)})}}):null}(e)||function(e){var t=V(e);return w(/(^|\.)developer\.hashicorp\.com$/)||/hashicorp|terraform/i.test(t)?Z(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()}),R(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=te(e.textContent);if(t){var r=document.createElement("h3");r.textContent=t,e.replaceWith(r)}})}}):null}(e)||function(e){var t=V(e);return w(/(^|\.)docs\.docker\.com$/)||/docker/i.test(t)?Z(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()}),R(e,"div, p, span, button, a",/^(table of contents|on this page|edit this page|copy page)$/i)}}):null}(e)||function(e){var r=V(e);return w(/(^|\.)grafana\.com$/)&&/^\/docs\//.test(location.pathname)&&/grafana/i.test(r)?Z(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()}),R(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 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=V(e);if(!w(/(^|\.)api\.baselinker\.com$/)&&!/baselinker/i.test(r))return null;var n=v("method"),i=U(["#main",".main_text","main"]),o=J(e,i,{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()}),R(e,"a, button, div, span",/^(method list|test your request|changelog|copy)$/i)}});if(n&&(!o||t(o.markdown||"").length<200)){var a=function(e){if(!e)return null;for(var t=new RegExp("examples\\[['\"]"+At(e)+"['\"]\\]\\s*=\\s*'([\\s\\S]*?)';"),r=Array.prototype.slice.call(document.querySelectorAll("script")),n=0;n<r.length;n+=1){var i=(r[n].textContent||"").match(t);if(i&&i[1])return it(i[1])}return null}(n);if(a){var s=["# "+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:s,textContent:t(s),readerMode:!1,contentType:"article"}}}return o}(e)||function(e){var r=V(e);if(!w(/(^|\.)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={},o=[];if(document.querySelectorAll("a[href*='/o/']").forEach(function(e){if(!(o.length>=12)){var r=i(e.getAttribute("href")),a=t(e.textContent);if(r&&/\/\d+(?:\.\d+)?\/o\//.test(r)&&/^read more$/i.test(a)&&!n[r])for(var s=e.parentElement;s&&s!==document.body;){var l=t((s.querySelector("h2, h3")||{}).textContent||""),c=F(s,["p"]);if(l&&c)return n[r]=!0,void o.push({text:l,url:r,detail:c});s=s.parentElement}}}),o.length<3)return null;var a=["# "+r,e.excerpt,Dt(o)].filter(Boolean).join("\n\n"),s=y({title:r,excerpt:e.excerpt,siteName:e.siteName||location.hostname,markdown:a,textContent:t(a)});return s.byline=e.byline,s.publishedTime=e.publishedTime,s}(e,n):Z(e,["main",".ruby-documentation"],{titleSelectors:["main h1",".ruby-documentation h1"],fallbackTitle:n,rewriteRoot:function(e){e.querySelectorAll("form, button").forEach(function(e){e.remove()}),R(e,"h2, h3, p, div, span",/^(type signatures|preview)$/i)}})}(e)}function it(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 ot(e){var r=V(e).toLowerCase(),n=!!document.querySelector("body.mediawiki, #mw-content-text, .mw-parser-output, meta[name='generator'][content^='MediaWiki']");if(!(w(/(^|\.)(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 i=U(["#bodyContent","#content","#main","main"]);return i?J(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()}),R(e,"a, span, div, p",/^(skip to content|skip to search|search|menu|index)$/i),R(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){I(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 at(e){var r=t(m(["meta[name='generator']"],"content")||"").toLowerCase(),n=t(m(["meta[name='application-name']","meta[property='og:site_name']"],"content")||"").toLowerCase(),i=t([V(e),r,n].join(" ")).toLowerCase();return document.querySelector("[class*='stldocs-']")?{system:"stldocs",generator:r,appName:n,signature:i}:/astro/.test(r)&&(document.querySelector("#starlight__sidebar, starlight-menu-button, [class*='sl-markdown-content']")||/starlight/.test(i))?{system:"starlight",generator:r,appName:n,signature:i}:/mkdocs/.test(r)||document.querySelector(".md-content")&&document.querySelector(".md-sidebar, .md-header, .md-nav")?{system:"mkdocs",generator:r,appName:n,signature:i}:document.querySelector("meta[name='readme-deploy']")||document.querySelector(".rm-Article, .rm-LandingPage, .rm-ReferenceMain")||/\.readme\.(io|com)$/.test(location.hostname)?{system:"readme",generator:r,appName:n,signature:i}:document.querySelector("redoc, rapi-doc")||/redoc/i.test(r)||document.querySelector(".redoc-wrap, .api-content[role='main']")?{system:"redoc",generator:r,appName:n,signature:i}:/buildwithfern|fern/.test(r)||document.querySelector("#fern-sidebar, .fern-page-heading, .fern-prose, .fern-layout-reference, .fern-layout-overview")?{system:"fern",generator:r,appName:n,signature:i}:/nextra/.test(i)||document.querySelector(".nextra-content, .nextra-breadcrumb, #nextra-skip-nav, .nextra-nav-container")?{system:"nextra",generator:r,appName:n,signature:i}:/vitepress/.test(r)||document.querySelector("#VPContent, .VPDoc, .VPSidebar, .VPNav")?{system:"vitepress",generator:r,appName:n,signature:i}:/rspress/.test(r)||document.querySelector("#__rspress_root, .rspress-doc, .rp-sidebar, .rp-nav")?{system:"rspress",generator:r,appName:n,signature:i}:/mdbook/i.test(r)||document.querySelector("#sidebar.sidebar, #menu-bar-hover-placeholder, nav.sidebar, #sidebar-toggle")?{system:"mdbook",generator:r,appName:n,signature:i}:/antora/.test(r)||document.querySelector("article.doc, main.main article.doc, .doc .homecards")?{system:"antora",generator:r,appName:n,signature:i}:/mintlify/.test(r)||document.querySelector("[class*='mintlify'], [data-testid='table-of-contents'], nav[aria-label='Table of contents']")?{system:"mintlify",generator:r,appName:n,signature:i}:/gitbook/i.test(r)||/\.gitbook\.io$/.test(location.hostname)||document.querySelector("main [class*='whitespace-pre-wrap']")&&/powered by gitbook/i.test(document.body.innerText)?{system:"gitbook",generator:r,appName:n,signature:i}:document.querySelector(".scalar-api-reference, .scalar-app, [data-scalar]")?{system:"scalar",generator:r,appName:n,signature:i}:/docusaurus/.test(r)||document.querySelector("#__docusaurus, .theme-doc-markdown, .theme-doc-sidebar-container, nav[aria-label='Docs sidebar']")?{system:"docusaurus",generator:r,appName:n,signature:i}:/^(doc\.rust-lang\.org|docs\.rs)$/.test(location.hostname)||document.querySelector(".rustdoc, .sidebar-elems, #crate-search")?{system:"rustdoc",generator:r,appName:n,signature:i}:/^pkg\.go\.dev$/.test(location.hostname)||document.querySelector("#main-content .Documentation, #main-content #pkg-index, .go-DetailsHeader")?{system:"go_pkg",generator:r,appName:n,signature:i}:/readthedocs/.test(i)||document.querySelector(".rst-content, .wy-nav-content, .wy-nav-side")?{system:"readthedocs",generator:r,appName:n,signature:i}:/sphinx/.test(r)||document.querySelector("div.body[role='main'], dt.sig, a.headerlink, div.highlight")?{system:"sphinx",generator:r,appName:n,signature:i}:document.querySelector("devsite-header, devsite-content, devsite-toc, devsite-nav")||/devsite/.test(i)?{system:"google_devsite",generator:r,appName:n,signature:i}:document.querySelector("[class*='elastic-docs'], [data-elastic-docs]")||/elastic/i.test(i)&&document.querySelector("[class*='docBody'], article[class*='doc']")?{system:"elastic_docs",generator:r,appName:n,signature:i}:document.querySelector("main .markdown-body, main article, main [data-pagefind-body], main .prose")?{system:"generic_docs",generator:r,appName:n,signature:i}:null}function st(e,r){if(!(r=r||at(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,r){function n(e){var r=e.querySelectorAll("[class*='stldocs-method-summary'], [class*='method-summary']").length,n=e.querySelectorAll("[class*='stldocs-method-route'], [class*='method-route']").length,i=e.querySelectorAll("[class*='resource-description']").length;return 1e3*r+200*n+80*e.querySelectorAll(".stldocs-property").length+50*i+t(e.textContent).length}return n(r)-n(e)})[0]||null,i=C(n||document.body);jt(i),O(i,{});var o,a,s=m(["main h1","main article h1"])||t(e.title||document.title),l=(o={},a=[],i.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=F(e,["[class*='method-route']","[class*='route-endpoint']","code","pre"]);r=t(r).replace(/\s+/g,"");var n=F(e,["h2","h3","h4","strong","[class*='method-name']","[class*='method-title']","[class*='summary-title']"]),i=t(e.textContent);if(n||(n=i,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 o=F(e,["p","[class*='description']","[class*='summary-description']"]);o&&(o=te(t(o)),n&&0===o.indexOf(n)&&(o=t(o.slice(n.length))),r&&0===o.indexOf(r)&&(o=t(o.slice(r.length))));var a={text:n};return r&&(a.route=r),o&&(a.detail=o),a.groups=function(e){var t=[],r={};return H(e,"section, div, details",".stldocs-property").forEach(function(e){if(!(t.length>=3||e.closest(".stldocs-property"))){var n=D(e,["h2","h3","h4","summary","[class*='title']"],".stldocs-property");if(/\b(parameters?|request|responses?|returns?|body|headers?)\b/i.test(n)){var i=ct(e).map(function(e){return dt(e,0)}).filter(Boolean).slice(0,4);i.length&&!r[n]&&(r[n]=!0,t.push({heading:n,fields:i}))}}}),t}(e),a}(e);if(r){var n=r.text+"|"+(r.route||"");o[n]||(o[n]=!0,a.push(r))}}}),a),c=function(e,r){var n={},i=[],o=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(lt(e,".stldocs-property-declaration, [class*='property-declaration']"));if(r&&!ut(r)&&!n[r]){var a=te(lt(e,".stldocs-property-description, [class*='property-description']")),s=ct(e).map(function(e){return dt(e,0)}).filter(Boolean).slice(0,5);if(a||s.length){var l=/(?:=|:)\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=o&&0===c.toLowerCase().indexOf(o);n[r]=!0,i.push({declaration:r,description:a||null,fields:s,objectSchema:l,score:(l?600:0)+200*s.length+(a?50:0)+(d?700:0)+(o&&-1!==r.toLowerCase().indexOf(o)?250:0)-120*(r.match(/\s+or\s+/g)||[]).length-80*Math.max(u-2,0)+Math.min(r.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,s);if(l.length||c.length){var u=function(e,r,n){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])),s=0;s<a.length;s+=1){var l=a[s];if(!l.closest(".stldocs-property, [class*='stldocs-method-summary'], [class*='method-summary'], .stldocs-properties, [class*='resource-content-properties']")){var c=te(t(l.textContent));if(c&&c!==n&&!(c.length<20)&&!/^(models?\s*expand\s*collapse|api reference)$/i.test(c))return c}}var u=te(t(r&&r.excerpt));return u&&u!==n?/^api reference for .* endpoints?$/i.test(u)?null:u:null}(i,e,s);l.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 s&&d.push("# "+s),u&&d.push(u),l.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"+pt(e.fields," ")}),t}).join("\n")}(l)),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(pt(e.fields,""))}),t.join("\n\n")}(c)),{title:s||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(" ")),readerMode:!1,contentType:"article"}}return ee(e,n,{title:m(["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, aside").forEach(function(e){e.remove()}),R(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 lt(e,t){return D(e,[t],".stldocs-property")}function ct(e){return H(e,".stldocs-property",".stldocs-property").filter(function(t){return t!==e})}function ut(e){return e=t(e),/^("|').+("|')$/.test(e)}function dt(e,r){if(!e)return null;r=r||0;var n=t(lt(e,".stldocs-property-declaration, [class*='property-declaration']"));return!n||ut(n)?null:{declaration:n,description:te(lt(e,".stldocs-property-description, [class*='property-description']"))||null,fields:r<2?ct(e).map(function(e){return dt(e,r+1)}).filter(Boolean).slice(0,0===r?3:2):[]}}function pt(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"+pt(e.fields,t+" ")),r}).join("\n")}function mt(e){if(!function(e){if(!document.querySelector(".project-home-panel, .project-information, .readme-holder, .file-holder.readme-holder"))return!1;var r=t([e&&e.title,e&&e.siteName,m(["meta[name='application-name']","meta[property='og:site_name']"],"content"),document.title].join(" "));return/gitlab/i.test(r)}(e))return null;var r=document.querySelector(".readme-holder .md, .readme-holder .wiki, .readme-holder [data-testid='readme-content'], .file-holder.readme-holder .md, .file-holder.readme-holder .wiki"),n=t((e.title||document.title).replace(/\s*[·|-]\s*GitLab.*$/i,"")),i=m([".project-information .project-description",".project-home-panel .project-description",".project-home-panel p"])||e.excerpt;if(!r)return n||i?g({title:n,description:i,siteName:e.siteName||location.hostname}):null;var o=C(r);jt(o);var a=Et(o.innerHTML).replace(/^README\.md\s*/i,"").trim();return t(a)?(i&&-1===a.toLowerCase().indexOf(i.toLowerCase())&&(a=i+"\n\n"+a),n&&(a="# "+n+"\n\n"+a),{title:n||e.title,byline:e.byline,excerpt:i,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:o.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article"}):i?g({title:n,description:i,siteName:e.siteName||location.hostname}):null}function ht(e){var r=function(){var e=location.pathname.split("/").filter(Boolean);return e.length<2?null:e}();if(!r||2!==r.length)return!1;if(document.querySelector("[data-testid='repository-container-header'], strong[itemprop='name'] a, h1 strong[itemprop='name']"))return!0;var n=t([e&&e.title,document.title].join(" "));return/^GitHub\s+-\s+[^\s/]+\/[^\s:]+/i.test(n)}function ft(e){if(!w(/(^|\.)github\.com$/))return null;var r=function(){for(var e=["#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"],r=0;r<e.length;r+=1)for(var n=Array.prototype.slice.call(document.querySelectorAll(e[r])),i=0;i<n.length;i+=1){var o=n[i];if(o&&t(o.textContent)&&!o.closest("[data-testid='issue-body'], [data-testid='comment-body'], .js-comment-container, .timeline-comment"))return o}return null}(),n=t((e.title||document.title).replace(/^GitHub -\s*/i,"").replace(/\s*[·|-]\s*GitHub$/i,"")),i=function(e){return m(["[data-testid='repository-description']","[itemprop='about']",".BorderGrid-cell p.f4",".repository-content .f4.my-3",".repository-meta-content"])||e.excerpt}(e);if(!r)return ht(e)&&(n||i)?g({title:n,description:i,siteName:e.siteName||"GitHub"}):null;var o=C(r);jt(o);var a=Et(o.innerHTML);return t(a)?(i&&-1===a.toLowerCase().indexOf(i.toLowerCase())&&(a=i+"\n\n"+a),n&&(a="# "+n+"\n\n"+a),{title:n||e.title,byline:e.byline,excerpt:i,siteName:e.siteName||"GitHub",publishedTime:e.publishedTime,html:o.innerHTML,markdown:a,textContent:t(a),readerMode:!1,contentType:"article"}):ht(e)&&(n||i)?g({title:n,description:i,siteName:e.siteName||"GitHub"}):null}function gt(e){if(!document.querySelector("#mw-content-text .mw-parser-output, #mw-content-text .mw-body-content, #bodyContent .mw-parser-output"))return null;if(w(/(^|\.)wikipedia\.org$/))return null;var r=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");if(!r)return null;var n=C(r);n.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()}),n.querySelectorAll("table.navbox, table.collapsible, .navbox, .footer-nav, .portal-bar, .portal, .succession-box").forEach(function(e){e.remove()}),n.querySelectorAll("#External_links, #References, #Notes, #See_also, #Further_reading").forEach(function(e){var t=e.closest("section, div");t&&t.remove()}),jt(n);var i=Et(n.innerHTML),o=t(i);if(!o||o.length<30)return null;var a=m(["#firstHeading",".mw-first-heading","h1.firstHeading","h1"])||t((e.title||document.title).replace(/\s*[-|–]\s*(Wiktionary|Wikipedia|Wiki).*$/i,""));return a&&!Q(i,a)&&(i="# "+a+"\n\n"+i),i=Mt(i),{title:a||e.title,byline:e.byline,excerpt:o.slice(0,280)||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.innerHTML,markdown:i,textContent:t(i),readerMode:!1,contentType:"article",hostAware:!0}}function vt(e){if(!w(/(^|\.)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");if(!r)return null;var n=C(r);n.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()}),n.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()}),n.querySelectorAll("table").forEach(function(e){var r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,i=e.querySelector("th, td, caption"),o=i?t(i.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(o))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()}}),jt(n);var i=Et(n.innerHTML),o=t(i);if(!o||o.length<40)return null;var a=m(["h1.page-header__title","#firstHeading","h1"])||t((e.title||document.title).replace(/\s*\|\s*.*Wiki\s*\|\s*Fandom$/i,""));return a&&!Q(i,a)&&(i="# "+a+"\n\n"+i),i=Mt(i),{title:a||e.title,byline:e.byline,excerpt:o.slice(0,280)||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:n.innerHTML,markdown:i,textContent:t(i),readerMode:!1,contentType:"article",hostAware:!0}}function bt(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=m(["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=C(i);jt(a),o=Et(a.innerHTML)}o||(o=m([".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 s=m([".question .user-details a","#question .user-details a",".postcell .user-details a","[data-questionid] .user-details a"]),l=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),i=t((e.querySelector(".user-details a")||{}).textContent||""),o=e.querySelector(".js-post-body, .s-prose"),a="";if(o){var s=C(o);jt(s),a=Et(s.innerHTML)}a||(a=t((e.querySelector(".js-post-body, .s-prose")||{}).innerText||""));var l=e.matches(".accepted-answer")||!!e.querySelector(".js-accepted-answer-indicator, .accepted-answer, [data-accepted='true']");return{score:isNaN(n)?0:n,author:i,body:a,accepted:l}}).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||!o&&0===l.length)return null;var c=["# "+n];s&&c.push("- Asked by: "+s),o&&c.push(o),l.length&&c.push("## Top Answers"),l.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:s||e.byline,excerpt:o||e.excerpt,siteName:e.siteName||location.hostname,publishedTime:e.publishedTime,html:r?r.outerHTML:"",markdown:u,textContent:t(u),readerMode:!1,contentType:"article"}}function yt(e,r){if(!w(/(^|\.)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),i=t((r.querySelector('[slot="credit-bar"]')||{}).textContent||""),o=r.getAttribute("author")||m(["[slot='credit-bar'] a[href*='/user/']","a[href*='/user/']"]);o=t(o);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+|let us know your cookie preferences)$/i.test(r)||(a=r,0))});var s=parseInt(r.getAttribute("comment-count")||"0",10),l=Array.prototype.slice.call(document.querySelectorAll("shreddit-comment[depth='0'], shreddit-comment:not([depth])")),c=[];if(l.forEach(function(e){if(!(c.length>=8)){var r=t(e.getAttribute("author")||""),n=t(e.getAttribute("score")||""),i=t((e.querySelector('[slot="commentMeta"]')||{}).innerText||""),o=t((e.querySelector('[slot="comment"]')||{}).innerText||"");if(o){var a=r||"Comment";n&&(a+=" ("+n+" points)"),c.push({heading:a,meta:i,text:o})}}}),!n||!a&&0===c.length)return null;var u=["# "+n];return o&&u.push("- Author: "+o),!i||o&&-1!==i.toLowerCase().indexOf(o.toLowerCase())||u.push("- Context: "+i),a&&u.push(a),(s||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:o||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 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",s=e.excerpt||"Original content on this Reddit page is not available without cookie acceptance or login.",l=["Access notice: Reddit cookie acceptance or login required"];return o&&l.push("Requested community: r/"+o),g({title:a,description:s,details:l,siteName:e.siteName||"Reddit"})}function kt(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 wt(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 xt(e,n){return function(e){var r=V(e);if(!w(/(^|\.)pinterest\.com$/)&&!/pinterest/i.test(r))return null;if(!/^\/search\//.test(location.pathname)&&!v("q")&&!/showing more search results for/i.test(document.body&&document.body.textContent))return null;var n=t(v("q")),o={},a=[];return document.querySelectorAll("a[href*='/pin/']").forEach(function(e){if(!(a.length>=12)){var r=i(e.getAttribute("href")),n=t(e.getAttribute("aria-label")||e.textContent);if(!n){var s=e.querySelector("img[alt]");n=t(s&&s.getAttribute("alt"))}!r||!n||n.length<12||o[r]||/^(log in|sign up|explore|search|filters|you are signed out)$/i.test(n)||(o[r]=!0,a.push({text:n,url:r}))}}),a.length>=4?y({title:n?"Pinterest results for "+n:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Pinterest",items:a}):e.excerpt?g({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}(e)||function(e,n){var i=V(e);if(!w(/(^|\.)tiktok\.com$/)&&!/tiktok/i.test(i))return null;var o=t(n||""),a=m(["main h1","h1"]),s=m(["main h2","h2"]),l=r((location.pathname||"").replace(/^\/tag\//,"").split("/")[0]||"").replace(/[-_]+/g," ");if(l=t(l),/^\/tag\//.test(location.pathname)||a||s){var c=a||(l?"#"+l: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 s&&s!==c&&d.push(s),/drag the slider to fit the puzzle|log in/i.test(o)&&d.push("Access notice: TikTok login or verification required"),g({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)?g({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,n)||function(e,r){var n=V(e);if(!w(/(^|\.)ebay\./)&&!/ebay/i.test(n))return null;if(!/\/sch\//.test(location.pathname)&&!v("_nkw")&&!/for sale\s*\|\s*ebay/i.test(n))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 r=i(e.getAttribute("href")),n=t(e.textContent||e.querySelector("img[alt]")&&e.querySelector("img[alt]").getAttribute("alt")),s=he(e.closest("li.s-item, .srp-results li")||e.parentElement,n);!r||!n||n.length<8||o[r]||(o[r]=!0,a.push({text:n,url:r,detail:s}))}}),a.length>=4?y({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"eBay",items:a}):e.excerpt||/cookie/i.test(r||"")?g({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,n)||function(e){var r=V(e);if(!w(/(^|\.)glassdoor\.com$/)&&!/glassdoor/i.test(r))return null;if(location.pathname&&"/"!==location.pathname&&"/index.htm"!==location.pathname)return null;var n=m(["main h1","h1"])||t((e.title||document.title).replace(/\s*\|.*$/,"")),i=h(["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!==n&&e.length>=40})||e.excerpt,a=i.filter(function(e){return e!==n&&e!==o}).slice(0,6);return n||o?g({title:n,description:o,highlights:a,siteName:e.siteName||"Glassdoor"}):null}(e)||function(e){if(!w(/(^|\.)(youtube\.com|youtu\.be)$/))return null;if(!v("v")&&!/^\/(watch|shorts|live)\b/.test(location.pathname))return null;var r=u(["VideoObject"]),n=t(r&&(r.name||r.headline)||e.title).replace(/\s*[-|]\s*YouTube$/i,""),i=m(["#description-inline-expander","ytd-expandable-video-description-body-renderer","#description.ytd-watch-metadata","#description"])||p(r&&r.description)||e.excerpt,o=d(r&&(r.author||r.publisher))||e.byline,a=p(r&&(r.uploadDate||r.datePublished))||e.publishedTime,s=[],l=h(["ytd-macro-markers-list-item-renderer h4","ytd-macro-markers-list-item-renderer #title"],12);return p(r&&r.duration)&&s.push("Duration: "+p(r.duration)),l.length&&s.push("Chapters: "+l.slice(0,6).join(" | ")),n&&i?g({title:n,byline:o,publishedTime:a,description:i,details:s,siteName:e.siteName||"YouTube"}):null}(e)||function(e){if(!w(/(^|\.)amazon\./))return null;if("/s"!==location.pathname&&!v("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 o=e.querySelector("h2 a[href], a.a-link-normal.s-no-outline[href]"),a=e.querySelector("h2 span, h2 a span"),s=t(a?a.textContent:o&&o.textContent),l=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(" - ");!s||!l||s.length<8||r[l]||(r[l]=!0,n.push({text:s,url:l,detail:h}))}}),n.length<3?null:y({title:e.title||document.title,excerpt:n[0].text,siteName:e.siteName||location.hostname,items:n})}(e)||function(e){if(!w(/(^|\.)amazon\./))return null;if(!/(\/dp\/|\/gp\/product\/)/.test(location.pathname))return null;var r=u(["Product","Book"]),n=m(["#productTitle","#title span","#ebooksProductTitle"])||p(r&&r.name)||e.title,i=p(r&&r.description)||e.excerpt||m(["#bookDescription_feature_div .a-expander-content","#bookDescription_feature_div .a-expander-partial-collapse-content","#productDescription p","#productDescription"]),o=m(["#bylineInfo",".author a","#brand"]),a=h(["#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)}),s=[],l=r&&r.offers;Array.isArray(l)&&(l=l[0]);var c=l&&l.price?t(l.price+(l.priceCurrency?" "+l.priceCurrency:"")):null;if(c&&s.push("Price: "+c),l&&l.availability&&s.push("Availability: "+f(l.availability)),r&&r.aggregateRating&&r.aggregateRating.ratingValue){var d=t(r.aggregateRating.ratingValue+"/5"),v=r.aggregateRating.reviewCount||r.aggregateRating.ratingCount;s.push("Rating: "+d+(v?" from "+v+" reviews":""))}return n&&i?g({title:t(n).replace(/: Amazon.*$/i,""),byline:o,description:i,details:s,highlights:a,siteName:e.siteName||location.hostname}):null}(e)||function(e){var t=V(e);if(!w(/(^|\.)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=pe(e).replace(/^AP Photo\s*/i,"").replace(/^Opinion\s*/i,""),o=i(e.getAttribute("href")),a=he(e.closest("article, section, div")||e.parentElement,t);!t||!o||t.length<18||t.length>220||r[o]||/^(bloomberg opinion|bloomberg businessweek|newsletter:|watch)$/i.test(t)||(r[o]=!0,n.push({text:t,url:o,detail:a}))}),n.length<4?null:y({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Bloomberg",items:n})}(e)||function(e){var t=V(e);if(!w(/(^|\.)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 o=pe(e),a=i(t),s=he(e.closest("article, section, li, div")||e.parentElement,o);!o||!a||o.length<18||o.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(o)||(r[a]=!0,n.push({text:o,url:a,detail:s}))}}),n.length<4?null:y({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"The Economist",items:n})}(e)||function(e){var r=V(e);if(!/(^|\b)ft\.com\b|financial times/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},o=[];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=i(e.getAttribute("href")),s=he(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,o.push({text:r,url:a,detail:s}))}),o.length<4?null:y({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||location.hostname,items:o})}(e)||function(e){var r=V(e);if(!w(/(^|\.)booking\.com$/)&&!/booking\.com/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n=m(["main h1","h1"])||t((e.title||document.title).replace(/^Booking\.com\s*[|:-]\s*/i,"")),o=e.excerpt,a=h(["main h2"],8).filter(function(e){return e.length>=5&&!/^(offers?)$/i.test(e)}),s={},l=[];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(!(l.length>=10)){var r=t(e.textContent),n=i(e.getAttribute("href"));!r||!n||r.length<3||r.length>80||s[n]||/^(learn more|search|sign in|register|list your property)$/i.test(r)||(s[n]=!0,l.push({text:r,url:n}))}}),!n&&!a.length&&l.length<3)return null;var c=[];n&&c.push("# "+n),o&&c.push(o),a.length&&c.push(a.slice(0,6).map(function(e){return"- "+e}).join("\n")),l.length>=3&&c.push(Dt(l));var u=c.filter(Boolean).join("\n\n").trim();return{title:n||e.title,byline:null,excerpt:o,siteName:e.siteName||"Booking.com",publishedTime:null,html:"",markdown:u,textContent:t(u),readerMode:!1,contentType:l.length>=3?"list":"article"}}(e)||function(e){var r=V(e);if(!w(/(^|\.)wykop\.pl$/)&&!/wykop/i.test(r))return null;if(location.pathname&&"/"!==location.pathname)return null;var n={},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 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")||""),s=i(r.getAttribute("href"));if(!(!a||!s||a.length<12||a.length>220||n[s]||/^(załóż konto|zaloguj się|ustawienia prywatności)$/i.test(a))){n[s]=!0;var l=[],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)&&l.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&&l.push(u),o.push({text:a,url:s,detail:t(l.join(" - "))})}}}}),o.length<4?null:y({title:e.title||document.title,excerpt:e.excerpt,siteName:e.siteName||"Wykop",items:o})}(e)||function(e){var r=E(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(Dt(r.items.slice(0,12)));var o=i.filter(Boolean).join("\n\n").trim();return t(o).length<180?null:y({title:n,excerpt:e&&e.excerpt,siteName:e&&e.siteName||location.hostname,markdown:o,textContent:t(o)})}(e)||nt(e)||function(e){var r=V(e).toLowerCase();if(!w(/(^|\.)(guides|edgeguides)\.rubyonrails\.org$/)&&!/ruby on rails guides/.test(r))return null;var n=U(["#main","main article","main","article"]);if(!n)return null;var i=F(n,["p"]),o=J(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()}),R(e,"a, p, div, span",/^(skip to main content|skip to article body)$/i),R(e,"h2, h3",/^chapters$/i),e.querySelectorAll("ol, ul").forEach(function(e){I(e)&&e.remove()})}});if(!o)return null;var a=t(i||o.excerpt);if(a&&-1===o.markdown.indexOf(a)){var s=o.markdown;Q(s,o.title)&&(s=s.split("\n\n").slice(1).join("\n\n")),o.markdown=["# "+o.title,a,s].filter(Boolean).join("\n\n"),o.textContent=t(o.markdown)}return o}(e)||ot(e)||function(e){var t=V(e).toLowerCase();return w(/(^|\.)api\.rubyonrails\.org$/)||/rubyonrails|activerecord::|actioncontroller::/.test(t)?ot(e):null}(e)||mt(e)||ft(e)||vt(e)||gt(e)||bt(e)||function(e){var r=at(e);return st(e,r)||function(e,r){if(!(r=r||at(e))||"rustdoc"!==r.system)return null;var n=U(["main",".rustdoc","body"]);return J(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()}),R(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,t){if(!(t=t||at(e))||"go_pkg"!==t.system)return null;var r=U(["#main-content","main","body"]);return J(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()}),R(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||at(e),!r||"google_devsite"!==r.system)return null;var n=U(["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 ee(e,n,{title:(o=m(["devsite-content h1","article h1","main h1"])||e.title||document.title,B((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 r=t(e.textContent);/stay organized with collections/i.test(r)&&/save and categorize content/i.test(r)&&r.length<200?e.remove():/^(h[1-6])$/i.test(e.tagName)&&(e.textContent=t(e.textContent).replace(i,""))}),e.querySelectorAll("div, section, p").forEach(function(e){var r=t(e.textContent);/except as otherwise noted.*creative commons/i.test(r)&&r.length<600&&e.remove(),/^(content and samples on this page|except as otherwise noted)/i.test(r)&&r.length<600&&e.remove()}),R(e,"a, button, span, div",/^(send feedback|view source|give feedback|was this helpful\??|star|more_vert|expand_more|expand_less|content_copy)$/i),K(e);var r=e.querySelectorAll("h1");if(r.length>1){for(var n=0,o=t(r[0].textContent).length,a=1;a<r.length;a++){var s=t(r[a].textContent).length;s>0&&s<o&&(o=s,n=a)}for(var l=t(r[n].textContent).toLowerCase(),c=0;c<r.length;c++)if(c!==n){var u=t(r[c].textContent).toLowerCase();u!==l&&0!==u.indexOf(l)&&0!==l.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 o}(e,r)||function(e,r){if(r=r||at(e),!r||"elastic_docs"!==r.system)return null;var n=U(["main article","main [class*='docBody']","article","main"]);return ee(e,n,{title:B(m(["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()}),R(e,"button, a, span, div, p",/^(hide attributes?|show attributes?|hide child attributes?|show child attributes?)$/i),K(e)}})}(e,r)||function(e,r){if(r=r||at(e),!r||"readme"!==r.system)return null;var n=U(/\/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 ee(e,n,{title:B(m(["article h1",".rm-Article h1","main h1","h1"])||Qt(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()}),R(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()}),K(e)}})}(e,r)||function(e,r){if(r=r||at(e),!r||"redoc"!==r.system)return null;var n=U([".redoc-wrap .api-content",".api-content",".redoc-wrap [role='main']",".redoc-wrap","redoc","main"]),i=ee(e,n,{title:B(m([".api-content h1",".redoc-wrap h1","main h1","h1"])||Qt(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, .menu-content, [class*='sidebar'], [class*='SideMenu'], [role='navigation']").forEach(function(e){e.remove()}),R(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,i=0;i<n.length;i++){var o=n[i];if(3===o.nodeType){var a=o.textContent;a&&!/^\s*$/.test(a)&&t.push(a)}else if(1===o.nodeType){var s=o.nodeName,l=o.className||"";if("BUTTON"===s)continue;if(/\bellipsis\b/.test(l))continue;if("SPAN"===s){var c=o.textContent;c&&!/^\s*$/.test(c)&&t.push(c);continue}r(o)}}}r(e);var n=t.join("").replace(/,(\s*[}\]])/g,"$1");try{var i=JSON.parse(n);return JSON.stringify(i,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,i=0;i<r.length;i++)if(r[i].querySelector("pre, code")||t(r[i].textContent).length>20){n=r[i];break}e.querySelectorAll("[role='tablist'], [role='tab']").forEach(function(e){e.remove()});for(var o=0;o<r.length;o++)r[o]!==n&&r[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=B(e.textContent).replace(/([\w/+.-]+)(required)$/i,"$1 required")})}});return i}(e,r)||function(e,r){return r=r||at(e),r&&"mintlify"===r.system?Z(e,["#content-area","[id='content-area']","main article","main","article"],{titleSelectors:["main h1","article h1","h1"],fallbackTitle:Qt,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("nav, aside, .menu, .sidebar, footer, .pagination, .table-of-contents, .theme-toggle, [data-testid='table-of-contents'], [aria-label='Table of contents'], [class*='sidebar'], [class*='toc'], #page-context-menu, #page-context-menu-button, #pagination").forEach(function(e){e.remove()}),R(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()}),K(e)}}):null}(e,r)||function(e,t){if(t=t||at(e),!t||"gitbook"!==t.system)return null;var r=U(["main [class*='whitespace-pre-wrap']","main .space-y-5","main","article","[role='main']"]);return ee(e,r,{title:B(m(["main header h1","main h1","h1"])||Qt(e).replace(/\s*\|.*$/,"")),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, header, [class*='sidebar'], [class*='Sidebar'], [class*='TableOfContents'], [class*='toc'], [class*='navigation']").forEach(function(e){e.remove()}),R(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),K(e)}})}(e,r)||function(e,t){if(t=t||at(e),!t||"scalar"!==t.system)return null;var r=U([".scalar-api-reference section",".scalar-api-reference [class*='content']",".scalar-api-reference main",".scalar-api-reference",".scalar-app","main"]);return ee(e,r,{title:B(m([".scalar-api-reference h1","main h1","h1"])||Qt(e)),focusFragment:!1,rewriteRoot:function(e){e.querySelectorAll("nav, aside, [class*='sidebar'], [class*='Sidebar'], [class*='search'], [class*='Search']").forEach(function(e){e.remove()}),R(e,"a, button, div, p, span, li",/^(skip to content|search|try it|send request|copy|download openapi spec|client libraries)$/i),K(e)}})}(e,r)||function(e,t){return t=t||at(e),t&&"fern"===t.system?Z(e,[".fern-layout-reference article",".fern-layout-overview article","article .fern-prose","article","main"],{titleSelectors:[".fern-page-heading","article h1","main h1"],fallbackTitle:Qt,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, #fern-sidebar, .fern-breadcrumb, .fern-page-actions, .toc-mobile, .fern-header-tabs, .fern-api-playground, .fern-endpoint-panel").forEach(function(e){e.remove()}),R(e,"a, button, div, p, span, li",/^(copy page|on this page|table of contents|previous|next)$/i),K(e)}}):null}(e,r)||function(e,t){return t=t||at(e),t&&"nextra"===t.system?Z(e,["article.nextra-content main",".nextra-content main","main[data-pagefind-body='true']",".nextra-content","main"],{titleSelectors:["main h1",".nextra-content h1","h1"],fallbackTitle:Qt,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .nextra-toc, .nextra-sidebar, .nextra-breadcrumb, .nextra-nav-container").forEach(function(e){e.remove()}),R(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()}),K(e)}}):null}(e,r)||function(e,t){return t=t||at(e),t&&"docusaurus"===t.system?Z(e,["main article","main .theme-doc-markdown","article .theme-doc-markdown","main [class*='docItemContainer']","main"],{titleSelectors:["main h1","article h1",".theme-doc-markdown h1"],fallbackTitle:Qt,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .theme-doc-breadcrumbs, .theme-doc-toc-desktop, .theme-doc-toc-mobile, .pagination-nav, .theme-edit-this-page, .theme-last-updated").forEach(function(e){e.remove()}),R(e,"a, button, div, p, span, li",/^(skip to main content|on this page|edit this page|copy for llm|view as markdown|ask ai|search)$/i),K(e)}}):null}(e,r)||function(e,r){return r=r||at(e),r&&"vitepress"===r.system?Z(e,[".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*[^|]*$/,"")},rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .VPDocFooter, .VPContentDocFooter, .VPDocAsideOutline, .aside, .edit-link, .pager-link, .prev-next, .outline-link").forEach(function(e){e.remove()});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}R(e,"a, button, div, p, span, li",/^(skip to content|skip to main content|on this page|return to top|edit this page|previous page|next page|ads via carbon)$/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=i(e.getAttribute&&e.getAttribute("href")),r=i(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()}}),K(e)}}):null}(e,r)||function(e,t){if(t=t||at(e),!t||"rspress"!==t.system)return null;var r=W(e,["main h1","article h1",".rspress-doc h1"],function(e){return(e.title||document.title).replace(/\s*[-|]\s*[^-|]*$/,"")});r&&(r=r.replace(/^#\s*/,""));return Z(e,[".rspress-doc","main .rp-doc","main article","main"],{title:r,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .rp-nav, .rp-sidebar, .rp-toc, .rp-doc-footer, .rp-breadcrumb, .rp-pagination").forEach(function(e){e.remove()}),R(e,"a, button, div, p, span, li",/^(skip to main content|on this page|edit this page|previous page|next page|back to top)$/i),e.querySelectorAll("a.rp-header-anchor, .rp-header-anchor").forEach(function(e){e.remove()}),K(e,null,function(e){return B(e).replace(/^#\s*/,"")})}})}(e,r)||function(e,r){return r=r||at(e),r&&"mkdocs"===r.system?Z(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)},rewriteRoot:function(e){e.querySelectorAll(".md-source-file, .md-content__button, .md-feedback, .mdx-badge, .md-nav, .md-sidebar, aside").forEach(function(e){e.remove()}),R(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 i=t(e.textContent);if(i){var o=document.createElement("blockquote");o.innerHTML="<p><strong>"+n+":</strong> "+i+"</p>",e.replaceWith(o)}}),e.querySelectorAll("font").forEach(function(e){e.replaceWith(document.createTextNode(e.textContent))})}}):null}(e,r)||function(e,r){return r=r||at(e),r&&"mdbook"===r.system?Z(e,["#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,""))},rewriteRoot:function(e){e.querySelectorAll("#sidebar, #sidebar-toggle, nav.sidebar, #menu-bar, #menu-bar-hover-placeholder, .nav-wrapper, .nav-chapters, .chapter, #sidebar-resize-handle, .mobile-nav-chapters").forEach(function(e){e.remove()}),R(e,"a, button, div, span",/^(print this book|light|rust|coal|navy|ayu|change theme|toggle table of contents|keyboard shortcuts)$/i)}}):null}(e,r)||function(e,r){if(!(r=r||at(e))||"antora"!==r.system)return null;var n=U(["main.main article.doc","article.doc","main.main","main"]);if(!n)return null;var o=F(n,["h1"]);if(!o){var a=t((e.title||document.title).replace(/\s*::\s*Fedora Docs$/i,"")),s=h(["article.doc h2","article.doc h3"],8).filter(function(e){return e.length>=4&&!/^(contents?|navigation)$/i.test(e)}),l={},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")||i(e.href),n=t(e.textContent),o="",a=e.closest(u),s=e.nextElementSibling;!s||!/^(P|DIV|UL|OL)$/i.test(s.tagName||"")||a&&s.closest(u)!==a||(o=t(s.textContent)),o||(o=D(a||e.closest("section, div, li, article")||e.parentElement,["p","li"],u))===n&&(o=""),!r||!n||n.length<4||l[r]||(l[r]=!0,c.push({text:n,url:r,detail:o}))}}),!c.length)return null;var d=[];a&&d.push("# "+a),s.length&&d.push(s.slice(0,6).map(function(e){return"- "+e}).join("\n")),d.push(Dt(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 ee(e,n,{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 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){if(r=r||at(e),!r||"readthedocs"!==r.system)return null;var n=W(e,[".rst-content h1",".wy-nav-content h1","main h1","h1"],function(e){return e.title||document.title});return Z(e,[".wy-nav-content .rst-content",".rst-content",".wy-nav-content","div[role='main']","main"],{title:n,rewriteRoot:function(e){e.querySelectorAll("nav, aside, footer, .wy-breadcrumbs, .rst-footer-buttons, .wy-menu, .wy-nav-side, .wy-side-nav-search, .wy-nav-top").forEach(function(e){e.remove()}),e.querySelectorAll("a.headerlink").forEach(function(e){e.remove()});var r=!1;e.querySelectorAll("h1").forEach(function(e){if(e.textContent=B(e.textContent),t(e.textContent)===t(n)){if(r)return void e.remove();r=!0}}),e.querySelectorAll("h2, h3, h4, h5, h6").forEach(function(e){e.textContent=B(e.textContent)})}})}(e,r)||function(e,t){return t=t||at(e),t&&"sphinx"===t.system?Z(e,["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,"")},rewriteRoot:function(e){e.querySelectorAll("a.headerlink, button.copybutton, .toc-backref, .sphinxsidebar, .sphinxsidebarwrapper, aside").forEach(function(e){e.remove()}),K(e,"h1, h2, h3, h4"),e.querySelectorAll("dt.sig").forEach(function(e){var t=document.createElement("h3");t.textContent=B(e.textContent),e.replaceWith(t)})}}):null}(e,r)}(e)||yt(e,n)||function(e,n){if(!w(/(^|\.)behance\.net$/))return null;var o=[],a={};if(document.querySelectorAll("a[href*='/gallery/'], a[href*='/project/']").forEach(function(e){if(!(o.length>=12)){var r=e.getAttribute("href");if(r){var n=i(r);try{var s=new URL(n,location.href);s.searchParams.delete("tracking_source"),s.searchParams.delete("l"),n=s.toString()}catch(e){}var l=t(e.textContent||e.getAttribute("aria-label")||"");if(l){var c=l+"|"+n;if(!a[c]){a[c]=!0;var u=e.closest("article, li, div, section")||e.parentElement;o.push({text:l,url:n,detail:he(u,l)})}}}}}),o.length>=4){var s=r((location.pathname||"").split("/").filter(Boolean).slice(-1)[0]||"").replace(/[-_+]+/g," ");return{title:(s=t(s))?"Behance projects for "+s:e.title||document.title,byline:null,excerpt:e.excerpt,siteName:e.siteName||"Behance",publishedTime:null,html:"",textContent:Dt(o),markdown:Dt(o),readerMode:!1,contentType:"list",hostAware:!0}}if(!/(cookie settings|measure performance|personalize advertising|adobe and our partners)/i.test(n||""))return null;var l=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"),g({title:l,description:c,details:u,siteName:e.siteName||"Behance"})}(e,n)||function(e,n){if(!w(/(^|\.)instagram\.com$/))return null;var i=k(n),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 s=r(a[1]);o=(s=(s||"").replace(/^https?:\/\/[^\/]+/,"")).split("/").filter(Boolean)}else o=[]}for(var l=-1,c=0;c<o.length-1;c+=1)if(/^(p|reel|reels|tv)$/i.test(o[c])){l=c;break}var u=l>=0,d=u?o[l]:o[0]||"",p=(u?o[l+1]:o[1],u?"/"+o.slice(l,l+2).join("/")+"/":""),m=r(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),v=f?t(f[1]):"",b=f?t(f[2]):"",y=e.excerpt||"";/create an account|log in to instagram|sign up/i.test(y)&&(y="");var x=y.match(/([\d,.]+[MKB]?)\s*likes?\b/i),A=y.match(/([\d,.]+[MKB]?)\s*comments?\b/i),S=y.match(/-\s*([a-z0-9._]+)\s+on\s+/i),C=y.match(/\bon\s+([^:]+):\s*"/i),q=y.match(/:\s*"([\s\S]*?)"\.?\s*$/),$=S?t(S[1]):l>0?t(o[0]):"",E=t(b||q&&q[1]||""),j=function(){var e=(i||"").split(/\n+/).map(t).filter(Boolean);if(!e.length||!E)return[];for(var r=-1,n=E.toLowerCase(),o=0;o<e.length;o+=1){var a=e[o].toLowerCase();if(a.indexOf(n)>=0||n.indexOf(a)>=0){r=o;break}}if(r<0)return[];for(var s=[],l=r+1;l<e.length&&s.length<8;l+=1){var c=e[l],u=t(e[l+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=l+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&&s.push("@"+c+": "+f),l=p}}return s}(),T=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(j.length)return!0;if(!E)return!1;var n=t(i).toLowerCase();return n.indexOf(E.toLowerCase())>=0&&/\b(?:like|reply)\b/i.test(n)}(),L=[],_=/^(reel|reels|tv)$/i.test(d)?"Reel":"Post";if($&&L.push("Profile: @"+$),p&&L.push(_+": "+p),x&&L.push(t(x[1])+" likes"),A&&L.push(t(A[1])+" comments"),e.image&&L.push("Image: "+e.image),e.video&&L.push("Video: "+e.video),T){var z=g({title:v?v+" on Instagram":h||"Instagram post",byline:$?"@"+$:v||null,publishedTime:C?t(C[1]):e.publishedTime||null,description:E||"Instagram post",details:L,siteName:e.siteName||"Instagram",hostAware:!0});return j.length&&(z.markdown+="\n\n## Comments\n\n"+j.map(function(e){return"- "+e}).join("\n"),z.textContent=t(z.markdown)),z}return g({title:v?v+" on Instagram":h||"Instagram post",byline:$?"@"+$:v||null,publishedTime:C?t(C[1]):e.publishedTime||null,description:E||"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 N=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,M=document.querySelector("header section"),R="";if(M)for(var P=M.querySelectorAll("span"),I=0;I<P.length;I++){var B=t(P[I].innerText||"");if(B.length>30&&!/^\d/.test(B)&&!/follow/i.test(B)){R=B;break}}var O=[];(V=wt(i)).posts&&O.push(V.posts+" posts"),V.followers&&O.push(V.followers+" followers"),V.following&&O.push(V.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(", ")+"."),L=[],m&&L.push("Profile: @"+d),g({title:N||"Instagram"+(m?" - "+m:""),description:F,details:L,siteName:e.siteName||"Instagram",hostAware:!0})}N=t((e.title||"").replace(/\s*[\u2022•|]\s*Instagram.*$/i,""))||e.title,y=e.excerpt||"",/create an account|log in to instagram|sign up/i.test(y)&&(y="");var H="",D=(R="",y.match(/^([\d,.]+[MKB]?\s+Followers?,\s*[\d,.]+[MKB]?\s+Following,\s*[\d,.]+[MKB]?\s+Posts?)\s*[-–—]/i));if(D){H=D[1];var U=y.match(/on Instagram:\s*"(.+)"$/);U&&U[1].trim()&&(R=U[1].trim())}if(F="",R&&(F=R),H&&(F=(F?F+"\n\n":"")+H+"."),!H){var V;O=[],(V=wt(i)).followers&&O.push(V.followers+" followers"),V.posts&&O.push(V.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 G=["Access notice: Instagram login required"];return e.image&&G.push("Image: "+e.image),g({title:N||"Instagram"+(m?" - "+m:""),description:F,details:G,siteName:e.siteName||"Instagram",hostAware:!0})}(e,n)||function(e,n){if(!w(/(^|\.)facebook\.com$/))return null;var i=k(n),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 s=r(a[1]);o=(s=(s||"").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 l=r(o).replace(/[-_.]+/g," ");l=t(l);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=l||"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 v=i.substring(h+6),b=v.search(/\n(?:Photos|Videos|About|Posts|Reels|Events|See all|Page ·|Information about)\b/);f=t(b>0?v.substring(0,b):v.substring(0,500))}for(var y,x=f||i.substring(0,Math.min(i.length,1500)),A=x.match(/([\w.+-]+@[\w.-]+\.\w{2,})/),S=x.match(/\b(https?:\/\/[\w.-]+[\w.]{2,}(?:\/[\w.-]*)*)\s/i),C=[],q=new RegExp(At(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!==(y=q.exec(i));){var $=t(y[1]);$&&$.length>10&&($=$.replace(/…\s*See more\s*$/i,"…"),C.push($))}if(0===C.length)for(var E=document.querySelectorAll("div[dir=auto]"),j=0;j<E.length;j++){var T=t(E[j].innerText||"");T.length>50&&T.length<3e3&&!/^(log in|sign up|create|cookie|privacy|terms|information about|see more from)/i.test(T)&&(T=T.replace(/…\s*See more\s*$/i,"…"),C.push(T))}var L={};C=C.filter(function(e){var t=e.substring(0,80).toLowerCase();return!L[t]&&(L[t]=!0,!0)});var _="";f&&(_=f);var z=[];if(A&&z.push(A[1]),S&&!/facebook\.com/i.test(S[1])&&z.push(S[1]),z.length&&(_+=(_?"\n\n":"")+"Contact: "+z.join(" | ")),C.length>0){_+=(_?"\n\n":"")+"## Recent Posts\n\n";for(var N=0;N<Math.min(C.length,5);N++)_+=C[N]+"\n\n";_=_.replace(/\n\n$/,"")}if(!p){var M=(P=e.excerpt||"").match(/([\d][\d,.\s]*\d)\s*likes?\b/i);M&&u.push(t(M[1])+" likes")}var R=u;return e.image&&R.push("Image: "+e.image),g({title:c||"Facebook"+(l?" - "+l:""),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 I="",B="",O="",F=P.match(/([\d][\d,.\s]*\d)\s*likes?\b/i),H=P.match(/([\d][\d,.\s]*\d)\s*talking about this/i);if(F&&(I=t(F[1])+" likes"),H&&(B=t(H[1])+" talking about this"),H){var D=P.substring(P.indexOf(H[0])+H[0].length);(D=D.replace(/^[\s.·]+/,""))&&!/^(see |view |log in)/i.test(D)&&(O=t(D))}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 V="";O&&(V=O);var G=[I,B].filter(Boolean).join(" · ");if(G&&(V=(V?V+"\n\n":"")+G+"."),!I){var W=i.match(/([\d][\d,.\s]*\d)\s*(?:likes?|people like this)/i);W&&(V=(V?V+" ":"")+t(W[1])+" likes.")}!V&&l?V="Original content on this Facebook page for "+l+" is not available without login.":V||(V="Original content on this Facebook page is not available without login.");var K=["Access notice: Facebook login required"];return e.image&&K.push("Image: "+e.image),g({title:c||"Facebook"+(l?" - "+l:""),description:V,details:K,siteName:e.siteName||"Facebook",hostAware:!0})}(e,n)||function(e,r){if(!w(/(^|\.)(t\.me|telegram\.(org|me)|telegra\.ph)$/))return null;var n=r||"";if(w(/(^|\.)telegra\.ph$/)){var i=document.querySelector("article, .tl_article");if(i){var o=C(i);if(o){R(o,"a, span, div, p",/^(report content on this page|report|edit)$/i);var a=Et(o.innerHTML)||t(o.textContent);if(a&&t(a).length>20)return{title:e.title||m(["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(w(/(^|\.)telegram\.org$/))return null;var s=/^\/s\//i.test(location.pathname),l=(location.pathname||"").split("/").filter(Boolean);if(s&&(l=l.slice(1)),l=l[0]||"",s){var c=document.querySelector(".tgme_channel_history, .tgme_body, main");if(c){var u=C(c);if(u){R(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=Et(u.innerHTML)||t(u.textContent);if(d&&t(d).length>50){var p=m([".tgme_channel_info_header_title",".tgme_header_title","h1"])||e.title||l,h=document.querySelector(".tgme_channel_info_description"),f=h?t(h.textContent):"",v=document.querySelectorAll(".counter_value"),b=v.length>0?t(v[0].textContent):"",y=[];y.push("# "+p);var k=["- Platform: Telegram"];b&&k.push("- "+b+" subscribers"),e.image&&k.push("- Image: "+e.image),y.push(k.join("\n")),f&&y.push(f),y.push("---\n\n"+d);var x=y.join("\n\n");return{title:p,excerpt:f||e.excerpt,siteName:"Telegram",html:u.innerHTML,markdown:x,textContent:t(x),readerMode:!1,contentType:"article",hostAware:!0}}}}}var A=m([".tgme_page_title",".tgme_channel_info_header_title","h1"])||e.title||l,S=document.querySelector(".tgme_page_description"),q=(S?t(S.textContent):"")||e.excerpt||"";/you can contact .+ right away|if you have telegram/i.test(q)&&(q="");var $=document.querySelector(".tgme_page_extra"),E=($?t($.textContent):"").match(/([\d\s,.]+)\s*(?:subscribers?|members?|online)/i)||n.match(/([\d\s,.]+)\s*(?:subscribers?|members?|подписчик|участник)/i),j=["Platform: Telegram"];return E&&j.push(t(E[1])+" subscribers"),e.image&&j.push("Image: "+e.image),q||A?g({title:A,description:q||"Telegram channel. View in Telegram for full content.",details:j,siteName:"Telegram",hostAware:!0}):null}(e,n)||function(e){if(!w(/(^|\.)(twitter\.com|x\.com)$/))return null;var r=/^\/[^/]+\/status\/\d+/.test(location.pathname),n=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){n=a.mainEntity;break}}}catch(e){}if(!r){var s=document.querySelector('[data-testid="UserName"]'),l=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(s){var f=t(s.textContent).split(/\s*@/);m=t(f[0]),f[1]&&(h="@"+t(f[1]))}if(!m&&n&&(m=n.name||""),!h&&n&&n.additionalName&&(h=n.additionalName),!h){var v=(location.pathname||"").split("/").filter(Boolean)[0];v&&!/^(home|explore|search|notifications|messages|settings|i)$/i.test(v)&&(h="@"+v)}var b=l?t(l.textContent):"";!b&&n&&n.description&&(b=t(n.description));var y=d?t(d.textContent):"";!y&&n&&n.homeLocation&&(y=n.homeLocation.name||"");var k=c?t(c.textContent):"",x=u?t(u.textContent):"",A=p?t(p.textContent):"",S="",C="",q="";if(n&&n.interactionStatistic&&n.interactionStatistic.forEach(function(e){var t=e.interactionType||"";/FollowAction/.test(t)&&(S=String(e.userInteractionCount)),/SubscribeAction/.test(t)&&(C=String(e.userInteractionCount)),/WriteAction/.test(t)&&(q=String(e.userInteractionCount))}),!S){var $=document.querySelector('a[href$="/verified_followers"], a[href$="/followers"]');$&&(S=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(n&&n.image&&n.image.contentUrl&&(j=n.image.contentUrl),!j){var T=document.querySelector('[data-testid^="UserAvatar"] img[src*="profile_images"]');T&&(j=T.src)}if(!k&&n&&n.relatedLink){var L=Array.isArray(n.relatedLink)?n.relatedLink:[n.relatedLink];k=(L.filter(function(e){return!/t\.co\//.test(e)})[0]||L[0]||"").replace(/^https?:\/\//,"")}for(var _=[],z=document.querySelectorAll('[data-testid="tweet"]'),N=0;N<Math.min(z.length,5);N++){var M=z[N],R=M.querySelector('[data-testid="tweetText"]');if(R){var P=t(R.textContent);if(P&&!(P.length<5)){var I=M.querySelector('[data-testid="User-Name"]'),B=M.querySelector("time"),O=M.querySelector('[data-testid="socialContext"]'),F="";if(I){var H=t(I.textContent).match(/^(.+?)(\s*@\w+)/);H&&(F=H[1].trim())}var D=B?B.getAttribute("datetime")||t(B.textContent):"",U=[];["reply","retweet","like"].forEach(function(e){var t=M.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"likes";U.push(r[1]+" "+n)}}});var V="";O&&(V+="[Pinned] "),F&&m&&F!==m&&(V+="RT @"+F+": "),V+=P,D&&(V+=" ("+D+")"),U.length&&(V+=" ["+U.join(", ")+"]"),_.push(V)}}}var G=[];h&&G.push("Handle: "+h),S&&G.push("Followers: "+kt(S)),C&&G.push("Following: "+kt(C)),q&&G.push("Posts: "+kt(q)),y&&G.push("Location: "+y),k&&G.push("Website: "+k),A&&G.push(A),x&&G.push(x),j&&G.push("Image: "+j);var W=[];b&&W.push(b),_.length&&W.push("## Recent Posts\n\n"+_.join("\n\n"));var K=m||e.title||"X Profile";return!m&&h&&(K=h),g({title:K,description:W.join("\n\n"),details:G,siteName:"X",hostAware:!0,contentType:"article"})}var Z=document.querySelector('[data-testid="tweet"]');if(!Z){var J=(e.title||"").match(/^(.+?)\s+on X:\s*"(.+?)"\s*\/\s*X$/);return J?g({title:J[1],description:J[2],siteName:"X",hostAware:!0}):null}var X="",Y=Z.querySelector('[data-testid="tweetText"]');Y&&(X=t(Y.textContent));var Q=Z.querySelector('[data-testid="User-Name"]'),ee="",te="";if(Q){var re=t(Q.textContent).match(/^(.+?)\s*(@\w+)/);re&&(ee=re[1].trim(),te=re[2])}var ne=Z.querySelector("time"),ie=ne?ne.getAttribute("datetime")||t(ne.textContent):"",oe=[];["reply","retweet","like","bookmark"].forEach(function(e){var t=Z.querySelector('[data-testid="'+e+'"]');if(t){var r=(t.getAttribute("aria-label")||"").match(/^(\d[\d,]*)/);if(r&&parseInt(r[1].replace(/,/g,""),10)>0){var n="reply"===e?"replies":"retweet"===e?"reposts":"like"===e?"likes":"bookmarks";oe.push(r[1]+" "+n)}}});var ae=[];te&&ae.push("Author: "+ee+" ("+te+")");ie&&ae.push("Posted: "+ie);oe.length&&ae.push("Engagement: "+oe.join(", "));for(var se=document.querySelectorAll('[data-testid="tweet"]'),le=[],ce=1;ce<Math.min(se.length,8);ce++){var ue=se[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])}le.push((he?he+": ":"")+pe)}}}var ge=X;le.length&&(ge+="\n\n## Replies\n\n"+le.join("\n\n"));return g({title:ee||e.title||"Post on X",description:ge,details:ae,siteName:"X",hostAware:!0,contentType:"article"})}(e)||function(e){if(!w(/(^|\.)threads\.(net|com)$/))return null;var r=e.title||"",n=e.excerpt||"",i=e.image||"",o=r.match(/^(.+?)\s*\((@\w+)\)\s*[•·]/),a=o?o[1].trim():"",s=o?o[2]:"";if(!o){var l=r.match(/^(.+?)\s*\((@\w+)\)\s+on Threads/);l||(l=r.match(/^(@\w+)\s+on Threads/)),l&&(a=l[1]?l[1].trim():"",s=l[2]||l[1]||"")}var c="",u="",d=n,p=n.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=n.match(/([\d,.]+[KMB]?)\s+Followers?/i);m&&(c=m[1]);var h=n.match(/([\d,.]+[KMB]?)\s+Threads?/i);h&&(u=h[1])}if(!a&&!s)return null;var f=[];return s&&f.push("Handle: "+s),c&&f.push("Followers: "+c),u&&f.push("Threads: "+u),i&&f.push("Image: "+i),g({title:a||s,description:d||n,details:f,siteName:"Threads",hostAware:!0,contentType:"article"})}(e)||function(e,r){if(!w(/(^|\.)linkedin\.com$/))return null;var n=k(r),i=/^\/company\//.test(location.pathname),o=/^\/in\//.test(location.pathname);if(!i&&!o)return null;if(i){var a="",s="",l="",c="",u="",d="",p="",m="",h="",f="",v="";a=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim();var b=n.match(/([\d,.]+[KMB]?)\s+followers/i);b&&(c=b[1]),(G=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Website|Locations|Employees|Affiliated|Updates|Posts|Similar|Home|Products|Jobs|People|Insights)\b)/i))&&(u=t(G[1]));var y=n.match(/Website\s*\n\s*(https?:\/\/\S+|[\w.-]+\.[\w]{2,}(?:\/\S*)?)/i);y&&(d=y[1].trim());var x=n.match(/Industry\s*\n\s*(.+)/i);if(x&&(s=t(x[1])),!s){var A=n.match(new RegExp(At(a)+"\\s*\\n\\s*(.+?)\\s*\\n","i"));A&&(s=t(A[1]))}var S=n.match(/Company size\s*\n\s*(.+)/i);S&&(p=t(S[1]));var C=n.match(/Headquarters\s*\n\s*(.+)/i);C&&(m=t(C[1]));var q=n.match(/Type\s*\n\s*(.+)/i);q&&(h=t(q[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 E=n.match(/Founded\s*\n\s*(\d{4})/i);E&&(v=E[1]),!l&&m&&(l=m);var j=[],T=n.match(/(?:Updates|Posts)\s*\n([\s\S]*?)(?=\n(?:Similar pages|Affiliated|People also viewed|Browse jobs)\b|$)/i);if(T)for(var L=T[1].split(/\n(?=.*?\b(?:likes?|comments?|reactions?)\b)/i),_=0;_<Math.min(L.length,3);_++){var z=t(L[_]);z&&z.length>20&&!/^(?:Show|See|Load)\s/i.test(z)&&j.push(z.substring(0,500))}var N=[];s&&N.push("Industry: "+s),c&&N.push("Followers: "+c),l&&N.push("Location: "+l),d&&N.push("Website: "+d),p&&N.push("Size: "+p),h&&N.push("Type: "+h),v&&N.push("Founded: "+v),m&&m!==l&&N.push("Headquarters: "+m),f&&N.push("Specialties: "+f),e.image&&N.push("Image: "+e.image);var M=[];return u&&M.push(u),j.length&&M.push("## Recent Updates\n\n"+j.join("\n\n")),g({title:a||"LinkedIn Company",description:M.join("\n\n")||e.excerpt||"",details:N,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}var R=(e.title||"").replace(/\s*[|\-–—]\s*LinkedIn.*$/i,"").trim(),P="",I="",B="",O="",F="",H=R?new RegExp(At(R)+"\\s*\\n\\s*(.+?)\\s*\\n","i"):null;if(H){var D=n.match(H);D&&(P=t(D[1]))}var U=n.match(/([\d,.]+[KMB]?)\s+followers/i);U&&(B=U[1]);var V=n.match(/([\d,.]+\+?)\s+connections?/i);V&&(O=V[1]);var G,W=n.match(/Location\s*\n\s*([A-Z][\w\s,.-]+)/i);W&&(I=t(W[1]));(G=n.match(/\bAbout\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Activity|Courses|Articles|Interests|Licenses|Certifications|Recommendations)\b)/i))&&(F=t(G[1]));F=F.replace(/\s*\.{3}\s*see more\s*$/i,"").replace(/\s*…\s*see more\s*$/i,"");var K=[],Z=n.match(/(?:Activity|Articles)\s*\n([\s\S]*?)(?=\n(?:Experience|Education|Skills|Interests|Courses|Licenses|Certifications|Recommendations)\b|$)/i);if(Z){var J=Z[1].match(/.{20,}(?:\d+\s*(?:likes?|comments?|reactions?|views?))/gi);if(J)for(var X=0;X<Math.min(J.length,3);X++)K.push(t(J[X]))}var Y=[];P&&Y.push("Title: "+P);B&&Y.push("Followers: "+B);O&&Y.push("Connections: "+O);I&&Y.push("Location: "+I);e.image&&Y.push("Image: "+e.image);var Q=[];F&&Q.push(F);K.length&&Q.push("## Recent Activity\n\n"+K.join("\n\n"));return g({title:R||"LinkedIn Profile",description:Q.join("\n\n")||e.excerpt||"",details:Y,siteName:"LinkedIn",hostAware:!0,contentType:"article"})}(e,n)||function(e,r){if(!w(/(^|\.)bsky\.(app|social)$/))return null;var n=!!document.querySelector('[data-testid="profileScreen"], [data-testid="profileView"]'),i=/^\/profile\/[^/]+\/post\//.test(location.pathname);if(!n&&!i)return null;if(n){var o=document.querySelector('[data-testid="profileHeaderDisplayName"]'),a=document.querySelector('[data-testid="profileHeaderDescription"]'),s=document.querySelector('[data-testid="profileHeaderFollowersButton"]'),l=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(s){var f=(s.getAttribute("aria-label")||"").match(/^([\d,]+)\s+followers/i);m=f?f[1]:t(s.textContent).replace(/\s*followers?$/i,"").trim()}if(l){var v=(l.getAttribute("aria-label")||"").match(/^([\d,]+)\s+following/i);h=v?v[1]:t(l.textContent).replace(/\s*following$/i,"").trim()}var b="",y=k(r).match(/([\d,.]+[KMB]?)\s+posts?\b/i);y&&(b=y[1]);var x=e.image||"";if(!x){var A=document.querySelector('[data-testid="userAvatarImage"]');A&&(x=A.src||"")}for(var S=[],C=document.querySelectorAll('[data-testid="postText"]'),q=0;q<Math.min(C.length,5);q++){var $=C[q],E=t($.textContent);if(E&&!(E.length<5)){var j=$.closest('[data-testid^="feedItem-by-"]'),T=[];if(j){var L=j.querySelector('[data-testid="replyBtn"]'),_=j.querySelector('[data-testid="repostCount"]'),z=j.querySelector('[data-testid="likeCount"]');if(L){var N=(L.getAttribute("aria-label")||"").match(/\((\d[\d,]*)\s+repl/i);N&&T.push(N[1]+" replies")}if(_){var M=t(_.textContent);M&&"0"!==M&&T.push(M+" reposts")}if(z){var R=t(z.textContent);R&&"0"!==R&&T.push(R+" likes")}var P=(j.getAttribute("data-testid")||"").replace("feedItem-by-",""),I=d.replace("@",""),B=P&&I&&P!==I}var O="";B&&(O+="Repost @"+P+": "),O+=E,T.length&&(O+=" ["+T.join(", ")+"]"),S.push(O)}}var F=[];d&&F.push("Handle: "+d),m&&F.push("Followers: "+kt(m,!0)),h&&F.push("Following: "+kt(h,!0)),b&&F.push("Posts: "+b),x&&F.push("Image: "+x);var H=[];return u&&H.push(u),S.length&&H.push("## Recent Posts\n\n"+S.join("\n\n")),g({title:c||d||"Bluesky Profile",description:H.join("\n\n"),details:F,siteName:"Bluesky",hostAware:!0,contentType:"article"})}var D=document.querySelector('[data-testid="postText"]');if(!D)return null;var U=t(D.textContent),V="",G="",W=(location.pathname||"").split("/").filter(Boolean);"profile"===W[0]&&W[1]&&(G="@"+W[1]);var K=document.querySelector('[data-testid="profileHeaderDisplayName"]');K&&(V=t(K.textContent));V||(V=(e.title||"").replace(/\s*[-–—|].*$/,"").trim());var Z=D.closest('[data-testid^="feedItem-by-"]')||document.querySelector('[data-testid^="feedItem-by-"]'),J=[];if(Z){var X=Z.querySelector('[data-testid="replyBtn"]'),Y=Z.querySelector('[data-testid="repostCount"]'),Q=Z.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=[];G&&ne.push("Author: "+(V?V+" ("+G+")":G));J.length&&ne.push("Engagement: "+J.join(", "));for(var ie=document.querySelectorAll('[data-testid="postText"]'),oe=[],ae=1;ae<Math.min(ie.length,8);ae++){var se=t(ie[ae].textContent);se&&se.length>3&&oe.push(se)}var le=U;oe.length&&(le+="\n\n## Replies\n\n"+oe.join("\n\n"));return g({title:V||"Post on Bluesky",description:le,details:ne,siteName:"Bluesky",hostAware:!0,contentType:"article"})}(e,n)||function(e,n){if(!w(/(^|\.)quora\.com$/))return null;if(!/(security verification|just a moment|protect against malicious bots)/i.test(n||""))return null;var i=r((location.pathname||"").split("/").filter(Boolean)[0]||"").replace(/[-_]+/g," ");return!(i=t(i))||/^just a moment$/i.test(i)?null:g({title:i,description:e.excerpt,siteName:e.siteName||"Quora"})}(e,n)}function At(e){return String(e||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function St(e){return String(e||"").replace(/^Copy(?: to clipboard)?\s*/i,"").replace(/\u00b6/g,"").replace(/\r\n?/g,"\n").replace(/^\n+|\n+$/g,"")}function Ct(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 qt(e){var r=Array.prototype.map.call(e.querySelectorAll("thead th, thead td"),function(e){return t(e.textContent).toLowerCase()}),n=t((e.querySelector("caption")||{}).textContent).toLowerCase(),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 r=e.querySelector("td[kind='field'][title], th[kind='field'][title]"),n=e.querySelectorAll("th, td"),i=null,o=0;o<n.length;o+=1)if(n[o]!==r){i=n[o];break}if(!r||!i)return null;var a=t(r.getAttribute("title")||(r.querySelector(".property-name")||{}).textContent||r.textContent);if(!a)return null;var s=/\brequired\b/i.test(t(e.textContent)),l=[];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 r=t(e.textContent);r&&!/^required$/i.test(r)&&l.push(r)}});var c=Array.prototype.map.call(i.querySelectorAll("p, li"),function(e){return t(e.textContent)}).filter(Boolean).join(" "),u=[];l.length&&u.push(l.shift()),l.forEach(function(e){/^(Default:|Example:|Enum:)/i.test(e)?u.push(e):c?c+=" "+e:c=e}),s&&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===r.length&&/name, type, description/.test(r[0])||/parameter/.test(n)){var a=i.map(function(e){return function(e){var r=e.querySelector("div > div")||e.firstElementChild||e,n=r.querySelector("code, strong, b"),i=t(n&&n.textContent);if(!i)return null;var o=te(r.textContent),a=t(o.replace(new RegExp("^"+At(i)),"")).replace(/\brequired\b/i,""),s=/\brequired\b/i.test(o),l=Array.prototype.map.call(e.querySelectorAll("p, li"),function(e){return te(e.textContent)}).filter(Boolean).join(" ");l||(l=te(e.textContent).replace(new RegExp("^"+At(i)+"\\s*"+At(a)),"").trim());var c="- `"+i+"`";if(a||s){var u=[];a&&u.push(a),s&&u.push("required"),c+=" ("+u.join(", ")+")"}return l&&(c+=": "+l),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 s=i.map(function(e){var r=e.querySelectorAll("th, td");if(r.length<2)return null;var n=t(r[0].textContent),i=te(r[1].textContent);return n&&i?"- `"+n+"`: "+i:null}).filter(Boolean);return s.length?s.join("\n"):null}return null}function $t(e){var r=qt(e);if(r)return r;var n=Array.prototype.map.call(e.querySelectorAll("tr"),function(e){return Array.prototype.map.call(e.querySelectorAll("th, td"),function(e){return t(e.textContent).replace(/\|/g,"\\|")})}).filter(function(e){return e.length>0});if(!n.length)return"";var i=n.reduce(function(e,t){return Math.max(e,t.length)},0),o=(n=n.map(function(e){for(;e.length<i;)e.push("");return e}))[0],a=o.map(function(){return"---"}),s=n.slice(1);return[o,a].concat(s).map(function(e){return"| "+e.join(" | ")+" |"}).join("\n")}function Et(e){if("function"!=typeof TurndownService)return e;var r=document.createElement("div");r.innerHTML=e,jt(r),function(e){R(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=St((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"),i=document.createElement("code"),o=Ct(t||e);o||!e.matches(".redoc-json, [class*='redoc-json']")&&!/^[\[{]/.test(r)||(o="json"),i.textContent=r,o&&i.setAttribute("data-language",o),n.appendChild(i),e.replaceWith(n)}}),e.querySelectorAll("pre").forEach(function(e){var t=e.querySelector("code")||document.createElement("code"),r=t.getAttribute("data-language")||Ct(t)||Ct(e);t.textContent=St(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,i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];if(1===o.nodeType&&(t.test(o.nodeName)||"DIV"===o.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"+$t(t)+"\n\n"}}),n.addRule("preformatted",{filter:function(e){return"PRE"===e.nodeName},replacement:function(e,t){var r=t.querySelector("code"),n=St(r?r.textContent:t.textContent);return n?function(e,t){return"\n\n```"+e+"\n"+t+"\n```\n\n"}(r&&r.getAttribute("data-language")||Ct(r||t),n):"\n\n"}}),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 jt(e){return _(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("[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']").forEach(function(e){e.remove()}),function(e){e.querySelectorAll("h2, h3, h4").forEach(function(e){var r=t(e.textContent||"").trim();if(r&&zt.test(r)&&e.parentElement){for(var n=[],i=e.nextElementSibling;i;){var o=i.tagName;if(/^H[1-4]$/.test(o)&&!zt.test(t(i.textContent||"").trim()))break;n.push(i),i=i.nextElementSibling}var a=0,s=0;n.forEach(function(e){a+=e.querySelectorAll?e.querySelectorAll("a[href]").length:0,s+=t(e.textContent||"").length}),a>=2&&(s<1500||a>=4)&&(e.remove(),n.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 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!!M(r)&&e.querySelectorAll("a[href], li, tr").length>=3})(e)&&e.remove()}),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();/^(report this article|\+?\s*follow|sign in|join now|show more|show less|log in|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ń)$/.test(r)&&e.remove()}),e.querySelectorAll("p, div, span, a, button, li").forEach(function(e){var r=t(e.textContent).toLowerCase();/^(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|reklama|materiał sponsorowany|materiał promocyjny|materiał partnerski|autopromocja|ad$)/.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,i=e.querySelectorAll("a").length,o=t(Array.prototype.map.call(e.querySelectorAll("img[alt]"),function(e){return e.getAttribute("alt")||""}).join(" ")).toLowerCase();return n>=1&&i>=1&&(r.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 r,n;(z(e.textContent)||(r=e.textContent,"video player is loading."===(n=t(r||"").toLowerCase())||"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, .anchor, .heading-link, .header-anchor").forEach(function(e){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()}),Tt(e),Lt(e),_t(e),Nt(e),e}function Tt(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 Lt(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",i(r))}),e}function _t(e){return e.querySelectorAll("a, button, span, div").forEach(function(e){var r=t(e.textContent).toLowerCase();/^(like|dislike|share|save|bookmark|pin it|tweet|follow us|subscribe|view all|show more comments?|load more|report|flag|print|copy link|copy url|edit|delete|reply|retweet|repost|reblog|thanks for your feedback!?)$/.test(r)&&n(e)<60&&e.remove(),N(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||/^(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?)|サブスクライブ|구독하기|підписуйтесь на наш|приєднуйтесь до нас|підписатися на телеграм|підписатися на канал|ακολουθήστε μας|εγγραφείτε|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)$/.test(r)&&e.remove()}),e.querySelectorAll("[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']").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("[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']").forEach(function(e){var r=t(e.textContent||"");(r.length<120||/covid|coronavirus|shipping|discount/i.test(r))&&e.remove()}),e.querySelectorAll("[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']").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(),i=(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(i)&&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}var zt=/^(related\s*(articles?|stories|news|posts|content)?|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|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 Nt(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*='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 i=n.split(/\s+/).length;i>0&&r/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 r=t(e.textContent||""),n=e.querySelectorAll("a[href]").length,i=r.split(/\s+/).length;n>=6&&i>0&&n/i>.5&&r.length<600&&!e.querySelector("article, main, [role='main'], p, h1, h2, h3, blockquote, pre, table")&&e.remove()}}),e}function Mt(e){for(var t=(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(/GO TO PAGE\.?/g,"").replace(/\bAdvertisement\s+\d+\/\d+\b/gi,"").replace(/^\s*Advertisement\s*$/gim,"").replace(/^\s*(?:Реклама|Рекламний блок|Рекламний матеріал|Διαφήμιση|Iklan|Quảng cáo|โฆษณา|Sponsorlu|Reklama?|Advertentie|Реклама|Оглас|Publicidade|Anúncio|Annons|Annonce|Reklame|Annonsørinnhold|Kommersielt innhold|Contingut patrocinat)\s*:?\s*$/gim,"").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(/^\s*(?:Join|Follow)\s+(?:us\s+)?on\s+(?:Telegram|WhatsApp|Instagram|Facebook|YouTube|Twitter|X)\s*$/gim,"").replace(/^\s*(?:Join|Follow)\s+(?:our\s+)?(?:Telegram|WhatsApp)\s+(?:Group|Channel)\s*$/gim,"").replace(/^\s*(?:Download|Get|Install)\s+(?:our|the)\s+(?:App|Mobile App)\s*$/gim,"").replace(/^\s*(?:Підписуйтесь на наш|Приєднуйтесь до нас|Підписатися на (?:телеграм|канал)|Читай(?:те)? також у|Ми у (?:телеграмі|фейсбуці|інстаграмі))\b.*$/gim,"").replace(/^\s*(?:Ακολουθήστε μας|Εγγραφείτε)\b.*$/gim,"").replace(/^\s*(?:Ikuti kami di|Gabung (?:di )?(?:Telegram|WhatsApp)|Berlangganan)\b.*$/gim,"").replace(/^\s*(?:Theo dõi chúng tôi)\b.*$/gim,"").replace(/^\s*(?:Volg ons|Schrijf je in|Abonneer je|Meld je aan voor)\b.*$/gim,"").replace(/^\s*(?:Пратите нас|Претплатите се|Пријавите се|Pratite nas|Pretplatite se|Prijavite se)\b.*$/gim,"").replace(/^\s*(?:Ikuti kami|Langgan(?:i)?|Sertai (?:kami|saluran))\b.*$/gim,"").replace(/^\s*(?:Siga-nos|Inscreva-se|Assine|Acompanhe-nos)\b.*$/gim,"").replace(/^\s*(?:Sledujte nás|Odebírejte|Přihlaste se k odběru|Připojte se)\b.*$/gim,"").replace(/^\s*(?:Följ oss|Prenumerera|Registrera dig)\b.*$/gim,"").replace(/^\s*(?:Følg os|Abonner|Tilmeld dig)\b.*$/gim,"").replace(/^\s*(?:Følg oss|Abonner på|Meld deg på|Registrer deg)\b.*$/gim,"").replace(/^\s*(?:Subscriu-te|Fer-se subscriptor|Si ets subscriptor|Suma't a|Quins són els avantatges|Fes-te subscriptor|Fes-te'n subscriptor)\b.*$/gim,"").replace(/^\s*(?:გამოიწერეთ|შემოგვიერთდით|მოგვყევით)\b.*$/gim,"").replace(/^\s*(?:වැඩි විස්තර කියවන්න|අපව අනුගමනය කරන්න)\b.*$/gim,"").replace(/^\s*(?:Bizə qoşulun|Abunə olun|Bizi izləyin)\b.*$/gim,"").replace(/^\s*(?:Subskrybuj|Zasubskrybuj|Zapisz się na newsletter|Dołącz do nas|Obserwuj nas|Śledź nas)\b.*$/gim,"").replace(/^\s*(?:Dziękujemy,?\s*że\s*przeczytała?(?:ś|ś\/eś|eś)?)\b.*$/gim,"").replace(/^\s*(?:Bądź na bieżąco)\b.*$/gim,"").replace(/^\s*(?:Obserwuj nas w Google)\b.*$/gim,"").replace(/^\s*(?:Zobacz więcej|Czytaj więcej|Czytaj dalej|Pokaż więcej|Więcej informacji)\s*$/gim,"").replace(/^\s*(?:Dalszy ciąg (?:artykułu|materiału) (?:pod |poniżej )?(?:materiałem wideo|wideo|galerią|zdjęciem))\b.*$/gim,"").replace(/^\s*(?:Sprawdź,?\s*gdzie kupisz)\b.*$/gim,"").replace(/^\s*(?:Zaloguj się|Zarejestruj się|Zaloguj|Załóż konto|Moje konto)\s*$/gim,"").replace(/^\s*(?:Udostępnij|Skomentuj|Komentarze\s*\d*|Dodaj komentarz|Napisz komentarz)\s*$/gim,"").replace(/^\s*(?:Materiał (?:sponsorowany|promocyjny|partnerski))\b.*$/gim,"").replace(/^\s*(?:Autopromocja)\s*$/gim,"").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*Last modified\s+\w+\s+\d{1,2},\s+\d{4}.*$/gim,"").replace(/^\s*(?: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|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.*$/gim,"").replace(/\s*-->\s*/g," ").replace(/\s*<!--\s*/g," ").replace(/(?:^|\n)\s*\d{1,3}\s+\d{1,3}\s*(?:\n|$)/g,"\n").replace(/\[([^\]]*)\]\(https?:\/\/(?:[a-z0-9-]+\.)*(?:outbrain|taboola|zemanta|revcontent|mgid|content\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\.(?:com|net|co|io)\/[^)]*\)/gi,"").replace(/^\s*https?:\/\/(?:[a-z0-9-]+\.)*(?:outbrain|taboola|zemanta|revcontent|mgid|content\.ad|plista|ligatus|adblade|nativendo|dianomi|nativo|sharethrough|triplelift)\.(?:com|net|co|io)\b[^\n]*$/gim,"").replace(/\n{3,}/g,"\n\n").trim(),r=t.split("\n"),n=[],i=null,o=0,a=0;a<r.length;a++){var s=r[a].trim();s===i&&s.length>0?++o<2&&n.push(r[a]):(i=s,o=1,n.push(r[a]))}r=(t=n.join("\n")).split("\n");for(var l={},c=0;c<r.length;c++){var u=r[c].trim();u.length>0&&!/^#{1,6}\s/.test(u)&&(l[u]=(l[u]||0)+1)}for(var d={},p=[],m=0;m<r.length;m++){var h=r[m].trim();h.length>0&&!/^#{1,6}\s/.test(h)&&(l[h]||0)>=4?d[h]||(d[h]=!0,p.push(r[m])):p.push(r[m])}return p.join("\n").replace(/\n{3,}/g,"\n\n").trim()}function Rt(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 Pt(e,t){return t.score-e.score||t.text.length-e.text.length}function It(e,t){return t.score-e.score}function Bt(e){var r=Array.prototype.slice.call(e.querySelectorAll("tr.athing, 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'], .structItem, .discussionListItem")),n={},i=[],o=ke();function a(e,t){return e.length<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)||be(e,t)||we(e)}function s(e,t){var r=Ce(e,t,o);r&&(a(r.text,r.url)||Rt(i,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&&!be(r,e.getAttribute("href")||"")&&!je(e)&&!je(e.parentElement)&&!$e(e)})).sort(function(e,r){var n=t(e.textContent||e.getAttribute("aria-label")||"");return t(r.textContent||r.getAttribute("aria-label")||"").length-n.length}),n[0]||null}(e),e)}),i.length<5)&&Array.prototype.filter.call(e.querySelectorAll("a[href]"),function(e){var r=t(e.textContent),n=e.getAttribute("href");return!(!n||"#"===n[0])&&(!/^(javascript:|mailto:)/i.test(n)&&(!a(r,n)&&(r.length>=me(r)&&r.length<=220)))}).forEach(function(e){s(e,e.closest("tr, li, article, section, div")||e.parentElement)});return i.sort(Pt),i}function Ot(e){if(!e||!e.querySelectorAll)return[];var t={},r=[],n=ke(),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(!(Te(e)||Te(e.parentElement)||function(e){return qe(e,Te)}(e))){var o=Ce(e,i,n);o&&Rt(r,t,o)}}),r.sort(It),r}function Ft(e){return(e||[]).reduce(function(e,t,r){var i=Math.max(0,t&&t.score?t.score:n(t&&t.text));return i=Math.min(i,1200),r>=8&&(i=Math.round(i/2)),e+i},0)}function Ht(e){var r=C(e);!function(e){_(e),Tt(e),Lt(e),_t(e),Nt(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){je(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=Bt(r),i=Ft(n),o=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(we(n)||j(n)||T(n)||xe(n))return;var i=e.querySelectorAll("a[href]").length,o=n.split(/\s+/).length;if(i<=1||i/o<.3){var a=/^H[123]$/.test(e.tagName)?"## ":"";r.push(a+n)}}}),r.slice(0,8).join("\n\n")}(r),a=Ot(e),s=Ft(a);(n.length<3&&a.length>n.length||s>i+180)&&(n=a,i=s);var l=Dt(n),c=o?o+(l?"\n\n"+l:""):l;return t(c).length<120&&(a.length>n.length||s>i)&&(i=s,l=Dt(n=a),c=o?o+(l?"\n\n"+l:""):l),{root:r,items:n,descText:o,markdown:c,score:i+80*n.length+Math.min(o.length,4e3)}}function Dt(e){return e.map(function(e){var t="- ["+e.text+"]("+e.url+")";return e.detail&&(t+=" - "+e.detail),t}).join("\n")}var Ut=null;function Vt(e){return null==e?"":Array.isArray(e)?Vt(e[0]):t("object"==typeof e?e.name||e.value||e["@id"]||e.url||"":String(e))}function Gt(e){var t=e&&e.offers;return Array.isArray(t)&&(t=t[0]),t||null}function Wt(e,t){return e=Vt(e).replace(/\s+/g,""),t=Vt(t).toUpperCase(),e?/[$€£]\s?\d/.test(e)?e.replace(/([$€£])\s+/g,"$1"):/^\d[\d,.]*$/.test(e)?"USD"===t?"$"+e:"EUR"===t?"€"+e:"GBP"===t?"£"+e:t?e+" "+t:e:"":""}function Kt(e){return f(e).replace(/([a-z])([A-Z])/g,"$1 $2")}function Zt(e,r){var n=function(){if(Ut)return Ut;var e=[];return l().forEach(function r(n){if(n&&"object"==typeof n)if(Array.isArray(n))n.forEach(r);else{var i=n["@type"]||n.type;(Array.isArray(i)?i:[i]).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)}}),Ut=e,e}().find(function(n){return function(e,r,n){var o=Vt(e&&e.name).toLowerCase(),a=t(r||"").toLowerCase(),s=Gt(e),l=Vt(e&&e.url||s&&s.url),c=l?i(l):"";return!(!n||!c||c.replace(/[#?].*$/,"")!==n.replace(/[#?].*$/,""))||!(!o||!a||o!==a&&-1===o.indexOf(a)&&-1===a.indexOf(o))}(n,e,r)});if(!n)return[];var o=Gt(n),a=n.aggregateRating||n.reviewRating,s=[],c=Wt(o&&(o.price||o.priceSpecification&&o.priceSpecification.price),o&&(o.priceCurrency||o.priceSpecification&&o.priceSpecification.priceCurrency)),u=Vt(o&&o.availability),d=Vt(a&&a.ratingValue),p=Vt(a&&(a.reviewCount||a.ratingCount));return c&&s.push(c),d&&s.push(Jt(d,p)),u&&s.push(Kt(u)),s}function Jt(e,t){return"Rating: "+e+"/5"+(t?" from "+t+" reviews":"")}function Xt(e){var n={},o=[],a=[];["main","[role='main']",".products",".product-grid",".product-list",".search-results",".category",".collection","body"].forEach(function(e){document.querySelectorAll(e).forEach(function(e){-1===a.indexOf(e)&&a.push(e)})});var s=r([location.pathname||"",e&&e.title||document.title].join(" ")).toLowerCase().replace(/[^a-z0-9]+/g," ").split(/\s+/).filter(function(e){return e.length>=4&&!/^(shop|store|products?|items?|brand|brands|category|categories|search|results|sale|gift|sets|perfume|perfumes|fragrance|fragrances|cologne|women|men|unisex)$/i.test(e)});function l(e){var r,n=t(e.textContent||e.getAttribute("aria-label")||""),o=i(e.getAttribute("href"));if(!o||!n||n.length<6||n.length>140)return null;if(/^\(\d+\)\s+/.test(r=n)||/^(top sellers|new arrivals|product|brand name|review count|star rating|sort by|view all|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(r)||/\(designer\)$/i.test(r))return null;if(/(sort|filter|review|rating|privacy|cookie|onetrust)/i.test(o)&&n.length<32)return null;if(o===location.href||/^(javascript:|mailto:)/i.test(o))return null;var a=function(e,r,n){if(!e)return"";var i=t(e.textContent||""),o=Zt(r,n);function a(e){(e=t(e))&&-1===o.indexOf(e)&&o.push(e)}function s(r){var n=e.querySelector(r);return t(n&&(n.getAttribute("content")||n.getAttribute("href")||n.getAttribute("aria-label")||n.textContent))}var l=Wt(s("[itemprop='price'], meta[itemprop='price'][content], [class*='price' i], [data-testid*='price' i], [aria-label*='price' i]"),s("[itemprop='priceCurrency'], meta[itemprop='priceCurrency'][content]"));l&&a(l),(i.match(/([$€£]\s?\d[\d,.]*(?:\.\d{2})?)/g)||[]).slice(0,2).forEach(function(e){-1===o.indexOf(e)&&o.push(e)});var c=s("[itemprop='ratingValue'], meta[itemprop='ratingValue'][content]"),u=s("[itemprop='reviewCount'], [itemprop='ratingCount'], meta[itemprop='reviewCount'][content], meta[itemprop='ratingCount'][content]");c&&/^\d(?:\.\d+)?$/.test(c)&&a(Jt(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(Jt(m[1],h&&h[1]))}var f=s("[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(Kt(f)),[/\bfree shipping\b/i].forEach(function(e){var t=i.match(e);t&&a(t[0])}),o.filter(Boolean).join(" - ")}(e.closest("article, li, [class*='product'], [class*='item'], [class*='card'], div, section")||e.parentElement,n,o);return function(e){return e=e.toLowerCase(),s.some(function(t){return-1!==e.indexOf(t)})}(n)||/(\/product|\/perfume|\/cologne|\/dp\/|\/itm\/|\/p\/|\/shop\/products\/)/i.test(o)?{text:n,url:o,detail:a}:null}var c=a.reduce(function(e,t){var r,n,i=(r=t,n=0,Array.prototype.forEach.call(r.querySelectorAll("a[href]"),function(e){l(e)&&(n+=1)}),n);return!e||i>e.score?{node:t,score:i}:e},null);if(!c||c.score<4)return null;if(Array.prototype.forEach.call(c.node.querySelectorAll("a[href]"),function(e){if(!(o.length>=15)){var t=l(e);if(t){var r=t.text+"|"+t.url;n[r]||(n[r]=!0,o.push(t))}}}),o.length<4)return null;var u=Dt(o);return y({title:e&&e.title||document.title,excerpt:o[0].text,siteName:e&&e.siteName||location.hostname,textContent:u,markdown:u})}function Yt(e){var t=[];function r(e){e&&-1===t.indexOf(e)&&t.push(e)}r(Le(e)),function(e){var t=ke(e),r=[];if(!t.sectionFragments.length&&!t.keywords.length)return r;function i(e){if(e&&e!==document.body&&e!==document.documentElement&&-1===r.indexOf(e)&&!je(e)&&!Ae(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=Ce(e,r,t);if(n&&!(n.score<260))for(var o=r,a=0;o&&a<4&&(i(o),!o.matches||!o.matches("main, [role='main']"));)o=o.parentElement,a+=1}),r}(e).forEach(r),r(document.querySelector("main, [role='main']")),r(document.body);var i=t.reduce(function(e,t){var r=Ht(t);return!e||r.score>e.score?r:e},null)||Ht(document.body);return y({title:e.title||document.title,excerpt:i.items[0]?i.items[0].text:e.excerpt,siteName:e.siteName||location.hostname,html:i.root.innerHTML,textContent:i.markdown,markdown:i.markdown})}function Qt(e){return(e.title||document.title).replace(/\s*[|\-]\s*[^|\-]*$/,"")}function er(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 tr(e){var r=e&&!1!==e.reader_mode?ie():null;return r&&(r=function(e,r){if(!e)return r;if(!r||!e.readerMode)return e;var n=t(e.markdown||e.textContent||""),i=t(r.markdown||r.textContent||""),o=/\b(oglas|advertisement|sponsored|ad)\b/i.test(n.slice(0,160)),a=T(n),s=ne(n),l=/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title);return i?fe(e)?e:s&&!l&&i.length>=Math.max(900,2*n.length)||a&&i.length>=Math.max(1e3,2*n.length)||fe(r)&&(n.length<240||o)&&i.length>=Math.max(600,3*n.length)?r:e:e}(r,re())),r||(r=re()),r}e.FetchUtilExtract={extract:function(e){var r,n,s,l=(r=document.querySelector('link[rel="canonical"]'),{title:o("og:title","property")||document.title||m(["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(r&&r.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=q(),h={iframeTitles:(n=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:n.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:q().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)&&b()&&(s=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 i=n.closest("article, li, div[data-testid], .result, .b_algo, .g, .fdb")||n.parentElement,o=pe(n);_e(t,r,o,n.getAttribute("href"),he(i,o))}})}),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,i=pe(e);_e(t,r,i,e.getAttribute("href"),he(n,i))}),{title:e.title||document.title,byline:null,excerpt:b(),siteName:e.siteName||location.hostname,publishedTime:null,html:"",textContent:Dt(t),markdown:Dt(t),readerMode:!1,contentType:"search",resultCount:t.length}}(l)),s||(s=xt(l,c)),s||(s=function(e,r,n){var i=Be(e,r,n);if(!i)return null;var o=t(e.title||document.title);(!o||x(o)||/^www\./i.test(o))&&(o=Oe(i,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}(i,n),s=["anubis"===i?"Challenge: Anubis":"datadome"===i?"Challenge: DataDome":"Challenge: Cloudflare/Turnstile"];return n&&n.textLength<40&&n.htmlLength>200&&s.push("Readable DOM: challenge page only"),g({title:o,description:a,highlights:[],details:s,siteName:e.siteName||location.hostname})}(l,c,h)),!s){var f=Ze(l,c),y=f?Ke(l,c):null;if(f&&"consent_wall"!==y)s=f;else if(f&&"consent_wall"===y){var k=tr(e),w=t(k&&k.markdown||k&&k.textContent||"").toLowerCase();s=k&&w.length>500&&!Qe(w)?k:f}}if(s||(s=de(l)),s||(s=function(e){var r=u(["Recipe"]);if(!r)return null;var n=a(r.recipeIngredient).map(function(e){return"string"==typeof e?t(e):p(e)}).filter(Boolean),i=[];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))&&i.push(n)):(n=t(r))&&i.push(n))}(r.recipeInstructions),n.length+i.length<3)return null;var o=[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),s=[],l=d(r.name||r.headline)||e.title||document.title,c=p(r.description)||e.excerpt;l&&s.push("# "+l),o.length&&s.push(o.map(function(e){return"- "+e}).join("\n")),c&&s.push(c),n.length&&s.push("## Ingredients\n\n"+n.slice(0,25).map(function(e){return"- "+e}).join("\n")),i.length&&s.push("## Instructions\n\n"+i.slice(0,20).map(function(e,t){return t+1+". "+e}).join("\n"));var m=s.join("\n\n").trim();return{title:l,byline:d(r.author)||null,excerpt:c||null,siteName:e.siteName||location.hostname,publishedTime:r.datePublished||e.publishedTime||null,html:"",markdown:m,textContent:t(m),readerMode:!1,contentType:"article"}}(l)),s||(s=tr(e)),s&&"article"===s.contentType&&s.readerMode&&ne(s.textContent||s.markdown||"")&&!/(weather|forecast|ve[ðd]ur|vedur|meteo)/i.test((location.pathname||"")+" "+document.title)){var A=Yt(l);t(A.markdown||"").length>=400&&(s=A)}if(function(e){return!e||t(e.markdown||e.textContent||"").length<300}(s)){var S=ze();S&&(s=S)}var C=Xt(l);if(C&&s&&"list"!==s.contentType){var $=t(s.markdown||s.textContent||"").toLowerCase();(v("q")||v("k")||/\/(search|category|collections?|fragrances)\b/.test(location.pathname)||Qe($))&&(s=C)}var E=fe(s)||function(e,r){e=e||{};var n=t((r=r||{}).title||e.title||""),i=t(r.excerpt||e.excerpt||""),o=t(r.publishedTime||e.publishedTime||""),a=t(r.byline||e.byline||""),s=t(r.textContent||r.markdown||"");return!!(!(n.length<me(n)||s.length<220)&&(o&&i.length>=40||o&&a||o&&s.length>=320))}(l,s);if("article"===s.contentType&&!s.hostAware&&!s.docsLike&&!ve()&&T(s.textContent||s.markdown||"")){var j=Yt(l);t(j.markdown||"").length>=400&&(s=j)}if("list"===s.contentType||s.hostAware||s.docsLike||!function(e){if(!document.body)return!1;function r(e){var r=e.querySelectorAll("a").length,n=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,s=e.querySelectorAll("h1, h2, h3, h4").length,l=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>=me(r)&&r.length<=220&&!be(r,e.getAttribute("href")||"")}).length,u=t(e.textContent),d=t(document.title).toLowerCase(),p=(location.pathname||"").toLowerCase();return{links:r,paragraphs:n,rows:i,listItems:o,listish:a,headings:s,cards:l,headlineLinks:c,text:u,title:d,homepage:"/"===p||""===p||/^\/(index|default|home)\b/i.test(p)||/^\/\d+(,\d+)*\.html?$/i.test(p)}}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 i=document.createElement("div");if(i.innerHTML=document.body.innerHTML,n(r(i)))return!0;var o=document.createElement("div");return o.innerHTML=e&&e.html?e.html:document.body.innerHTML,n(r(o))}(s)||!ge()&&ve()||E||(s=Yt(l)),"list"===s.contentType&&v("q")&&oe(l)){var L=se(l);L&&(s=L)}var _,z,N=(_=s.html,(z=document.createElement("div")).innerHTML=_,jt(z),z.innerHTML);s.title&&(s.title=t(s.title.replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,"")));var M=Mt(s.markdown||Et(N||s.html)),R=t(s.textContent||""),P=t(M);!P&&R.length>40&&(M=Mt(Et(N)||R)),P=t(M),"article"===s.contentType&&!s.readerMode&&s.html&&s.html.length>5e4&&R.length>=1200&&P.length<.2*R.length&&(M=Mt(R));var I=t((s.title||l.title||"").replace(/\s*Stay organized with collections\s*Save and categorize content based on your preferences\.?\s*/gi,""));if("article"===s.contentType&&I&&t(M)){for(var B=M.split("\n"),O=-1,F=I.toLowerCase(),H=0;H<Math.min(B.length,12);H+=1){var D=t(B[H]).replace(/^#+\s*/,"").replace(/[`*_]/g,"");if(D&&t(D).toLowerCase()===F){O=H;break}}if(O<0)for(var U=0;U<Math.min(B.length,12);U+=1){var V=t(B[U]).match(/^(#+)\s+(.*)/);if(V&&"#"===V[1]){var G=t(V[2]).replace(/[`*_]/g,"");if(0===G.toLowerCase().indexOf(F)&&G.length>I.length+5){var W=G.substring(I.length).trim();B[U]="# "+I,W&&B.splice(U+1,0,"",W),M=B.join("\n"),O=U;break}}}if(O>0){var K=B.slice(0,O);M="# "+I+"\n\n"+(K.filter(function(e){return t(e)}).some(function(e){return!/^!\[[^\]]*\]\([^)]*\)$/.test(t(e))})?K:[]).concat(B.slice(O+1)).join("\n").trim()}else Q(M,I)||(M="# "+I+"\n\n"+M)}var Z=rt(l,s,M=Mt(M),c,h),J=t(c||"").length,X=t(M||"").length,Y=J>0?Math.round(X/J*100)/100:1,ee=tt(l,s,M),te=null;return et()&&(te=-1!==Z.indexOf("subscription_interstitial")?"full_block":"detected"),{title:I||t(l.title),byline:er(s.byline||l.byline),excerpt:s.excerpt||l.excerpt,siteName:s.siteName||l.siteName,publishedTime:s.publishedTime||l.publishedTime,canonicalUrl:l.canonicalUrl,language:l.language,html:s.html,markdown:M,readerMode:s.readerMode,contentType:s.contentType||"article",suspect:Z.length>0,warnings:Z,contentCompletenessRatio:Y,contentFormat:ee,paywallState:te,textContent:s.textContent,url:location.href}}}}(window);