跳转到内容

MediaWiki:Gadget-popups.js

来自萌娘共享
AnnAngela-dbot留言 | 贡献2025年7月24日 (四) 20:44的版本 (代码变动:103d1a56 - feat: rename (#594) by U:AnnAngela, co-authored-by: GH:github-actions[bot])

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/Navigation_popups/Gadget-popups.js|user=[[U:AnnAngela]]|co-authors=GH:github-actions[bot]|longId=103d1a563ea4ccc8ff29fb55c9bcd88329a56eb5|shortId=103d1a56|summary=feat: rename (#594)|body=<nowiki>Co-authored-by: github-actions[bot] <41898282+github-actions[bot]📧users.noreply.github.com></nowiki>}}'; 

/* <pre> */

eval([
    "$(()=>{let A={article:wgULS('条目','條目'),category:wgULS('个分类','個分類'),categories:wgULS('个分类','個分類'),image:wgULS('个文件','個檔案'),images:wgULS('个文件','個檔案'),stub:wgULS('小作品','小作品'),'section stub':wgULS('小章节','小章節'),'Empty page':wgULS('空页面','空頁面'),kB:wgULS('千字节<sub>(以1000为一进)</sub>','千位元組<sub>(以1000為一進)</sub>'),bytes:wgULS('字节','位元組'),day:wgULS('天','天'),days:wgULS('天','天'),hour:wgULS('小时','小時'),hours:wgULS('小时','小時'),minute:wgULS('分','分'),minutes:wgULS('分','分'),second:wgULS('秒','秒'),seconds:wgULS('秒','秒'),week:wgULS('周','周'),weeks:wgULS('周','周'),month:wgULS('月','月'),months:wgULS('月','月'),year:wgULS('年','年'),years:wgULS('年','年'),search:wgULS('搜索','搜尋'),SearchHint:wgULS('搜索包含 %s 的页面','搜尋包含 %s 的頁面'),web:'Google',global:wgULS('全域','全域'),'more...':wgULS('更多……','更多……'),actions:wgULS('操作','動作'),popupsMenu:wgULS('Popups','Popups'),'disable previews':wgULS('禁用预览','禁用預覽'),togglePreviewsHint:wgULS('切换本页 Popups 的预览开关','切換本頁 Popups 的預覽開關'),'toggle previews':wgULS('切换预览开关','切換預覽開關'),reset:wgULS('复位','複位'),disable:wgULS('禁用 Popups','禁用 Popups'),disablePopupsHint:wgULS('在本页禁用 Popups,刷新页面以重新启用。','在本頁禁用 Popups,重新整理頁面以重新啟用。'),purgePopupsHint:wgULS('复位 Popups,清除所有缓存数据。','複位 Popups,清除所有快取資料。'),PopupsHint:wgULS('复位 Popups,清除所有缓存数据。','複位 Popups,清除所有快取資料。'),spacebar:wgULS('空格','空格'),view:wgULS('查看','檢視'),'view article':wgULS('查看条目','檢視條目'),viewHint:wgULS('前往 %s','前往 %s'),talk:wgULS('讨论','討論'),'talk page':wgULS('讨论页','討論頁'),'this&nbsp;revision':wgULS('此修订版本','此修訂版本'),'revision %s of %s':wgULS('页面 $2 的修订版本 $1','頁面 $2 的修訂版本 $1'),'Revision %s of %s':wgULS('页面 $2 的修订版本 $1','頁面 $2 的修訂版本 $1'),'the revision prior to revision %s of %s':wgULS('页面 $2 的修订版本 $1 之前的修订版本','頁面 $2 的修訂版本 $1 之前的修訂版本'),'Toggle image size':wgULS('点击切换图片大小','點擊切換圖片大小'),del:wgULS('删除','删除'),delete:wgULS('删除','删除'),deleteHint:wgULS('删除 %s','删除 %s'),undeleteShort:wgULS('恢复','恢復'),UndeleteHint:wgULS('恢复 %s','恢復 %s'),protect:wgULS('保护','保護'),protectHint:wgULS('保护 %s','保護 %s'),unprotectShort:wgULS('解除','解除'),unprotectHint:wgULS('解除对 %s 的保护','解除對 %s 的保護'),move:wgULS('移动','移動'),'move page':wgULS('移动页面','移動頁面'),MovepageHint:wgULS('修改 %s 的标题','修改 %s 的標題'),edit:wgULS('编辑','編輯'),'edit article':wgULS('编辑条目','編輯條目'),editHint:wgULS('修改 %s 的内容','修改 %s 的內容'),'edit talk':wgULS('编辑讨论页','編輯對話頁',null,null,'編輯討論頁'),new:wgULS('新','新'),'new topic':wgULS('新话题','新話題'),newSectionHint:wgULS('在 %s 增加新的讨论话题','在 %s 增加新的討論話題'),'null edit':wgULS('空编辑','空編輯'),nullEditHint:wgULS('进行一次对 %s 的空编辑','製造一次對 %s 的空編輯'),hist:wgULS('历史','歷史'),history:wgULS('历史','歷史'),historyHint:wgULS('%s 的修订历史','%s 的修訂歷史'),last:wgULS('之前','之前'),lastEdit:wgULS('最近更改','最近更改'),'show last edit':wgULS('最近一次更改','最新一次修訂'),'Show the last edit':wgULS('显示最近一次更改的差异','顯示最新一次修訂的差異'),lastContrib:wgULS('最近编辑','最近編輯'),'last set of edits':wgULS('最近编辑','最近編輯'),lastContribHint:wgULS('显示由最后一位编辑者造成的差异','顯示由最後一位編輯者製造的差異'),cur:wgULS('当前','當前'),diffCur:wgULS('与当前版本的差异','與目前版本的差異'),'Show changes since revision %s':wgULS('显示自修订版本 %s 的差异','顯示自修訂版本 %s 的差異'),'%s old':wgULS('%s 前的最后版本','%s 前的最后版本'),oldEdit:wgULS('旧编辑','舊編輯'),purge:wgULS('清除缓存','清除快取'),purgeHint:wgULS('清除服务器中 %s 的缓存','清除伺服器中 %s 的快取'),raw:wgULS('源代码','原始碼'),rawHint:wgULS('查看 %s 的源代码','檢視 %s 的原始碼'),render:wgULS('仅正文','僅正文'),renderHint:wgULS('显示 %s 的纯HTML解析(仅正文内容)','顯示 %s 的純HTML解析(僅正文內容)'),'Show the edit made to get revision':wgULS('显示编辑以得到修订版本','顯示編輯以得到修訂版本'),sinceMe:wgULS('自我','自我'),'changes since mine':wgULS('自我修订的差异','自我修訂的差異'),sinceMeHint:wgULS('显示自我上次修改以来的差异','顯示自我上次修改以來的差異'),'Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s':wgULS('在 $3 最近 $2 次编辑中找不到 $1 做出的修改','在 $3 最近 $2 次編輯中找不到 $1 做出的修改'),eds:wgULS('编辑','編輯'),editors:wgULS('编辑者','編輯者'),editorListHint:wgULS('列出编辑过 %s 的用户','列出編輯過 %s 的使用者',null,null,'列出編輯過 %s 的用戶'),related:wgULS('相关','相關'),relatedChanges:wgULS('相关更改','相關更改'),'related changes':wgULS('相关更改','相關更改'),RecentchangeslinkedHint:wgULS('显示相关 %s 的修改','顯示相關 %s 的修改'),editOld:wgULS('编辑旧版','編輯舊版'),rv:wgULS('回退','恢復'),revert:wgULS('回退','恢復'),revertHint:wgULS('回退到 %s','恢復到 %s'),undo:wgULS('撤销','撤銷'),undoHint:wgULS('撤销这次编辑','撤銷這次編輯'),defaultpopupRedlinkSummary:wgULS('移除到空页面[[%s]]的链接 ——[[Help:Popups小工具|Popups]]','移除到空頁面[[%s]]的連結 ——[[Help:Popups小工具|Popups]]'),defaultpopupFixDabsSummary:wgULS('消歧义[[%s]]到[[%s]] ——[[Help:Popups小工具|Popups]]','消歧義[[%s]]到[[%s]] ——[[Help:Popups小工具|Popups]]'),defaultpopupFixRedirsSummary:wgULS('忽略从[[%s]]到[[%s]]的重定向 ——[[Help:Popups小工具|Popups]]','忽略從[[%s]]到[[%s]]的重新導向 ——[[Help:Popups小工具|Popups]]'),defaultpopupExtendedRevertSummary:wgULS('回退到$2在$1时编辑的修订版本$3 ——[[Help:Popups小工具|Popups]]','還原到$2在$1時製作的修訂版本$3 ——[[Help:Popups小工具|Popups]]'),defaultpopupRevertToPreviousSummary:wgULS('回退到修订版本%s的上一个版本 ——[[Help:Popups小工具|Popups]]','還原到修訂版本%s的上一個版本 ——[[Help:Popups小工具|Popups]]'),defaultpopupRevertSummary:wgULS('回退到修订版本%s ——[[Help:Popups小工具|Popups]]','還原到修訂版本%s ——[[Help:Popups小工具|Popups]]'),defaultpopupQueriedRevertToPreviousSummary:wgULS('回退到修订版本$1的上一个版本,由$3在$2时编辑 ——[[Help:Popups小工具|Popups]]','還原到修訂版本$1的上一個版本,由$3在$2時製作 ——[[Help:Popups小工具|Popups]]'),defaultpopupQueriedRevertSummary:wgULS('回退到$3在$2时编辑的修订版本$1 ——[[Help:Popups小工具|Popups]]','還原到$3在$2時製作的修訂版本$1 ——[[Help:Popups小工具|Popups]]'),defaultpopupRmDabLinkSummary:wgULS('移除到消歧义页[[%s]]的链接 ——[[Help:Popups小工具|Popups]]','移除到消歧義頁[[%s]]的連結 ——[[Help:Popups小工具|Popups]]'),Redirects:wgULS('重定向','重定向'),'Bypass redirect':wgULS('忽略重定向','忽略重新導向'),'Fix this redirect':wgULS('修复重定向','修復重新導向'),disambig:wgULS('消歧义','消歧義'),disambigHint:wgULS('消歧义这个链接到 [[%s]]','消歧義這個連結到 [[%s]]'),'Click to disambiguate this link to:':wgULS('点击以消歧义这个链接到:','點擊以消歧義這個連結到:'),'remove this link':wgULS('移除链接','移除連結'),'remove all links to this page from this article':wgULS('移除此条目到这页的所有链接','移除此條目到這頁的所有連結'),'remove all links to this disambig page from this article':wgULS('移除此条目到这消歧义的所有链接','移除此條目到這消歧義的所有連結'),mainlink:wgULS('主链接','主連結'),wikiLink:wgULS('个内部链接','個內部連結'),wikiLinks:wgULS('个内部链接','個內部連結'),'links here':wgULS('链入','鏈入'),whatLinksHere:wgULS('链入页面','鏈入頁面'),'what links here':wgULS('链入页面','鏈入頁面'),WhatlinkshereHint:wgULS('显示链接到 %s 的页面','顯示連結到 %s 的頁面'),unwatchShort:wgULS('取消','取消'),watchThingy:wgULS('监视','監視'),watchHint:wgULS('加入 %s 到我的监视列表','加入 %s 到我的監視列表'),unwatchHint:wgULS('从我的监视列表移除 %s','從我的監視列表移除 %s'),'Only found one editor: %s made %s edits':wgULS('仅找到一位编者:%s 制造了 %s 次编辑','僅找到一位編者:%s 製造了 %s 次編輯'),'%s seems to be the last editor to the page %s':wgULS('%s 看上去是 %s 这页的最后一位编者','%s 看上去是 %s 這頁的最後一位編者'),rss:wgULS('RSS','RSS'),'Diff truncated for performance reasons':wgULS('出于性能考虑,差异已被截断','出於效能考慮,差異已被截斷'),'Old revision':wgULS('旧版本','舊版本'),'New revision':wgULS('新版本','新版本'),'Something went wrong :-(':wgULS('出问题了 :-(','出問題了 :-('),'Empty revision, maybe non-existent':wgULS('空的修订,可能并不存在','空的修訂,可能並不存在'),'Unknown date':wgULS('未知日期','未知日期'),'Empty category':wgULS('空的分类','空的分類'),'Category members (%s shown)':wgULS('分类成员(%s 显示)','分類成員(%s 顯示)'),'No image links found':wgULS('未找到文件链接','未找到檔案連結'),'File links':wgULS('文件链接','檔案連結'),'not commons':wgULS('维基共享中无此名称的文件。','維基共享中無此名稱的檔案。'),'commons only':wgULS('此文件来自维基共享。','此檔案來自維基共享。'),'No image found':wgULS('找不到文件','找不到檔案'),'commons dupe':wgULS('维基共享中存在此文件的副本。','維基共享中存在此檔案的副本。'),'commons conflict':wgULS('维基共享中存在此文件名称不同的副本。','維基共享中存在此檔名稱不同的副本。'),user:wgULS('用户','使用者',null,null,'用戶'),'user&nbsp;page':wgULS('用户页','使用者頁',null,null,'用戶頁'),'user talk':wgULS('用户讨论','使用者對話',null,null,'用戶討論'),'edit user talk':wgULS('编辑用户讨论','編輯使用者對話',null,null,'編輯用戶討論'),'leave comment':wgULS('留言','留言'),email:wgULS('电邮','電郵'),'email user':wgULS('电邮用户','電郵使用者'),EmailuserHint:wgULS('给 %s 发送电子邮件','給 %s 發送電子郵件'),space:wgULS('子页面','子頁面'),PrefixindexHint:wgULS('显示 %s 的用户页子页面','顯示 %s 的使用者頁子頁面',null,null,'顯示 %s 的用戶頁子頁面'),count:wgULS('统计','統計'),'edit counter':wgULS('编辑次数','編輯次數'),katelinkHint:wgULS('%s 的编辑次数','%s 的編輯次數'),contribs:wgULS('贡献','貢獻'),contributions:wgULS('贡献','貢獻'),deletedContribs:wgULS('已删除的贡献','已刪除的貢獻'),ContributionsHint:wgULS('%s 的用户贡献','%s 的使用者貢獻',null,null,'%s 的用戶貢獻'),tree:wgULS('树','樹'),contribsTreeHint:wgULS('根据名字空间查看 %s 的贡献','根據命名空間檢視 %s 的貢獻'),log:wgULS('日志','日誌'),'user log':wgULS('用户日志','使用者日誌',null,null,'用戶日誌'),userLogHint:wgULS('显示 %s 的用户日志','顯示 %s 的使用者日誌',null,null,'顯示 %s 的用戶日誌'),arin:wgULS('ARIN 查询','ARIN 查詢'),'Look up %s in ARIN whois database':wgULS('在 ARIN Whois 数据库中查询 %s','在 ARIN Whois 數據庫中查詢 %s'),unblockShort:wgULS('解除','解除'),block:wgULS('封禁','封鎖'),'block user':wgULS('封禁用户','封鎖使用者',null,null,'封鎖用戶'),IpblocklistHint:wgULS('解封 %s','解封 %s'),BlockipHint:wgULS('封禁 %s','封鎖 %s'),'block log':wgULS('封禁日志','封鎖日誌'),blockLogHint:wgULS('显示 %s 的封禁日志','顯示 %s 的封鎖日誌'),protectLogHint:wgULS('显示 %s 的保护日志','顯示 %s 的保護日誌'),pageLogHint:wgULS('显示 %s 的日志','顯示 %s 的日誌'),deleteLogHint:wgULS('显示 %s 的删除日志','顯示 %s 的刪除日誌'),'Invalid %s %s':wgULS('选项 %s 不可用:%s','選項 %s 不可用:%s'),m:wgULS('小','小'),'Enter a non-empty edit summary or press cancel to abort':wgULS('输入编辑摘要,或按取消中止操作','輸入編輯摘要,或按取消中止操作'),'Failed to get revision information, please edit manually.\\n\\n':wgULS('获取修订版本信息失败,请手动修改。\\n\\n','獲取修訂版本資訊失敗,請手動修改。\\n\\n'),'The %s button has been automatically clicked. Please wait for the next page to load.':wgULS('按钮 %s 已被自动点击,请等待下一个页面加载。','按鈕 %s 已被自動點擊,請等待下一個頁面載入。'),'Could not find button %s. Please check the settings in your javascript file.':wgULS('找不到按钮 %s,请检查您 JavaScript 文件中的设置。','找不到按鈕 %s,請檢查您 JavaScript 檔案中的設定。'),'Open full-size image':wgULS('查看全尺寸图像','檢視全尺寸影像'),zxy:wgULS('zxy','zxy'),globalSearchHint:wgULS('在维基百科其他语言搜索“%s”','在維基百科其他語言搜尋「%s」'),googleSearchHint:wgULS('在 Google 上搜索“%s”','在 Google 上搜尋「%s」'),'enable previews':wgULS('启用预览','啟用預覽'),'show preview':wgULS('禁用预览','禁用預覽'),historyfeedHint:wgULS('该页面的近期更改 RSS feed','該頁面的近期更改 RSS feed'),'send thanks':wgULS('发送感谢','傳送感謝'),ThanksHint:wgULS('向该用户发送一封感谢消息','向該使用者傳送一封感謝訊息'),'mark patrolled':wgULS('标记为已巡查','標記為已巡查'),markpatrolledHint:wgULS('标记该编辑为已巡查','標記該編輯為已巡查'),'Could not marked this edit as patrolled':wgULS('无法标记该编辑为已巡查','無法標記該編輯為已巡查'),defaultpopupReviewedSummary:wgULS('标记从版本%s到%s间的编辑为已巡查','標記從版本%s到%s間的編輯為已巡查'),'Image from Commons':wgULS('来自维基共享的图片','來自維基共用的圖片'),'Description page':wgULS('图片描述页','圖片描述頁'),'Alt text:':wgULS('替换文本(Alt):','替換文字(Alt):'),revdel:wgULS('历史版本被隐藏','歷史版本被隱藏'),editCounterLinkHint:wgULS('用户%s的编辑次数','使用者%s的編輯次數'),DeletedcontributionsHint:wgULS('用户%s的被删除编辑次数','使用者%s的被刪除編輯次數'),'No backlinks found':wgULS('找不到链入页面','找不到鏈入頁面'),' and more':wgULS('以及其他页面','以及其他頁面'),'Download ",
    "preview data':wgULS('下载预览数据','下載預覽資料'),'Invalid or IP user':wgULS('错误的用户名或IP用户','錯誤的使用者名稱或IP使用者'),'Not a registered username':wgULS('非已注册的用户','非已註冊的使用者'),BLOCKED:wgULS('被封禁','被封鎖'),'Has blocks':wgULS('被部分封禁','被部分封鎖'),' edits since: ':wgULS('次编辑,注册日期为','次編輯,註冊日期為'),'last edit on ':wgULS('最后一次编辑于','最後一次編輯於'),EmailUserHint:wgULS('给 %s 发送电子邮件','給 %s 發送電子郵件'),RANGEBLOCKED:wgULS('IP段被封禁','IP段被封鎖'),'IP user':wgULS('IP用户','IP使用者'),'♀':'♀','♂':'♂',HIDDEN:wgULS('全域隐藏','全域隱藏'),LOCKED:wgULS('全域锁定','全域鎖定'),'Invalid user':wgULS('非法用户名','非法使用者名稱'),diff:wgULS('差异','差異'),' to ':wgULS('至','至'),autoedit_version:'np20140416',PrefixIndexHint:wgULS('显示用户%s的子页面','顯示使用者%s的子頁面',null,null,'顯示用戶%s的子頁面'),nullEditSummary:wgULS('进行一次零编辑','進行一次零編輯'),'group-no-autoconfirmed':wgULS('非自动确认用户','非自動確認使用者',null,null,'非自動確認用戶'),separator:'、',comma:','},m={api:{},re:{},ns:{},string:{},wiki:{},user:{},misc:{},option:{},optionDefault:{},flag:{},cache:{},structures:{},timer:{},counter:{},current:{},fn:{},endoflist:null};if(window.pg&&!(window.pg instanceof HTMLElement))return;window.pg=m,mw.util.escapeRegExp||(mw.util.escapeRegExp=mw.RegExp.escape);let f=(...e)=>window.popupDebug&&console.log(...e),w=(...e)=>window.popupDebug&&console.error(...e);function j(e,t,i,n){let o=e;f(`setupTooltips, container=${o}, remove=`+t),o||(N('popupOnEditSelection')&&document&&document.editform&&document.editform.wpTextbox1&&(document.editform.wpTextbox1.onmouseup=lt),o=(()=>N('popupOnlyArticleLinks')&&(document.querySelector('.skin-vector-2022 .vector-body')||document.getElementById('mw_content')||document.getElementById('content')||document.getElementById('article')||document.getElementsByTagName('article')?.[0])||document)()),!t&&!i&&o.ranSetupTooltipsAlready||(o.ranSetupTooltipsAlready=!t,function e(t,i,n,o,r,s){f(c('setupTooltipsLoop(%s,%s,%s,%s,%s)',[t,i,n,o,r,s]));let a=i+n;let p=Math.min(a,t.length);let l=p-i;f(`setupTooltips: anchors.length=${t.length}, begin=${i}, howmany=${n}, loopend=${p}, remove=`+r);let u=r?_:W;if(0<l)do{let e=t[p-l];void 0!==e&&e&&e.href?u(e,s):f('got null anchor at index '+p-l)}while(--l);a<t.length?setTimeout(()=>{e(t,a,n,o,r,s)},o):(r||N('popupTocLinks')||O(),m.flag.finishedLoading=!0)}(o.getElementsByTagName('A'),0,250,100,t,n))}function O(){var e=document.getElementById('toc');if(e){var t=e.getElementsByTagName('A'),i=t.length;for(let e=0;e<i;++e)_(t[e])}}function W(e,t){(e=>(Te.done||Te(),!(e.inNopopupSpan||e.onmousedown||e.getAttribute('nopopup')||(e=e.href)===document.location.href+'#'||!m.re.basenames.test(e))&&(!m.re.urlNoPopup.test(e)||(m.re.email.test(e)||m.re.contribs.test(e)||m.re.backlinks.test(e)||m.re.specialdiff.test(e))&&-1===e.indexOf('&limit='))))(e)&&(e.onmouseover=z,e.onmouseout=_e,e.onmousedown=ie,e.hasPopup=!0,e.popData=t)}function _(e){e.hasPopup&&(e.onmouseover=null,e.onmouseout=null,e.originalTitle&&(e.title=e.originalTitle),e.hasPopup=!1)}function F(e){!e.title&&e.originalTitle&&(e.title=e.originalTitle)}function B(e){document.removeEventListener('keydown',e.modifierKeyHandler,!1),document.removeEventListener('keyup',e.modifierKeyHandler,!1)}function z(e){let t=e;if(!t&&window.event&&(t=window.event),N('popupModifier')){e='disable'===N('popupModifierAction')?'keyup':'keydown';let t=this;t.modifierKeyHandler=function(e){Q(t,e)},document.addEventListener(e,t.modifierKeyHandler,!1)}return Q(this,t)}function q(e){let t=e;e=N('popupModifier');return!!e&&(t=!t&&window.event?window.event:t)&&e&&t[e.toLowerCase()+'Key']}function Q(i,e){var t,n;if((e=e,!N('popupModifier')||'enable'===(t=N('popupModifierAction'))&&q(e)||'disable'===t&&!q(e))&&(N('removeTitles')&&((t=i).originalTitle||(t.originalTitle=t.title),t.title=''),i!==m.current.link||!i.navpopup||!i.navpopup.isVisible())){m.current.link=i,N('simplePopups')&&!m.option.popupStructure&&D('popupStructure','original');let t=(new v).fromAnchor(i);if(m.current.article=t,i.navpopup||(i.navpopup=(e=i,r=t,(n=new L).fuzz=5,n.delay=1e3*N('popupDelay'),n.idNumber=++m.idNumber,n.parentAnchor=e,n.parentPopup=e.popData&&e.popData.owner,n.article=r,(e=>{let t=N('popupMaxWidth');'number'==typeof t&&e.addHook(function(){e.mainDiv.style.maxWidth=t+'px',e.maxWidth=t},'unhide','before'),e.addHook(yt,'unhide','after'),e.addHook(St,'hide','before')})(n),n),m.current.linksHash[i.href]=i.navpopup,m.current.links.push(i)),null===i.navpopup.pending||0!==i.navpopup.pending){var o=i,e=t;if(o.navpopup.hasPopupMenu=!1,o.navpopup.setInnerHTML(function e(t){N('popupStructure');let i=m.structures[m.option.popupStructure];if('object'!=typeof i)return m.option.popupStructure=m.optionDefault.popupStructure,e(t);if('function'!=typeof i.popupLayout)return'Bad layout';m.misc.layout=i.popupLayout();'function'==typeof i.popupRedirSpans?m.misc.redirSpans=i.popupRedirSpans():m.misc.redirSpans=[];return Me(m.misc.layout,t.navpopup)}(o)),Ce({navpopup:o.navpopup}),N('popupDraggable')){let e=N('popupDragHandle')||null;e&&'all'!==e&&(e+=o.navpopup.idNumber),setTimeout(()=>{o.navpopup.makeDraggable(e)},150)}N('popupRedlinkRemoval')&&'new'===o.className&&S('<br>'+(e=>I({newTarget:null,text:C('remove this link').split(' ').join('&nbsp;'),hint:C('remove all links to this page from this article'),clickButton:N('popupRedlinkAutoClick'),oldTarget:e.toString(),summary:c(N('popupRedlinkSummary'),[e.toString()])}))(e),'popupRedlink',o.navpopup.idNumber)}if(i.navpopup.showSoonIfStable(i.navpopup.delay),clearInterval(m.timer.checkPopupPosition),m.timer.checkPopupPosition=setInterval(We,600),N('simplePopups')&&N('popupPreviewButton')&&!i.simpleNoMore){let e=document.createElement('div');e.className='popupPreviewButtonDiv';var r=document.createElement('span');e.appendChild(r),r.className='popupPreviewButton',r['on'+N('popupPreviewButtonEvent')]=function(){i.simpleNoMore=!0,e.style.display='none',K(i,t)},r.innerHTML=C('show preview'),S(e,'popupPreview',i.navpopup.idNumber)}0!==i.navpopup.pending&&K(i,t)}}function V(e){N('popupDebugging')&&e.idNumber&&S(`idNumber=${e.idNumber}, pending=`+e.pending,'popupError',e.idNumber)}function G(e){return!N('simplePopups')||e.simpleNoMore}function a(e,t){return G(e)?N(t):void 0!==window[t]&&window[t]}function K(e,t){let i=null,n=null;var o,r=xe(e.href),s=void 0===r.oldid?null:r.oldid,r=(a(e,'popupPreviewDiffs')&&(i=r.diff),a(e,'popupPreviewHistory')&&(n='history'===r.action),e.navpopup.pending=0,(e=>{var t=(e=v.fromAnchor(e)).anchor;if(/^(cite_note-|_note-|endnote)/.test(t)){var i=v.fromURL(location.href);if(i.toString(!0)===e.toString(!0)){let e=document.getElementById(t);for(;e&&'string'==typeof e.nodeName;){var n=e.nodeName.toLowerCase();if('li'===n)return e;if('body'===n)return!1;if(!e.parentNode)return!1;e=e.parentNode}}}return!1})(e));r?(o=e.navpopup,S('<hr />'+r.innerHTML,'popupPreview',o.idNumber)):i||0===i?(async(e,t,i,n)=>{n.diffData={oldRev:{},newRev:{}};var o=x(),r={action:'compare',prop:'ids|title'};switch(e.title&&(r.fromtitle=e.title),i){case'cur':switch(t){case null:case'':case'prev':r.torelative='prev';break;default:r.fromrev=t,r.torelative='cur'}break;case'prev':t&&(r.fromrev=t),r.torelative='prev';break;case'next':r.fromrev=t||0,r.torelative='next';break;default:r.fromrev=t||0,r.torev=i||0}function s(){Z(n);var e=m.wiki.apiwikibase+'?format=json&formatversion=2&action=query&';return $e(e+(`revids=${n.diffData.oldRev.revid}|`+n.diffData.newRev.revid)+'&prop=revisions&rvprop=ids|timestamp|content',xt,n),!0}e=await o.get(r),n.diffData.oldRev.revid=e.compare.fromrevid,n.diffData.newRev.revid=e.compare.torevid,(async(i,e)=>{if(m.user.canReview&&!(i.diffData.newRev.revid<=i.diffData.oldRev.revid)){var t={action:'query',prop:'info|flagged',revids:i.diffData.oldRev.revid,formatversion:2},t=await x().get(t);if((t.query.pages[0].flagged&&t.query.pages[0].flagged.stable_revid||0)===i.diffData.oldRev.revid){let t=document.createElement('a');t.innerHTML=C('mark patrolled'),t.title=C('markpatrolledHint'),t.onclick=async function(){var e={action:'review',revid:i.diffData.newRev.revid,comment:M('defaultpopupReviewedSummary',[i.diffData.oldRev.revid,i.diffData.newRev.revid])};try{await x().postWithToken('csrf',e),t.style.display='none'}catch{alert(C('Could not marked this edit as patrolled'))}},S(t,e,i.idNumber,null,!0)}}})(n,'popupMiscTools'),n.visible||!N('popupLazyDownloads')?s():n.addHook(s,'unhide','before','DOWNLOAD_DIFFS')})(t,s,i,e.navpopup):n?h('history',t,e.navpopup):G(e)&&m.re.contribs.test(e.href)?h('contribs',t,e.navpopup):G(e)&&m.re.backlinks.test(e.href)?h('backlinks',t,e.navpopup):t.namespaceId()!==m.nsImageId||!a(e,'imagePopupsForImages')&&(e=>{if(null!==e){var t=e.childNodes;for(let e=0;e<t.length;++e)if('IMG'===t[e].nodeName)return 1}})(e)?(t.namespaceId()===m.nsCategoryId&&a(e,'popupCategoryMembers')?h('category',t,e.navpopup):t.namespaceId()!==m.nsUserId&&t.namespaceId()!==m.nsUsertalkId||!a(e,'popupUserInfo')||h('userinfo',t,e.navpopup),G(e)&&(r=t,o=s,(s=e.navpopup).redir=0,Y(r,o,s))):(h('imagepagepreview',t,e.navpopup),at(t,e.navpopup))}function Z(e){e&&null===e.pending&&(e.pending=0),++e.pending,V(e)}function X(e){e&&e.pending&&--e.pending,V(e)}function Y(e,t,i){i.redir||(i.originalArticle=e),e.oldid=t,h('revision',e,i)}function J(e,t){var e=(new v).fromWikiText(e[2]),i=(t.article.anchor&&(e.anchor=t.article.anchor),t.redir++,((e,t)=>{let i='';return N('popupAppendRedirNavLinks')&&N('popupNavLinks')?(i+='<hr />',N('popupFixRedirs')&&void 0!==o&&o?(i+=C('Redirects to: (Fix '),f('redirLink: newTarget='+e),i=(i=(i=(i+=Lt(I({newTarget:e,text:C('target'),hint:C('Fix this redirect, changing just the link target'),summary:c(N('popupFixRedirsSummary'),[t.toString(),e]),oldTarget:t.toString(),clickButton:N('popupRedirAutoClick'),minor:!0,watch:N('popupWatchRedirredPages')}),'R'))+C(' or '))+Lt(I({newTarget:e,text:C('target & label'),hint:C('Fix this redirect, changing the link target and label'),summary:c(N('popupFixRedirsSummary'),[t.toString(),e]),oldTarget:t.toString(),clickButton:N('popupRedirAutoClick'),minor:!0,watch:N('popupWatchRedirredPages'),alsoChangeLabel:!0}),'R'))+C(')')):i+=C('Redirects')+C(' to '),i):'<br> '+C('Redirects')+C(' to ')+T({article:(new v).fromWikiText(e),action:'view',text:s(e),title:C('Bypass redirect')})})(t.redirTarget=e,t.article));S(i,'popupWarnRedir',t.idNumber),Ce({redir:",
    "!0,redirTarget:t.article=e,navpopup:t}),Y(e,null,t)}function ee(t){if(t.owner){var i,n,o=t.data,r=t.owner,s=r.redirTarget||r.originalArticle;i=o,n=r,N('popupFixDabs')&&Pe(i,n.article)&&v.fromURL(location.href).namespaceId()!==m.nsSpecialId&&n.article.talkPage()&&S(((e,t)=>{var i=t.parentPopup&&t.parentPopup.article.toString();return 0===(e=((t,i,n)=>{let e=RegExp('\\\\[\\\\[([^|]*?) *(\\\\||\\\\]\\\\])','gi'),o=[],r=t.parenSplit(e),s=RegExp('^[a-z]*:|^[Ss]pecial:|^[Ii]mage|^[Cc]ategory'),a=i.toString(),p=N('popupDabWiktionary');for(let e=1;e<r.length;e+=3)'string'==typeof r[e]&&0<r[e].length&&!s.test(r[e])&&o.push(De(r[e],i,a,n));if(o=(t=>{var i=[];for(let e=0;e<t.length;++e)0!==i.length&&t[e]===i[i.length-1]||i.push(t[e]);return i})(o.sort()),p){t='wiktionary:'+a.replace(RegExp('^(.+)\\\\s+[(][^)]+[)]\\\\s*$'),'$1');let e;e='first'===p.toLowerCase()?'unshift':'push',o[e](De(t,i,a,n))}return o.push(I({newTarget:null,text:C('remove this link').split(' ').join('&nbsp;'),hint:C('remove all links to this disambig page from this article'),clickButton:N('popupDabsAutoClick'),oldTarget:i,summary:c(N('popupRmDabLinkSummary'),[a]),watch:N('popupWatchDisambiggedPages'),title:n})),o})(e,t.originalArticle,i)).length?(f('listLinks returned empty list'),null):(t=`<hr />${C('Click to disambiguate this link to:')}<br>`)+e.join(C('separator'))})(i,n),'popupFixDab',n.idNumber),N('popupSummaryData')&&(ye(o,t),Ne(ye(o,t),r.idNumber));let e='';(e=s.namespaceId()===m.nsImageId?s.toString():(e=>{let t=null,i=((e,t,i,n)=>{var o=e.parenSplit(t),r=i+1;for(let e=0;e<o.length;++e)e%r==0||n.test(o[e])||(o[e]='');return o.join('')})(e,RegExp('(\\x3c!--[\\\\s\\\\S]*?--\\x3e)'),1,RegExp('^\\x3c!--[^[]*popup','i')),n=m.re.image.exec(i);for(;n;){var o=n[2]||n[6];if(Re(o)){t=o;break}n=m.re.image.exec(i)}return m.re.image.lastIndex=0,t?mw.config.get('wgFormattedNamespaces')[m.nsImageId]+':'+Ie(t):null})(o))&&at(v.fromWikiText(e),r),N('popupPreviews')&&(i=s,n=r,o=t)&&'string'==typeof o.data&&(i.namespaceId()===m.nsTemplateId&&N('popupPreviewRawTemplates')?S(`<hr /><span style=\"font-family: monospace;\">${o.data.entify().split('\\\\n').join('<br />\\\\n')}</span>`,'popupPreview',n.idNumber):te(o.data,i,n).showPreview())}}function te(e,t,i){e=((t,e)=>{if(e){var i=RegExp(`(?:=+\\\\s*${l(e).replace(/[_ ]/g,'[_ ]')}\\\\s*=+|\\\\{\\\\{\\\\s*${N('popupAnchorRegexp')}\\\\s*(?:\\\\|[^|}]*)*?\\\\s*${l(e)}\\\\s*(?:\\\\|[^}]*)?}})`),e=t.match(i);if(e&&0<e.length&&e[0])return t.substring(t.indexOf(e[0]));var n=t.split('\\n');for(let e=0;e<n.length;++e)if(n[e]=n[e].replace(RegExp('[[]{2}([^|\\\\]]*?[|])?(.*?)[\\\\]]{2}','g'),'$2').replace(/'''([^'])/g,'$1').replace(RegExp('\\'\\'([^\\'])','g'),'$1'),n[e].match(i))return t.split('\\n').slice(e).join('\\n').replace(RegExp('^[^=]*'),'')}return t})(e,t.anchorString()),t=[m.wiki.articlebase,t.urlString()].filter(He).join('/');return new Be(e,t,i)}function ie(){if(B(this),N('popupShortcutKeys')&&St(),m)return m.current.link&&m.current.link.navpopup&&m.current.link.navpopup.banish(),m.current.link=null,ge(),m.timer.checkPopupPosition&&(clearInterval(m.timer.checkPopupPosition),m.timer.checkPopupPosition=null),!0}class ne{constructor(){this.startCondition=null,this.endHook=null}fixE(e){let t=e;return void 0===(t=void 0===t?window.event:t).layerX&&(t.layerX=t.offsetX),void 0===t.layerY&&(t.layerY=t.offsetY),t}init(e,t){let i=this;(this.obj=e).onmousedown=function(e){i.start.bind(i)(e)},e.dragging=!1,e.popups_draggable=!0,e.hmode=!0,e.vmode=!0,e.root=t||e,isNaN(parseInt(e.root.style.left,10))&&(e.root.style.left='0px'),isNaN(parseInt(e.root.style.top,10))&&(e.root.style.top='0px'),e.root.onthisStart=function(){},e.root.onthisEnd=function(){},e.root.onthis=function(){}}start(e){var i=this.obj,e=this.fixE(e);if(!this.startCondition||this.startCondition(e)){var n=parseInt(i.vmode?i.root.style.top:i.root.style.bottom,10),o=parseInt(i.hmode?i.root.style.left:i.root.style.right,10);i.root.onthisStart(o,n),i.lastMouseX=e.clientX,i.lastMouseY=e.clientY;let t=this;return i.onmousemoveDefault=document.onmousemove,i.dragging=!0,document.onmousemove=function(e){t.drag.bind(t)(e)},!(document.onmouseup=function(e){t.end.bind(t)(e)})}}drag(e){var e=this.fixE(e),t=this.obj,i=e.clientY,e=e.clientX,n=parseInt(t.vmode?t.root.style.top:t.root.style.bottom,10),o=parseInt(t.hmode?t.root.style.left:t.root.style.right,10)+(e-t.lastMouseX)*(t.hmode?1:-1),n=n+(i-t.lastMouseY)*(t.vmode?1:-1);return this.obj.root.style[t.hmode?'left':'right']=o+'px',this.obj.root.style[t.vmode?'top':'bottom']=n+'px',this.obj.lastMouseX=e,this.obj.lastMouseY=i,this.obj.root.onthis(o,n),!1}end(){document.onmousemove=this.obj.onmousemoveDefault,document.onmouseup=null,this.obj.dragging=!1,this.endHook&&this.endHook(parseInt(this.obj.root.style[this.obj.hmode?'left':'right'],10),parseInt(this.obj.root.style[this.obj.vmode?'top':'bottom'],10))}}function e(e,t){for(var i in m.structures[t]={},m.structures[e])m.structures[t][i]=m.structures[e][i]}function oe(e){return`<a href=\"#\" noPopup=1>${C(e)}</a>`}function re(e,t){var i=RegExp(t.from,t.flags);return e.replace(i,t.to)}function se(e){if(!e.length)return[];let t=!1;return's'===e.charAt(0)&&!!(t=(e=>{let t=e,i,n,o,r;return!(t.length<4||(e=t.charAt(1),t=t.substring(2),!((r=ae(t,e))&&(i=r.segment,t=r.remainder,r=ae(t,e)))))&&(n=r.segment,t=r.remainder,o='',t.length&&(r=ae(t,';')||{segment:t,remainder:''})&&(o=r.segment,t=r.remainder),{action:re,from:i,to:n,flags:o,remainder:t})})(e))&&[t].concat(se(t.remainder))}function ae(e,t){var i,n=((t,i)=>{for(let e=0;e<t.length;++e)if('\\\\'===t.charAt(e)&&(e+=2),t.charAt(e)===i)return e;return-1})(e,t);return!(n<0)&&(i=e.substring(0,n),t=t,{segment:i.split('\\\\\\\\').join('\\\\').split('\\\\'+t).join(t).split('\\\\n').join('\\n'),remainder:e.substring(n+1)})}function pe(e,t){e=mw.util.getParamValue(e);if(e)switch(e){case'1':case'yes':case'true':t.checked=!0;break;case'0':case'no':case'false':t.checked=!1}}function o(){if(!document.editform)return!1;var e;/Popups/.test(mw.util.getParamValue('wpChangeTags'))&&((e=document.createElement('input')).type='hidden',e.name='wpChangeTags',e.value='Popups',document.editform.append(e),document.editform.action+='&wpChangeTags=Popups','wpSave'===mw.util.getParamValue('autoclick'))&&(e.value+=',Automation tool',document.editform.action+='%2CAutomation%20tool'),n(()=>{if(mw.util.getParamValue('autoimpl')!==C('autoedit_version'))return!1;if(mw.util.getParamValue('autowatchlist')&&mw.util.getParamValue('actoken')===p()&&m.fn.modifyWatchlist(mw.util.getParamValue('title'),mw.util.getParamValue('action')),!document.editform)return!1;if(o.alreadyRan)return!1;o.alreadyRan=!0;var e=mw.util.getParamValue('autoedit');if(e){try{var t=document.editform.wpTextbox1,i=se(e),n=((e,t)=>{let i=e;for(let e=0;e<t.length;++e)i=t[e].action(i,t[e]);return i})(t.value,i);t.value=n}catch(e){return}'undefined'!=typeof wikEdUseWikEd&&!0===wikEdUseWikEd&&WikEdUpdateFrame()}pe('autominor',document.editform.wpMinoredit),pe('autowatch',document.editform.wpWatchthis);e=mw.util.getParamValue('autorv');e?he(m.wiki.apiwikibase+'?action=query&format=json&formatversion=2&prop=revisions&revids='+e,null,le):le()})}function le(e){let t=mw.util.getParamValue('autosummary'),i=mw.util.getParamValue('autosummaryprompt'),n='';if(e&&e.data&&mw.util.getParamValue('autorv')&&(e=((e,t)=>{try{var i=y(k(t).query.pages).revisions[0],n=i.timestamp.split(/[A-Z]/g).join(' ').replace(/^ *| *$/g,'');return c(e,[i.revid,n,i.userhidden?'(hidden)':i.user])}catch(e){return!1}})(t,e.data),t=!1===e?(i=!0,n=C('Failed to get revision information, please edit manually.\\n\\n'),c(t,[mw.util.getParamValue('autorv'),'(unknown)','(unknown)'])):e),i){e=n+C('Enter a non-empty edit summary or press cancel to abort'),e=prompt(e,t);if(!e)return;t=e}t&&(document.editform.wpSummary.value=t),setTimeout(ue,100)}function p(){return mw.user.sessionId()}function ue(){var e,t,i,n,o;mw.util.getParamValue('actoken')===p()&&(e=mw.util.getParamValue('autoclick'))&&(document.editform&&document.editform[e]?(t=document.editform[e],i=M('The %s button has been automatically clicked. Please wait for the next page to load.',[t.value]),(o=document.getElementsByTagName('h1'))&&((n=document.createElement('div')).innerHTML=`<font size=+1><b>${m.escapeQuotesHTML(i)}</b></font>`,o[0].parentNode.insertBefore(n,o[0])),document.title=`(${document.title})`,t.click()):alert(M('Could not find button %s. Please check the settings in your javascript file.',[e])))}m.structures.original={},m.structures.original.popupLayout=function(){return['popupError','popupImage','popupTopLinks','popupTitle','popupUserData','popupData','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},m.structures.original.popupRedirSpans=function(){return['popupRedir','popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks']},m.structures.original.popupTitle=function(e){return f('defaultstructure.popupTitle'),N('popupNavLinks')?'':U('<b><<mainlink>></b>',e.article,e.params)},m.structures.original.popupTopLinks=function(e){var t;return f('defaultstructure.popupTopLinks'),N('popupNavLinks')?(t=e.article,e=e.params,U(`<span class=\"popupNavLinks\">${(()=>{let e='';e+='<b><<mainlink|shortcut= >></b>',N('popupLastEditLink')&&(e+='*<<lastEdit|shortcut=/>>|<<lastContrib>>|<<sinceMe>>if(oldid){|<<oldEdit>>|<<diffCur>>}'),e=(e+='if(user){<br><<contribs|shortcut=c>>*<<userlog|shortcut=L|log>>')+'if(ipuser){*<<arin>>}if(wikimedia){*<<count|shortcut=#>>}if(ipuser){}else{*<<email|shortcut=E>>}if(admin){*<<block|shortcut=b>>|<<blocklog|log>>}}';var t='if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{<<edit|shortcut=e>>}',i='<<history|shortcut=h>>|<<editors|shortcut=E|>>',n='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>';return e=(e+=`<br>if(talk){${t}|<<new|shortcut=+>>*${i}*${n}*<b><<article|shortcut=a>></b>|<<editArticle|edit>>}else{${t}*${i}*${n}*<b><<talk|shortcut=t>></b>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>}`)+'<br><<whatLinksHere|shortcut=l>>*<<relatedChanges|shortcut=r>>*<<move|shortcut=m>>",
    "if(admin){<br><<unprotect|unprotectShort>>|<<protect|shortcut=p>>|<<protectlog|log>>*<<undelete|undeleteShort>>|<<delete|shortcut=d>>|<<deletelog|log>>}'})()}</span>`,t,e)):''},m.structures.original.popupImage=function(e){return f(`original.popupImage, x.article=${e.article}, x.navpop.idNumber=`+e.navpop.idNumber),c('<a id=\"popupImageLink$1\"><img align=\"right\" valign=\"top\" id=\"popupImg$1\" style=\"display: none;\"></img></a>',[e.navpop.idNumber])},m.structures.original.popupRedirTitle=m.structures.original.popupTitle,m.structures.original.popupRedirTopLinks=m.structures.original.popupTopLinks,e('original','nostalgia'),m.structures.nostalgia.popupTopLinks=function(e){var t='if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{<<edit|shortcut=e>>}',i='<<history|shortcut=h>>',n='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>';return U('<b><<mainlink|shortcut= >></b>if(user){<br><<contribs|shortcut=c>>if(wikimedia){*<<count|shortcut=#>>}if(ipuser){}else{*<<email|shortcut=E>>}if(admin){*<<block|shortcut=b>>}}<br>if(talk){if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{<<edit|shortcut=e>>}|<<new|shortcut=+>>*<<history|shortcut=h>>*<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>*<b><<article|shortcut=a>></b>|<<editArticle|edit>>}else{if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{<<edit|shortcut=e>>}*<<history|shortcut=h>>*<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>*<b><<talk|shortcut=t>></b>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>}<br><<whatLinksHere|shortcut=l>>*<<relatedChanges|shortcut=r>>if(admin){<br>}else{*}<<move|shortcut=m>>if(admin){*<<unprotect|unprotectShort>>|<<protect|shortcut=p>>*<<undelete|undeleteShort>>|<<delete|shortcut=d>>}',e.article,e.params)},m.structures.nostalgia.popupRedirTopLinks=m.structures.nostalgia.popupTopLinks,e('original','fancy'),m.structures.fancy.popupTitle=function(e){return U('<font size=+0><<mainlink>></font>',e.article,e.params)},m.structures.fancy.popupTopLinks=function(e){var t='<<history|shortcut=h|hist>>|<<lastEdit|shortcut=/|last>>|<<editors|shortcut=E|eds>>',i='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>',n='<<move|shortcut=m|move>>';return U(`if(talk){<<edit|shortcut=e>>|<<new|shortcut=+|+>>*${t}*<<article|shortcut=a>>|<<editArticle|edit>>*${i}*${n}}else{<<edit|shortcut=e>>*${t}*<<talk|shortcut=t|>>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>*${i}*${n}}<br>`,e.article,e.params)},m.structures.fancy.popupOtherLinks=function(e){var t='<<contribs|shortcut=c>>if(wikimedia){|<<count|shortcut=#|#>>}';return U(`<br>if(user){${t+=`if(ipuser){|<<arin>>}else{*<<email|shortcut=E|${C('email')}>>}if(admin){*<<block|shortcut=b>>}`}*}if(admin){<<unprotect|unprotectShort>>|<<protect|shortcut=p>>*<<undelete|undeleteShort>>|<<delete|shortcut=d|del>>if(user){<br>}else{*}}<<whatLinksHere|shortcut=l|links here>>*<<relatedChanges|shortcut=r|related>>`,e.article,e.params)},m.structures.fancy.popupRedirTitle=m.structures.fancy.popupTitle,m.structures.fancy.popupRedirTopLinks=m.structures.fancy.popupTopLinks,m.structures.fancy.popupRedirOtherLinks=m.structures.fancy.popupOtherLinks,e('fancy','fancy2'),m.structures.fancy2.popupTopLinks=function(e){return'<br>'+m.structures.fancy.popupTopLinks(e).replace(RegExp('<br>$','i'),'')},m.structures.fancy2.popupLayout=function(){return['popupError','popupImage','popupTitle','popupUserData','popupData','popupTopLinks','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},e('original','menus'),m.structures.menus.popupLayout=function(){return['popupError','popupImage','popupTopLinks','popupTitle','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupUserData','popupData','popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},m.structures.menus.popupTopLinks=function(e,t){var i=[],n='<div class=\"popup_drop\">',o='</div>';let r='<<history|shortcut=h>>';t||(r=`<menurow>${r}|<<historyfeed|rss>>|<<editors|shortcut=E>></menurow>`);N('popupActionsMenu')?i.push('<<mainlink>>*'+n+oe('actions')):i.push(n+'<<mainlink>>'),i.push('<menu>'),i.push('if(oldid){<menurow><<edit|shortcut=e>>|<<editOld|shortcut=e|this&nbsp;revision>></menurow><menurow><<revert|shortcut=v>>|<<undo>></menurow>}else{<<edit|shortcut=e>>}if(rcid){<<markpatrolled|mark patrolled>>}if(talk){<<new|shortcut=+|new topic>>}'+r+'<<lastEdit|shortcut=/|show last edit>>if(diff){<<thank|send thanks>>}'),t||i.push('<<lastContrib|last set of edits>><<sinceMe|changes since mine>>'),i.push('<<move|shortcut=m|move page>><<whatLinksHere|shortcut=l|what links here>><<relatedChanges|shortcut=r|related changes>>'),t||i.push('<menurow><<nullEdit|shortcut=n|null edit>>|<<purge|shortcut=P>></menurow><menurow><<search|shortcut=s>>if(wikimedia){|<<globalsearch|shortcut=g|global>>}|<<google|shortcut=G|web>></menurow>'),t||i.push('<menurow><<view|shortcut=v>>|<<render|shortcut=S>>|<<raw>></menurow>'),i.push('<hr /><menurow><<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>></menurow>if(admin){<menurow><<unprotect|unprotectShort>>|<<protect|shortcut=p>>|<<protectlog|log>></menurow><menurow><<undelete|undeleteShort>>|<<delete|shortcut=d>>|<<deletelog|log>></menurow>}'),i.push('<hr />if(talk){<<article|shortcut=a|view article>><<editArticle|edit article>>}else{<<talk|shortcut=t|talk page>><<editTalk|edit talk>><<newTalk|shortcut=+|new topic>>}</menu>'+o);var s='<<email|shortcut=E|email user>>';return i.push('if(user){*'+n+oe('user')),i.push('<menu>'),i.push('<menurow><<userPage|shortcut=u|user&nbsp;page>>|<<userSpace|space>></menurow>'),i.push('<<userTalk|shortcut=t|user talk>><<editUserTalk|edit user talk>><<newUserTalk|shortcut=+|leave comment>>'),i.push(t?`if(ipuser){}else{${s}}`:`if(ipuser){<<arin>>}else{${s}}`),i.push('<hr />if(wikimedia){<menurow>}<<contribs|shortcut=c|contributions>>if(wikimedia){</menurow>}if(admin){<menurow><<deletedContribs>></menurow>}<<userlog|shortcut=L|user log>>'),i.push('if(wikimedia){<<count|shortcut=#|edit counter>>}'),i.push('if(admin){<menurow><<unblock|unblockShort>>|<<block|shortcut=b|block user>></menurow>}'),i.push('<<blocklog|shortcut=B|block log>>'),i.push(`</menu>${o}}`),N('popupSetupMenu')&&!e.navpop.hasPopupMenu&&(e.navpop.hasPopupMenu=!0,i.push(`*${n}${oe('popupsMenu')}<menu>`),i.push('<<togglePreviews|toggle previews>>'),i.push('<<purgePopups|reset>>'),i.push('<<disablePopups|disable>>'),i.push('</menu>'+o)),U(i.join(''),e.article,e.params)},m.structures.menus.popupRedirTitle=m.structures.menus.popupTitle,m.structures.menus.popupRedirTopLinks=m.structures.menus.popupTopLinks,e('menus','shortmenus'),m.structures.shortmenus.popupTopLinks=function(e){return m.structures.menus.popupTopLinks(e,!0)},m.structures.shortmenus.popupRedirTopLinks=m.structures.shortmenus.popupTopLinks,m.structures.lite={},m.structures.lite.popupLayout=function(){return['popupTitle','popupPreview']},m.structures.lite.popupTitle=function(e){return f(e.article+': structures.lite.popupTitle'),`<div><span class=\"popup_mainlink\"><b>${e.article.toString()}</b></span></div>`};class ce{constructor(e){this.id=null,this.lastModified=null,this.callbackFunction=null,this.onFailure=null,this.aborted=!1,this.method='GET',this.async=!0,'undefined'!=typeof XMLHttpRequest&&(this.http=new XMLHttpRequest),this.url=e}send(e){return this.http?this.http.send(e):null}abort(){return this.http?(this.aborted=!0,this.http.abort()):null}getData(){return this.http?this.http.responseText:null}setTarget(){if(!this.http)return null;this.http.open(this.method,this.url,this.async),this.http.setRequestHeader('Api-User-Agent',m.api.userAgent)}getReadyState(){return this.http?this.http.readyState:null}start(){this.http&&(m.misc.downloadsInProgress[this.id]=this).http.send(null)}getLastModifiedDate(){if(!this.http)return null;let e=null;try{e=this.http.getResponseHeader('Last-Modified')}catch{}return e?new Date(e):null}setCallback(e){this.http&&(this.http.onreadystatechange=e)}getStatus(){return this.http?this.http.status:null}}function de(e,t,i,n){let o=n,r=new ce(e);if(!r.http)return'ohdear';r.id=t,r.setTarget(),o=o||2;return r.setCallback(function(){if(4===r.getReadyState()){Reflect.deleteProperty(m.misc.downloadsInProgress,this.id);try{200===r.getStatus()?(r.data=r.getData(),r.lastModified=r.getLastModifiedDate(),i(r)):'number'==typeof o?0<o&&de(e,t,i,o-1):'function'==typeof o&&o(r,e,t,i)}catch{}}}),r}function he(e,t,i){e=de(e,t,i);return'string'!=typeof e&&e.start(),e}function ge(){for(var e in m.misc.downloadsInProgress)try{m.misc.downloadsInProgress[e].aborted=!0,m.misc.downloadsInProgress[e].abort(),Reflect.deleteProperty(m.misc.downloadsInProgress,e)}catch{}}m.misc.downloadsInProgress={};let b={};function me(e,t){return b.conf.baseUrl=t,b.convert(e)}function fe(e){return 949<(e=e.length)?Math.round(e/100)/10+C('kB'):e+'&nbsp;'+C('bytes')}function we(e){e=e.split('[[').length-1;return e+'&nbsp;'+C(1!=e?'wikiLinks':'wikiLink')}function ve(e){e=(e.parenSplit(m.re.image).length-1)/(m.re.imageBracketCount+1);return e+'&nbsp;'+C(1!=e?'images':'image')}function ke(e){e=(e.parenSplit(m.re.category).length-1)/(m.re.categoryBracketCount+1);return e+'&nbsp;'+C(1!=e?'categories':'category')}function be(e,t){var t=t.lastModified,i=moment(t);return t&&N('popupLastModified')?M('%s old',[(e=>{let t=moment(),i=e.isBefore(t),n=i?t.year()-e.year():e.year()-t.year(),o=i?t.month()-e.month():e.month()-t.month(),r=i?t.date()-e.date():e.date()-t.date(),s=i?t.hour()-e.hour():e.hour()-t.hour(),a=i?t.minute()-e.minute():e.minute()-t.minute(),p=i?t.second()-e.second():e.second()-t.second(),l=(p<0&&(a--,p+=60),a<0&&(s--,a+=60),s<0&&(r--,s+=24),r<0&&(o--,[0,2,4,6,7,9,11].includes((i?e:t).month())?r+=31:1===(i?e:t).month()?(i?e:t).year()%4==0?r+=29:r+=28:r+=30),o<0&&(n--,o+=12),'');return 0<n&&(l+=u(n,'year')),0<o?l+=u(o,'month'):''!==l&&(l+=u(0,'month')),0<r?l+=u(r,'day'):''!==l&&(l+=u(",
    "0,'day')),0<s?l+=u(s,'hour'):''!==l&&(l+=u(0,'hour')),0<a?l+=u(a,'minute'):''!==l&&(l+=u(0,'minute')),0<p?l+=u(p,'second'):''!==l&&(l+=u(0,'second')),l.replace(/(\\d) /g,'$1')})(i)]).replace(RegExp(' ','g'),'&nbsp;'):''}function u(e,t){return e+' '+C(1!==e?t+'s':t)}function ye(e,t){if(!e||0===e.length)return C('Empty page');var i=N('popupFilters')||[],n=N('extraPopupFilters')||[];let o=((t,i,n)=>{var o,r=[];for(let e=0;e<t.length;++e)t[e]&&'function'==typeof t[e]&&(o=t[e](i,n,n.owner.article))&&r.push(o);return r})(i.concat(n),e,t).join(C('comma'));return o=''!==o?Ie(o):o}function Se(e,t,i){e=((e,t)=>{if(!N('popupAllDabsStubs')&&t.namespace())return!1;let i=0,n=0;if(m.re.stub.test(e)){var o=e.parenSplit(m.re.stub);for(let e=1;e<o.length;e+=2)o[e]?++i:++n}return{real:n,sect:i}})(e,i);return e.real?C('stub'):e.sect?C('section stub'):''}function Le(e,t,i){return(N('popupAllDabsStubs')||!i.namespace())&&Pe(e,i)?C('disambig'):''}b.dump=function(e,t){let i=e,n=t;'string'==typeof i&&(i=document.getElementById(i)),(n='string'==typeof n?document.getElementById(n):n).innerHTML=this.convert(i.value)},b.convert=function(e){let s='string'==typeof e?e.replace(/\\r/g,'').split(/\\n/):e,t='',i=0,a;function p(){return s.length}function l(){return s.shift()}function u(e){t+=e}function c(...e){let t=1,i=e[0],n='',o,r;for(;t<e.length&&(r=i.indexOf('?'))+1;t++)t-=o='?'===i.charAt(r+1)?1:0,n+=i.substring(0,r)+(o?'?':e[t]),i=i.substr(r+1+o);return n+i}function d(e){return e.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;')}function h(e){return e.replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/:/g,'&#58;').replace(/\\[/g,'&#91;').replace(/]/g,'&#93;')}function g(e){return h(e).replace(/'/g,'&#39;').replace(/\"/g,'&quot;')}function m(e){return'string'==typeof e?s[0]&&s[0].substr(0,e.length)===e:a=s[0]&&s[0].match(e)}function r(e){return s[0].charAt(e)}function n(e){u(e),l()}function o(){let t='';for(;p()&&m(/^([*#:;]+)(.*)$/);){var i=a,n=(l(),((e,t)=>{var i=Math.min(e.length,t.length);let n;for(n=0;n<i&&e.charAt(n)===t.charAt(n);n++);return n})(t,i[1]));for(let e=t.length-1;e>=n;e--){var o=t.charAt(e);'*'===o?u('</ul>'):'#'===o?u('</ol>'):$.inArray(i[1].charAt(e),['','*','#'])&&u('</dl>')}for(let e=n;e<i[1].length;e++){var r=i[1].charAt(e);'*'===r?u('<ul>'):'#'===r?u('<ol>'):$.inArray(t.charAt(e),['','*','#'])&&u('<dl>')}switch(i[1].charAt(i[1].length-1)){case'*':case'#':u('<li>'+v(i[2]));break;case';':u('<dt>');var e=i[2].match(/(.*?)(:.*?)$/);e?(u(v(e[1])),s.unshift(e[2])):u(v(i[2]));break;case':':u('<dd>'+v(i[2]))}t=i[1]}for(let e=t.length-1;0<=e;e--)u(c('</?>','*'===t.charAt(e)?'ul':'#'===t.charAt(e)?'ol':'dl'))}function f(){let e,t;var i=l().match(/^(\\|\\+|\\||!)((?:([^[|]*?)\\|(?!\\|))?(.*))$/);if('|+'===i[1]?u('<caption'):u('<t'+('|'===i[1]?'d':'h')),t=void 0!==i[3]?4:2,u('>'),'|+'!==i[1])for(u(v((e=i[t].split('|'===i[1]?'||':/(?:\\|\\||!!)/)).shift()));e.length;)s.unshift(i[1]+e.pop());else u(v(i[t]));let n=0;for(var o=[];p();)if(o.push(l()),m('|')){if(!n)break;'}'===r(1)&&n--}else{if(!n&&m('!'))break;m('{|')&&n++}o.length&&u(b.convert(o))}function w(e){let n=e.substring(e.indexOf(':')+1,e.length-2);e=[];if(n.match(/\\|/)){let t=0,i;for(let e=n.length-1;0<e;e--){if('|'===n.charAt(e)&&!t){i=n.substr(e+1),n=n.substring(0,e);break}switch(n.substr(e-1,2)){case']]':t++,e--;break;case'[[':t--,e--}}e.length=0,e.push(...n.split(/\\s*\\|\\s*/)),e.push(i)}return''}function v(e){let t,i=0,n=0,o=0,r,s,a,p='';for(;-1!==(t=e.indexOf('<nowiki>',n));){p+=k(e.substring(i,t)),t+=8,n=t,a=!0;do{if(r=e.indexOf('<nowiki>',n),(s=e.indexOf('</nowiki>',n))<=r||-1===r){if(-1===s)return p+d(e.substr(t));n=s+9,o?o--:(i=n,p+=d(e.substring(t,i-9)),a=!1)}else n=r+8,o++}while(a)}return p+k(e.substr(i))}function k(e){let r=e,t=(r=(r=(e=>{let t=e,i,n=0,o=0,r,s,a,p,l;for(;-1!==(i=t.indexOf('[[',n))&&t.substr(i+2).match(RegExp(`^(Image|File|${b.conf.locale.image}):`,'i'));){r=!0,n=i;do{if(n+=2,(s=t.indexOf(']]',n))<=(a=t.indexOf('[[',n))||-1===a){if(-1===s)return t;n=s,o?o--:(l=w(p=t.substring(i,s+2)),t=t.replace(p,l),n=i+l.length,r=!1)}else n=a,o++}while(r)}return t})(r)).replace(/<(?:)math>(.*?)<\\/math>/gi,''),new Date),i=t.getUTCMinutes();i<10&&(i='0'+i),t=c('?:?, ? ? ? (UTC)',t.getUTCHours(),i,t.getUTCDate(),b.conf.locale.months[t.getUTCMonth()],t.getUTCFullYear()),r=r.replace(/~{5}(?!~)/g,t).replace(/~{4}(?!~)/g,b.conf.user.name+' '+t).replace(/~{3}(?!~)/g,b.conf.user.name).replace(RegExp(`\\\\[\\\\[:((?:${b.conf.locale.category}|Image|File|${b.conf.locale.image}|${b.conf.wiki.interwiki}):[^|]*?)\\\\]\\\\](\\\\w*)`,'gi'),(e,t,i)=>c('<a href=\\'?\\'>?</a>',b.conf.paths.articles+g(t),h(t)+h(i))).replace(RegExp(`\\\\[\\\\[(?:${b.conf.locale.category}|${b.conf.wiki.interwiki}):.*?\\\\]\\\\]`,'gi'),'').replace(RegExp(`\\\\[\\\\[:((?:${b.conf.locale.category}|Image|File|${b.conf.locale.image}|${b.conf.wiki.interwiki}):.*?)\\\\|([^\\\\]]+?)\\\\]\\\\](\\\\w*)`,'gi'),(e,t,i,n)=>c('<a href=\\'?\\'>?</a>',b.conf.paths.articles+g(t),h(i)+h(n))).replace(/\\[\\[(\\/[^|]*?)\\]\\]/g,(e,t)=>c('<a href=\\'?\\'>?</a>',b.conf.baseUrl+g(t),h(t))).replace(/\\[\\[(\\/.*?)\\|(.+?)\\]\\]/g,(e,t,i)=>c('<a href=\\'?\\'>?</a>',b.conf.baseUrl+g(t),h(i))).replace(/\\[\\[([^[|]*?)\\]\\](\\w*)/g,(e,t,i)=>c('<a href=\\'?\\'>?</a>',b.conf.paths.articles+g(t),h(t)+h(i))).replace(/\\[\\[([^[]*?)\\|([^\\]]+?)\\]\\](\\w*)/g,(e,t,i,n)=>c('<a href=\\'?\\'>?</a>',b.conf.paths.articles+g(t),h(i)+h(n))).replace(/\\[\\[([^\\]]*?:)?(.*?)( *\\(.*?\\))?\\|\\]\\]/g,(e,t,i,n)=>c('<a href=\\'?\\'>?</a>',b.conf.paths.articles+g(t)+g(i)+g(n),h(i))).replace(/\\[(https?|news|ftp|mailto|gopher|irc):(\\/*)([^\\]]*?) (.*?)\\]/g,(e,t,i,n,o)=>c('<a class=\\'external\\' href=\\'?:?\\'>?</a>',g(t),g(i)+g(n),h(o))).replace(/\\[http:\\/\\/(.*?)\\]/g,(e,t)=>c('<a class=\\'external\\' href=\\'http://?\\'>[#]</a>',g(t))).replace(/\\[(news|ftp|mailto|gopher|irc):(\\/*)(.*?)\\]/g,(e,t,i,n)=>c('<a class=\\'external\\' href=\\'?:?\\'>?:?</a>',g(t),g(i)+g(n),h(t),h(i)+h(n))).replace(/(^| )(https?|news|ftp|mailto|gopher|irc):(\\/*)([^ $]*[^.,!?;: $])/g,(e,t,i,n,o)=>c('?<a class=\\'external\\' href=\\'?:?\\'>?:?</a>',h(t),g(i),g(n)+g(o),h(i),h(n)+h(o))).replace('__NOTOC__','').replace('__NOINDEX__','').replace('__INDEX__','').replace('__NOEDITSECTION__','');{var s=r;let e,t,i,n,o='';for(;(i=s.indexOf('\\'\\'',n))+1;)o+=s.substring(n,i),n=i+2,'\\''===s.charAt(i+2)?(n++,t=!t,o+=t?'<strong>':'</strong>'):(e=!e,o+=e?'<em>':'</em>');return o+s.substr(n)}}for(;p();)if(m(/^(={1,6})(.*)\\1(.*)$/))i=0,n(c('<h?>?</h?>?',a[1].length,v(a[2]),a[1].length,a[3]));else if(m(/^[*#:;]/))i=0,o();else if(m(' ')){for(i=0,u('<pre>');n(v(s[0].substring(1))+`\n`),p()&&m(' '););u('</pre>')}else m('{|')?(i=0,(()=>{for(n(c('<table>',m(/^\\{\\|( .*)$/)?a[1]:''));p();)if(m('|'))switch(r(1)){case'}':return n('</table>');case'-':n(c('<tr>',m(/\\|-*(.*)/)[1]));break;default:f()}else(m('!')?f:l)()})()):m(/^----+$/)?(i=0,n('<hr />')):m(b.BLOCK_IMAGE)?(i=0,u(w(l()))):(''===s[0]?(i=1<p()&&''===s[1])&&n('<p><br>'):(i||(u('<p>'),i=1),u(v(s[0])+' ')),l());return t};class v extends class{indexOf(e){return this.toString().indexOf(e)}toString(){return this.value}parenSplit(e){return this.toString().parenSplit(e)}substring(e,t){return void 0===t?this.toString().substring(e):this.toString().substring(e,t)}split(e){return this.toString().split(e)}replace(e,t){return this.toString().replace(e,t)}}{constructor(e){super(),this.value=null,this.anchor='',this.setUtf(e)}static fromURL(e){return(new v).fromURL(e)}static fromAnchor(e){return(new v).fromAnchor(e)}static fromWikiText(e){return(new v).fromWikiText(e)}toString(e){return this.value+(!e&&this.anchor?'#'+this.anchorString():'')}anchorString(){if(!this.anchor)return'';var t=this.anchor.parenSplit(/((?:[.][0-9A-F]{2})+)/),i=t.length;let n;for(let e=1;e<i;e+=2){n=t[e].split('.').join('%');try{n=decodeURIComponent(n)}catch{}t[e]=n.split('_').join(' ')}return t.join('')}urlAnchor(){var t=this.anchor.parenSplit('/((?:[%][0-9A-F]{2})+)/'),i=t.length;for(let e=1;e<i;e+=2)t[e]=t[e].split('%').join('.');return t.join('')}anchorFromUtf(e){this.anchor=encodeURIComponent(e.split(' ').join('_')).split('%3A').join(':').split('\\'').join('%27').split('%').join('.')}decodeNasties(t){try{let e=decodeURI(this.decodeEscapes(t));return e=e.replace(/[_ ]*$/,'')}catch(e){return t}}decodeEscapes(e){var t=e.parenSplit(/((?:[%][0-9A-Fa-f]{2})+)/),i=t.length;if(1===i)return t[0].replace(/%(?![0-9a-fA-F][0-9a-fA-F])/g,'%25');for(let e=1;e<i;e+=2)t[e]=decodeURIComponent(t[e]);return t.join('')}hintValue(){return this.value?s(this.value):''}toUserName(e){this.namespaceId()!==m.nsUserId&&this.namespaceId()!==m.nsUsertalkId?this.value=null:this.value=(e?mw.config.get('wgFormattedNamespaces')[m.nsUserId]+':':'')+this.stripNamespace().split('/')[0]}userName(e){var t=new v(this.value);return t.toUserName(e),t.value?t:null}toTalkPage(){if(null!==this.value){var e=this.namespaceId();if(0<=e&&e%2==0){e=mw.config.get('wgFormattedNamespaces')[e+1];if(void 0!==e)return this.value=''===e?this.stripNamespace():e.split(' ').join('_')+':'+this.stripNamespace(),this.value}this.value=null}return null}namespace(){return mw.config.get('wgFormattedNamespaces')[this.namespaceId()]}namespaceId(){try{var e,t=this.value.indexOf(':');return t<0?0:void 0===(e=mw.config.get('wgNamespaceIds')[this.value.substring(0,t).split(' ').join('_').toLowerCase()])?0:e}catch(e){return console.error(e,this),0}}talkPage(){var e=new v(this.value);return e.toTalkPage(),e.value?e:null}isTalkPage(){return null===this.talkPage()}toArticleFromTalkPage(){if(null!==this.value){var e=this.namespaceId();if(0<=e&&e%2==1){e=mw.config.get('wgFormattedNamespaces')[e-1];if(void 0!==e)return this.value=''===e?this.stripNamespace():e.split(' ').join('_')+':'+this.stripNamespace(),this.value}this.value=null}return null}articleFromTalkPage(){var e=new v(this.value);return e.toArticleFromTalkPage(),e.value?e:null}articleFromTalkOrArticle(){var e=new v(this.value);return e.toArticleFromTalkPage()?e:this}isIpUser(){return m.re.ipUser.test(this.userName())}stripNamespace(){var e=this.value.indexOf(':');return e<0||this.namespaceId()===m.nsMainspaceId?this.value:this.value.substring(e+1)}setUtf(e){var t;e?(t=e.indexOf('#'))<0?(this.value=e.split('_').join(' '),this.anchor=''):(this.value=e.substring(0,t).split('_').join(' '),this.anchor=e.substring(t+1),this",
    ".ns=null):this.value=''}setUrl(e){var t=e.indexOf('#');this.value=s(e.substring(0,t)),this.anchor=this.value.substring(t+1)}append(e){this.setUtf(this.value+e)}urlString(e){let t=e,i=(t=t||{},this.toString(!0));return!t.omitAnchor&&this.anchor&&(i+='#'+this.urlAnchor()),t.keepSpaces||(i=i.split(' ').join('_')),encodeURI(i).split('&').join('%26').split('?').join('%3F').split('+').join('%2B')}removeAnchor(){return new v(this.toString(!0))}toUrl(){return m.wiki.titlebase+this.urlString()}fromURL(e){let t=e;return'string'!=typeof t?this.value=null:((e=t.split('?'))[0]=e[0].split('&').join('%26'),t=e.join('?'),(e=m.re.contribs.exec(t))?('title='===e[1]&&(e[3]=e[3].split('+').join(' ')),e=new v(e[3]),this.setUtf(this.decodeNasties(mw.config.get('wgFormattedNamespaces')[m.nsUserId]+':'+e.stripNamespace()))):(e=m.re.email.exec(t))?this.setUtf(this.decodeNasties(mw.config.get('wgFormattedNamespaces')[m.nsUserId]+':'+new v(e[3]).stripNamespace())):(e=m.re.backlinks.exec(t))?this.setUtf(this.decodeNasties(new v(e[3]))):m.re.specialdiff.exec(t)?this.setUtf(this.decodeNasties(new v(mw.config.get('wgFormattedNamespaces')[m.nsSpecialId]+':Diff'))):null===(e=m.re.main.exec(t))?this.value=null:(/[?](.+[&])?title=/.test(t)&&(e[2]=e[2].split('+').join('_')),e=e[2]+(e[3]?'#'+e[3]:''),m.flag.isSafari&&/%25[0-9A-Fa-f]{2}/.test(e)?this.setUtf(decodeURIComponent(unescape(e))):this.setUtf(this.decodeNasties(e)))),this}fromAnchor(e){return e?this.fromURL(e.href):(this.value=null,this)}fromWikiText(e){e=Ue(e);return this.setUtf(e),this}}function xe(e){let t=e;e=m.re.specialdiff.exec(t);if(e){e=e[1].split('/');if(1===e.length)return{oldid:e[0],diff:'prev'};if(2===e.length)return{oldid:e[0],diff:e[1]}}var i={};if(-1!==t.indexOf('?')){var n=(t=t.split('#')[0]).split('?').slice(1).join().split('&');for(let e=0;e<n.length;++e){var o=n[e].split('=');o.push(null),i[o[0]]=o[1]}i.diff&&void 0===i.oldid&&(i.oldid='prev'),!i.oldid||'prev'!==i.oldid&&'next'!==i.oldid&&'cur'!==i.oldid||(e=i.diff,i.diff=i.oldid,i.oldid=e)}return i}function Ue(t){let i;try{i=decodeURI(t.toString())}catch(e){return t}for(let e=0;e<m.misc.decodeExtras.length;++e){var n=m.misc.decodeExtras[e].from,o=m.misc.decodeExtras[e].to;i=i.split(n).join(o)}return i}function s(e){return Ue(e)||e}function Pe(e,t){return(N('popupAllDabsStubs')||!t.namespace())&&!t.isTalkPage()&&m.re.disambig.test(e)}function Re(e){return-1===e.indexOf('{')}function Te(){N('popupOnlyArticleLinks')||$('div.vectorMenu h3:first a:first, div.vector-menu h3:first a:first, nav.vector-menu h3:first a:first').prop('inNopopupSpan',!0);var t=$('.nopopups').toArray();for(let e=0;e<t.length;++e){var i=t[e].getElementsByTagName('a');for(let e=0;e<i.length;++e)i[e].inNopopupSpan=!0}Te.done=!0}function $e(e,t,i){f('getPageWithCaching, url='+e);var n,o,r,s,a,p=(t=>{for(let e=0;e<m.cache.pages.length;++e)if(t===m.cache.pages[e].url)return e;return-1})(e);let l;-1<p?l=(n=e,o=i.idNumber,r=t,s=m.cache.pages[p].data,p=m.cache.pages[p].lastModified,a=i,(n=de(n,r)).owner=a,n.id=o,n.data=s,n.lastModified=p,r(n)):(l=((e,t,i)=>{function n(e){e.aborted||((e=>(f('addPageToCache '+e.url),e={url:e.url,data:e.data,lastModified:e.lastModified},m.cache.pages.push(e)))(e),t(e))}return f('getPage'),he(e,i.idNumber,n)})(e,t,i))&&i&&i.addDownload&&(i.addDownload(l),l.owner=i)}function k(t){try{var i=JSON.parse(t);if(i.warnings)for(let e=0;e<i.warnings.length;e++)i.warnings[e]['*']?f(i.warnings[e]['*']):f(i.warnings[e].warnings);else i.error&&w(i.error.code+': '+i.error.info);return i}catch(e){return w('Something went wrong with getJsObj, json='+t),1}}function y(e){for(var t in e)return e[t];return null}function Ie(e){return'string'!=typeof e||''===e?'':e.charAt(0).toUpperCase()+e.substring(1)}function l(e){return mw.util.escapeRegExp(e)}function He(e){return null!==e}function c(e,t){if(!e||!t)return e;var i=[],n=e.parenSplit(/(%s|\\$[0-9]+)/);let o=0;do{if(i.push(n.shift()),!n.length)break;var r,s=n.shift();'%s'===s?(o<t.length?i.push(t[o]):i.push(s),++o):-1<(r=parseInt(s.replace('$',''),10)-1)&&r<t.length?i.push(t[r]):i.push(s)}while(0<n.length);return i.join('')}function Ee(e){return'string'==typeof e||e instanceof String}function r(e,t=2){return(''+e).padStart(t,'0')}function d(e,t){if(Array.isArray(t)){var i=e,n=t,o=[];for(let e=0;e<n.length;++e)o.push(i(n[e]));return o}var r,s=e,a=t,p={};for(r in a)p[a]=s(a[r]);return p}function De(e,t,i,n){return f(`retargetDab: newTarget=${e} oldTarget=`+t),I({newTarget:e,text:e.split(' ').join('&nbsp;'),hint:M('disambigHint',[e]),summary:c(N('popupFixDabsSummary'),[i,e]),clickButton:N('popupDabsAutoClick'),minor:!0,oldTarget:t,watch:N('popupWatchDisambiggedPages'),title:n})}function S(e,t,i,n,o){let r=i;void 0===r&&(r=m.idNumber);i=document.getElementById(t+r);return i?(o||(i.innerHTML=''),Ee(e)?i.innerHTML+=e:i.appendChild(e),n&&n(),setTimeout(We,100),!0):(setTimeout(()=>{S(e,t,r,n)},600),null)}function Ne(e,t){S(e,'popupData',t)}function Ce(i){let e=!0,t;'object'==typeof i&&void 0!==i.redir&&i.redir||(e=!1);var n=i.navpopup.parentAnchor;let o,r=null,s=null,a={};e&&typeof i.redirTarget==typeof{}?o=i.redirTarget:(o=(new v).fromAnchor(n),r=n.originalTitle||o.hintValue(),a=xe(n.href),s=N('popupHistoricalLinks')?a.oldid:null,t=a.rcid);var p={article:o,hint:r,oldid:s,rcid:t,navpop:i.navpopup,params:a},l=m.structures[N('popupStructure')];if('object'!=typeof l)S('popupError','Unknown structure (this should never happen): '+m.option.popupStructure,i.navpopup.idNumber);else{var u=function t(i,e){let n=e;let o=[];void 0===n&&(n=0);for(let e=n;e<i.length;++e){if(typeof i[e]==typeof[])return o.concat(t(i[e])).concat(t(i,e+1));o.push(i[e])}return o}(m.misc.layout),c=u.length,d=m.misc.redirSpans;for(let t=0;t<c;++t){var h=d&&-1!==d.indexOf(u[t]);if(!(h&&!e||!h&&e)){var g=l[u[t]];if(void 0!==g){let e=S;switch(!N('popupActiveNavlinks')||0!==u[t].indexOf('popupTopLinks')&&0!==u[t].indexOf('popupRedirTopLinks')||(e=Oe),typeof g){case'function':f(`running ${u[t]}({article:${p.article}, hint:${p.hint}, oldid: ${p.oldid}})`),e(g(p),u[t],i.navpopup.idNumber);break;case'string':e(g,u[t],i.navpopup.idNumber);break;default:w(`unknown thing with label ${u[t]} (span index was ${t})`)}}}}}}function Me(t,i){let n='';for(let e=0;e<t.length;++e)'string'==typeof t[e]?n+=Ae(t[e],i.idNumber,'div'):typeof t[e]==typeof[]&&0<t[e].length?n=n.parenSplit(RegExp('(</[^>]*?>$)')).join(Me(t[e],i)):typeof t[e]==typeof{}&&t[e].nodeType&&(n+=Ae(t[e].name,i.idNumber,t[e].nodeType));return n}function Ae(e,t,i,n){let o=n;n=i||'span';return o=(o=o||Ae.classAliases[e])||e,e===N('popupDragHandle')&&(o+=' popupDragHandle'),c('<%s id=\"%s\" class=\"%s\"></%s>',[n,e+t,o,n])}function je(e,t,i){function n(){j(document.getElementById(e),!1,!0,i)}let o=t;o=o||250;return function(){setTimeout(n,o,i)}}function Oe(e,t,i,n){S(e,t,i,N('popupSubpopups')?je(t+i,null,n):null)}function We(){m.current.link&&m.current.link.navpopup&&m.current.link.navpopup.limitHorizontalPosition()}function _e(){var e=this;B(e),null!=e.navpopup&&(e.navpopup.isVisible()?(F(e),L.tracker.addHook(Fe(e.navpopup))):e.navpopup.banish())}function Fe(n){return function(){if(!n.isVisible())return!0;if(L.tracker.dirty)return!1;var e=L.tracker.x,t=L.tracker.y,e=n.isWithin(e,t,n.fuzz,n.mainDiv)||!(e=>{if(e){var t=e.getElementsByTagName('ul');for(let e=0;e<t.length;++e)if('popup_menu'===t[e].className&&0<t[e].offsetWidth)return;return 1}})((n.fuzz,n.mainDiv));let i=N('popupHideDelay');return i&&(i*=1e3),i?(t=+new Date,n.mouseLeavingTime?e?(n.mouseLeavingTime=null,!1):t-n.mouseLeavingTime>i&&(n.mouseLeavingTime=null,n.banish(),!0):(n.mouseLeavingTime=t,!1)):!e&&(n.parentAnchor&&F(n.parentAnchor),n.banish(),!0)}}''+'abc'.split(/(b)/)!='a,b,c'?String.prototype.parenSplit=function(e){var t=(e=>{let t=e.toString(),i='',n=t.length;for(;'/'!==t.charAt(n);--n)'g'!==t.charAt(n)&&(i+=t.charAt(n));return e=t.substring(1,n),RegExp(e,i)})(e);let i=this,n=t.exec(i),o=[];for(;n&&i;){for(let e=0;e<n.length;++e)void 0===n[e]&&(n[e]='');o.push(i.substring(0,n.index)),o=o.concat(n.slice(1)),i=i.substring(n.index+n[0].length),n=t.exec(i)}return o.push(i),o}:(String.prototype.parenSplit=function(e){return this.split(e)},String.prototype.parenSplit.isNative=!0),String.prototype.entify=function(){return this.split('&').join('&amp;').split('<').join('&lt;').split('>').join('&gt;').split('\"').join('&quot;')},m.escapeQuotesHTML=function(e){return e.replace(/&/g,'&amp;').replace(/\"/g,'&quot;').replace(/</g,'&lt;').replace(/>/g,'&gt;')},m.unescapeQuotesHTML=function(e){var t=document.createElement('textarea');return t.innerHTML=e,t.value},Ae.classAliases={popupSecondPreview:'popupPreview'};class Be{constructor(e,t,i){this.maxCharacters=N('popupMaxPreviewCharacters'),this.maxSentences=N('popupMaxPreviewSentences'),this.originalData=e,this.baseUrl=t,this.owner=i,this.setData()}setData(){var e=Math.max(1e4,2*this.maxCharacters);this.data=this.originalData.substring(0,e)}killComments(){this.data=this.data.replace(RegExp('^\\x3c!--[^$]*?--\\x3e\\\\n|\\\\n\\x3c!--[^$]*?--\\x3e(?=\\\\n)|\\x3c!--[^$]*?--\\x3e','g'),'')}killDivs(){this.data=this.data.replace(RegExp('< *div[^>]* *>[\\\\s\\\\S]*?< */ *div *>','gi'),'')}killGalleries(){this.data=this.data.replace(RegExp('< *gallery[^>]* *>[\\\\s\\\\S]*?< */ *gallery *>','gi'),'')}kill(e,t,i,n,o){let r=this.data,s=this.killStuff(this.data,e,t,i,n,o);for(;s.length<r.length;)r=s,s=this.killStuff(s,e,t,i,n,o);this.data=s}killStuff(e,i,n,t,o,r){let s=e;var e=this.makeRegexp(i),a=this.makeRegexp(n,'^'),p=t?this.makeRegexp(t,'^'):null,l=o?this.makeRegexp(o,'^'):a;if(e&&a){if(!e.test(s))return s;i=e.exec(s),n=s.substring(0,i.index);s=s.substring(i.index+i[0].length);let t=1;for(;0<s.length;){let e=0;if(1===t&&a.test(s)?(t--,e=a.exec(s)[0].length):1<t&&l.test(s)?(t--,e=l.exec(s)[0].length):p&&p.test(s)&&(t++,e=p.exec(s)[0].length),e=e||1,s=s.substring(e),0===t)break}return n+(r||'')+s}alert('Navigation Popups error: op or cl is null! something is wrong.')}makeRegexp(t,i,n){i=i||'',n=n||'';let o='',r='';if(Ee(t))o=i+l(t)+n;else if(t instanceof RegExp){let e=t.toString().substring(1);t=e.split('/');r=t[t.length-1],t[t.length-1]='',e=(e=t.join('/')).substring(0,e.length-1),o=i+e+n}else f('makeRegexp failed');return f(`makeRegexp: got reStr=${o}, flags=`+r",
    "),RegExp(o,r)}killBoxTemplates(){this.kill(RegExp('[{][{][^{}\\\\s|]*?(float|box)[_ ](begin|start)','i'),/[}][}]\\s*/,'{{'),this.kill(RegExp('[{][{][^{}\\\\s|]*?(infobox|elementbox|frame)[_ ]','i'),/[}][}]\\s*/,'{{')}killTemplates(){this.kill('{{','}}','{','}',' ')}killTables(){this.kill('{|',/[|]}\\s*/,'{|'),this.kill(/<table.*?>/i,/<\\/table.*?>/i,/<table.*?>/i),this.data=this.data.replace(RegExp('^[|].*$','mg'),'')}killImages(){let i=[];jQuery.each(mw.config.get('wgNamespaceIds'),(e,t)=>{t!==m.nsImageId&&t!==m.nsCategoryId||i.push(e.split(' ').join('[ _]'))}),this.kill(RegExp(`[[][[]\\\\s*(${i.join('|')})\\\\s*:`,'i'),/\\]\\]\\s*/,'[',']')}killHTML(){this.kill(/<ref\\b[^/>]*?>/i,/<\\/ref>/i),this.data=this.data.replace(RegExp('(^|\\\\n) *<.*','g'),'\\n');var t=this.data.parenSplit(/(<[\\w\\W]*?(?:>|$|(?=<)))/),i=t.length;for(let e=1;e<i;e+=2)switch(t[e]){case'<nowiki>':case'</nowiki>':case'<blockquote>':case'</blockquote>':break;default:t[e]=''}this.data=t.join('')}killChunks(){var e=new RegExp('((^|\\\\n)\\\\s*:*\\\\s*\\'\\'[^\\']([^\\']|\\'\\'\\'|\\'[^\\']){20}(.|\\\\n[^\\\\n])*\\'\\'[.!?\\\\s]*\\\\n)+','g');this.data=this.data.replace(e,'\\n')}mopup(){this.data=this.data.replace(RegExp('^-{4,}','mg'),''),this.data=this.data.replace(RegExp('(^|\\\\n) *:[^\\\\n]*','g'),''),this.data=this.data.replace(RegExp('^__[A-Z_]*__ *$','gmi'),'')}firstBit(){let e=this.data;N('popupPreviewCutHeadings')&&(this.data=this.data.replace(RegExp('\\\\s*(==+[^=]*==+)\\\\s*','g'),'\\n\\n$1 '),this.data=this.data.replace(RegExp('([:;]) *\\\\n{2,}','g'),'$1\\n'),this.data=this.data.replace(RegExp('^[\\\\s\\\\n]*'),''),(t=RegExp('^([^\\\\n]|\\\\n[^\\\\n\\\\s])*').exec(this.data))&&(e=t[0]),e=(e=N('popupPreviewFirstParOnly')?e:this.data).replace(RegExp('(==+[^=]*==+)\\\\s*','g'),'$1\\n\\n')),(e=e.parenSplit(RegExp('([!?.]+[\"\\']*\\\\s)','g')))[0]=e[0].replace(RegExp('^\\\\s*'),'');var t=RegExp('([^.][a-z][.] *[a-z]|etc|sic|Dr|Mr|Mrs|Ms|St|no|op|cit|\\\\[[^\\\\]]*|\\\\s[A-Zvclm])$','i');e=this.fixSentenceEnds(e,t),this.fullLength=e.join('').length;let i=this.maxSentences,n=this.firstSentences(e,i);for(;n=this.firstSentences(e,i),--i,n.length>this.maxCharacters&&0!==i;);this.data=n}fixSentenceEnds(i,e){for(let t=0;t<i.length-2;++t)if(e.test(i[t])){var n=[];for(let e=0;e<i.length;++e)e<t&&(n[e]=i[e]),e===t&&(n[t]=i[t]+i[t+1]+i[t+2]),e>t+2&&(n[e-2]=i[e]);return this.fixSentenceEnds(n,e)}return i}firstSentences(e,t){return e.slice(0,2*t).join('')}killBadWhitespace(){this.data=this.data.replace(RegExp('^ *\\'+ *$','gm'),'')}makePreview(){this.owner.article.namespaceId()!==m.nsTemplateId&&this.owner.article.namespaceId()!==m.nsImageId?(this.killComments(),this.killDivs(),this.killGalleries(),this.killBoxTemplates(),N('popupPreviewKillTemplates')?this.killTemplates():this.killMultilineTemplates(),this.killTables(),this.killImages(),this.killHTML(),this.killChunks(),this.mopup(),this.firstBit(),this.killBadWhitespace()):this.killHTML(),this.html=me(this.data,this.baseUrl),this.fixHTML(),this.stripLongTemplates()}esWiki2HtmlPart(e){var t=/(?:\\[\\[([^|\\]]*)(?:\\|([^|\\]]*))*]]([a-z]*))/gi;let i='',n=t.lastIndex=0,o=t.exec(e);for(;o;)i+=`${m.escapeQuotesHTML(e.substring(n,o.index))}<a href=\"${b.conf.paths.articles}${m.escapeQuotesHTML(o[1])}\">${m.escapeQuotesHTML((o[2]||o[1])+o[3])}</a>`,n=t.lastIndex,o=t.exec(e);return i+=m.escapeQuotesHTML(e.substring(n))}editSummaryPreview(){var i=/\\/\\* *(.*?) *\\*\\//g,n=(i.lastIndex=0,i.exec(this.data));if(n){var o=this.data.substring(0,n.index-1),n=n[1],i=this.data.substring(i.lastIndex);let e='<span class=\\'autocomment\\'>',t='</span>';0<o.length&&(e=`${this.esWiki2HtmlPart(o)} ${e}- `),0<i.length&&(t=': '+t+this.esWiki2HtmlPart(i));o=(new v).fromURL(this.baseUrl),i=(o.anchorFromUtf(n),b.conf.paths.articles+m.escapeQuotesHTML(o.toString(!0))+'#'+m.escapeQuotesHTML(o.anchor));return e+`<a href=\"${i}\">&rarr;</a> `+m.escapeQuotesHTML(n)+t}return this.esWiki2HtmlPart(this.data)}fixHTML(){if(this.html){let e=this.html;e=(e=e.replace(RegExp(`(<a href=\"${m.wiki.articlePath}/[^\"]*)[?](.*?\")`,'g'),'$1%3F$2')).replace(RegExp(`(<a href='${m.wiki.articlePath}/[^']*)[?](.*?')`,'g'),'$1%3F$2'),this.html=e}}showPreview(){this.makePreview(),'string'!=typeof this.html||RegExp('^\\\\s*$').test(this.html)||(S('<hr />','popupPrePreviewSep',this.owner.idNumber),Oe(this.html,'popupPreview',this.owner.idNumber,{owner:this.owner}),S(this.fullLength>this.data.length?this.moreLink():'','popupPreviewMore',this.owner.idNumber))}moreLink(){var e=document.createElement('a');e.className='popupMoreLink',e.innerHTML=C('more...');let t=this;return e.onclick=function(){t.maxCharacters+=2e3,t.maxSentences+=20,t.setData(),t.showPreview()},e}stripLongTemplates(){this.html=this.html.replace(RegExp('^.{0,1000}[{][{][^}]*?(<(p|br)( /)?>\\\\s*){2,}([^{}]*?[}][}])?','gi'),''),this.html=this.html.split('\\n').join(' '),this.html=this.html.replace(RegExp('[{][{][^}]*<pre>[^}]*[}][}]','gi'),'')}killMultilineTemplates(){this.kill('{{{','}}}'),this.kill(RegExp('\\\\s*[{][{][^{}]*\\\\n'),'}}','{{')}}function h(t,i,n){var o=new v(i).urlString();let r=m.wiki.apiwikibase+'?format=json&formatversion=2&action=query&',s=function(){alert('invalid html generator')},e='';switch(t){case'history':r+=`titles=${o}&prop=revisions&rvlimit=`+N('popupHistoryPreviewLimit'),s=st;break;case'category':r+='list=categorymembers&cmtitle='+o,s=nt;break;case'userinfo':var a=new v(i).userName();e=encodeURIComponent(a),m.re.ipUser.test(a)?r+='list=blocks&bkprop=range|restrictions&bkip='+e:r+=`list=users|usercontribs&usprop=blockinfo|groups|editcount|registration|gender&ususers=${e}&meta=globaluserinfo&guiprop=groups|unattached&guiuser=${e}&uclimit=1&ucprop=timestamp&ucuser=`+e,s=ot;break;case'contribs':e=encodeURIComponent(new v(i).userName()),r+=`list=usercontribs&ucuser=${e}&uclimit=`+N('popupContribsPreviewLimit'),s=rt;break;case'imagepagepreview':{let e='';N('popupImageLinks')&&(e='&list=imageusage&iutitle='+o),r+=`titles=${o}&prop=revisions|imageinfo${''}&rvprop=content`+e,s=it;break}case'backlinks':r+='list=backlinks&bltitle='+o,s=tt;break;case'revision':i.oldid?r+='revids='+i.oldid:r+='titles='+i.removeAnchor().urlString(),r+='&prop=revisions|pageprops|info|images|categories&rvprop=ids|timestamp|comment|user|content&cllimit=max&imlimit=max',s=et}Z(n);let p=async e=>{f('callback of API functions was hit'),'userinfo'===t&&await(e=>{let t=k(e).query,i=y(t.users),n=[];return i.groups&&i.groups.forEach(e=>{n.push(`group-${e}-member`)}),t.globaluserinfo&&t.globaluserinfo.groups&&t.globaluserinfo.groups.forEach(e=>{n.push(`group-${e}-member`)}),x().loadMessagesIfMissing(n)})(e.data),Je(t,s(i,e,n),n.idNumber,n,e)};function l(){return $e(r,p,n),!0}n.visible||!N('popupLazyDownloads')?l():n.addHook(l,'unhide','before',`DOWNLOAD_${t}_QUERY_DATA`)}function ze(t){t.sort((e,t)=>e===t?0:e<t?-1:1);var i=[];for(let e=0;e<t.length;++e)i.push(R({article:new v(t[e]),text:t[e].split(' ').join('&nbsp;'),action:'view'}));return i.join(C('separator'))}function qe(){var e=mw.user.options.get('timecorrection');return e&&-1<e.indexOf('|')?parseInt(e.split('|')[1],10):0}function g(){var e,t;return m.user.timeZone||(e=mw.user.options.get('timecorrection'),m.user.timeZone='UTC',e&&(3===(t=e.split('|')).length&&'ZoneInfo'===t[0]?m.user.timeZone=t[2]:w('Unexpected timezone information: '+e))),m.user.timeZone}function Qe(){var e;return void 0===Intl.DateTimeFormat.prototype.formatToParts||!(!(e=mw.user.options.get('timecorrection'))||-1!==e.indexOf('ZoneInfo|'))}function Ve(){if(!m.user.locales){let e=document.querySelector('html').getAttribute('lang');N('popupLocale')?e=N('popupLocale'):'en'===e&&(e='mdy'===Ge()?'en-US':'en-GB'),m.user.locales=Intl.DateTimeFormat.supportedLocalesOf([e,navigator.language])}return m.user.locales}function Ge(){return mw.user.options.get('date')}function Ke(e,t){return new Date(+e+60*t*1e3)}function Ze(e,t){return new Date(e.toLocaleString('en-US',{timeZone:t}))}function Xe(e){var t;return Qe()?d(r,[(t=Ke(e,qe())).getUTCFullYear(),t.getUTCMonth()+1,t.getUTCDate()]).join('-'):'ISO 8601'===Ge()?d(r,[(t=Ze(e,g())).getFullYear(),t.getMonth()+1,t.getDate()]).join('-'):((t=N('popupDateFormatterOptions')).timeZone=g(),e.toLocaleDateString(Ve(),t))}function Ye(e){var t;return Qe()?d(r,[(t=Ke(e,qe())).getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()]).join(':'):'ISO 8601'===Ge()?d(r,[(t=Ze(e,g())).getHours(),t.getMinutes(),t.getSeconds()]).join(':'):((t=N('popupTimeFormatterOptions')).timeZone=g(),e.toLocaleTimeString(Ve(),t))}function Je(e,t,i,n,o){let r='popupPreview';switch(X(n),e){case'imagelinks':case'category':r='popupPostPreview';break;case'userinfo':r='popupUserData';break;case'revision':return void((s=o).owner&&(a=m.re.redirect.exec(s.data),0===s.owner.redir&&a?J(a,s.owner):s.owner.visible||!N('popupLazyPreviews')?ee(s):(a=s.owner.redir?'PREVIEW_REDIR_HOOK':'PREVIEW_HOOK',s.owner.addHook(()=>(ee(s),!0),'unhide','after',a))))}var s,a;Oe(t,r,i)}function et(e,t){try{var i,n=y(k(t.data).query.pages);n.missing?t.owner=null:'string'==typeof(i=n&&n.revisions&&'wikitext'===n.revisions[0].contentmodel?n.revisions[0].content:null)&&(t.data=i,t.lastModified=new Date(n.revisions[0].timestamp))}catch(e){return'Revision preview failed :('}}function tt(e,i){try{var n=k(i.data),o=n.query.backlinks;let t=[];if(!o)return C('No backlinks found');for(let e=0;e<o.length;e++){var r=new v(o[e].title);t.push(`<a href=\"${m.wiki.titlebase}${r.urlString()}\">${r.toString().entify()}</a>`)}return t=t.join(C('separator')),n.continue&&n.continue.blcontinue&&(t+=C(' and more')),t}catch(e){return'backlinksPreviewHTML went wonky'}}function it(i,n,o){try{var r,s,a,p,l,u=y(k(n.data).query.pages),c=u&&u.revisions&&'wikitext'===u.revisions[0].contentmodel?u.revisions[0].content:null;let e='',t='';try{t=o.parentAnchor.childNodes[0].alt}catch{}return t&&(e=`${e}<hr /><b>${C('Alt text:')}</b> `+m.escapeQuotesHTML(t)),'string'==typeof c&&((r=te(c,i,o)).makePreview(),r.html&&(e+='<hr />'+r.html),N('popupSummaryData'))&&(s=ye(c,n),f(s),Ne(s,o.idNumber)),u&&'shared'===u.imagerepository&&(a=new v(i),p=encodeURIComponent('File:'+a.stripNamespace()),l=`${m.wiki.apicommonsbase}?format=json&formatversion=2&callback=pg.fn.APIsharedImagePagePreviewHTML&requestid=${o.idNumber}&action=query&prop=revisions${''}&rvprop=content&titles=`+p,e=`${e}<hr />${C('Image fr",
    "om Commons')}: <a href=\"${m.wiki.commonsbase}?title=${p}\">${C('Description page')}</a>`,mw.loader.load(l)),Je('imagelinks',(e=>{try{var t=k(e.data).query.imageusage;if(t){var i=[];for(let e=0;e<t.length;e++)i.push(t[e].title);return 0===i.length?C('No image links found'):`<h2>${C('File links')}</h2>`+ze(i)}return C('No image links found')}catch(e){return'Image links preview generation failed :('}})(n),o.idNumber,n),e}catch(e){return'API imagepage preview failed :('}}function nt(e,i){try{var n=k(i.data),o=n.query.categorymembers;let t=[];for(let e=0;e<o.length;e++)t.push(o[e].title);return 0===t.length?C('Empty category'):(t=`<h2>${M('Category members (%s shown)',[t.length])}</h2>`+ze(t),n.continue&&n.continue.cmcontinue&&(t+=C(' and more')),t)}catch(e){return'Category preview failed :('}}function ot(e,t){let i=[],n={};try{n=k(t.data).query}catch(e){return'Userinfo preview failed :('}let o=y(n.users);if(o){var r=n.globaluserinfo;if(''===o.invalid?i.push(C('Invalid user')):''===o.missing&&i.push(C('Not a registered username')),o.blockedby&&(o.blockpartial?i.push(`<b>${C('Has blocks')}</b>`):i.push(`<b>${C('BLOCKED')}</b>`)),r&&(Reflect.has(r,'locked')||Reflect.has(r,'hidden'))){let t=!0;for(let e=0;r.unattached&&e<r.unattached.length;e++)if(r.unattached[e].wiki===mw.config.get('wgDBname')){t=!1;break}t&&(Reflect.has(r,'locked')&&i.push(`<b><i>${C('LOCKED')}</i></b>`),Reflect.has(r,'hidden'))&&i.push(`<b><i>${C('HIDDEN')}</i></b>`)}if(N('popupShowGender')&&o.gender)switch(o.gender){case'male':i.push(C('♂'));break;case'female':i.push(C('♀'))}if(o.groups){let t=[];o.groups.forEach(e=>{-1===['*','user','autoconfirmed'].indexOf(e)&&t.push(m.escapeQuotesHTML(mw.message(`group-${e}-member`,o.gender).text()))}),-1===o.groups.indexOf('autoconfirmed')&&t.push(`<b>${m.escapeQuotesHTML(C('group-no-autoconfirmed'))}</b>`),0===t.length&&t.push(m.escapeQuotesHTML(mw.message('group-user-member',o.gender).text())),i.push(t.join(C('separator')))}if(r&&r.groups){let t=[];r.groups.forEach(e=>{t.push(`<i>${m.escapeQuotesHTML(mw.message(`group-${e}-member`,o.gender).text())}</i>`)}),i.push(t.join(C('separator')))}o.registration&&i.push(m.escapeQuotesHTML((o.editcount||'0')+C(' edits since: ')+(o.registration?Xe(new Date(o.registration)):'')))}if(n.usercontribs&&n.usercontribs.length&&i.push(C('last edit on ')+Xe(new Date(n.usercontribs[0].timestamp))),n.blocks){i.push(C('IP user'));for(let t=0;t<n.blocks.length;t++){let e=n.blocks[t].rangestart===n.blocks[t].rangeend?'BLOCK':'RANGEBLOCK';e=Array.isArray(n.blocks[t].restrictions)?e+'ED':`Has ${e.toLowerCase()}s`,i.push(`<b>${C(e)}</b>`)}}return i='<hr />'+i.join(C('comma'))}function rt(e,t,i){return st(e,t,0,!0)}function st(t,i,e,n){try{var o=k(i.data);let e=[];{var u=t;var c=e=n?o.query.usercontribs:y(o.query.pages).revisions;var d=n;let r=['<table>'],s=null,a=u,p=null,l;if(d)l=function(e){var t='(';return t+`<a href=\"${m.wiki.titlebase}${new v(e.title).urlString()}&diff=prev&oldid=${e.revid}\">${C('diff')}</a>`+'&nbsp;|&nbsp;'+`<a href=\"${m.wiki.titlebase}${new v(e.title).urlString()}&action=history\">${C('hist')}</a>`+')'};else{let i=c[0].revid;l=function(e){var t='(';return t+`<a href=\"${m.wiki.titlebase}${new v(a).urlString()}&diff=${i}&oldid=${e.revid}\">${C('cur')}</a>`+'&nbsp;|&nbsp;'+`<a href=\"${m.wiki.titlebase}${new v(a).urlString()}&diff=prev&oldid=${e.revid}\">${C('last')}</a>`+')'}}for(let o=0;o<c.length;++o){d&&(p=c[o].title,a=new v(p));var h=c[o].minor?'<b>m </b>':'',g=new Date(c[o].timestamp);let e=Xe(g);var g=Ye(g);e===s?e='':s=e,e&&r.push(`<tr><td colspan=3><span class=\"popup_history_date\">${e}</span></td></tr>`),r.push(`<tr class=\"popup_history_row_${o%2?'odd':'even'}\">`),r.push(`<td>${l(c[o])}</td>`),r.push(`<td><a href=\"${m.wiki.titlebase}${new v(a).urlString()}&oldid=${c[o].revid}\">${g}</a></td>`);let t='',i='',n=(i=d?(t=m.wiki.titlebase+a.urlString(),m.escapeQuotesHTML(p)):(g=c[o].user,c[o].userhidden?(t=N('popupRevDelUrl'),m.escapeQuotesHTML(C('revdel'))):(t=m.re.ipUser.test(g)?m.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[m.nsSpecialId]+':Contributions&target='+new v(g).urlString():m.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[m.nsUserId]+':'+new v(g).urlString(),m.escapeQuotesHTML(g))),r.push(`<td>${d?h:''}<a href=\"${t}\">${i}</a></td>`),'');g=c[o].comment||(void 0!==c[o].slots?c[o].slots.main.content:null);g?n=new Be(g,new v(a).toUrl()).editSummaryPreview():c[o].commenthidden&&(n=C('revdel')),r.push(`<td>${d?'':h}${n}</td>`),r.push('</tr>'),r=[r.join('')]}return r.push('</table>'),r.join('');return}}catch(e){return'History preview failed :-('}}function at(i,r){if('function'!=typeof i.stripNamespace&&alert('loadImages bad'),N('popupImages')&&Re(i)){i=i.urlString();let e=m.wiki.apiwikibase+'?format=json&formatversion=2&action=query',t=(e=e+('&prop=imageinfo&iiprop=url|mime&iiurlwidth='+N('popupImageSizeLarge'))+('&titles='+i),Z(r),function(t){{var i=r.idNumber;f('popupsInsertImage');let e;try{var n=y(k(t.data).query.pages);if(void 0===n.imageinfo)return;e=n.imageinfo[0]}catch(e){return void f('popupsInsertImage failed :(')}if(t=document.getElementById('popupImg'+i)){t.width=N('popupImageSize'),t.style.display='inline',e.thumburl?t.src=e.thumburl:0===e.mime.indexOf('image')?(t.src=e.url,f('a thumb could not be found, using original image')):f('fullsize imagethumb, but not sure if it\\'s an image');var o=document.getElementById('popupImageLink'+i);if(null===o)return;switch(N('popupThumbAction')){case'imagepage':if(m.current.article.namespaceId()!==m.nsImageId){o.href=e.descriptionurl,je('popupImage'+i)();break}case'sizetoggle':return void(o.onclick=pt,o.title=C('Toggle image size'));case'linkfull':o.href=e.url,o.title=C('Open full-size image')}}else f('could not find insertion point for image')}});i=function(){return $e(e,t,r),!0};r.visible||!N('popupLazyDownloads')?i():r.addHook(i,'unhide','after','DOWNLOAD_IMAGE_QUERY_DATA')}}function pt(){var e;this?(e=this.firstChild)?e.style.width&&''!==e.style.width?e.style.width='':e.style.width='100%':alert('img is null :/'):alert('imgContainer is null :/')}function i(i){let n=[];return jQuery.each(mw.config.get('wgNamespaceIds'),(e,t)=>{e=Ie(e);t===i&&(n.push(mw.util.escapeRegExp(e).split(' ').join('[ _]')),n.push(mw.util.escapeRegExp(encodeURI(e))))}),`(?:${n.join('|')})`}function lt(){var t=(()=>{let e;try{e=document.editform.wpTextbox1}catch(e){return}var t,i;return document.selection?document.selection.createRange().text:(t=e.selectionStart,i=e.selectionEnd,e.value.substring(t,i))})(),e=t.indexOf('[['),i=t.indexOf('|'),n=t.indexOf(']]');if(-1!==e&&(-1!==i||-1!==n)&&!(-1!==i&&i<e||-1!==n&&n<e)){e=new v(t.substring(e+2,i<0?n:i));if('boxpreview'===N('popupOnEditSelection')){i=t;let e=document.getElementById('selectionPreview');if(!e){(e=document.createElement('div')).id='selectionPreview';try{var o=document.editform.wpTextbox1;o.parentNode.insertBefore(e,o)}catch(e){return}}e.innerHTML=me(i),e.ranSetupTooltipsAlready=!1,je('selectionPreview')()}else if(!(0<n&&0<=t.substring(n+2).indexOf('[['))){let t=document.createElement('a');t.href=m.wiki.titlebase+e.urlString(),Q(t),t.navpopup&&t.navpopup.addHook(()=>{var e;(e=t.navpopup).stopPopupTimer||(e.stopPopupTimer=setInterval(Fe(e),500),e.addHook(()=>{clearInterval(e.stopPopupTimer)},'hide','before'))},'unhide','after')}}}m.fn.APIsharedImagePagePreviewHTML=function(e){f('APIsharedImagePagePreviewHTML');var t=e.requestid;e.query&&e.query.pages&&'string'==typeof(e=(e=y(e.query.pages))&&e.revisions&&'wikitext'===e.revisions[0].contentmodel?e.revisions[0].content:null)&&m&&m.current&&m.current.link&&m.current.link.navpopup&&((e=new Be(e,m.current.link.navpopup.article,m.current.link.navpopup)).makePreview(),S(e.html,'popupSecondPreview',t))};class L{constructor(){this.uid=L.uid++,this.visible=!1,this.noshow=!1,this.hooks={create:[],unhide:[],hide:[]},this.hookIds={},this.downloads=[],this.pending=null,this.fuzz=5,this.constrained=!0,this.width=0,this.height=0,this.mainDiv=null,this.createMainDiv()}isVisible(){return this.visible}reposition(e,t,i){f(`reposition(${e},${t},${i})`),null!=e&&(this.left=e),null!=t&&(this.top=t),void 0!==this.left&&void 0!==this.top&&(this.mainDiv.style.left=this.left+'px',this.mainDiv.style.top=this.top+'px'),i||this.limitHorizontalPosition()}limitHorizontalPosition(){if(this.constrained&&!this.tooWide){this.updateDimensions();var e=this.left,t=this.width,i=document.body.clientWidth;if(i<=e+t||0<e&&this.maxWidth&&this.width<this.maxWidth&&this.height>this.width&&e>i-this.maxWidth){this.mainDiv.style.left='-10000px',this.mainDiv.style.width=this.maxWidth+'px';t=parseInt(this.mainDiv.offsetWidth,10);let e=i-t-1;e<0&&(e=0,this.tooWide=!0),f(`limitHorizontalPosition: moving to (${e},${this.top}); naturalWidth=${t}, clientWidth=`+i),this.reposition(e,null,!0)}}}raise(){this.mainDiv.style.zIndex=L.highest+1,++L.highest}show(){this.noshow||(this.reposition(),this.raise(),this.unhide())}showSoonIfStable(e){f('showSoonIfStable, time='+e),this.visible||(this.noshow=!1,this.stable_x=-1e4,this.stable_y=-1e4,this.showSoonStableTimer=setInterval(()=>{f('stableShow called');var e=L.tracker.x,t=L.tracker.y,i=this.stable_x-e,n=this.stable_y-t;i*i<=0&&n*n<=0?(f('mouse is stable'),clearInterval(this.showSoonStableTimer),this.reposition.bind(this)(e+2,t+2),this.show.bind(this)(),this.limitHorizontalPosition.bind(this)()):(this.stable_x=e,this.stable_y=t)},e/2))}banish(){f('banish called'),this.noshow=!0,this.showSoonStableTimer&&(f('clearing showSoonStableTimer'),clearInterval(this.showSoonStableTimer)),this.hide()}runHooks(e,t){if(this.hooks[e]){var i=this.hooks[e],n=i.length;for(let e=0;e<n;++e)i[e]&&i[e].when===t&&i[e].hook.bind(this)()&&(i[e].hookId&&Reflect.deleteProperty(this.hookIds,i[e].hookId),i[e]=null)}}addHook(t,i,n,o){n=n||'after';if(this.hooks[i]){let e=null;if(o){if(e=[i,n,o].join('|'),this.hookIds[e])return;this.hookIds[e]=!0}this.hooks[i].push({hook:t,when:n,hookId:e})}}createMainDiv(){if(!this.mainDiv){this.runHooks('create','before');var e=document.createElement('div');let t=this;e.onclick=function(e){t.onclickHandler(e)},e.className=this.className||'navpopup_maindiv',e.id=e.className+this.uid,e.style.position='absolute',e.style.minWidth='350px',e.style.display='none',e.",
    "className='navpopup',(e.navpopup=this).mainDiv=e,document.body.appendChild(e),this.runHooks('create','after')}}onclickHandler(){this.raise()}makeDraggable(e){this.mainDiv||this.createMainDiv();var t=new ne;e||(t.startCondition=function(e){try{if(!e.shiftKey)return!1}catch(e){return!1}return!0});let i,n=(i=(i=e?document.getElementById(e):i)||this.mainDiv,this);t.endHook=function(e,t){L.tracker.dirty=!0,n.reposition(e,t)},t.init(i,this.mainDiv)}hide(){this.runHooks('hide','before'),this.abortDownloads(),void 0!==this.visible&&this.visible&&(this.mainDiv.style.display='none',this.visible=!1),this.runHooks('hide','after')}unhide(){this.runHooks('unhide','before'),void 0===this.visible||this.visible||(this.mainDiv.style.display='inline',this.visible=!0),this.runHooks('unhide','after')}setInnerHTML(e){this.mainDiv.innerHTML=e}updateDimensions(){this.width=parseInt(this.mainDiv.offsetWidth,10),this.height=parseInt(this.mainDiv.offsetHeight,10)}isWithin(e,t){if(!this.visible)return!1;this.updateDimensions();var i=this.fuzz||0;return e+i>=this.left&&e-i<=this.left+this.width&&t+i>=this.top&&t-i<=this.top+this.height}addDownload(e){e&&this.downloads.push(e)}abortDownloads(){for(let e=0;e<this.downloads.length;++e){var t=this.downloads[e];t&&t.abort&&t.abort()}this.downloads=[]}}function ut(e){return e.length?`<del class='popupDiff'>${e.join('')}</del>`:''}L.uid=0,L.highest=1e3,L.tracker=new class{constructor(){this.loopDelay=400,this.timer=null,this.active=!1,this.dirty=!0,this.hooks=[]}addHook(e){this.hooks.push(e)}runHooks(){if(this.hooks&&this.hooks.length){let t=!1;var i={},n=this.x,o=this.y,r=this.hooks.length;for(let e=0;e<r;++e)!0===this.hooks[e](n,o)&&(t=!0,i[e]=!0);t&&this.removeHooks(i)}}removeHooks(t){var i=[],n=this.hooks.length;for(let e=0;e<n;++e)t[e]||i.push(this.hooks[e]);this.hooks=i}track(i){let n=i,o,r;if(n=n||window.event){if(n.pageX)o=n.pageX,r=n.pageY;else{if(void 0===n.clientX)return;{let e,t;i=document.documentElement;e=(e=i?i.scrollLeft:e)||document.body.scrollLeft||document.scrollLeft||0,t=(t=i?i.scrollTop:t)||document.body.scrollTop||document.scrollTop||0,o=n.clientX+e,r=n.clientY+t}}this.setPosition(o,r)}}setPosition(e,t){var i;this.x=e,this.y=t,this.dirty||0===this.hooks.length?this.dirty=!1:('number'!=typeof this.lastHook_x&&(this.lastHook_x=-100,this.lastHook_y=-100),1<(i=0<=(i=(this.lastHook_x-e)*(this.lastHook_y-t))?i:-i)&&(this.lastHook_x=e,this.lastHook_y=t,this.dirty?this.dirty=!1:this.runHooks()))}enable(){if(!this.active){this.active=!0,this.savedHandler=document.onmousemove;let t=this;document.onmousemove=function(e){t.track.bind(t)(e)},this.loopDelay&&(this.timer=setInterval(()=>{t.runHooks()},this.loopDelay))}}disable(){this.active&&('function'==typeof this.savedHandler?document.onmousemove=this.savedHandler:Reflect.deleteProperty(document,'onmousemove'),this.timer&&clearInterval(this.timer),this.active=!1)}};let ct=RegExp('^(constructor|prototype|__((define|lookup)[GS]etter)__|eval|hasOwnProperty|propertyIsEnumerable|to(Source|String|LocaleString)|(un)?watch|valueOf)$');function dt(e){dt.list[e]||(dt.list[e]=1,alert(`Bad word: ${e}\n\nPlease report this bug.`))}function ht(i){var e={};for(let t=0;t<i.length;t++){ct.test(i[t])&&(i[t]+='\\x3c!-- --\\x3e'),e[i[t]]||(e[i[t]]=[]);try{e[i[t]].push(t)}catch(e){dt(i[t])}}return e}function gt(e,t){var i=ht(t),n=ht(e);let o;for(o in i)1===i[o].length&&n[o]&&1===n[o].length&&(t[i[o][0]]={text:t[i[o][0]],row:n[o][0],paired:!0},e[n[o][0]]={text:e[n[o][0]],row:i[o][0],paired:!0});for(o=0;o<t.length-1;o++)t[o].paired&&!t[o+1].paired&&t[o].row+1<e.length&&!e[t[o].row+1].paired&&t[o+1]===e[t[o].row+1]&&(t[o+1]={text:t[o+1],row:t[o].row+1,paired:!0},e[t[o].row+1]={text:e[t[o].row+1],row:o+1,paired:!0});for(o=t.length-1;0<o;o--)t[o].paired&&!t[o-1].paired&&0<t[o].row&&!e[t[o].row-1].paired&&t[o-1]===e[t[o].row-1]&&(t[o-1]={text:t[o-1],row:t[o].row-1,paired:!0},e[t[o].row-1]={text:e[t[o].row-1],row:o-1,paired:!0});return{o:e,n:t}}function mt(e){let t=[];return t.push(mw.util.escapeRegExp(e.realname)),t.push(mw.util.escapeRegExp(encodeURI(e.realname))),e.aliases.forEach(e=>{t.push(mw.util.escapeRegExp(e)),t.push(mw.util.escapeRegExp(encodeURI(e)))}),t.join('|')}function ft(){e=l(mw.config.get('wgScriptPath'))+'/(?:index[.]php|wiki[.]phtml)[?]title=',e=`(${e+='|'+l(m.wiki.articlePath+'/')})([^&?#]*)[^#]*(?:#(.+))?`,m.re.main=RegExp('[^:]*://'+l(m.wiki.sitebase)+e);let t=i(m.nsSpecialId);m.re.urlNoPopup=RegExp(`((title=|/)${t}(?:%3A|:)|section=[0-9]|^#$)`),m.wiki.specialpagealiases.forEach(e=>{'Contributions'===e.realname?m.re.contribs=RegExp(`(title=|/)${t}(?:%3A|:)(?:${mt(e)})(&target=|/|/${i(m.nsUserId)}:)(.*)`,'i'):'Diff'===e.realname?m.re.specialdiff=RegExp(`/${t}(?:%3A|:)(?:${mt(e)})/([^?#]*)`,'i'):'Emailuser'===e.realname?m.re.email=RegExp(`(title=|/)${t}(?:%3A|:)(?:${mt(e)})(&target=|/|/(?:${i(m.nsUserId)}:)?)(.*)`,'i'):'Whatlinkshere'===e.realname&&(m.re.backlinks=RegExp(`(title=|/)${t}(?:%3A|:)(?:${mt(e)})(&target=|/)([^&]*)`,'i'))});var e=i(m.nsImageId);m.re.image=RegExp(`(^|\\\\[\\\\[)${e}: *([^|\\\\]]*[^|\\\\] ])([^0-9\\\\]]*([0-9]+) *px)?|(?:\\\\n *[|]?|[|]) *(${N('popupImageVarsRegexp')}) *= *(?:\\\\[\\\\[ *)?(?:${e}:)?([^|]*?)(?:\\\\]\\\\])? *[|]? *\\\\n`,'img'),m.re.imageBracketCount=6,m.re.category=RegExp(`\\\\[\\\\[${i(m.nsCategoryId)}: *([^|\\\\]]*[^|\\\\] ]) *`,'i'),m.re.categoryBracketCount=1,m.re.ipUser=RegExp('^(?::(?::|(?::[0-9A-Fa-f]{1,4}){1,7})|[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,6}::|[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){7})|(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))$'),m.re.stub=RegExp(N('popupStubRegexp'),'im'),m.re.disambig=RegExp(N('popupDabRegexp'),'im'),m.re.oldid=RegExp('[?&]oldid=([^&]*)'),m.re.diff=RegExp('[?&]diff=([^&]*)')}function wt(){m.cache.pages=[]}function x(){return m.api.client||(m.api.userAgent=`Navigation popups/1.0 (${mw.config.get('wgServerName')})`,m.api.client=new mw.Api({ajax:{headers:{'Api-User-Agent':m.api.userAgent}}})),m.api.client}async function n(e){if(!n.completed){var t,i;t=await x().get({action:'query',meta:'siteinfo',siprop:'specialpagealiases',formatversion:2,uselang:'content',maxage:3600}),await!(m.wiki.specialpagealiases=t.query.specialpagealiases),f('Initializing logger'),window.popupLocalDebug?m.wiki.hostname='en.wikipedia.org':m.wiki.hostname=location.hostname,m.wiki.wikimedia=RegExp('(wiki([pm]edia|source|books|news|quote|versity|species|voyage|data)|metawiki|wiktionary|mediawiki)[.]org').test(m.wiki.hostname),m.wiki.wikia=RegExp('[.]wikia[.]com$','i').test(m.wiki.hostname),m.wiki.isLocal=RegExp('^localhost').test(m.wiki.hostname),m.wiki.commons=m.wiki.wikimedia&&'commons.wikimedia.org'!==m.wiki.hostname?'commons.wikimedia.org':null,m.wiki.lang=mw.config.get('wgContentLanguage'),t=location.port?':'+location.port:'',m.wiki.sitebase=m.wiki.hostname+t,t=window.popupLocalDebug?'http:':location.protocol,m.wiki.articlePath=mw.config.get('wgArticlePath').replace(/\\/\\$1/,''),m.wiki.botInterfacePath=mw.config.get('wgScript'),m.wiki.APIPath=mw.config.get('wgScriptPath')+'/api.php',i=m.wiki.botInterfacePath+'?title=',m.wiki.titlebase=t+'//'+m.wiki.sitebase+i,m.wiki.wikibase=t+'//'+m.wiki.sitebase+m.wiki.botInterfacePath,m.wiki.apiwikibase=t+'//'+m.wiki.sitebase+m.wiki.APIPath,m.wiki.articlebase=t+'//'+m.wiki.sitebase+m.wiki.articlePath,m.wiki.commonsbase=t+'//'+m.wiki.commons+m.wiki.botInterfacePath,m.wiki.apicommonsbase=t+'//'+m.wiki.commons+m.wiki.APIPath,m.re.basenames=RegExp(`^(${d(l,[m.wiki.titlebase,m.wiki.articlebase]).join('|')})`);{let t=!1;if(mw.config.get('wgUserGroups'))for(let e=0;e<mw.config.get('wgUserGroups').length;++e)'sysop'===mw.config.get('wgUserGroups')[e]&&(t=!0);D('popupDelay',.5),D('popupHideDelay',.5),D('simplePopups',!1),D('popupStructure','shortmenus'),D('popupActionsMenu',!0),D('popupSetupMenu',!0),D('popupAdminLinks',t),D('popupShortcutKeys',!1),D('popupHistoricalLinks',!0),D('popupOnlyArticleLinks',!0),D('removeTitles',!0),D('popupMaxWidth',350),D('popupSimplifyMainLink',!0),D('popupAppendRedirNavLinks',!0),D('popupTocLinks',!1),D('popupSubpopups',!0),D('popupDragHandle',!1),D('popupLazyPreviews',!0),D('popupLazyDownloads',!0),D('popupAllDabsStubs',!1),D('popupDebugging',!1),D('popupActiveNavlinks',!0),D('popupModifier',!1),D('popupModifierAction','enable'),D('popupDraggable',!0),D('popupReview',!1),D('popupLocale',!1),D('popupDateTimeFormatterOptions',{year:'numeric',month:'2-digit',day:'2-digit',hour12:!1,hour:'2-digit',minute:'2-digit',second:'2-digit'}),D('popupDateFormatterOptions',{year:'numeric',month:'2-digit',day:'2-digit'}),D('popupTimeFormatterOptions',{hour12:!1,hour:'2-digit',minute:'2-digit',second:'2-digit'}),D('popupImages',!0),D('imagePopupsForImages',!0),D('popupNeverGetThumbs',!1),D('popupThumbAction','imagepage'),D('popupImageSize',60),D('popupImageSizeLarge',200),D('popupFixRedirs',!1),D('popupRedirAutoClick','wpDiff'),D('popupFixDabs',!1),D('popupDabsAutoClick','wpDiff'),D('popupRevertSummaryPrompt',!1),D('popupMinorReverts',!1),D('popupRedlinkRemoval',!1),D('popupRedlinkAutoClick','wpDiff'),D('popupWatchDisambiggedPages',null),D('popupWatchRedirredPages',null),D('popupDabWiktionary','last'),D('popupNavLinks',!0),D('popupNavLinkSeparator',' &sdot; '),D('popupLastEditLink',!0),D('popupEditCounterTool','supercount'),D('popupEditCounterUrl',''),D('popupPreviews',!0),D('popupSummaryData',!0),D('popupMaxPreviewSentences',5),D('popupMaxPreviewCharacters',600),D('popupLastModified',!0),D('popupPreviewKillTemplates',!0),D('popupPreviewRawTemplates',!0),D('popupPreviewFirstParOnly',!0),D('popupPreviewCutHeadings',!0),D('popupPreviewButton',!1),D('popupPreviewButtonEvent','click'),D('popupPreviewDiffs',!0),D('popupDiffMaxLines',100),D('popupDiffContextLines',2),D('popupDiffContextCharacters',40),D('popupDiffDates',!0),D('popupDiffDatePrinter','toLocaleString'),D('popupReviewedSummary',C('defaultpopupReviewedSummary')),D('popupFixDabsSummary',C('defaultpopupFixDabsSummary')),D('popupExtendedRevertSummary',C('defaultpopupExtendedRevertSummary')),D('popupRevertSummary',C('defaultpopupRevertSummary')),D('popupRevertToPreviousSummary',C('defaultpopupRevertToPreviousSummary')),D('popupQueriedRevertSummary',C('defaultpopupQueriedRevertSummary')),D('popup",
    "QueriedRevertToPreviousSummary',C('defaultpopupQueriedRevertToPreviousSummary')),D('popupFixRedirsSummary',C('defaultpopupFixRedirsSummary')),D('popupRedlinkSummary',C('defaultpopupRedlinkSummary')),D('popupRmDabLinkSummary',C('defaultpopupRmDabLinkSummary')),D('popupHistoryLimit',50),D('popupFilters',[Se,Le,fe,we,ve,ke,be]),D('extraPopupFilters',[]),D('popupOnEditSelection','cursor'),D('popupPreviewHistory',!0),D('popupImageLinks',!0),D('popupCategoryMembers',!0),D('popupUserInfo',!0),D('popupHistoryPreviewLimit',25),D('popupContribsPreviewLimit',25),D('popupRevDelUrl','//en.wikipedia.org/wiki/Wikipedia:Revision_deletion'),D('popupShowGender',!0),D('popupNewWindows',!1),D('popupLinksNewWindow',{lastContrib:!0,sinceMe:!0}),D('popupDabRegexp','\\\\{\\\\{\\\\s*(d(ab|isamb(ig(uation)?)?)|(((geo|hn|road?|school|number)dis)|[234][lc][acw]|(road|ship)index))\\\\s*(\\\\|[^}]*)?\\\\}\\\\}|is a .*disambiguation.*page'),D('popupAnchorRegexp','anchors?'),D('popupStubRegexp','(sect)?stub[}][}]|This .*-related article is a .*stub'),D('popupImageVarsRegexp','image|image_(?:file|skyline|name|flag|seal)|cover|badge|logo')}(async()=>{var e={action:'query',list:'users',ususers:mw.config.get('wgUserName'),usprop:'rights'};m.user.canReview=!1,N('popupReview')&&(e=(await x().get(e)).query.users[0].rights,m.user.canReview=-1!==e.indexOf('review'))})(),m.nsSpecialId=-1,m.nsMainspaceId=0,m.nsImageId=6,m.nsUserId=2,m.nsUsertalkId=3,m.nsCategoryId=14,m.nsTemplateId=10,'zh'===m.wiki.lang?m.wiki.interwiki='en|ja':'en'===m.wiki.lang?m.wiki.interwiki='zh|ja':'ja'===m.wiki.lang&&(m.wiki.interwiki='zh|en'),m.re.interwiki=RegExp(`^${m.wiki.interwiki}:`),ft(),t={ar:[i='REDIRECT','تحويل'],be:[t='redirect','перанакіраваньне'],bg:[t,'пренасочване','виж'],bs:[t,'Preusmjeri','preusmjeri','PREUSMJERI'],bn:[i,'পুনর্নির্দেশ'],cs:[i,'PŘESMĚRUJ'],cy:[t,'ail-cyfeirio'],de:[i,'WEITERLEITUNG'],el:[i,'ΑΝΑΚΑΤΕΥΘΥΝΣΗ'],eo:[i,'ALIDIREKTU','ALIDIREKTI'],es:[i,'REDIRECCIÓN'],et:[t,'suuna'],ga:[t,'athsheoladh'],gl:[t,'REDIRECCIÓN','REDIRECIONAMENTO'],he:[i,'הפניה'],hu:[i,'ÁTIRÁNYÍTÁS'],is:[t,'tilvísun','TILVÍSUN'],it:[i,'RINVIA','Rinvia'],ja:[i,'転送'],mk:[t,'пренасочување','види'],nds:[t,'wiederleiden'],'nds-nl':[i,'DEURVERWIEZING','DUURVERWIEZING'],nl:[i,'DOORVERWIJZING'],nn:[t,'omdiriger'],pl:[i,'PATRZ','PRZEKIERUJ','TAM'],pt:[i,'redir'],ru:[i,'ПЕРЕНАПРАВЛЕНИЕ','ПЕРЕНАПР'],sk:[t,'presmeruj'],sr:[t,'Преусмери','преусмери','ПРЕУСМЕРИ','Preusmeri','preusmeri','PREUSMERI'],tt:[i,'yünältü','перенаправление','перенапр'],uk:[i,'ПЕРЕНАПРАВЛЕННЯ','ПЕРЕНАПР'],vi:[t,'đổi'],yi:[i,'ווייטערפירן'],zh:[i,'重定向']}[m.wiki.lang]||[t,i],m.re.redirect=RegExp(`^\\\\s*[#](${t.join('|')}).*?\\\\[{2}([^\\\\|\\\\]]*)(|[^\\\\]]*)?\\\\]{2}\\\\s*(.*)`,'i'),m.current.link=null,m.current.links=[],m.current.linksHash={},wt(),m.timer.checkPopupPosition=null,m.counter.loop=0,m.idNumber=0,m.misc.decodeExtras=[{from:'%2C',to:','},{from:'_',to:' '},{from:'%24',to:'$'},{from:'%26',to:'&'}],b.conf={baseUrl:'',user:{},wiki:{lang:m.wiki.lang,interwiki:m.wiki.interwiki,default_thumb_width:180},paths:{articles:m.wiki.articlePath+'/',math:'/math/',images:'//upload.wikimedia.org/wikipedia/en/',images_fallback:'//upload.wikimedia.org/wikipedia/commons/'},locale:{user:mw.config.get('wgFormattedNamespaces')[m.nsUserId],image:mw.config.get('wgFormattedNamespaces')[m.nsImageId],category:mw.config.get('wgFormattedNamespaces')[m.nsCategoryId],months:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']}},(i=b.conf.user).name||(i.name='Wikipedian'),b.conf.user.signature=`[[${b.conf.locale.user}:${b.conf.user.name}|${b.conf.user.name}]]`,b.BLOCK_IMAGE=new RegExp(`^\\\\[\\\\[(?:File|Image|${b.conf.locale.image}):.*?\\\\|.*?(?:frame|thumbnail|thumb|none|right|left|center)`,'i'),j(),f('In setupPopups(), just called setupTooltips()'),L.tracker.enable(),n.completed=!0}'function'==typeof e&&e()}function vt(e,t,i){var n=function e(t,n,i,o){var r=i.oldid,s=i.rcid,a=i.diff;let p=o;'number'!=typeof p&&(p=0);var o=RegExp('(;?\\\\s*if\\\\s*\\\\(\\\\s*([\\\\w]*)\\\\s*\\\\)\\\\s*\\\\{([^{}]*)\\\\}(\\\\s*else\\\\s*\\\\{([^{}]*?)\\\\}|))','i'),l=t.parenSplit(o);let u=l[0];for(let i=1;i<l.length;i=i+5+1){var c=l[i+2-1],d=l[i+3-1];let e=l[i+5-1],t=(void 0!==e&&e||(e=''),null);switch(c){case'user':t=!!n.userName();break;case'talk':t=!n.talkPage();break;case'admin':t=!!N('popupAdminLinks');break;case'oldid':t=!(void 0===r||!r);break;case'rcid':t=!(void 0===s||!s);break;case'ipuser':t=!!n.isIpUser();break;case'mainspace_en':t=0===n.namespaceId()&&'en.wikipedia.org'===m.wiki.hostname;break;case'wikimedia':t=!!m.wiki.wikimedia;break;case'diff':t=!(void 0===a||!a)}switch(t){case null:u+=l[i];break;case!0:u+=d;break;case!1:u+=e}u+=l[i+5]}return o.test(u)&&p<10?e(u,n,i,p+1):u}(e,t,i).parenSplit(RegExp('<<(.*?)>>')),o=[];for(let e=0;e<n.length;++e)if(e%2){var r=new bt,s=n[e].split('|');r.id=s[0];for(let e=1;e<s.length;++e){var a=s[e].split('=');1<a.length?r[a[0]]=a[1]:r.text=C(a[0])}r.article=t;var p=i.oldid,l=i.rcid,u=i.diff;null!=p&&(r.oldid=p),null!=l&&(r.rcid=l),null!=u&&(r.diff=u),r.text||'mainlink'===r.id||(r.text=C(r.id)),o.push(r)}else o.push(n[e]);return o}function kt(e,t){return t.split(`<${e}>`).length-t.split(`</${e}>`).length}function U(e,t,i){var n=vt(e,t,i);let o='',r=0,s=0;for(let e=0;e<n.length;++e)'string'==typeof n[e]?(o+=n[e].split('*').join(N('popupNavLinkSeparator')).split('<menurow>').join('<li class=\"popup_menu_row\">').split('</menurow>').join('</li>').split('<menu>').join('<ul class=\"popup_menu\">').split('</menu>').join('</ul>'),r+=kt('menu',n[e]),s+=kt('menurow',n[e])):void 0!==n[e].type&&'navlinkTag'===n[e].type&&(0<r&&0===s?o+=`<li class=\"popup_menu_item\">${n[e].html()}</li>`:o+=n[e].html());return o}dt.list={};class bt{constructor(){this.type='navlinkTag'}html(){this.getNewWin(),this.getPrintFunction();let e='',t,i;return t=`<span class=\"popup_${this.id}\">`,i='</span>','function'!=typeof this.print?w('Oh dear - invalid print function for a navlinkTag, id='+this.id):'string'!=typeof(e=this.print(this))?e='':void 0!==this.shortcut&&(e=Lt(e,this.shortcut)),t+e+i}getNewWin(){N('popupLinksNewWindow'),void 0===m.option.popupLinksNewWindow[this.id]&&(this.newWin=null),this.newWin=m.option.popupLinksNewWindow[this.id]}getPrintFunction(){if('string'==typeof this.id&&typeof this.article==typeof{}){switch(this.noPopup=1,this.id){case'contribs':case'history':case'whatLinksHere':case'userPage':case'monobook':case'userTalk':case'talk':case'article':case'lastEdit':this.noPopup=null}switch(this.id){case'email':case'contribs':case'block':case'unblock':case'userlog':case'userSpace':case'deletedContribs':this.article=this.article.userName()}switch(this.id){case'userTalk':case'newUserTalk':case'editUserTalk':case'userPage':case'monobook':case'editMonobook':case'blocklog':this.article=this.article.userName(!0);case'pagelog':case'deletelog':case'protectlog':Reflect.deleteProperty(this,'oldid')}switch('editMonobook'!==this.id&&'monobook'!==this.id||this.article.append('/monobook.js'),'mainlink'!==this.id&&(this.article=this.article.removeAnchor()),this.id){case'undelete':this.print=t,this.specialpage='Undelete',this.sep='/';break;case'whatLinksHere':this.print=t,this.specialpage='Whatlinkshere';break;case'relatedChanges':this.print=t,this.specialpage='Recentchangeslinked';break;case'move':this.print=t,this.specialpage='Movepage';break;case'contribs':this.print=t,this.specialpage='Contributions';break;case'deletedContribs':this.print=t,this.specialpage='Deletedcontributions';break;case'email':this.print=t,this.specialpage='EmailUser',this.sep='/';break;case'block':this.print=t,this.specialpage='Blockip',this.sep='&ip=';break;case'unblock':this.print=t,this.specialpage='Ipblocklist',this.sep='&action=unblock&ip=';break;case'userlog':this.print=t,this.specialpage='Log',this.sep='&user=';break;case'blocklog':this.print=t,this.specialpage='Log',this.sep='&type=block&page=';break;case'pagelog':this.print=t,this.specialpage='Log',this.sep='&page=';break;case'protectlog':this.print=t,this.specialpage='Log',this.sep='&type=protect&page=';break;case'deletelog':this.print=t,this.specialpage='Log',this.sep='&type=delete&page=';break;case'userSpace':this.print=t,this.specialpage='PrefixIndex',this.sep='&namespace=2&prefix=';break;case'search':this.print=t,this.specialpage='Search',this.sep='&fulltext=Search&search=';break;case'thank':this.print=t,this.specialpage='Thanks',this.sep='/',this.article.value='prev'!==this.diff?this.diff:this.oldid;break;case'unwatch':case'watch':this.print=It,this.action=`${this.id}&autowatchlist=1&autoimpl=${C('autoedit_version')}&actoken=`+p();break;case'history':case'historyfeed':case'unprotect':case'protect':this.print=R,this.action=this.id;break;case'delete':this.print=R,this.action='delete',this.article.namespaceId()===m.nsImageId&&(e=this.article.stripNamespace(),this.action+='&image='+e);break;case'markpatrolled':case'edit':Reflect.deleteProperty(this,'oldid');case'view':case'purge':case'render':this.print=R,this.action=this.id;break;case'raw':this.print=R,this.action='raw';break;case'new':this.print=R,this.action='edit&section=new';break;case'mainlink':var e;void 0===this.text&&(this.text=this.article.toString().entify()),N('popupSimplifyMainLink')&&0!==this.article.namespaceId()&&(e=this.text.split('/'),this.text=e[e.length-1],''===this.text)&&1<e.length&&(this.text=e[e.length-2]),this.print=T,void 0===this.title&&m.current.link&&void 0!==m.current.link.href&&(this.title=s(m.current.link.originalTitle||this.article),void 0!==this.oldid)&&this.oldid&&(this.title=M('Revision %s of %s',[this.oldid,this.title])),this.action='view';break;case'userPage':case'article':case'monobook':case'editMonobook':case'editArticle':Reflect.deleteProperty(this,'oldid'),this.article=this.article.articleFromTalkOrArticle(),this.print=R,0===this.id.indexOf('edit')?this.action='edit':this.action='view';break;case'userTalk':case'talk':this.article=this.article.talkPage(),Reflect.deleteProperty(this,'oldid'),this.print=R,this.action='view';break;case'arin':this.print=Nt;break;case'count':this.print=Ct;break;case'google':this.print=At;break;case'editors':this.print=jt;break;case'globalsearch':this.print=Mt;break;case'lastEdit':this.print=Rt,this.title=C('Show the last edit'),this.from='prev',this.to='cur';break;ca",
    "se'oldEdit':this.print=Rt,this.title=C('Show the edit made to get revision')+' '+this.oldid,this.from='prev',this.to=this.oldid;break;case'editOld':this.print=R,this.action='edit';break;case'undo':this.print=R,this.action='edit&undo=';break;case'revert':this.print=R,this.action='revert';break;case'nullEdit':this.print=R,this.action='nullEdit';break;case'diffCur':this.print=Rt,this.title=M('Show changes since revision %s',[this.oldid]),this.from=this.oldid,this.to='cur';break;case'editUserTalk':case'editTalk':Reflect.deleteProperty(this,'oldid'),this.article=this.article.talkPage(),this.action='edit',this.print=R;break;case'newUserTalk':case'newTalk':this.article=this.article.talkPage(),this.action='edit&section=new',this.print=R;break;case'lastContrib':case'sinceMe':this.print=Ht;break;case'togglePreviews':this.text=C(m.option.simplePopups?'enable previews':'disable previews');case'disablePopups':case'purgePopups':this.print=Et;break;default:this.print=function(){return'Unknown navlink type: '+this.id}}}}}function P(n){var o=window.event?window.event.keyCode:n.keyCode||n.which;if(o&&m.current.link&&m.current.link.navpopup){if(27===o)return ie(),!1;var r=String.fromCharCode(o),s=m.current.link.navpopup.mainDiv.getElementsByTagName('A');let e=0,t,i;if(P.lastPopupLinkSelected)for(t=0;t<s.length;++t)s[t]===P.lastPopupLinkSelected&&(e=t);for(i=0;i<s.length;++i)if(s[t=(e+i+1)%s.length].getAttribute('popupkey')===r)return n&&n.preventDefault&&n.preventDefault(),s[t].trigger('focus'),P.lastPopupLinkSelected=s[t],!1;return!document.oldPopupOnkeypress||document.oldPopupOnkeypress(n)}}function yt(){document.onkeypress!==P&&(document.oldPopupOnkeypress=document.onkeypress),document.onkeypress=P}function St(){P.lastPopupLinkSelected=null;try{document.oldPopupOnkeypress&&document.oldPopupOnkeypress===P?document.onkeypress=null:document.onkeypress=document.oldPopupOnkeypress}catch{}}function Lt(e,t){let i=t;var n,o;return N('popupShortcutKeys')?(t=e,n=`popupkey=\"${i}\"`,n=(o=t.indexOf('>'))<0?t:t.substring(0,o)+' '+n+t.substring(o),' '===i&&(i=C('spacebar')),n.replace(RegExp('^(.*?)(title=\")(.*?)(\".*)$','i'),`$1$2$3 [${i}]$4`)):e}function xt(u){if(u.owner&&u.owner.diffData){var c=u.owner;X(c);let t,i=[];try{t=k(u.data).query.pages;for(let e=0;e<t.length;e++)i=i.concat(t[e].revisions);for(let e=0;e<i.length;e++)i[e].revid===c.diffData.oldRev.revid?c.diffData.oldRev.revision=i[e]:i[e].revid===c.diffData.newRev.revid&&(c.diffData.newRev.revision=i[e])}catch(e){w('Could not get diff')}{u=c;let e=u.diffData.oldRev.revision.content.split('\\n'),t=u.diffData.newRev.revision.content.split('\\n'),i=Ut(e,t,N('popupDiffContextLines')),n=(e=i.a,t=i.b,!1),o=(N('popupDiffMaxLines'),(e.length>m.option.popupDiffMaxLines||t.length>m.option.popupDiffMaxLines)&&(n=!0,i=Ut(e.slice(0,m.option.popupDiffMaxLines),t.slice(0,m.option.popupDiffMaxLines),m.option.popupDiffContextLines),e=i.a,t=i.b),gt(e,t)),r=((e,t,i)=>{let n=i,o=(void 0===n&&(n=2),[]),r=[],s=[],a=[],p,l;for(p=0;p<e.length;++p)e[p].paired?((t,i,n,o)=>{if(!i[n].row&&0!==i[n].row)return 1;let r=0;for(let e=0;e<t.length;++e)if((t[e].row||0===t[e].row)&&0<(e-i[n].row)*(n-t[e].row)){if(o)return 1;r++}return r})(t,e,p,!0)&&(o[p]=1,s[e[p].row]=1):o[p]=1;for(p=0;p<t.length;++p)1===s[p]||t[p].paired||(s[p]=1);for(p=0;p<t.length;++p)if(1===s[p])for(l=Math.max(0,p-n);l<Math.min(t.length,p+n);++l)s[l]||(s[l]=1,o[t[l].row]=.5);for(p=0;p<e.length;++p)if(1===o[p])for(l=Math.max(0,p-n);l<Math.min(e.length,p+n);++l)o[l]||(o[l]=1,s[e[l].row]=.5);for(p=0;p<s.length;++p)0<s[p]&&(t[p].paired?a.push(t[p].text):a.push(t[p]));for(p=0;p<o.length;++p)0<o[p]&&(e[p].paired?r.push(e[p].text):r.push(e[p]));return{a:r,b:a}})(o.o,o.n),s=r.a,a=r.b,p=!String.prototype.parenSplit.isNative,l='<hr />';N('popupDiffDates')&&(l=l+(e=>{var t='<table class=\"popup_diff_dates\">';return(t+=Pt(e.diffData.newRev.revision,M('New revision')))+Pt(e.diffData.oldRev.revision,M('Old revision'))+'</table>'})(u)+'<hr />'),Oe((l+=((e,t)=>{var i=RegExp('(<del[\\\\s\\\\S]*?</del>|<ins[\\\\s\\\\S]*?</ins>)'),n=e.parenSplit(i);let o=[''];for(let e=0;e<n.length;e+=2)n[e].length<2*t?(o[o.length-1]+=n[e],e+1<n.length&&(o[o.length-1]+=n[e+1])):(0<e&&(o[o.length-1]+=n[e].substring(0,t)),e+1<n.length&&o.push(n[e].substring(n[e].length-t)+n[e+1]));for(;0<o.length&&!o[0];)o=o.slice(1);return o})(((e,t,i)=>{var n=RegExp('([[]{2}|[\\\\]]{2}|[{]{2,3}|[}]{2,3}|[|]|=|<|>|[*:]+|\\\\s|\\\\b)');let o,r,s;for(s=i?(r=e.split(/\\b/),t.split(/\\b/)):(r=e.parenSplit(n),t.parenSplit(n)),o=0;o<r.length;++o)r[o]=r[o].entify();for(o=0;o<s.length;++o)s[o]=s[o].entify();var a,p=gt(r,s);let l='',u=[],c=0;for(o=0;o<p.n.length;++o)p.n[o].paired&&(c>p.n[o].row&&(p.o[p.n[o].row]=p.o[p.n[o].row].text,p.n[o]=p.n[o].text),c<p.n[o].row)&&(c=p.n[o].row);for(o=0;o<p.o.length&&!p.o[o].paired;++o)u.push(p.o[o]);for(l+=ut(u),u=[],o=0;o<p.n.length;++o){for(;o<p.n.length&&!p.n[o].paired;)u.push(p.n[o++]);if(l+=(a=u).length?`<ins class='popupDiff'>${a.join('')}</ins>`:'',u=[],o<p.n.length){l+=p.n[o].text;let e=p.n[o].row+1;for(;e<p.o.length&&!p.o[e].paired;)u.push(p.o[e++]);l+=ut(u),u=[]}}return l})(s.join('\\n'),a.join('\\n'),p),N('popupDiffContextCharacters')).join('<hr />')).split('\\n').join('<br>')+(n?`<hr /><b>${C('Diff truncated for performance reasons')}</b>`:''),'popupPreview',u.idNumber)}}}function Ut(e,t,i){let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)++n;let o=e.length-1,r=t.length-1;for(;0<=o&&0<=r&&e[o]===t[r];)--o,--r;return{a:e.slice(Math.max(0,n-1-i),Math.min(e.length+1,o+i+1)),b:t.slice(Math.max(0,n-1-i),Math.min(t.length+1,r+i+1))}}function Pt(e,t){var i,n='',o=new Date(e.timestamp),o=(o=o,n=Qe()?Xe(o)+' '+Ye(o):'ISO 8601'===Ge()?d(r,[(i=Ze(o,g())).getFullYear(),i.getMonth()+1,i.getDate()]).join('-')+'T'+d(r,[i.getHours(),i.getMinutes(),i.getSeconds()]).join(':'):((i=N('popupDateTimeFormatterOptions')).timeZone=g(),o.toLocaleString(Ve(),i)),Dt({url:mw.config.get('wgScript')+'?oldid='+e.revid,text:t,title:t}));return c('<tr><td>%s</td><td>%s</td></tr>',[o,n])}function Rt(e){return T({article:e.article,action:e.to+'&oldid='+e.from,newWin:e.newWin,noPopup:e.noPopup,text:e.text,title:e.title,actionName:'diff'})}function R(e){if(typeof e.article!=typeof{}||'string'!=typeof e.action||'string'!=typeof e.text)return null;void 0===e.oldid&&(e.oldid=null);var t=e.oldid;/^(edit|view|revert|render)$|^raw/.test(e.action)||(e.oldid=null);let i=C(e.action+'Hint');var n=[e.oldid,s(e.article)];let o=M('revision %s of %s',n);switch(f('revisionString='+o),e.action){case'edit&section=new':i=C('newSectionHint');break;case'edit&undo=':e.diff&&'prev'!==e.diff&&t?e.action+=e.diff+'&undoafter='+t:t&&(e.action+=t),i=C('undoHint');break;case'raw&ctype=text/css':i=C('rawHint');break;case'revert':var r=xe(m.current.link.href);e.action=`edit&autoclick=wpSave&actoken=${p()}&autoimpl=${C('autoedit_version')}&autosummary=`+((e,t)=>{let i='';return(i=N('prev'===t?'popupQueriedRevertToPreviousSummary':'popupQueriedRevertSummary'))+'&autorv='+e})(e.oldid,r.diff),'prev'===r.diff&&(e.action+='&direction=prev',o=M('the revision prior to revision %s of %s',n)),N('popupRevertSummaryPrompt')&&(e.action+='&autosummaryprompt=true'),N('popupMinorReverts')&&(e.action+='&autominor=true'),f('revisionString is now '+o);break;case'nullEdit':e.action=`edit&autoclick=wpSave&actoken=${p()}&autoimpl=${C('autoedit_version')}&autosummary=`+C('nullEditSummary');break;case'historyfeed':e.action='history&feed=rss';break;case'markpatrolled':e.action='markpatrolled&rcid='+e.rcid}return i=i?e.oldid?c(i,[o]):c(i,[s(e.article)]):s(e.article+'&action='+e.action)+e.oldid?'&oldid='+e.oldid:'',T({article:e.article,action:e.action,text:e.text,newWin:e.newWin,title:i,oldid:e.oldid,noPopup:e.noPopup,onclick:e.onclick})}function T(e){if(void 0===e.article||void 0===e.action)return w('got undefined article or action in titledWikiLink'),null;var t=m.wiki.titlebase+e.article.urlString();let i=t,n=(void 0!==e.actionName&&e.actionName||(e.actionName='action'),'view'!==e.action&&(i=`${t}&${e.actionName}=`+e.action),'edit'===e.action&&(i+='&wpChangeTags=Popups%2CAutomation%20tool'),void 0!==e.oldid&&e.oldid&&(i+='&oldid='+e.oldid),m.misc.defaultNavlinkClassname);return void 0!==e.className&&e.className&&(n=e.className),E({url:i,newWin:e.newWin,title:void 0!==e.title?e.title:null,text:void 0!==e.text?e.text:null,className:n,noPopup:e.noPopup,onclick:e.onclick})}function Tt(e,t){t?window.open(e):document.location=e}function $t(t,i){for(let e=0;m.current.links&&e<m.current.links.length;++e)m.current.links[e].navpopup&&((t||i)&&m.current.links[e].navpopup.banish(),m.current.links[e].simpleNoMore=!1,t)&&(m.current.links[e].navpopup=null)}function It(e){return e.onclick=c('pg.fn.modifyWatchlist(\\'%s\\',\\'%s\\');return false;',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),this.id]),R(e)}function Ht(e){let t,i='',n='';switch(e.id){case'lastContrib':n=c('pg.fn.getLastContrib(\\'%s\\',%s)',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),e.newWin]),i=C('lastContribHint');break;case'sinceMe':n=c('pg.fn.getDiffSinceMyEdit(\\'%s\\',%s)',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),e.newWin]),i=C('sinceMeHint')}return t='javascript:'+n,n+=';return false;',E({url:t,newWin:!1,title:i,text:e.text,noPopup:e.noPopup,onclick:n})}function Et(e){var t=c('javascript:pg.fn.%s()',[e.id]),i=C(c('%sHint',[e.id])),n=c('pg.fn.%s();return false;',[e.id]);return E({url:t,newWin:!1,title:i,text:e.text,noPopup:e.noPopup,onclick:n})}function t(e){if(void 0===e.specialpage||!e.specialpage)return null;var t=m.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[m.nsSpecialId]+':'+e.specialpage;null==e.sep&&(e.sep='&target=');let i=e.article.urlString({keepSpaces:'Search'===e.specialpage}),n=C(e.specialpage+'Hint');switch(e.specialpage){case'Log':switch(e.sep){case'&user=':n=C('userLogHint');break;case'&type=block&page=':n=C('blockLogHint');break;case'&page=':n=C('pageLogHint');break;case'&type=protect&page=':n=C('protectLogHint');break;case'&type=delete&page=':n=C('deleteLogHint');break;default:f('Unknown log type, sep='+e.sep),n='Missing hint (FIXME)'}break;case'PrefixIndex':i+='/'}return n=n?c(n,[s(e.article)]):s(e.specialpage+':'+e.article),E({url:t+e.s",
    "ep+i,title:n,text:e.text,newWin:e.newWin,noPopup:e.noPopup})}function Dt(e){if(void 0===e.url)return null;let t=`<a href=\"${e.url.split('\"').join('%22')}\"`;void 0!==e.title&&e.title&&(t+=` title=\"${m.escapeQuotesHTML(e.title)}\"`),void 0!==e.onclick&&e.onclick&&(t+=` onclick=\"${m.escapeQuotesHTML(e.onclick)}\"`),e.noPopup&&(t+=' noPopup=1');let i;return(i=null==e.newWin?N('popupNewWindows'):e.newWin)&&(t+=' target=\"_blank\"'),void 0!==e.className&&e.className&&(t+=` class=\"${e.className}\"`),t+='>','string'==typeof e.text&&(t+=m.escapeQuotesHTML(m.unescapeQuotesHTML(e.text))),t+='</a>'}function I(e){e.newTarget&&f('changeLinkTargetLink: newTarget='+e.newTarget),e.oldTarget!==decodeURIComponent(e.oldTarget)&&f('This might be an input problem: '+e.oldTarget);var t=mw.util.escapeRegExp(e.oldTarget);let i=t.charAt(0).toUpperCase(),n=(i=`[${i}${i.toLowerCase()}]`)+t.substring(1);n=`\\\\s*(${n=n.split(RegExp('(?:[_ ]+|%20)','g')).join('(?:[_ ]+|%20)').split('\\\\(').join('(?:%28|\\\\()').split('\\\\)').join('(?:%29|\\\\))')}(?:#[^\\\\[\\\\|]*)?)\\\\s*`;var o,r,t=e.title||mw.config.get('wgPageName').split('_').join(' '),t=T({article:new v(t),newWin:e.newWin,action:'edit',text:e.text,title:e.hint,className:'popup_change_title_link'});let s='';return s=e.newTarget?(r=e.newTarget,o=mw.util.escapeRegExp(e.newTarget),e.alsoChangeLabel?(s+=`s~\\\\[\\\\[${n}\\\\]\\\\]~[[${r}]]~g;`)+`s~\\\\[\\\\[${n}[|]~[[${r}|~g;`+`s~\\\\[\\\\[${o}\\\\|${o}\\\\]\\\\]~[[${r}]]~g`:(s+=`s~\\\\[\\\\[${n}\\\\]\\\\]~[[${r}|$1]]~g;`)+`s~\\\\[\\\\[${n}[|]~[[${r}|~g;`+`s~\\\\[\\\\[${o}\\\\|${o}\\\\]\\\\]~[[${r}]]~g`):(s+=`s~\\\\[\\\\[${n}\\\\]\\\\]~$1~g;`)+`s~\\\\[\\\\[${n}[|](.*?)\\\\]\\\\]~$2~g`,s='autoedit='+encodeURIComponent(s),s=(s=(s=(s=(s+=`&autoclick=${encodeURIComponent(e.clickButton)}&actoken=`+encodeURIComponent(p()))+(null===e.minor?'':'&autominor='+encodeURIComponent(e.minor)))+(null===e.watch?'':'&autowatch='+encodeURIComponent(e.watch)))+('&autosummary='+encodeURIComponent(e.summary)))+('&autoimpl='+encodeURIComponent(C('autoedit_version'))),o=t,r=s,(o=o.parenSplit(RegExp('(href=\"[^\"]+?)\"','i'))).length<2?null:(e=o.shift()+o.shift(),(e+=`&${r}\"`)+o.join(''))}function Nt(e){var t;return H(e)&&e.article.isIpUser()&&m.wiki.wikimedia?(t=e.article.userName(),E({url:'http://ws.arin.net/cgi-bin/whois.pl?queryinput='+encodeURIComponent(t),newWin:e.newWin,title:M('Look up %s in ARIN whois database',[t]),text:e.text,noPopup:1})):null}function H(e){return typeof e.article==typeof{}&&'string'==typeof e.text}function Ct(e){if(!H(e))return null;if(!m.wiki.wikimedia)return null;var t=e.article.userName(),i=N('popupEditCounterTool');let n;var o='https://xtools.wmflabs.org/ec?user=$1&project=$2.$3&uselang='+mw.config.get('wgUserLanguage');return E({url:n='custom'===i?c(N('popupEditCounterUrl'),[encodeURIComponent(t),(e=>{let t=mw.config.get('wgDBname');return e||(t+='_p'),t})()]):(i=m.wiki.hostname.split('.'),c(o,[encodeURIComponent(t),i[0],i[1]])),title:M('editCounterLinkHint',[t]),newWin:e.newWin,text:e.text,noPopup:1})}function Mt(e){return H(e)?E({url:`https://global-search.toolforge.org/?uselang=${mw.config.get('wgUserLanguage')}&q=`+e.article.urlString({keepSpaces:!0}),newWin:e.newWin,title:M('globalSearchHint',[s(e.article)]),text:e.text,noPopup:1}):null}function At(e){return H(e)?E({url:`https://www.google.com/search?q=%22${e.article.urlString({keepSpaces:!0})}%22`,newWin:e.newWin,title:M('googleSearchHint',[s(e.article)]),text:e.text,noPopup:1}):null}function jt(e){var t;return H(e)?(t=e.article.articleFromTalkPage()||e.article,E({url:`https://xtools.wmflabs.org/articleinfo/${encodeURI(m.wiki.hostname)}/${t.urlString()}?uselang=`+mw.config.get('wgUserLanguage'),title:M('editorListHint',[t]),newWin:e.newWin,text:e.text,noPopup:1})):null}function E(e){return e.className=null===e.className?'popupNavLink':e.className,Dt(e)}function Ot(e,t){f('getHistoryInfo');var i=t?e=>{t(Wt(e))}:Wt;f('getHistory'),e=`${m.wiki.apiwikibase}?format=json&formatversion=2&action=query&prop=revisions&titles=${new v(e).urlString()}&rvlimit=`+N('popupHistoryLimit'),f('getHistory: url='+e),he(e,m.idNumber+'history',i)}function Wt(e){e=k(e.data);try{var t=y(e.query.pages).revisions,i=[];for(let e=0;e<t.length;++e)i.push({oldid:t[e].revid,editor:t[e].user});return f(`processed ${i.length} edits`),_t(i,mw.config.get('wgUserName'))}catch(e){return f('Something went wrong with JSON business'),_t([])}}function _t(t,i){var n={};n.edits=t,n.userName=i;for(let e=0;e<t.length;++e)void 0===n.myLastEdit&&i&&t[e].editor===i&&(n.myLastEdit={index:e,oldid:t[e].oldid,previd:0===e?null:t[e-1].oldid}),void 0===n.firstNewEditor&&t[e].editor!==t[0].editor&&(n.firstNewEditor={index:e,oldid:t[e].oldid,previd:0===e?null:t[e-1].oldid});return n}function D(e,t){m.optionDefault[e]=t}function N(e){var t;return t=e,null==m.option[t]&&(void 0!==window[t]?m.option[t]=window[t]:m.option[t]=m.optionDefault[t]),m.option[e]}m.fn.getLastContrib=function(i,n){Ot(i,e=>{var t;t={page:i,newWin:n},(e=e).edits&&e.edits.length?e.firstNewEditor?Tt(m.wiki.titlebase+new v(t.page).urlString()+'&diff=cur&oldid='+e.firstNewEditor.oldid,t.newWin):alert(M('Only found one editor: %s made %s edits',[e.edits[0].editor,e.edits.length])):alert('Popups: an odd thing happened. Please retry.')})},m.fn.getDiffSinceMyEdit=function(n,o){Ot(n,e=>{var t,i;t={page:n,newWin:o},(e=e).edits&&e.edits.length?(i=t.page.split('_').join(' '),e.myLastEdit?0===e.myLastEdit.index?alert(M('%s seems to be the last editor to the page %s',[e.userName,i])):Tt(m.wiki.titlebase+new v(t.page).urlString()+'&diff=cur&oldid='+e.myLastEdit.oldid,t.newWin):alert(M('Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s',[e.userName,N('popupHistoryLimit'),i]))):alert('Popups: something fishy happened. Please try again.')})},m.fn.purgePopups=function(){$t(!0),wt(),m.option={},ge()},m.fn.disablePopups=function(){$t(!1,!0),j(null,!0)},m.fn.togglePreviews=function(){$t(!0,!0),m.option.simplePopups=!m.option.simplePopups,ge()},m.fn.modifyWatchlist=async function(e,t){var i={action:'watch',formatversion:2,titles:e,uselang:mw.config.get('wgUserLanguage')},n=('unwatch'===t&&(i.unwatch=!0),mw.Title.newFromText(e));let o;o=n&&0<n.getNamespaceId()&&n.getNamespaceId()%2==1?'watch'===t?'addedwatchtext-talk':'removedwatchtext-talk':'watch'===t?'addedwatchtext':'removedwatchtext',await Promise.all([x().postWithToken('watch',i),x().loadMessagesIfMissing([o])]),mw.notify(mw.message(o,e).parseDom())},m.string={article:'article',category:'category',categories:'categories',image:'image',images:'images',stub:'stub','section stub':'section stub','Empty page':'Empty page',kB:'kB',bytes:'bytes',day:'day',days:'days',hour:'hour',hours:'hours',minute:'minute',minutes:'minutes',second:'second',seconds:'seconds',week:'week',weeks:'weeks',search:'search',SearchHint:'Find English Wikipedia articles containing %s',web:'web',global:'global',globalSearchHint:'Search across Wikipedias in different languages for %s',googleSearchHint:'Google for %s',actions:'actions',popupsMenu:'popups',togglePreviewsHint:'Toggle preview generation in popups on this page','enable previews':'enable previews','disable previews':'disable previews','toggle previews':'toggle previews','show preview':'show preview',reset:'reset','more...':'more...',disable:'disable popups',disablePopupsHint:'Disable popups on this page. Reload page to re-enable.',historyfeedHint:'RSS feed of recent changes to this page',purgePopupsHint:'Reset popups, clearing all cached popup data.',PopupsHint:'Reset popups, clearing all cached popup data.',spacebar:'space',view:'view','view article':'view article',viewHint:'Go to %s',talk:'talk','talk page':'talk page','this&nbsp;revision':'this&nbsp;revision','revision %s of %s':'revision %s of %s','Revision %s of %s':'Revision %s of %s','the revision prior to revision %s of %s':'the revision prior to revision %s of %s','Toggle image size':'Click to toggle image size',del:'del',delete:'delete',deleteHint:'Delete %s',undeleteShort:'un',UndeleteHint:'Show the deletion history for %s',protect:'protect',protectHint:'Restrict editing rights to %s',unprotectShort:'un',unprotectHint:'Allow %s to be edited by anyone again','send thanks':'send thanks',ThanksHint:'Send a thank you notification to this user',move:'move','move page':'move page',MovepageHint:'Change the title of %s',edit:'edit','edit article':'edit article',editHint:'Change the content of %s','edit talk':'edit talk',new:'new','new topic':'new topic',newSectionHint:'Start a new section on %s','null edit':'null edit',nullEditHint:'Submit an edit to %s, making no changes ',hist:'hist',history:'history',historyHint:'List the changes made to %s',last:'prev',lastEdit:'lastEdit','mark patrolled':'mark patrolled',markpatrolledHint:'Mark this edit as patrolled','Could not marked this edit as patrolled':'Could not marked this edit as patrolled','show last edit':'most recent edit','Show the last edit':'Show the effects of the most recent change',lastContrib:'lastContrib','last set of edits':'latest edits',lastContribHint:'Show the net effect of changes made by the last editor',cur:'cur',diffCur:'diffCur','Show changes since revision %s':'Show changes since revision %s','%s old':'%s old',oldEdit:'oldEdit',purge:'purge',purgeHint:'Demand a fresh copy of %s',raw:'source',rawHint:'Download the source of %s',render:'simple',renderHint:'Show a plain HTML version of %s','Show the edit made to get revision':'Show the edit made to get revision',sinceMe:'sinceMe','changes since mine':'diff my edit',sinceMeHint:'Show changes since my last edit','Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s':'Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s',eds:'eds',editors:'editors',editorListHint:'List the users who have edited %s',related:'related',relatedChanges:'relatedChanges','related changes':'related changes',RecentchangeslinkedHint:'Show changes in articles related to %s',editOld:'editOld',rv:'rv',revert:'revert',revertHint:'Revert to %s',defaultpopupReviewedSummary:'Accepted by reviewing the [[Special:diff/%s/%s|difference]] between this version and previously accepted version using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRedlinkSummary:'Removing link to empty page [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultp",
    "opupFixDabsSummary:'Disambiguate [[%s]] to [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupFixRedirsSummary:'Redirect bypass from [[%s]] to [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupExtendedRevertSummary:'Revert to revision dated %s by %s, oldid %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRevertToPreviousSummary:'Revert to the revision prior to revision %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRevertSummary:'Revert to revision %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupQueriedRevertToPreviousSummary:'Revert to the revision prior to revision $1 dated $2 by $3 using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupQueriedRevertSummary:'Revert to revision $1 dated $2 by $3 using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRmDabLinkSummary:'Remove link to dab page [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',Redirects:'Redirects',' to ':' to ','Bypass redirect':'Bypass redirect','Fix this redirect':'Fix this redirect',disambig:'disambig',disambigHint:'Disambiguate this link to [[%s]]','Click to disambiguate this link to:':'Click to disambiguate this link to:','remove this link':'remove this link','remove all links to this page from this article':'remove all links to this page from this article','remove all links to this disambig page from this article':'remove all links to this disambig page from this article',mainlink:'mainlink',wikiLink:'wikiLink',wikiLinks:'wikiLinks','links here':'links here',whatLinksHere:'whatLinksHere','what links here':'what links here',WhatlinkshereHint:'List the pages that are hyperlinked to %s',unwatchShort:'un',watchThingy:'watch',watchHint:'Add %s to my watchlist',unwatchHint:'Remove %s from my watchlist','Only found one editor: %s made %s edits':'Only found one editor: %s made %s edits','%s seems to be the last editor to the page %s':'%s seems to be the last editor to the page %s',rss:'rss','Diff truncated for performance reasons':'Diff truncated for performance reasons','Old revision':'Old revision','New revision':'New revision','Something went wrong :-(':'Something went wrong :-(','Empty revision, maybe non-existent':'Empty revision, maybe non-existent','Unknown date':'Unknown date','Empty category':'Empty category','Category members (%s shown)':'Category members (%s shown)','No image links found':'No image links found','File links':'File links','No image found':'No image found','Image from Commons':'Image from Commons','Description page':'Description page','Alt text:':'Alt text:',revdel:'Hidden revision',user:'user','user&nbsp;page':'user&nbsp;page','user talk':'user talk','edit user talk':'edit user talk','leave comment':'leave comment',email:'email','email user':'email user',EmailuserHint:'Send an email to %s',space:'space',PrefixIndexHint:'Show pages in the userspace of %s',count:'count','edit counter':'edit counter',editCounterLinkHint:'Count the contributions made by %s',contribs:'contribs',contributions:'contributions',deletedContribs:'deleted contributions',DeletedcontributionsHint:'List deleted edits made by %s',ContributionsHint:'List the contributions made by %s',log:'log','user log':'user log',userLogHint:'Show %s\\'s user log',arin:'ARIN lookup','Look up %s in ARIN whois database':'Look up %s in the ARIN whois database',unblockShort:'un',block:'block','block user':'block user',IpblocklistHint:'Unblock %s',BlockipHint:'Prevent %s from editing','block log':'block log',blockLogHint:'Show the block log for %s',protectLogHint:'Show the protection log for %s',pageLogHint:'Show the page log for %s',deleteLogHint:'Show the deletion log for %s','Invalid %s %s':'The option %s is invalid: %s','No backlinks found':'No backlinks found',' and more':' and more',undo:'undo',undoHint:'undo this edit','Download preview data':'Download preview data','Invalid or IP user':'Invalid or IP user','Not a registered username':'Not a registered username',BLOCKED:'BLOCKED','Has blocks':'Has blocks',' edits since: ':' edits since: ','last edit on ':'last edit on ','Enter a non-empty edit summary or press cancel to abort':'Enter a non-empty edit summary or press cancel to abort','Failed to get revision information, please edit manually.\\n\\n':'Failed to get revision information, please edit manually.\\n\\n','The %s button has been automatically clicked. Please wait for the next page to load.':'The %s button has been automatically clicked. Please wait for the next page to load.','Could not find button %s. Please check the settings in your javascript file.':'Could not find button %s. Please check the settings in your javascript file.','Open full-size image':'Open full-size image',zxy:'zxy',autoedit_version:'np20140416'},localStorage.removeItem('popupNoTranslation');let Ft=new Set;function C(e){return void 0!==A&&A&&A[e]?A[e]:(Ft.has(e)||'string'==typeof e&&(e.includes('&autoimpl=np20140416&actoken=')||e.endsWith('Hint'))||(Ft.add(e),console.info('popupNoTranslation',Ft)),e)}function M(e,t){let i=t;return typeof i!=typeof[]&&(i=[i]),c(C(e),i)}function Bt(){o(),n()}window.popupNoTranslation=Ft,'complete'===document.readyState?Bt():$(window).on('load',Bt);{let t=!0;function zt(e){'mw-content-text'===e.attr('id')&&t?t=!1:n(function(){for(let e=0;m.current.links&&e<m.current.links.length;++e){var t=m.current.links[e].navpopup;t&&t.isVisible()&&L.tracker.addHook(Fe(t))}e.each(function(){this.ranSetupTooltipsAlready=!1,j(this)})})}mw.hook('wikipage.content').add(zt),mw.hook('ext.echo.overlay.beforeShowingOverlay').add(e=>{zt(e.find('.mw-echo-state'))})}});"
].join("")); 

/* </pre> */