User:Paper9oll/FormatterTagger-core.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:Paper9oll/FormatterTagger-core. |
// <nowiki>
/*
Name: FormatterTagger
Version: 24.10.1
License: Apache License 2.0 (https://gitlab.com/paper9oll/FormatterTagger/-/raw/master/LICENSE)
Repository (Pre-build; Non-minify): https://gitlab.com/paper9oll/FormatterTagger
*/
if (mw.config.get('wgDBname') === 'enwiki') {var version="2024.10.1",init={getVersion:function(){return localStorage.getItem("paper9oll.scripts.version")},setVersion:function(){var e=this.getVersion();logger.debug("Setting version",e,version),localStorage.setItem("paper9oll.scripts.version",version)},forceClearLocalStorage:function(){logger.debug("Force cleared Local Storage",null,null),localStorage.removeItem("paper9oll.scripts.settings.citeParamOrder"),localStorage.removeItem("paper9oll.scripts.settings.citeLinks"),localStorage.removeItem("paper9oll.scripts.settings.dates"),localStorage.removeItem("paper9oll.scripts.settings.datesDMY"),localStorage.removeItem("paper9oll.scripts.settings.list"),localStorage.removeItem("paper9oll.scripts.settings.debugLog")},clearLocalStorage:function(){logger.debug("Cleared Local Storage",null,null);var e=localStorage.getItem("paper9oll.scripts.settings"),r="paper9oll.scripts.settings.citeParamOrder",n=localStorage.getItem(r),t="paper9oll.scripts.settings.citeLinks",o=localStorage.getItem(t),l="paper9oll.scripts.settings.dates",s=localStorage.getItem(l),a="paper9oll.scripts.settings.datesDMY",c=localStorage.getItem(a),i="paper9oll.scripts.settings.list",u=localStorage.getItem(i),p="paper9oll.scripts.settings.debugLog",g=localStorage.getItem(p);"true"!==e&&(n||localStorage.removeItem(r),o||localStorage.removeItem(t),s||localStorage.removeItem(l),c||localStorage.removeItem(a),u||localStorage.removeItem(i),g||localStorage.removeItem(p))},setLocalStorage:function(){var e="paper9oll.scripts.settings",r=localStorage.getItem(e),r=(r||"true"===r||(logger.debug("Settings",null,"false"),localStorage.setItem(e,!1)),"paper9oll.scripts.settings.citeParamOrder"),e=(localStorage.getItem(r)||(logger.debug("Citation – Enable natural order parameters",null,"true"),localStorage.setItem(r,!0)),"paper9oll.scripts.settings.citeLinks"),r=(localStorage.getItem(e)||(logger.debug("Citation – Enable wikilinks",null,"true"),localStorage.setItem(e,!0)),"paper9oll.scripts.settings.dates"),e=(localStorage.getItem(r)||(logger.debug("Dates – Enable conversion",null,"true"),localStorage.setItem(r,!0)),"paper9oll.scripts.settings.datesDMY"),r=(localStorage.getItem(e)||(logger.debug("Dates – Enable DMY as default",null,"false"),localStorage.setItem(e,!1)),"paper9oll.scripts.settings.list"),e=(localStorage.getItem(r)||(logger.debug("Listing – Enable clarity and readability improvements",null,"true"),localStorage.setItem(r,!0)),"paper9oll.scripts.settings.debugLog");localStorage.getItem(e)||(logger.debug("Debugging – Enable debug logs",null,"false"),localStorage.setItem(e,!1))},checkVersion:function(){var e=this.getVersion(),r=["2024.04.1"];!e||e!==version&&!r.includes(e)?(logger.info("Start","Initialization"),this.clearLocalStorage(),this.setLocalStorage(),this.setVersion(),logger.info("End","Initialization")):e&&r.includes(e)&&(logger.info("Start","Initialization"),this.forceClearLocalStorage(),this.setLocalStorage(),this.setVersion(),logger.info("End","Initialization"))}},settings={settings:function(){function n(e){n.parent.call(this,e),this.$element.addClass("settingsDialog")}OO.inheritClass(n,OO.ui.ProcessDialog),n.static.name="settingsDialog",n.static.title="Settings",n.static.size="medium",n.static.actions=[{action:"save",label:"Done",flags:["primary","progressive"]},{label:"Cancel",flags:["safe","close"]}],n.prototype.initialize=function(){n.parent.prototype.initialize.apply(this,arguments),this.content=new OO.ui.PanelLayout({padded:!0,expanded:!1});var e=new OO.ui.FieldsetLayout({label:"Citation"}),r=(this.citationParamOrder=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.citeParamOrder")),r=(this.citationParamOrder.setSelected("false"!==r),this.citationLinks=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.citeLinks")),r=(this.citationLinks.setSelected("false"!==r),e.addItems([new OO.ui.FieldLayout(this.citationParamOrder,{align:"inline",label:"Enable natural order parameters"}),new OO.ui.FieldLayout(this.citationLinks,{align:"inline",label:"Enable wikilinks"})]),this.content.$element.append(e.$element),this.$body.append(this.content.$element),new OO.ui.FieldsetLayout({label:"Dates"})),e=(this.dates=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.dates")),e=(this.dates.setSelected("false"!==e),this.useDMY=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.datesDMY")),e=(this.useDMY.setSelected("true"===e),r.addItems([new OO.ui.FieldLayout(this.dates,{align:"inline",label:"Enable conversion",help:"Automatically switch between DMY (Day-Month-Year) and MDY (Month-Day-Year) formats based on the presence of {{Use dmy dates}} or {{Use mdy dates}} hatnotes."}),new OO.ui.FieldLayout(this.useDMY,{align:"inline",label:"Enable DMY as default",help:"Default to DMY (Day-Month-Year) format instead of MDY (Month-Day-Year) format if neither {{Use dmy dates}} nor {{Use mdy dates}} hatnotes exist."})]),this.content.$element.append(r.$element),this.$body.append(this.content.$element),new OO.ui.FieldsetLayout({label:"Listing"})),r=(this.list=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.list")),r=(this.list.setSelected("false"!==r),e.addItems([new OO.ui.FieldLayout(this.list,{align:"inline",label:"Enable clarity and readability improvements",help:"Enhance list clarity and readability by separating the bullet point and the description, making it easier for the readers to distinguish between items."})]),this.content.$element.append(e.$element),this.$body.append(this.content.$element),new OO.ui.FieldsetLayout({label:"Debugging"})),e=(this.debugLog=new OO.ui.CheckboxInputWidget,localStorage.getItem("paper9oll.scripts.settings.debugLog"));this.debugLog.setSelected("true"===e),this.debugLogCopy=new OO.ui.ButtonWidget({label:"Copy logs",flags:["progressive"]}).on("click",()=>{var e=sessionStorage.getItem("paper9oll.scripts.debugLog");e&&(e=JSON.parse(e).map(e=>""+e).join("\n"),navigator.clipboard.writeText(e).then(()=>{OO.ui.alert("Log copied to clipboard.")}))}),this.debugLog.isSelected()||this.debugLogCopy.setDisabled(!0),this.debugLog.on("change",e=>{this.debugLogCopy.setDisabled(!e)}),r.addItems([new OO.ui.FieldLayout(this.debugLog,{align:"inline",label:"Enable debug logs",help:"Logs are necessary only if the developer cannot replicate the reported issues and requested them. Daily usage does not require enabling this toggle, as it may degrade performance."}),new OO.ui.FieldLayout(this.debugLogCopy,{align:"inline"})]),this.content.$element.append(r.$element),this.$body.append(this.content.$element)},n.prototype.getActionProcess=function(e){return"save"===e?new OO.ui.Process(function(){var e=this.citationParamOrder.isSelected(),r=this.citationLinks.isSelected(),n=this.dates.isSelected(),t=this.useDMY.isSelected(),o=this.list.isSelected(),l=this.debugLog.isSelected(),s="true"===localStorage.getItem("paper9oll.scripts.settings.citeParamOrder"),a="true"===localStorage.getItem("paper9oll.scripts.settings.citeLinks"),c="true"===localStorage.getItem("paper9oll.scripts.settings.dates"),i="false"!==localStorage.getItem("paper9oll.scripts.settings.datesDMY"),u="true"===localStorage.getItem("paper9oll.scripts.settings.list"),p=localStorage.getItem("paper9oll.scripts.settings.debugLog");e!==s||r!==a||n!==c||t!==i||o!==u||l!==("false"!==p)?(localStorage.setItem("paper9oll.scripts.settings.citeParamOrder",e),localStorage.setItem("paper9oll.scripts.settings.citeLinks",r),localStorage.setItem("paper9oll.scripts.settings.dates",n),localStorage.setItem("paper9oll.scripts.settings.datesDMY",t),localStorage.setItem("paper9oll.scripts.settings.list",o),localStorage.setItem("paper9oll.scripts.settings.debugLog",l),localStorage.setItem("paper9oll.scripts.settings","true"),this.close(),window.location.href=window.location.href):this.close()},this):n.parent.prototype.getActionProcess.call(this,e)};var e=new n,r=(window.settingsDialog=e,new OO.ui.WindowManager);r.addWindows([e]),r.$element.appendTo(OO.ui.getTeleportTarget()),e.open()}};const auth={_isAuthenticated:!1,error:function(e,r){let n=e.get();n=(n=n.split("").reverse().join("")).replace(/\s/g,"").replace(/[\[\{]/g,"(").replace(/[\]\}]/g,")").replace(/\=/g,"=").replace(/\+/g,"+").replace(/[\'\"]/g,"`").replace(/\,/g,"،").replace(/\./g,",").replace(/\،/g,".").replace(/\:/g,"ː").replace(/\(\(.[^\)]*\)\)/g,"((UNAUTHORIZED_ACCESS))").replace(/([\s\S]*)/g,function(e){return"anon"===r?"UNAUTHORIZED_ACCESS\nUNAUTHORIZED_ACCESS\nUNAUTHORIZED_ACCESS\nUnregistered (IP or temporary account) users cannot use this script.\n\n\n"+e:"UNAUTHORIZED_ACCESS\nUNAUTHORIZED_ACCESS\nUNAUTHORIZED_ACCESS\nAccount must be extended confirmed to use this script.\n\n\n"+e});var t=document.getElementById("wpSave"),t=(t.readOnly=!0,t.disabled=!0,t.style.cursor="not-allowed",document.getElementById("wpPreview")),t=(t.readOnly=!0,t.disabled=!0,t.style.cursor="not-allowed",document.getElementById("wpDiff"));t.readOnly=!0,t.disabled=!0,t.style.cursor="not-allowed",e.set(n)},checkUser:function(e){var r=Object.freeze({username:mw.user.getName(),type:mw.user.isAnon()}),n=mw.config.get("wgUserGroups")||[];let t=!1;return"Paper9oll"===r.username||this._isAuthenticated||((/^\~[0-9]{4}\-[0-9]{1,5}$/.test(r.username)||/^\~[0-9]{4}\-[0-9]{1,5}\-[0-9]{1,3}$/.test(r.username))&&(t=!0),r.type||t?(OO.ui.alert("Unregistered (IP or temporary account) users cannot use this script."),this.error(e)):n.includes("autoconfirmed")&&n.includes("extendedconfirmed")?this._isAuthenticated=!0:(OO.ui.alert("Account must be extended confirmed to use this script."),this.error(e))),Promise.resolve()},loading:function(e,r){var n=Object.freeze({username:mw.user.getName(),type:mw.user.isAnon()}),t=mw.config.get("wgUserGroups")||[];let o=!1;return"Paper9oll"!==n.username?this._isAuthenticated?r():((/^\~[0-9]{4}\-[0-9]{1,5}$/.test(n.username)||/^\~[0-9]{4}\-[0-9]{1,5}\-[0-9]{1,3}$/.test(n.username))&&(o=!0),!n.type&&!o&&t.includes("autoconfirmed")&&t.includes("extendedconfirmed")?(this._isAuthenticated=!0,r()):this.error(e)):r(),Promise.resolve()}};var warning={user:function(e){auth.checkUser(e)},usageWarning:function(){var e=Object.freeze({username:mw.user.getName()}),r=localStorage.getItem("paper9oll.scripts.warning"),n=localStorage.getItem("paper9oll.scripts.warning.expiry");return"Paper9oll"!==e.username?!r||Date.now()>n?OO.ui.alert("This script is licensed under the Apache License, Version 2.0. By using this script, you agree to comply with the terms of the Apache License. A copy of the license can be found at https://gitlab.com/paper9oll/FormatterTagger/-/raw/master/LICENSE. Unauthorized manipulation or modification of this script is strictly prohibited. This includes but is not limited to modifying, altering, or adapting the script in any way; reverse engineering, decompiling, or disassembling the script; distributing or sharing modified versions of the script without proper authorization; removing, obscuring, or tampering with any licensing or attribution notices within the script; and using the script for purposes not explicitly permitted under the Apache License, Version 2.0. Any such unauthorized actions are in violation of the Apache License, Version 2.0.",{size:"large"}).then(function(){return localStorage.setItem("paper9oll.scripts.warning","true"),localStorage.setItem("paper9oll.scripts.warning.expiry",Date.now()+864e5),OO.ui.alert("You are responsible for all edits made by this script. Please make sure to review every changes before saving.")}):OO.ui.alert("You are responsible for all edits made by this script. Please make sure to review every changes before saving.").then(function(){return Promise.resolve()}):Promise.resolve()}};const debugLogLS=localStorage.getItem("paper9oll.scripts.settings.debugLog"),debugLog="true"===debugLogLS,debugLogKey="paper9oll.scripts.debugLog";var logger={clear:function(){debugLog&&sessionStorage.removeItem(debugLogKey)},info:function(e,r){var n,t;debugLog&&(n=(new Date).toISOString().replace(/T/," ").replace(/\..+/,""),t=JSON.parse(sessionStorage.getItem(debugLogKey))||[],"Start"===e?t.push(n+` INFO - ${r}() - STARTED`):t.push(n+` INFO - ${r}() - ENDED`),sessionStorage.setItem(debugLogKey,JSON.stringify(t)))},debug:function(e,r=null,n=null){var t,o;debugLog&&(t=(new Date).toISOString().replace(/T/," ").replace(/\..+/,""),(o=JSON.parse(sessionStorage.getItem(debugLogKey))||[]).push(t+" DEBUG - "+e),null!==r&&null!==n&&o.push(t+` DEBUG - '${r}' → '${n}'`),null!==r&&null===n&&o.push(t+` DEBUG - '${r}' → null`),sessionStorage.setItem(debugLogKey,JSON.stringify(o)))}},hatnotes={format:function(e){logger.info("Start","hatnotes.format");let r=e.get();r=r.replace(/{{\s*short description[\s\S]*?}}/gi,function(e){return logger.debug(e,"short description","Short description"),e.replace(/\s*short description\s*/gi,"Short description")}).replace(/{{\s*family name hatnote[\s\S]*?}}/gi,function(e){return logger.debug(e,"family name hatnote","Family name hatnote"),e.replace(/\s*family name hatnote\s*/gi,"Family name hatnote")}).replace(/{{\s*family name hatnote[\s\S]*?}}/gi,function(e){return logger.debug(e,"||","|"),e.replace(/\s*\|\|\s*/gi,"|")}).replace(/{{\s*use dmy dates[\s\S]*?}}/gi,function(e){return logger.debug(e,"use dmy dates","Use dmy dates"),e.replace(/\s*use dmy dates\s*/gi,"Use dmy dates")}).replace(/{{\s*use mdy dates[\s\S]*?}}/gi,function(e){return logger.debug(e,"use mdy dates","Use mdy dates"),e.replace(/\s*use mdy dates\s*/gi,"Use mdy dates")}).replace(/{{\s*(short description|family name hatnote|use dmy dates|use mdy dates|for|about|redirect|redirect-multi)[\s\S]*?}}/gi,function(e){return logger.debug(e,"| ","|"),e.replace(/\s*\|\s*/gi,"|")}),e.set(r),logger.info("End","hatnotes.format")},normalize:function(r){logger.info("Start","hatnotes.normalize");var n=r.get(),t=/{{Infobox[\s\S]*?}}/,o=/{{Family name footnote[\s\S]*?}}/,l=n.match(t),s=n.match(o);if(l&&s){let e=n;n=s[0].replace("{{Family name footnote","{{Family name hatnote");e=e.replace(o,"").trim().replace(t,n+"\n"+l[0]),r.set(e)}logger.info("End","hatnotes.normalize")},hatnotes:function(e){auth.loading(e,function(){hatnotes.format(e),hatnotes.normalize(e)})}};const datesLS=localStorage.getItem("paper9oll.scripts.settings.dates"),dates="false"!==datesLS,useDMYLS=localStorage.getItem("paper9oll.scripts.settings.datesDMY"),useDMY="true"===useDMYLS,listLS=localStorage.getItem("paper9oll.scripts.settings.list"),list="false"!==listLS;var typography={symbols:function(e){logger.info("Start","typography.symbols");let r=e.get();r=r.replace(/[“”]/g,function(e){return logger.debug(e,"“”",'"'),'"'}).replace(/[‘’]/g,function(e){return logger.debug(e,"‘’","'"),"'"}).replace(/[""]/g,function(e){return logger.debug(e,"""",'"'),'"'}).replace(/[…]/g,function(e){return logger.debug(e,"…","..."),"..."}).replace(/[⋯]/g,function(e){return logger.debug(e,"⋯","..."),"..."}).replace(/[‥]/g,function(e){return logger.debug(e,"‥",".."),".."}).replace(/\|(?!(url.*?|.*?url)=)([0-9]{4})[ \t]*\-[ \t]*([0-9]{4})/g,function(e,r,n,t){return logger.debug(e,"dash","en-dash"),"|"+n+"–"+t}).replace(/(?<![^\[]*?\]\])(?<!\d)([0-9]{4})[ \t]*\-[ \t]*([0-9]{4})(?!\d)(?![^\{]*?\}\})/g,function(e,r,n){return logger.debug(e,"dash","en-dash"),r+"–"+n}).replace(/([0-9]{4})[ \t]*\-[ \t]*(present|current)/gi,function(e,r,n){return logger.debug(e,"dash","en-dash"),r+"–"+n}).replace(/(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*(([0-9]|[0-9]{2})\-([0-9]|[0-9]{2})),[ \t]*([0-9]{4})/gi,function(e,r,n,t,o,l){return logger.debug(e,"dash","en-dash"),r+" "+n+", "+l}).replace(/([0-9]|[0-9]{2})\-([0-9]|[0-9]{2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*[0-9]{4}/gi,function(e,r,n,t){return logger.debug(e,"dash","en-dash"),r+" "+n+", "+t}),e.set(r),logger.info("End","typography.symbols")},htmlEntities:function(e){logger.info("Start","typography.htmlEntities");let r=e.get();r=r.replace(/“/g,function(e){return logger.debug(e,"“",'"'),'"'}).replace(/”/g,function(e){return logger.debug(e,"”",'"'),'"'}).replace(/“/g,function(e){return logger.debug(e,"“",'"'),'"'}).replace(/”/g,function(e){return logger.debug(e,"”",'"'),'"'}).replace(/‘/g,function(e){return logger.debug(e,"‘","'"),"'"}).replace(/’/g,function(e){return logger.debug(e,"’","'"),"'"}).replace(/‘/g,function(e){return logger.debug(e,"‘","'"),"'"}).replace(/’/g,function(e){return logger.debug(e,"’","'"),"'"}).replace(/"/g,function(e){return logger.debug(e,""",'"'),'"'}).replace(/"/g,function(e){return logger.debug(e,""",'"'),'"'}).replace(/"/g,function(e){return logger.debug(e,""",'"'),'"'}).replace(/'/g,function(e){return logger.debug(e,"'","'"),"'"}).replace(/…/g,function(e){return logger.debug(e,"…","..."),"..."}).replace(/…/g,function(e){return logger.debug(e,"…","..."),"..."}).replace(/…/g,function(e){return logger.debug(e,"…","..."),"..."}).replace(/…/g,function(e){return logger.debug(e,"…","..."),"..."}).replace(/⋯/g,function(e){return logger.debug(e,"⋯","..."),"..."}).replace(/⋯/g,function(e){return logger.debug(e,"⋯","..."),"..."}).replace(/⋯/g,function(e){return logger.debug(e,"⋯","..."),"..."}).replace(/‥/g,function(e){return logger.debug(e,"‥",".."),".."}).replace(/‥/g,function(e){return logger.debug(e,"‥",".."),".."}).replace(/‥/g,function(e){return logger.debug(e,"‥",".."),".."}).replace(/([0-9]{4})[ \t]*-[ \t]*([0-9]{4})/g,function(e,r,n){return logger.debug(e,"-","en-dash"),r+"–"+n}).replace(/([0-9]{4})[ \t]*-[ \t]*([0-9]{4})/g,function(e,r,n){return logger.debug(e,"-","en-dash"),r+"–"+n}).replace(/([0-9]{4})[ \t]*-[ \t]*(present|current)/gi,function(e,r,n){return logger.debug(e,"-","en-dash"),r+"–"+n}).replace(/([0-9]{4})[ \t]*-[ \t]*(present|current)/gi,function(e,r,n){return logger.debug(e,"-","en-dash"),r+"–"+n}).replace(/(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*(([0-9]|[0-9]{2})-([0-9]|[0-9]{2})),[ \t]*([0-9]{4})/gi,function(e,r,n,t,o,l){return logger.debug(e,"-","en-dash"),r+" "+n+", "+l}).replace(/(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*(([0-9]|[0-9]{2})-([0-9]|[0-9]{2})),[ \t]*([0-9]{4})/gi,function(e,r,n,t,o,l){return logger.debug(e,"-","en-dash"),r+" "+n+", "+l}).replace(/([0-9]|[0-9]{2})-([0-9]|[0-9]{2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*[0-9]{4}/gi,function(e,r,n,t){return logger.debug(e,"-","en-dash"),r+" "+n+", "+t}).replace(/([0-9]|[0-9]{2})-([0-9]|[0-9]{2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*[0-9]{4}/gi,function(e,r,n,t){return logger.debug(e,"-","en-dash"),r+" "+n+", "+t}),e.set(r),logger.info("End","typography.htmlEntities")},wikitext:function(e){logger.info("Start","typography.wikitext");let r=e.get();r=r.replace(/<br>/gi,function(e){return logger.debug(e,"<br>","<br />"),"<br />"}).replace(/<br\/>/gi,function(e){return logger.debug(e,"<br/>","<br />"),"<br />"}).replace(/[ \t]*(?<!=)==(?!=)[ \t]*/g,function(e){return logger.debug(e),"=="}).replace(/[ \t]*===[ \t]*/g,function(e){return logger.debug(e),"==="}).replace(/[ \t]*(?<!=)====(?!=)[ \t]*/g,function(e){return logger.debug(e),"===="}).replace(/(==[^=]+==)\n\s*\n/g,function(e,r){return logger.debug(e,"whiteline",null),r+"\n"}).replace(/[ ]/g,function(e){return logger.debug(e,"U3000","space")," "}).replace(/\[\[([^[\]]+)\]\]/g,function(e,r){return logger.debug(e),"[["+r+"]]"}).replace(/^\*[ \t]*([\s\S]*?)$/gm,function(e,r){return logger.debug(e,"* ","*"),"*"+r}).replace(/^\*([\s\S]*?)$/gm,function(e,r){return logger.debug(e,"*","* "),"* "+r}).replace(/\*[ \t]*\*/g,function(e){return logger.debug(e,"* *","**"),"**"}).replace(/<ref name=([^">]*?)[ \t]*\/>/gm,function(e,r){return logger.debug(e,"<ref name=example />",'<ref name="example" />'),'<ref name="'+r+'" />'}).replace(/<ref name="([^">]*?)"[ \t]*\/>/g,function(e,r){return logger.debug(e,'<ref name="example" />','<ref name="example" />'),'<ref name="'+r+'" />'}).replace(/<ref name=([^"/>]*?)[ \t]*>/g,function(e,r){return logger.debug(e,"<ref name=example>",'<ref name="example">'),'<ref name="'+r+'">'}).replace(/<ref name="([^"\>]*?)"[ \t]*>/g,function(e,r){return logger.debug(e,"<ref name=example>",'<ref name="example">'),'<ref name="'+r+'">'}).replace(/{{(Hlist|Horizontal list|Dotlist|Hlist1|Cslist|Csl|Bulleted list|Blist|Bulleted|Ulist|Unordered list|Ordered list|Olist|Unbulleted list|Ubl|Ubt|Ublist|Unbullet)\|([^\W]*)}}/gi,function(e,r,n){return logger.debug(e),n}).replace(/{{(Hlist|Horizontal list|Dotlist|Hlist1|Cslist|Csl|Bulleted list|Blist|Bulleted|Ulist|Unordered list|Ordered list|Olist|Unbulleted list|Ubl|Ubt|Ublist|Unbullet)\|(\[\[[^\]]*\]\])}}/gi,function(e,r,n){return logger.debug(e),n}),list&&(r=r.replace(/^(\*[ \t]*.*?(?:\Was\W).[^<]*?)((?<!(http|https))\:.*?)(<ref>.*<\/ref>)$(\n\*\*[ \t]*.*?(?:\Was\W).[^<]*?)$/gim,function(e,r,n,t,o,l){return logger.debug(e),r+o+l+"\n"+n}).replace(/^(\*[ \t]*.*?(?:\Was\W).[^<]*?)((?<!(http|https))\:.*?)(<ref name=\".*\">.*<\/ref>)$(\n\*\*[ \t]*.*?(?:\Was\W).[^<]*?)$/gim,function(e,r,n,t,o,l){return logger.debug(e),r+o+l+"\n"+n}).replace(/^(\*[ \t]*.*?(?:\Was\W).[^<]*?)((?<!(http|https))\:.*?)(<ref name=\".*\"[ \t]*\/>)$(\n\*\*[ \t]*.*?(?:\Was\W).[^<]*?)$/gim,function(e,r,n,t,o,l){return logger.debug(e),r+o+l+"\n"+n}).replace(/^(\*[ \t]*[^\n]*?(?:\Was\W).[^\n<]*?)((?<!(http|https))\:.*?)(<ref>.*<\/ref>)$/gim,function(e,r,n,t,o){return logger.debug(e),r+o+"\n"+n}).replace(/^(\*[ \t]*.*?(?:\Was\W).[^<]*?)((?<!(http|https))\:.*?)(<ref name=\".*\">.*<\/ref>)$/gim,function(e,r,n,t,o){return logger.debug(e),r+o+"\n"+n}).replace(/^(\*[ \t]*.*?(?:\Was\W).[^<]*?)((?<!(http|https))\:.*?)(<ref name=\".*\"[ \t]*\/>)$/gim,function(e,r,n,t,o){return logger.debug(e),r+o+"\n"+n})),e.set(r),logger.info("End","typography.wikitext")},files:function(e){logger.info("Start","typography.files");let r=e.get();r=r.replace(/(?<!(\n\s*|==\n))(?=\[\[File:)/gi,function(e){return logger.debug(e),"\n"}).replace(/(?<!\=\=\n|^$\n)(?=\[\[File\:)/gim,function(e){return logger.debug(e),"\n"}).replace(/(?<=\[\[File\:)(.*?)\]\]$/gm,function(e,r){return logger.debug(e,"]]","U0029U0029"),r+"U0029U0029"}).replace(/(?<=\[\[File\:.*)U0029U0029(?!$)/gim,function(e){return logger.debug(e),"U0029U0029\n"}).replace(/(?<=\[\[File\:.*)U0029U0029(?!\n^$)/gim,function(e){return logger.debug(e),"U0029U0029\n"}).replace(/(?<=\[\[File\:).*?U0029U0029/g,function(e){return e.replace(/\]\]/g,function(e){return logger.debug(e,"]]","U005DU005D"),"U005DU005D"})}).replace(/(?<=\[\[File\:).*?U0029U0029$/gm,function(e){return e.replace(/(?<=\|)[0-9]{1,3}px/g,function(e){return logger.debug(e,e,"upright=1"),"upright"})}).replace(/(?<=\[\[File\:).*?U0029U0029$/gm,function(e){return e.replace(/(?<=\|)[0-9]{1,3}x[0-9]{1,3}px/g,function(e){return logger.debug(e,e,"upright"),"upright"})}).replace(/(?<=\|)upright\|upright(?=\|)/gi,function(e){return logger.debug(e,"upright|upright","upright"),"upright"}).replace(/(?<=\|)upright\|upright(?=U0029U0029)/gi,function(e){return logger.debug(e,"upright|upright","upright"),"upright"}).replace(/(?<=\|)upright\|(upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})(?=\|)/gi,function(e,r){return logger.debug(e,"upright|upright=1","upright=1"),r}).replace(/(?<=\|)upright\|(upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})(?=U0029U0029)/gi,function(e,r){return logger.debug(e,"upright|upright=1","upright=1"),r}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+t+"|"+o+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|upright|caption|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+t+"|"+l+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|(left|center|right)|upright|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+o+"|"+t+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|(left|center|right)|caption|upright"),"[[File:"+r+"|"+n+"|"+l+"|"+t+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption|upright|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+o+"|"+l+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption|(left|center|right)|upright","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+l+"|"+o+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|upright|caption","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+n+"|"+t+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption|upright","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+n+"|"+o+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)\|(.*?)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|(left|center|right)|caption","(thumb|thumbnail|frame|frameless)|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+t+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption|(left|center|right)","(thumb|thumbnail|frame|frameless)|(left|center|right)|caption"),"[[File:"+r+"|"+n+"|"+o+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)\|(left|center|right)\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|(thumb|thumbnail|frame|frameless)|(left|center|right)|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+n+"|"+o+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|(thumb|thumbnail|frame|frameless)|caption|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+n+"|"+l+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)\|(thumb|thumbnail|frame|frameless)\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|(left|center|right)|(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+n+"|"+t+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)\|(.*?)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|(left|center|right)|caption|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+n+"|"+t+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|caption|(thumb|thumbnail|frame|frameless)|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+n+"|"+l+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"upright|caption|(left|center|right)|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+n+"|"+o+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"upright|caption|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+o+"|"+n+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)\|(.*?)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"upright|(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+t+"|"+n+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|(thumb|thumbnail|frame|frameless)|upright|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+o+"|"+n+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|(thumb|thumbnail|frame|frameless)|caption|upright","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+l+"|"+n+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)\|(.*?)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|upright|(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+t+"|"+n+"|"+l+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(.*?)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|upright|caption|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+t+"|"+n+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|caption|(thumb|thumbnail|frame|frameless)|upright","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+l+"|"+n+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"(left|center|right)|caption|upright|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+o+"|"+n+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(.*?)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(left|center|right)|caption|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|caption|(left|center|right)"),"[[File:"+r+"|"+o+"|"+n+"|"+t+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)\|(.*?)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"(left|center|right)|(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+n+"|"+o+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|(thumb|thumbnail|frame|frameless)|upright|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+o+"|"+l+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|(thumb|thumbnail|frame|frameless)|(left|center|right)|upright","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+l+"|"+o+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|upright|(thumb|thumbnail|frame|frameless)|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+t+"|"+l+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(left|center|right)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|upright|(left|center|right)|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+t+"|"+o+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|(left|center|right)|(thumb|thumbnail|frame|frameless)|upright","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+l+"|"+t+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(left|center|right)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o,l){return logger.debug(e,"caption|(left|center|right)|upright|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)|caption"),"[[File:"+r+"|"+l+"|"+o+"|"+t+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"caption|(thumb|thumbnail|frame|frameless)|upright","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+t+"|"+o+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"caption|upright|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|upright|caption"),"[[File:"+r+"|"+o+"|"+t+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(thumb|thumbnail|frame|frameless)\|(left|center|right)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"caption|(thumb|thumbnail|frame|frameless)|(left|center|right)","(thumb|thumbnail|frame|frameless)|(left|center|right)|caption"),"[[File:"+r+"|"+t+"|"+o+"|"+n+"]]"}).replace(/\[\[File:([\s\S][^|]*?)\|(.*?)\|(left|center|right)\|(thumb|thumbnail|frame|frameless)U0029U0029/gi,function(e,r,n,t,o){return logger.debug(e,"caption|(left|center|right)|(thumb|thumbnail|frame|frameless)","(thumb|thumbnail|frame|frameless)|(left|center|right)|caption"),"[[File:"+r+"|"+o+"|"+t+"|"+n+"]]"}).replace(/(?<!(thumb|thumbnail|frame|frameless)\|)(upright|upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})(?=\|)/gi,function(e,r){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|upright|caption"),"(thumb|thumbnail|frame|frameless)|"+r}).replace(/(?<=\|)(thumb|thumbnail|frame|frameless)(?!\|(left|center|right)\|)/gi,function(e,r){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|caption","(thumb|thumbnail|frame|frameless)|upright|caption"),r+"|upright"}).replace(/(?<=\|)(thumb|thumbnail|frame|frameless)(?=\|(left|center|right)\|)/gi,function(e,r){return logger.debug(e,"(thumb|thumbnail|frame|frameless)|(left|center|right)","(thumb|thumbnail|frame|frameless)|upright|(left|center|right)"),r+"|upright"}).replace(/(?<=\[\[File\:)(.*?)U0029U0029$/gm,function(e,r){return logger.debug(e,"U0029U0029","]]"),r+"]]"}).replace(/(?<=\[\[File\:)(.*?\]\])$(?!\n\n)/gm,function(e,r){return logger.debug(e,r,"\n"),r+"\n"}).replace(/\[\[File\:[\s\S]*?\]\]/g,function(e){return logger.debug(e,"U005DU005D","]]"),e.replace(/U005DU005D/g,"]]")}).replace(/(?<=\|)upright\|upright(?=\|)/gi,function(e){return logger.debug(e,"upright|upright","upright"),"upright"}).replace(/(?<=\|)upright\|(upright=[0-9]{1}|upright=[0-9]{1}\.[0-9]{1,2})(?=\|)/gi,function(e,r){return logger.debug(e,"upright|upright=1","upright=1"),r}).replace(/(?<=\|)upright(?=\|)/gi,function(e){return logger.debug(e,"upright","upright=1"),"upright=1"}),e.set(r),logger.info("End","typography.files")},overlink:function(e){logger.info("Start","typography.overlink");let r=e.get();r=r.replace(/\[\[(Afghanistan|Albania|Algeria|Andorra|Angola|Antigua and Barbuda|Argentina|Armenia|Australia|Austria|Azerbaijan|Bahamas|Bahrain|Bangladesh|Barbados|Belarus|Belgium|Belize|Benin|Bhutan|Bolivia|Bosnia and Herzegovina|Botswana|Brazil|Brunei|Bulgaria|Burkina Faso|Burma|Burundi|Cabo Verde|Cambodia|Cameroon|Canada|Central African Republic|Chad|Chile|China|Colombia|Comoros|Congo|Costa Rica|Croatia|Cuba|Cyprus|Czechia \(Czech Republic\)|Czech Republic|Denmark|Djibouti|Dominica|Dominican Republic|East Timor \(Timor-Leste\)|Timor-Leste|Ecuador|Egypt|El Salvador|Equatorial Guinea|Eritrea|Estonia|Eswatini|Ethiopia|Fiji|Finland|France|Gabon|Gambia|Georgia|Germany|Ghana|Greece|Grenada|Guatemala|Guinea|Guinea-Bissau|Guyana|Haiti|Honduras|Hungary|Iceland|India|Indonesia|Iran|Iraq|Ireland|Israel|Italy|Ivory Coast|Jamaica|Japan|Jordan|Kazakhstan|Kenya|Kiribati|Kosovo|Kuwait|Kyrgyzstan|Laos|Latvia|Lebanon|Lesotho|Liberia|Libya|Liechtenstein|Lithuania|Luxembourg|Madagascar|Malawi|Malaysia|Maldives|Mali|Malta|Marshall Islands|Mauritania|Mauritius|Mexico|Micronesia|Moldova|Monaco|Mongolia|Montenegro|Morocco|Mozambique|Myanmar|Myanmar \(Burma\)|Namibia|Nauru|Nepal|Netherlands|New Zealand|Nicaragua|Niger|Nigeria|North Korea|North Macedonia|Norway|Oman|Pakistan|Palau|Panama|Papua New Guinea|Paraguay|Peru|Philippines|Poland|Portugal|Qatar|Romania|Russia|Rwanda|Saint Kitts and Nevis|Saint Lucia|Saint Vincent and the Grenadines|Samoa|San Marino|Sao Tome and Principe|Saudi Arabia|Senegal|Serbia|Seychelles|Sierra Leone|Singapore|Slovakia|Slovenia|Solomon Islands|Somalia|South Africa|South Korea|South Sudan|Spain|Sri Lanka|Sudan|Suriname|Sweden|Switzerland|Syria|Taiwan|Tajikistan|Tanzania|Thailand|Togo|Tonga|Trinidad and Tobago|Tunisia|Turkey|Turkmenistan|Tuvalu|Uganda|Ukraine|United Arab Emirates|United Kingdom|United States|Uruguay|Uzbekistan|Vanuatu|Vatican City|Venezuela|Vietnam|Yemen|Zambia|Zimbabwe)\]\]/gi,function(e,r){return logger.debug(e,"[[Country]]","Country"),r}).replace(/\[\[((?!Category).*)\,[ \t]*South Korea\]\]$/gim,function(e,r){return logger.debug(e,"[[City, South Korea]]","[[City]], South Korea"),"[["+r+"]], South Korea"}).replace(/\[\[(First|Second|Third|Fourth|Fifth|Sixth) Republic of Korea\|]],[ \t]*/gi,function(e){return logger.debug(e,"[[X Republic of Korea]]",null),""}).replace(/\[\[South Korea\|South Korean\]\]/gi,function(e){return logger.debug(e,"[[South Korean]]","South Korean"),"South Korean"}).replace(/\[\[(Actor|Actress|Singer)\]\]/gi,function(e,r){return logger.debug(e,"[[(Actor|Actress|Singer)]]","Actor|Actress|Singer"),r}),e.set(r),logger.info("End","typography.overlink")},html:function(e){logger.info("Start","typography.html");let r=e.get();r=r.replace(/<small>(.*?)<\/small>/g,function(e){return logger.debug(e,"<small>","{{small|"),e.replace(/<small>/g,"{{small|")}).replace(/{{small\|(.*?)<\/small>/g,function(e){return logger.debug(e,"</small>","}}"),e.replace(/<\/small>/g,"}}")}),e.set(r),logger.info("End","typography.html")},monthConvert:function(e){switch(e){case 1:return e="January";case 2:return e="February";case 3:return e="March";case 4:return e="April";case 5:return e="May";case 6:return e="June";case 7:return e="July";case 8:return e="August";case 9:return e="September";case 10:return e="October";case 11:return e="November";case 12:return e="December"}},toDatesExclusion:function(e){logger.info("Start","typography.toDatesExclusion");let r=e.get();r=r.replace(/{{AFC comment.[^}]*?}}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/<(timeline|math|blockquote|noinclude|gallery|poem)>[\s\S]*?<\/(timeline|math|blockquote|noinclude|gallery|poem)>/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/<(timeline|math|blockquote|noinclude|gallery|poem)>[\s\S]*?<\/(timeline|math|blockquote|noinclude|gallery|poem)>/gi,function(r){return r.replace(/\//g,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/<(timeline|math|blockquote|noinclude|gallery|poem)>[\s\S]*?<\/(timeline|math|blockquote|noinclude|gallery|poem)>/gi,function(r){return r.replace(/\-/g,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/<(timeline|math|blockquote|noinclude|gallery|poem)>[\s\S]*?<\/(timeline|math|blockquote|noinclude|gallery|poem)>/gi,function(r){return r.replace(/\–/g,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/<(timeline|math|blockquote|noinclude|gallery|poem)>[\s\S]*?<\/(timeline|math|blockquote|noinclude|gallery|poem)>/gi,function(r){return r.replace(/\—/g,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/<!--[^<\{\}]*?-->/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/<!--[^<\{\}]*?-->/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/<!--[^<\{\}]*?-->/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"/","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/<!--[^<\{\}]*?-->/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"-","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/<!--[^<\{\}]*?-->/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\{\{(Wikimedia|Commons|Wikimedia Commons|C) category\|.[^\}]*\}\}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\{\{(Wikimedia|Commons|Wikimedia Commons|C) category\|.[^\}]*\}\}/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\{\{(Wikimedia|Commons|Wikimedia Commons|C) category\|.[^\}]*\}\}/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\{\{(Wikimedia|Commons|Wikimedia Commons|C) category\|.[^\}]*\}\}/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\{\{(Wikimedia|Commons|Wikimedia Commons|C) category\|.[^\}]*\}\}/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\[\[(?:Category|Image|File).[^\]]*\]\]/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\[\[(?:Category|Image|File).[^\]]*\]\]/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\[\[(?:Category|Image|File).[^\]]*\]\]/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\[\[(?:Category|Image|File).[^\]]*\]\]/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\[\[(?:Category|Image|File).[^\]]*\]\]/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\{\{(See also|Main)\|.[^\}]*\}\}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\{\{(See also|Main)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\{\{(See also|Main)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\{\{(See also|Main)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\{\{(See also|Main)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\{\{(?:double ?|external ?|wide ?)image\s?\|.[^\}]*\}\}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\{\{(?:double ?|external ?|wide ?)image\s?\|.[^\}]*\}\}/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\{\{(?:double ?|external ?|wide ?)image\s?\|.[^\}]*\}\}/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\{\{(?:double ?|external ?|wide ?)image\s?\|.[^\}]*\}\}/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\{\{(?:double ?|external ?|wide ?)image\s?\|.[^\}]*\}\}/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\{\{(?:harvnb|r|wikisource)\|.[^\}]*\}\}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\{\{(?:harvnb|r|wikisource)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\{\{(?:harvnb|r|wikisource)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\{\{(?:harvnb|r|wikisource)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\{\{(?:harvnb|r|wikisource)\|.[^\}]*\}\}/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/(\[(?:https?:|ftp:))([^\]]*)(\])/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/(\[(?:https?:|ftp:))([^\]]*)(\])/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/(\[(?:https?:|ftp:))([^\]]*)(\])/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/(\[(?:https?:|ftp:))([^\]]*)(\])/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/(\[(?:https?:|ftp:))([^\]]*)(\])/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/(>[ ]*(?:https?:|ftp:))([^< >\]]*)([ ]*<)/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/(>[ ]*(?:https?:|ftp:))([^< >\]]*)([ ]*<)/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/(>[ ]*(?:https?:|ftp:))([^< >\]]*)([ ]*<)/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/(>[ ]*(?:https?:|ftp:))([^< >\]]*)([ ]*<)/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/(>[ ]*(?:https?:|ftp:))([^< >\]]*)([ ]*<)/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/(?<=\|(url|archive-url)\=)(http|https|ftp).[^|]*(?=\|)/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/(?<=\|(url|archive-url)\=)(http|https|ftp).[^|]*(?=\|)/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/(?<=\|(url|archive-url)\=)(http|https|ftp).[^|]*(?=\|)/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/(?<=\|(url|archive-url)\=)(http|https|ftp).[^|]*(?=\|)/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/(?<=\|(url|archive-url)\=)(http|https|ftp).[^|]*(?=\|)/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/(\{[^\{]{0,6}(?:quot[^|]{1,7}\s?|sic)\|)([^}]+)(\})/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/(\{[^\{]{0,6}(?:quot[^|]{1,7}\s?|sic)\|)([^}]+)(\})/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/(\{[^\{]{0,6}(?:quot[^|]{1,7}\s?|sic)\|)([^}]+)(\})/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/(\{[^\{]{0,6}(?:quot[^|]{1,7}\s?|sic)\|)([^}]+)(\})/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/(\{[^\{]{0,6}(?:quot[^|]{1,7}\s?|sic)\|)([^}]+)(\})/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/((?:image\d?|image_skyline|image[ _]location\d?|image[ _]name|image[ _]file|img|map\d|pic)\s*=)([^|}]*)([|}])/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/((?:image\d?|image_skyline|image[ _]location\d?|image[ _]name|image[ _]file|img|map\d|pic)\s*=)([^|}]*)([|}])/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/((?:image\d?|image_skyline|image[ _]location\d?|image[ _]name|image[ _]file|img|map\d|pic)\s*=)([^|}]*)([|}])/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/((?:image\d?|image_skyline|image[ _]location\d?|image[ _]name|image[ _]file|img|map\d|pic)\s*=)([^|}]*)([|}])/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/((?:image\d?|image_skyline|image[ _]location\d?|image[ _]name|image[ _]file|img|map\d|pic)\s*=)([^|}]*)([|}])/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/([\|\{]\s*(?:file(?:name\d?|)|image\d?|image location\d?|img|pic|Cover|(?:trans-?|)title|quote|chapter|journal|url|archiveurl|work|doi|club|at|volume|reporter)\s*=)([^|\}⍍]*)([|}])/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/([\|\{]\s*(?:season)\s*=)(\s*\[\[[^\]]*\]\]\s*)([|}])/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/([\|\{]\s*(?:season)\s*=)(\s*\[\[[^\]]*\]\]\s*)([|}])/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/([\|\{]\s*(?:season)\s*=)(\s*\[\[[^\]]*\]\]\s*)([|}])/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/([\|\{]\s*(?:season)\s*=)(\s*\[\[[^\]]*\]\]\s*)([|}])/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/([\|\{]\s*(?:season)\s*=)(\s*\[\[[^\]]*\]\]\s*)([|}])/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/([\|\{]\s*(?:[xy])\s*=)(\s*[^\|]+\s*)(\|)/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/([\|\{]\s*(?:[xy])\s*=)(\s*[^\|]+\s*)(\|)/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/([\|\{]\s*(?:[xy])\s*=)(\s*[^\|]+\s*)(\|)/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/([\|\{]\s*(?:[xy])\s*=)(\s*[^\|]+\s*)(\|)/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/([\|\{]\s*(?:[xy])\s*=)(\s*[^\|]+\s*)(\|)/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/(\{\{(navsource|merge|singlechart|defaultsort|graph)\|).[^\}]*\}\}/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/(\{\{(navsource|merge|singlechart|defaultsort|graph)\|).[^\}]*\}\}/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/(\{\{(navsource|merge|singlechart|defaultsort|graph)\|).[^\}]*\}\}/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/(\{\{(navsource|merge|singlechart|defaultsort|graph)\|).[^\}]*\}\}/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/(\{\{(navsource|merge|singlechart|defaultsort|graph)\|).[^\}]*\}\}/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}).replace(/\[\[.[^\]]*\]\]/gi,function(n){return n.replace(/(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r){return logger.debug(n,e,"U003CpaperhtmlU003Ematch2U003CU005CpaperhtmlU003E"),"U003CpaperhtmlU003E"+r+"U003CU005CpaperhtmlU003E"})}).replace(/\[\[.[^\]]*\]\]/gi,function(r){return r.replace(/\//gi,function(e){return logger.debug(r,"/","U003CpaperslashU003E"),"U003CpaperslashU003E"})}).replace(/\[\[.[^\]]*\]\]/gi,function(r){return r.replace(/\-/gi,function(e){return logger.debug(r,"-","U003CpaperdashU003E"),"U003CpaperdashU003E"})}).replace(/\[\[.[^\]]*\]\]/gi,function(r){return r.replace(/\–/gi,function(e){return logger.debug(r,"–","U003CpaperendashU003E"),"U003CpaperendashU003E"})}).replace(/\[\[.[^\]]*\]\]/gi,function(r){return r.replace(/\—/gi,function(e){return logger.debug(r,"—","U003CpaperemdashU003E"),"U003CpaperemdashU003E"})}),e.set(r),logger.info("End","typography.toDatesExclusion")},toDMYDates:function(e){logger.info("Start","typography.toDMYDates");var r=e.get();let n=r;var t=r.includes("{{Use dmy dates|"),r=r.includes("{{Use mdy dates|");let l=!1;(useDMY&&t&&!r||useDMY&&!t&&!r||!useDMY&&t&&!r)&&(n=n.replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\/([0-9]|[0-9]{2})\/([0-9]|[0-9]{2})[ \t]*(?=\|)/g,function(e,r,n,t,o){logger.debug(e,"YYYY/MM/DD","DMY");e=typography.monthConvert(parseInt(t,10));return l=!0,o+" "+e+" "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\/([0-9]|[0-9]{2})\/([0-9]|[0-9]{2})[ \t]*(?=}})/g,function(e,r,n,t,o){logger.debug(e,"YYYY/MM/DD","DMY");e=typography.monthConvert(parseInt(t,10));return l=!0,o+" "+e+" "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\-([0-9]|[0-9]{2})\-([0-9]|[0-9]{2})[ \t]*(?=\|)/g,function(e,r,n,t,o){logger.debug(e,"YYYY-MM-DD","DMY");e=typography.monthConvert(parseInt(t,10));return l=!0,o+" "+e+" "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\-([0-9]|[0-9]{2})\-([0-9]|[0-9]{2})[ \t]*(?=}})/g,function(e,r,n,t,o){logger.debug(e,"YYYY-MM-DD","DMY");e=typography.monthConvert(parseInt(t,10));return l=!0,o+" "+e+" "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]|[0-9]{2}),[ \t]*([0-9]{4})(?=\|)/gi,function(e,r,n,t,o){return logger.debug(e,"MDY","DMY"),l=!0,t+" "+n+" "+o}).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]|[0-9]{2}),[ \t]*([0-9]{4})(?=}})/gi,function(e,r,n,t,o){return logger.debug(e,"MDY","DMY"),l=!0,t+" "+n+" "+o}).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)(0+)([1-9]{1,2})[ \t]*?(January|February|March|April|May|June|July|August|September|October|November|December)/gi,function(e,r,n,t,o){return logger.debug(e,"leading zeros",null),t+" "+o}).replace(/(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]|[0-9]{2}),[ \t]*([0-9]{4})/gi,function(e,r,n,t){return logger.debug(e,"MDY","DMY"),l=!0,n+" "+r+" "+t}).replace(/(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]|[0-9]{2})\-([0-9]|[0-9]{2}),[ \t]*([0-9]{4})/gi,function(e,r,n,t,o){return logger.debug(e,"MDY","DMY"),l=!0,n+"–"+t+" "+r+" "+o}),l)&&(n=n.replace(/{{\s*use dmy dates\|date=([\s\S]*?)}}\n/gi,function(e){return logger.debug(e,null),""}).replace(/(?<!{{Use dmy dates\|date=.*}}\n)(?=(?<!\|[ \t]*?.*[ \t]*?\=[ \t]*?){{Infobox)/i,function(e){return logger.debug(e),"{{Use dmy dates|date={{safesubst:#time:F Y}}}}\n"}).replace(/({{Birth date and age\|[0-9]{4}\|[0-9]{1,2}\|[0-9]{1,2})\|mf=(yes|y)}}/i,function(e,r){return logger.debug(e),r+"}}"}).replace(/({{Birth date and age\|[0-9]{4}\|[0-9]{1,2}\|[0-9]{1,2})}}/i,function(e,r){return logger.debug(e),r+"|df=yes}}"})),e.set(n),logger.info("End","typography.toDMYDates")},toMDYDates:function(e){logger.info("Start","typography.toMDYDates");var r=e.get();let n=r;var t=r.includes("{{Use dmy dates|"),r=r.includes("{{Use mdy dates|");let s=!1;(useDMY||t||!r)&&(useDMY||t||r)||(n=n.replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\/([0-9]{1,2})\/([0-9]{1,2})[ \t]*(?=\|)/g,function(e,r,n,t,o){logger.debug(e,"YYYY/MM/DD","MDY");e=typography.monthConvert(parseInt(t,10));return s=!0,e+" "+o+", "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\/([0-9]{1,2})\/([0-9]{1,2})[ \t]*(?=}})/g,function(e,r,n,t,o){logger.debug(e,"YYYY/MM/DD","MDY");e=typography.monthConvert(parseInt(t,10));return s=!0,e+" "+o+", "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\-([0-9]{1,2})\-([0-9]{1,2})[ \t]*(?=\|)/g,function(e,r,n,t,o){logger.debug(e,"YYYY-MM-DD","MDY");e=typography.monthConvert(parseInt(t,10));return s=!0,e+" "+o+", "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{4})\-([0-9]{1,2})\-([0-9]{1,2})[ \t]*(?=}})/g,function(e,r,n,t,o){logger.debug(e,"YYYY-MM-DD","MDY");e=typography.monthConvert(parseInt(t,10));return s=!0,e+" "+o+", "+n}.bind(this)).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{1,2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]{4})(?=\|)/gi,function(e,r,n,t,o){return logger.debug(e,"DMY","MDY"),s=!0,t+" "+n+", "+o}).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)([0-9]{1,2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]{4})(?=}})/gi,function(e,r,n,t,o){return logger.debug(e,"DMY","MDY"),s=!0,t+" "+n+", "+o}).replace(/(?<=\|[ \t]*(date|access-date|archive-date)[ \t]*?=[ \t]*?)(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*?(0+)/gi,function(e,r,n){return logger.debug(e,"leading zeros",null),n+" "}).replace(/(?<!([0-9]{1,2}(\-|\–|\—)|0))([0-9]{1,2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]{4})/gi,function(e,r,n,t,o,l){return logger.debug(e,"DMY","MDY"),s=!0,o+" "+t+", "+l}).replace(/([0-9]{1,2})(\-|\–|\—)([0-9]{1,2})[ \t]*(January|February|March|April|May|June|July|August|September|October|November|December)[ \t]*([0-9]{4})/gi,function(e,r,n,t,o,l){return logger.debug(e,"DMY","MDY"),s=!0,o+" "+r+"–"+t+", "+l}),s&&(n=n.replace(/{{\s*use mdy dates\|date=([\s\S]*?)}}\n/gi,function(e){return logger.debug(e,null),""}).replace(/(?<!{{Use mdy dates\|date=.*}}\n)(?=(?<!\|[ \t]*?.*[ \t]*?\=[ \t]*?){{Infobox)/i,function(e){return logger.debug(e),"{{Use mdy dates|date={{safesubst:#time:F Y}}}}\n"}).replace(/({{Birth date and age\|[0-9]{4}\|[0-9]{1,2}\|[0-9]{1,2})\|(df|mf)=(yes|y)}}/i,function(e,r){return logger.debug(e),r+"}}"}))),e.set(n),logger.info("End","typography.toMDYDates")},toDatesReversion:function(e){logger.info("Start","typography.toDatesReversion");let r=e.get();r=r.replace(/U003CpaperhtmlU003E/g,function(e){return logger.debug(e,null),""}).replace(/U003CU005CpaperhtmlU003E/g,function(e){return logger.debug(e,null),""}).replace(/U003CpaperslashU003E/g,function(e){return logger.debug(e,"U003CpaperslashU003E","/"),"/"}).replace(/U003CpaperdashU003E/g,function(e){return logger.debug(e,"U003CpaperdashU003E","-"),"-"}).replace(/U003CpaperendashU003E/g,function(e){return logger.debug(e,"U003CpaperendashU003E","–"),"–"}).replace(/U003CpaperemdashU003E/g,function(e){return logger.debug(e,"U003CpaperemdashU003E","—"),"—"}),e.set(r),logger.info("End","typography.toDatesReversion")},typography:function(e){auth.loading(e,function(){typography.symbols(e),typography.htmlEntities(e),typography.wikitext(e),typography.files(e),typography.overlink(e),typography.html(e),dates&&(typography.toDatesExclusion(e),typography.toDMYDates(e),typography.toMDYDates(e),typography.toDatesReversion(e))})}},infobox={toMagicWords:function(e){let r=e.get();r=r.replace(/({{(?!Infobox|(plain|flat)list).[^\}]*?)}}(?!<\/ref>)/gi,function(e,r){return logger.debug(e,"}}","U0029U0029"),r+"U0029U0029"}).replace(/({{(plainlist|flatlist|pl)[\s\S]*?)}}(?!<\/ref>)/gi,function(e,r){return logger.debug(e,"}}","U0029U0029"),r+"U0029U0029"}).replace(/^(\|[ \t]*?.[^\=]*[ \t]*?\=[ \t]*?{{Infobox[\s\S]*?)}}(?!<\/ref>)/gim,function(e,r){return logger.debug(e,"}}","U0029U0029"),r+"U0029U0029"}).replace(/({{Infobox([\s\S]*?))(?<=U0029U0029)}}/gi,function(e,r){return logger.debug(e,"U0029U0029}}","U0029U0029[newline]}}"),r+"\n}}"}).replace(/({{External music video\|.[^}]*)\n}}/gi,function(e,r){return logger.debug(e,"{{External music video|[newline]}}","{{External music video|U0029U0029"),r+"U0029U0029"}),e.set(r)},format:function(e){let r=e.get();var n=(r=r.replace(/{{Infobox person([\s\S]*?)}}/gi,function(r){return r.replace(/^\|[ \t]*?(imagesize|image_size|image[ \t]*?size)[ \t]*?=.*$/gim,function(e){return e.replace(/[0-9]{1,3}px/gi,function(e){return logger.debug(r,"px","1.15"),"1.15"})})}).replace(/{{Infobox person([\s\S]*?)}}/gi,function(e){return e.replace(/(?<=^\|[ \t]*?)(imagesize|image_size|image[ \t]*?size)(?=[ \t]*?=.*$)/gim,function(e){return logger.debug(e,"(imagesize|image_size)","image_upright"),"image_upright"})}).replace(/{{infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/[ \t]*\|[ \t]*/g,function(e){return logger.debug(e,"[space]|[space]","|"),"|"})})).match(/{{infobox([\s\S]*?)\n}}/gi),t=/^\|\s*([^=]*)(?=\s*=\s*)/gm;if(n){for(var o,l=[];null!==(o=t.exec(n));)l.push(o[1]);const s=Math.max(...l.map(e=>e.trim().length));r=r.replace(/{{infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/^\|\s*([^=]*)(?=\s*=\s*)/gm,(e,r)=>{var r=r.trim(),n=Math.max(0,s-r.length);return`| ${r}${" ".repeat(n)} `})}),e.set(r)}},normalize:function(e){let r=e.get();r=r.replace(/{{Infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/=[ \t]*/g,function(e){return logger.debug(e,"= ","="),"="})}).replace(/{{Infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/=[ \t]*-->/g,function(e){return logger.debug(e,"= --\x3e","= --\x3e"),"= --\x3e"})}).replace(/{{Infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/^(\|[\s\S]*?)=/gm,function(e,r){return logger.debug(e,"=","= "),r+"= "})}).replace(/{{Infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/=\s\*/g,function(e){return logger.debug(e,"= *","=[newline]*"),"=\n*"})}).replace(/{{Infobox([\s\S]*?)\n}}/gi,function(e){return e.replace(/\*[ \t]*(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e,"* ","* "),"* "})}).replace(/(\|[ \t]*image[ \t]*=[ \t]*)File:/gi,function(e,r){return logger.debug(e,"File:"),r}).replace(/(?<=^\|[ \t]*?image[ \t]*?=).*$/gim,function(r){return r.replace(/_/g,function(e){return logger.debug(r,e,"[space]")," "})}).replace(/{{Infobox person([\s\S]*?)}}/gi,function(e){return e.replace(/(^\|[ \t]*?image_upright[ \t]*?=[ \t]*?)$/gim,function(e,r){return logger.debug(e,"image_upright=","image_upright=1.15"),r+"1.15"})}).replace(/{{Infobox musical artist([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t]*?associated_acts[ \t]*?=[ \t]*?$\n/gim,function(e){return logger.debug(e,"associated_acts=",null),""})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e,r){return logger.debug(e),"{{Infobox Korean name"+r+"}}"}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/(?<=\|)color(?=\=)/gi,function(e){return logger.debug(e,"color","headercolor"),"headercolor"})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/(?<=\|)headercolor=([\s\S]*?)\|headercolor=([\s\S]*?)$/gim,function(e){return logger.debug(e,"headercolor=|headercolor=","headercolor=transparent"),"headercolor=transparent"})}).replace(/{{Infobox Korean name(?:(\|headercolor=transparent\|child=yes|\|child=yes\|headercolor=transparent))([\s\S]*?)}}/gi,function(e,r,n){return logger.debug(e),"{{Infobox Korean name|child=yes|headercolor=transparent"+n+"}}"}).replace(/({{Infobox Korean name\|child=yes)(?!\|headercolor=transparent)([\s\S]*?)}}/gi,function(e,r,n){return logger.debug(e),r+"|headercolor=transparent"+n+"}}"}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t]*title[ \t]*=[ \t]*[\s\S]*?$\n/gim,function(e){return logger.debug(e,"title=",null),""})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(r){return r.replace(/^\|[ \t](hangul|hangulborn|hangulstage|hangul1|hangul2|hangul3)[ \t]*=[ \t]*[\s\S]*?$/gim,function(e){return e.replace(/{{linktext[\s\S]*?U0029U0029/gi,function(e){return e.replace(/\|/g,function(e){return logger.debug(r,"|",null),""})})})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/(^\|[ \t](hangul|hangulborn|hangulstage|hangul1|hangul2|hangul3)[ \t]*=[ \t]*){{linktext([\s\S]*?)U0029U0029$/gim,function(e,r,n,t){return logger.debug(e,"hangul={{linktext|text}}","hangul=text"),r+t})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t](hanja|hanjaborn|hanjastage|hanja1|hanja2|hanja3)[ \t]*=[ \t]*$\n/gim,function(e){return logger.debug(e,"(hanja|hanjaborn|hanjastage|hanja1|hanja2|hanja3)=",null),""})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t](hanja|hanjaborn|hanjastage|hanja1|hanja2|hanja3)[ \t]*=[ \t]*\!$\n/gim,function(e){return logger.debug(e,"(hanja|hanjaborn|hanjastage|hanja1|hanja2|hanja3)=!",null),""})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t](rr|rrborn|rrstage|rr1|rr2|rr3)[ \t]*=[ \t]*[\s\S]*?$/gim,function(r){return r.replace(/\-/g,function(e){return logger.debug(r,"-",null),""})})}).replace(/{{Infobox Korean name([\s\S]*?)}}/gi,function(e){return e.replace(/^\|[ \t](mr|mrborn|mrstage|mr1|mr2|mr3)[ \t]*=[ \t]*[\s\S]*?$/gim,function(r){return r.replace(/\-/g,function(e){return logger.debug(r,"-",null),""})})}),e.set(r)},fromMagicWords:function(e){let r=e.get();r=r.replace(/U0029U0029/g,function(e){return logger.debug(e,"U0029U0029","}}"),"}}"}),e.set(r)},infobox:function(e){logger.info("Start","infobox"),auth.loading(e,function(){infobox.toMagicWords(e),infobox.format(e),infobox.normalize(e),infobox.fromMagicWords(e)}),logger.info("End","infobox")}},wikitable={normalize:function(e){let r=e.get();r=r.replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"!!","[newline]!! "),e.replace(/\s*\!\!\s*(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"\n!! ")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"!!","!"),e.replace(/\!\!(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"!")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"! ","!"),e.replace(/\![ \t]*(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"!")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e," !","!"),e.replace(/[ \t]*\!(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"!")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"| ","|"),e.replace(/\|[ \t]*(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"|")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e," |","|"),e.replace(/[ \t]*\|(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"|")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"|+ ","|+"),e.replace(/\|\+[ \t]*(?![^\[]*?\]\])(?![^\{]*?\}\})/g,"|+")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return logger.debug(e,"EOL space",null),e.replace(/[ \t]*\n/g,"\n")}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|(?=<ref>)/g,function(e){return logger.debug(e,"||<ref>","[newline]|<ref>"),"\n|"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|rowspan="([0-9]{1,2})"\|(?=<ref>)/g,function(e,r){return logger.debug(e,'||rowspan=""|<ref>','[newline]|rowspan=""|<ref>'),'\n|rowspan="'+r+'"|'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|(?=style="text-align:center"\|<ref>)/g,function(e){return logger.debug(e,'||style="text-align:center"|<ref>','[newline]|style="text-align:center"|<ref>'),"\n|"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|rowspan="([0-9]{1,2})"[ \t]*?(?=style="text-align:center"\|<ref>)/g,function(e,r){return logger.debug(e,'||rowspan="" style="text-align:center"|<ref>','[newline]|rowspan="" style="text-align:center"|<ref>'),'\n|rowspan="'+r+'" '})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|(?=<ref name="([^"]*?)"[ \t]*\/>)/g,function(e){return logger.debug(e,'||<ref name="name" />','[newline]|<ref name="name" />'),"\n|"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|rowspan="([0-9]{1,2})"[ \t]*?\|(?=<ref name="([^"]*?)"[ \t]*\/>)/g,function(e,r){return logger.debug(e,'||rowspan=""|<ref name="name" />','[newline]|rowspan=""|<ref name="name" />'),'\n|rowspan="'+r+'"|'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|(?=style="text-align:center"\|<ref name="([^"]*?)"[ \t]*\/>)/g,function(e){return logger.debug(e,'||style="text-align:center"|<ref name="name" />','[newline]|style="text-align:center"|<ref name="name" />'),"\n|"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\|rowspan="([0-9]{1,2})"[ \t]*?(?=style="text-align:center"\|<ref name="([^"]*?)"[ \t]*\/>)/g,function(e){return logger.debug(e,'||rowspan="" style="text-align:center"|<ref name="name" />','[newline]|rowspan="" style="text-align:center"|<ref name="name" />'),'\n|rowspan="'+group1+'" '})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/^\|(?=.*[A-Za-z\u00C0-\u017F])[A-Za-z0-9\x20-\x7E\uAC00-\uD7A3\uAC00-\uD7A3\u4E00-\u9FFF\u00C0-\u017F–]+\|{2}(?!.*(rowspan|colspan)="[^"]"\|)(?=.*[A-Za-z])[A-Za-z0-9\x20-\x7E\uAC00-\uD7A3\uAC00-\uD7A3\u4E00-\u9FFF\u00C0-\u017F–]+$/gm,function(e){return logger.debug(e,"||","[newline]|"),e.replace(/\|{2}/g,"\n|")})}).replace(/\|\-\n(?!\|-\|\})\n/g,function(e){return logger.debug(e,"|-[new empty line]","|-"),"|-\n"}).replace(/\|\-\n(?=\|})/g,function(e){return logger.debug(e,"|-[newline]",null),""}).replace(/^\n\|\-/gm,function(e){return logger.debug(e,"[newline]|-","|-"),"|-"}),e.set(r)},attributes:function(e){let r=e.get();r=r.replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable[ \t]*?plainrowheaders"/gi,function(e){return logger.debug(e,"wikitable plainrowheaders","wikitable plainrowheaders"),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable[ \t]*?plainrowheaders[ \t]*?sortable"/gi,function(e){return logger.debug(e,"wikitable plainrowheaders sortable","wikitable plainrowheaders sortable"),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable[ \t]*?sortable[ \t]*?plainrowheaders"/gi,function(e){return logger.debug(e,"wikitable sortable plainrowheaders","wikitable plainrowheaders sortable"),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/style="margin-right:(0|[ \t]*0)(|;)"/gi,function(e){return logger.debug(e,'style="margin-right:0"',null),""})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/scope=col/gi,function(e){return logger.debug(e,"scope=col",'scope="col"'),'scope="col"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/scope=row/gi,function(e){return logger.debug(e,"scope=row",'scope="row"'),'scope="row"'})}).replace(/\|scope=\"col\"\|/g,function(e){return logger.debug(e),'!scope="col"|'}).replace(/\|scope=\"col\"(?!\|)/g,function(e){return logger.debug(e),'!scope="col"'}).replace(/\|scope=\"row\"\|/g,function(e){return logger.debug(e),'!scope="row"|'}).replace(/\|scope=\"row\"(?!\|)/g,function(e){return logger.debug(e),'!scope="row"'}).replace(/(\!|\|)rowspan=1\|/g,function(e,r){return logger.debug(e),r}).replace(/(\!|\|)rowspan=\"1\"\|/g,function(e,r){return logger.debug(e),r}).replace(/(\!|\|)rowspan=\"1\|/g,function(e,r){return logger.debug(e),r}).replace(/(\!|\|)rowspan=1\"\|/g,function(e,r){return logger.debug(e),r}).replace(/[ \t]*(?<!(\![ \t]*|\|[ \t]*))rowspan=1\|/g,function(e){return logger.debug(e),"|"}).replace(/[ \t]*(?<!(\![ \t]*|\|[ \t]*))rowspan=\"1\"\|/g,function(e){return logger.debug(e),"|"}).replace(/[ \t]*(?<!(\![ \t]*|\|[ \t]*))rowspan=\"1\|/g,function(e){return logger.debug(e),"|"}).replace(/[ \t]*(?<!(\![ \t]*|\|[ \t]*))rowspan=1\"\|/g,function(e){return logger.debug(e),"|"}).replace(/[ \t]*?(?<!(\![ \t]*?|\|[ \t]*?))rowspan=1(?!(\"|\|))/g,function(e){return logger.debug(e),""}).replace(/[ \t]*?(?<!(\![ \t]*?|\|[ \t]*?))rowspan=\"1\"(?!\|)/g,function(e){return logger.debug(e),""}).replace(/[ \t]*?(?<!(\![ \t]*?|\|[ \t]*?))rowspan=\"1(?!(\"|\||[0-9]))/g,function(e){return logger.debug(e),""}).replace(/[ \t]*?(?<!(\![ \t]*?|\|[ \t]*?))rowspan=1\"(?!\|)/g,function(e){return logger.debug(e),""}).replace(/rowspan=(?!<!--.*-->)([0-9]{1,2})/g,function(e,r){return logger.debug(e),'rowspan="'+r+'"'}).replace(/rowspan=(<!--.*-->)([0-9]{1,2})/g,function(e,r,n){return logger.debug(e),"rowspan="+r+'"'+n+'"'}).replace(/colspan=(?!<!--.*-->)([0-9]{1,2})/g,function(e,r){return logger.debug(e),'colspan="'+r+'"'}).replace(/colspan=(<!--.*-->)([0-9]{1,2})/g,function(e,r,n){return logger.debug(e),"colspan="+r+'"'+n+'"'}).replace(/align=(left|center|right)/g,function(e,r){return logger.debug(e),'style="text-align:'+r+'"'}).replace(/align=\"(left|center|right)\"/g,function(e,r){return logger.debug(e),'style="text-align:'+r+'"'}).replace(/style=text-align:(left|center|right)/g,function(e,r){return logger.debug(e),'style="text-align:'+r+'"'}).replace(/valign=(top|middle|bottom)/g,function(e,r){return logger.debug(e),'style="vertical-align'+r+'"'}).replace(/valign\"(top|middle|bottom)\"/g,function(e,r){return logger.debug(e),'style="vertical-align'+r+'"'}).replace(/style=vertical-align:(left|center|right)/g,function(e,r){return logger.debug(e),'style="vertical-align:'+r+'"'}).replace(/style=\"([^"]*);\"/g,function(e,r){return logger.debug(e),'style="'+r+'"'}).replace(/^(!|\|)style=\"([^"\|]*)\|$/gm,function(e,r,n){return logger.debug(e),r+'style="'+n+'"|'}).replace(/[ \t]style=\"([^"\|]*)\|/g,function(e,r){return logger.debug(e),' style="'+r+'"|'}).replace(/(!|\|)(scope="row")[ \t]*(style="[^"]*")[ \t]*(rowspan="[0-9]{1,2}")/gi,function(e,r,n,t,o){return logger.debug(e),r+n+" "+o+" "+t}).replace(/(!|\|)(rowspan="[0-9]{1,2}")[ \t]*(scope="row")/gi,function(e,r,n,t){return logger.debug(e),r+t+" "+n}).replace(/(!|\|)(rowspan="[0-9]{1,2}")[ \t]*(scope="row")[ \t]*(style="[^"]*")/gi,function(e,r,n,t,o){return logger.debug(e),r+t+" "+n+" "+o}).replace(/(!|\|)(rowspan="[0-9]{1,2}")[ \t]*(style="[^"]*")[ \t]*(scope="row")/gi,function(e,r,n,t,o){return logger.debug(e),r+o+" "+n+" "+t}).replace(/(!|\|)(style="[^"]*")[ \t]*(rowspan="[0-9]{1,2}")/gi,function(e,r,n,t){return logger.debug(e),r+t+" "+n}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/style="(width:([0-9]{1,2}|100)%;[ \t]*text-align:(left|center|right))"/g,function(e,r,n,t){return logger.debug(e),'style="text-align:'+t+"; width:"+n+'%"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/style="(width:([0-9]{1,2}|100)%;[ \t]*vertical-align:(top|middle|bottom))"/g,function(e,r,n,t){return logger.debug(e),'style="text-align:'+t+"; width:"+n+'%"'})}).replace(/^\!width="[0-9]{1,2}"\|([\s\S]*?)$/gim,function(e,r){return logger.debug(e),"!"+r}),e.set(r)},header:function(e){let r=e.get();r=r.replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<=(!|!class="unsortable"\|))Note$/gm,function(e){return logger.debug(e,"Note","Notes"),"Notes"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<=!)class="unsortable"\|(?=Notes$)/gm,function(e){return logger.debug(e,'class="unsortable"|',null),""})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<=(!|!class="unsortable"\|))(Ref|Ref\.|Reference|References|Reference\(s\))$/gm,function(e){return logger.debug(e,"Ref.","{{Abbr|Ref.|Reference(s)}}"),"{{Abbr|Ref.|Reference(s)}}"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/!{{Abbr\|Ref\.\|Reference\(s\)}}$/gm,function(e){return logger.debug(e,"!{{Abbr|Ref|Reference(s)}}",'!class="unsortable"|{{Abbr|Ref.|Reference(s)}}'),'!class="unsortable"|{{Abbr|Ref.|Reference(s)}}'})}).replace(/!(Award[ \t]*ceremony|Year|Title|Song title|Role|Artist|Singer|Director|Director(s)|Notes|Category|Nominee|Nominees|Nominee(s)|Work|Works|Work(s)|Nominee[ \t]*\/[ \t]*Work|Nominees[ \t]*\/[ \t]*Works|Nominee(s)[ \t]*\/[ \t]*Work(s)|Result|Results)(?![^\[]*?\]\])(?![^\{]*?\}\})$/gim,function(e,r){return logger.debug(e),'!scope="col"|'+r}).replace(/!class="unsortable"\|(Award[ \t]*ceremony|Year|Title|Song title|Role|Artist|Singer|Director|Director(s)|Category|Nominee|Nominees|Nominee(s)|Work|Works|Work(s)|Nominee[ \t]*\/[ \t]*Work|Nominees[ \t]*\/[ \t]*Works|Nominee(s)[ \t]*\/[ \t]*Work(s)|Result|Results|{{Abbr\|Ref\.\|Reference\(s\)}})(?![^\[]*?\]\])(?![^\{]*?\}\})$/gim,function(e,r){return logger.debug(e),'!scope="col" class="unsortable"|'+r}),e.set(r)},bodyFilmography:function(e){let r=e.get();r=r.replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/(?<!\|\-)\n(?=!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),"\n|-\n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\n\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/"wikitable sortable"(?=[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-)/gi,function(e){return logger.debug(e),'"wikitable plainrowheaders sortable"'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'!scope="row"|[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]–[Year]",'!scope="row"|[Year]–[Year]'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)–present$/gm,function(e,r){return logger.debug(e,"|[Year]–present",'!scope="row"|[Year]–present'),'!scope="row"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,"|[Year], [Year]",'!scope="row"|[Year], [Year]'),'!scope="row"|'+r+", "+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','!scope="row" rowspan=""|[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–[Year]','!scope="row" rowspan=""|[Year]–[Year]'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)–present$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]–present','!scope="row" rowspan=""|[Year]–present'),'!scope="row" '+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*style="(text-align:center|text-align:center;[ \t]*width:100%)"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b),[ \t]*?(\b\d{4}\b)$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|[Year], [Year]','!scope="row" rowspan=""|[Year], [Year]'),'!scope="row" '+r+"|"+n+", "+t})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|Notes\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?:(?!\|\-)[\s\S])*\|\-\n!scope="col"\|Year\n!scope="col"\|Title\n!scope="col"\|Role\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}),e.set(r)},bodyAwards:function(e){let r=e.get();r=r.replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'|style="text-align:center"|[Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'|style="text-align:center"|[Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'|style="text-align:center"|[Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,"|[Year]",'|style="text-align:center"|[Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','|rowspan="" style="text-align:center"|[Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','|rowspan="" style="text-align:center"|[Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','|rowspan="" style="text-align:center"|[Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Year]','|rowspan="" style="text-align:center"|[Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,"|[Linked Year]",'|style="text-align:center"|[Linked Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,"|[Linked Year]",'|style="text-align:center"|[Linked Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,"|[Linked Year]",'|style="text-align:center"|[Linked Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,"|[Linked Year]",'|style="text-align:center"|[Linked Year]'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Linked Year]','|rowspan="" style="text-align:center"|[Linked Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Linked Year]','|rowspan="" style="text-align:center"|[Linked Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Linked Year]','|rowspan="" style="text-align:center"|[Linked Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|[Linked Year]','|rowspan="" style="text-align:center"|[Linked Year]'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,"|<ref></ref>",'|style="text-align:center"|<ref></ref>'),'|style="text-align:center"|'+r})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+group2+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n){return logger.debug(e,'|<ref name=""></ref>','|style="text-align:center"|<ref name=""></ref>'),'|style="text-align:center"|<ref name="'+r+'">'+n+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r){return logger.debug(e,'|<ref name="" />','|style="text-align:center"|<ref name="" />'),'|style="text-align:center"|<ref name="'+r+'" />'})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref></ref>','|rowspan="" style="text-align:center"|<ref></ref>'),"|"+r+' style="text-align:center"|'+n})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>$/gm,function(e,r,n,t){return logger.debug(e,'|rowspan=""|<ref name=""></ref>','|rowspan="" style="text-align:center"|<ref name=""></ref>'),"|"+r+' style="text-align:center"|<ref name="'+n+'">'+t+"</ref>"})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+" />"})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+" />"})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+" />"})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")\|<ref name="([^"]*?)"[ \t]*\/\>$/gm,function(e,r,n){return logger.debug(e,'|rowspan=""|<ref name="" />','|rowspan="" style="text-align:center"|<ref name="" />'),"|"+r+' style="text-align:center"|<ref name="'+n+" />"})}).replace(/\{\|class="wikitable plainrowheaders"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders sortable"(?![ \t]*style="text-align:center")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="width:100%")(?:(?!\|\-)[\s\S])*\|(\-|\+.*?)\n!scope="col"\|Award[ \t]*ceremony\n!scope="col"\|Year\n!scope="col"\|Category\n!scope="col"\|(Nominee|Nominees|Nominee\(s\)|Nominee \/ Work|Nominees \/ Works|Nominee\(s\) \/ Work\(s\))\n!scope="col"\|(Result|Results)\n!scope="col" class="unsortable"\|{{Abbr\|Ref\.\|Reference\(s\)}}\n\|\-([\s\S]*?)\|\}/gi,function(e){return e.replace(/(?<!\|style="text-align:center")\|$(?=\n\|(\-|\}))/gm,function(e){return logger.debug(e,"|",'|style="text-align:center"|'),'|style="text-align:center"|'})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|[Year]',"|[Year]"),r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|\b\d{4}\b)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|[Year]',"|[Year]"),r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|[Year]','|rowspan=""|[Year]'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(\b\d{4}\b)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|[Year]','|rowspan=""|[Year]'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|[Year]',"|[Linked Year]"),r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|[Year]',"|[Linked Year]"),r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|[Year]','|rowspan=""|[Linked Year]'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(\[\[.*?\|\b\d{4}\b\]\])$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|[Year]','|rowspan=""|[Linked Year]'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref></ref>',"|<ref></ref>"),r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref></ref>',"|<ref></ref>"),r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref></ref>','|rowspan=""|<ref></ref>'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref>([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref></ref>','|rowspan=""|<ref></ref>'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref name=""></ref>','|<ref name=""></ref>'),r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref name="([^"]*?)">([\s\S]*?)<\/ref>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref name=""></ref>','|<ref name=""></ref>'),r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref name="([^"]*?)">([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref name=""></ref>','|rowspan=""|<ref name=""></ref>'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref name="([^"]*?)">([\s\S]*?)<\/ref>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref name=""></ref>','|rowspan=""|<ref name=""></ref>'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref name="([^"]*?)"[ \t]*\/\>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref name="" />','|<ref name="" />'),r})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|style="text-align:center"(\|<ref name="([^"]*?)"[ \t]*\/\>)$/gm,function(e,r){return logger.debug(e,'|style="text-align:center"|<ref name="" />','|<ref name="" />'),r})}).replace(/\{\|class="wikitable plainrowheaders"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref name="([^"]*?)"[ \t]*\/\>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref name="" />','|rowspan=""|<ref name="" />'),"|"+r+"|"+n})}).replace(/\{\|class="wikitable plainrowheaders sortable"[ \t]*(?:style="text-align:center.*")[\s\S]*?\|\}/gi,function(e){return e.replace(/^\|(rowspan="[0-9]{1,2}")[ \t]*style="text-align:center"\|(<ref name="([^"]*?)"[ \t]*\/\>)$/gm,function(e,r,n){return logger.debug(e,'|rowspan="" style="text-align:center"|<ref name="" />','|rowspan=""|<ref name="" />'),"|"+r+"|"+n})}),e.set(r)},format:function(e){let r=e.get();r=r.replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\!(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e,"!","![space]"),"! "})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e,"|","[space]|[space]")," | "})}).replace(/^[ \t]*\|(?![^\[]*?\]\])(?![^\{]*?\}\})/gm,function(e){return logger.debug(e,"[SOL][space]|","|"),"|"}).replace(/\{[ \t]*\|[ \t]*/g,function(e){return logger.debug(e,"{[space]|[space]","{|[space]"),"{|"}).replace(/\{\|/g,function(e){return logger.debug(e,"{|","{|[space]"),"{| "}).replace(/^\|[ \t]*\+/gm,function(e){return logger.debug(e,"|[space]+","|+[space]"),"|+ "}).replace(/^\|\+[ \t]*$/gm,function(e){return logger.debug(e,"|+[space][EOL]","|-"),"|-"}).replace(/\|\+$/gm,function(e){return logger.debug(e,"|+[EOL]","|-"),"|-"}).replace(/(\|\+.*)(?:\n\|\-)$/gm,function(e,r){return logger.debug(e,"|+[newline]|-","|+"),r}).replace(/\|[ \t]*\-/g,function(e){return logger.debug(e,"|[space]-","|-"),"|-"}).replace(/\|\-\n\|\-/g,function(e){return logger.debug(e,"|-[newline]|-","|-"),"|-"}).replace(/\|[ \t]*\|/g,function(e){return logger.debug(e,"|[space]|","||"),"||"}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\s*(?=\|-\n)(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e),"| \n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\s*(?=\*)(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e),"| \n"})}).replace(/\{\|([\s\S]*?)\|\}(?!\})/g,function(e){return e.replace(/\|\s*(?=\#)(?![^\[]*?\]\])(?![^\{]*?\}\})/g,function(e){return logger.debug(e),"| \n"})}).replace(/\|[ \t]*\}/g,function(e){return logger.debug(e,"|[space]}","|}"),"|}"}),e.set(r)},wikitable:function(e){logger.info("Start","wikitable"),auth.loading(e,function(){wikitable.normalize(e),wikitable.attributes(e),wikitable.header(e),wikitable.bodyFilmography(e),wikitable.bodyAwards(e),wikitable.format(e)}),logger.info("End","wikitable")}},template={format:function(e){logger.info("Start","template.format");let r=e.get();r=r.replace(/<\![ \t]\-\-/g,function(e){return logger.debug(e,"<! --","\x3c!--"),"\x3c!--"}).replace(/{{\s*(birth date and age|korean|main|see also|hlist|ubl|small|hidden|sronly|N\/A|efn|efn-ua|efn-la)[\s\S]*?}}/gi,function(e){return logger.debug(e,"| ","|"),e.replace(/[ \t]*\|[ \t]*/g,"|")}).replace(/{{Horizontal list\|/gi,function(e){return logger.debug(e,"{{horizontal list|","{{Hlist|"),"{{Hlist|"}).replace(/{{dotlist\|/gi,function(e){return logger.debug(e,"{{dotlist|","{{Hlist|"),"{{Hlist|"}).replace(/{{hlist1\|/gi,function(e){return logger.debug(e,"{{hlist1|","{{Hlist|"),"{{Hlist|"}).replace(/{{Flt\|/gi,function(e){return logger.debug(e,"{{flt|","{{Flatlist|"),"{{Flatlist|"}).replace(/{{PL\|/gi,function(e){return logger.debug(e,"{{PL|","{{Plainlist|"),"{{Plainlist|"}).replace(/{{\s*N\/A}}/gi,function(e){return logger.debug(e,"{{n/a}}","{{N/A}}"),"{{N/A}}"}).replace(/{{\s*N\/A\|\*}}/gi,function(e){return logger.debug(e,"{{n/a|*}}","{{N/A|*}}"),"{{N/A|*}}"}).replace(/{{\s*Won}}/g,function(e){return logger.debug(e,"{{Won}}","{{won}}"),"{{won}}"}).replace(/{{\s*Nom}}/g,function(e){return logger.debug(e,"{{Nom}}","{{nom}}"),"{{nom}}"}).replace(/{{\s*nominated}}/gi,function(e){return logger.debug(e,"{{nominated}}","{{nom}}"),"{{nom}}"}).replace(/{{\s*Pending}}/g,function(e){return logger.debug(e,"{{Pending}}","{{pending}}"),"{{pending}}"}).replace(/({{\s*hidden\|[^"]*\|)(\#|\*)/gi,function(e,r,n){return logger.debug(e),r+"\n"+n+" "}).replace(/{{hidden([\s\S]*?)}}/gi,function(e){return e.replace(/(\#|\*)[ \t]*/gi,function(e,r){return logger.debug(e,"double space","space"),r+" "})}).replace(/({{\s*hidden\|[^"]*\|)('''|'')/gi,function(e,r,n){return logger.debug(e),r+"\n"+n}).replace(/(?<=\|.[^|#]*color\=\#)[ \t]*(.[^|\s]*)(?=\|)/gi,function(e,r){return logger.debug(e,"# color","#color"),r}).replace(/{{official\|([\s\S]*?)}}/gi,function(e,r){return logger.debug(e,"{{Official}}","{{Official website}}"),"{{Official website|"+r+"}}"}),e.set(r),logger.info("End","template.format")},hiddenFormat:function(e){logger.info("Start","template.hiddenFormat");let r=e.get();var n=(r=r.replace(/{{hidden(?![ \t]*?begin|[ \t]*?start|[ \t]*?end)([\s\S]*?)\n}}/gi,function(e){return e.replace(/[ \t]*\|[ \t]*/g,function(e){return logger.debug(e,"[space]|[space]","|"),"|"})})).match(/{{hidden(?![ \t]*?begin|[ \t]*?start|[ \t]*?end)([\s\S]*?)\n}}/gi),t=/^\|\s*([^=]*)(?=\s*=\s*)/gm;if(n){for(var o,l=[];null!==(o=t.exec(n));)l.push(o[1]);const s=Math.max(...l.map(e=>e.trim().length));r=r.replace(/{{hidden(?![ \t]*?begin|[ \t]*?start|[ \t]*?end)([\s\S]*?)\n}}/gi,function(e){return e.replace(/^\|\s*([^=]*)(?=\s*=\s*)/gm,(e,r)=>{var r=r.trim(),n=Math.max(0,s-r.length);return`| ${r}${" ".repeat(n)} `})}),e.set(r),logger.info("End","template.hiddenFormat")}},trackListingFormat:function(e){logger.info("Start","template.trackListingFormat");let r=e.get();var n=(r=r.replace(/{{(track listing|tracklist)([\s\S]*?)\n}}/gi,function(e){return e.replace(/[ \t]*\|[ \t]*/g,function(e){return logger.debug(e,"[space]|[space]","|"),"|"})})).match(/{{(track listing|tracklist)([\s\S]*?)\n}}/gi),t=/^\|\s*([^=]*)(?=\s*=\s*)/gm;if(n){for(var o,l=[];null!==(o=t.exec(n));)l.push(o[1]);const s=Math.max(...l.map(e=>e.trim().length));r=r.replace(/{{(track listing|tracklist)([\s\S]*?)\n}}/gi,function(e){return e.replace(/^\|\s*([^=]*)(?=\s*=\s*)/gm,(e,r)=>{var r=r.trim(),n=Math.max(0,s-r.length);return`| ${r}${" ".repeat(n)} `})}),e.set(r),logger.info("End","template.trackListingFormat")}},template:function(e){auth.loading(e,function(){template.format(e),template.hiddenFormat(e),template.trackListingFormat(e)})}},efn={format:function(r){logger.info("Start","efn.format"),auth.loading(r,function(){let e=r.get();e=e.replace(/{{\s*efn[\s\S]*?}}/gi,function(e){return logger.debug(e,"efn","Efn"),e.replace(/\s*efn\s*/g,"Efn")}).replace(/{{\s*efn[\s\S]*?}}/gi,function(e){return logger.debug(e,"|group=lower-alpha"),e.replace(/\s*\|group=lower-alpha\s*/g,"")}).replace(/{{\s*efn[\s\S]*?}}/gi,function(e){return logger.debug(e,"|group=upper-alpha","-ua"),e.replace(/\s*\|group=upper-alpha\s*/g,"-ua")}).replace(/{{\s*notelist(?!(-la|-ua))[\s\S]*?}}/gi,function(e){return logger.debug(e,"notelist","Notelist"),e.replace(/\s*notelist\s*/gi,"Notelist")}).replace(/{{\s*notelist-la[\s\S]*?}}/gi,function(e){return logger.debug(e,"notelist-la","Notelist"),e.replace(/\s*notelist-la\s*/gi,"Notelist")}).replace(/{{\s*notelist-ua[\s\S]*?}}/gi,function(e){return logger.debug(e,"notelist-ua","Notelist-ua"),e.replace(/\s*notelist-ua\s*/gi,"Notelist-ua")}).replace(/{{\s*notelist[\s\S]*?}}/gi,function(e){return e.replace(/\s*\|group=lower-alpha\s*/gi,function(e){return logger.debug(e,"|group=lower-alpha",null),""})}).replace(/{{\s*notelist[\s\S]*?}}/gi,function(e){return e.replace(/\s*\|group=upper-alpha\s*/gi,function(e){return logger.debug(e,"|group=upper-alpha","-ua"),"-ua"})}).replace(/{{\s*notelist\|group=note\s*}}/gi,function(e){return logger.debug(e,"notelist|group=note","NoteFoot"),e.replace(/\s*notelist\|group=note\s*/gi,"NoteFoot")}).replace(/{{\s*(notelist|notelist-ua)[\s\S]*?}}/gi,function(e){return e.replace(/(notelist|notelist-ua)\|[\s\S]*/gi,function(e,r){return logger.debug(e,"|",r),r})}),r.set(e)}),logger.info("End","efn.format")}};const citationParamOrderLS=localStorage.getItem("paper9oll.scripts.settings.citeParamOrder"),citationParamOrder="false"!==citationParamOrderLS,citationLinksLS=localStorage.getItem("paper9oll.scripts.settings.citeLinks"),citationLinks="false"!==citationLinksLS;var cite={toMagicWords:function(e){logger.info("Start","cite.toMagicWords");let r=e.get();r=r.replace(/{{!}}/gi,function(e){return logger.debug(e,"{{!}}","U0028U0028PIPEU0029U0029"),"U0028U0028PIPEU0029U0029"}).replace(/{{'}}/gi,function(e){return logger.debug(e,"{{'}}","U0028U0028COLONU0029U0029"),"U0028U0028COLONU0029U0029"}).replace(/{{=}}/gi,function(e){return logger.debug(e,"{{=}}","U0028U0028EQUALU0029U0029"),"U0028U0028EQUALU0029U0029"}).replace(/{{pipe}}/gi,function(e){return logger.debug(e,"{{pipe}}","U0028U0028TPIPETU0029U0029"),"U0028U0028TPIPETU0029U0029"}).replace(/<ref>{{/gi,function(e){return logger.debug(e,"{{","U0028U0028CITESTARTU0029U0029"),"<ref>U0028U0028CITESTARTU0029U0029"}).replace(/(<ref name=\".*\">){{/gi,function(e,r){return logger.debug(e,"{{","U0028U0028CITESTARTU0029U0029"),r+"U0028U0028CITESTARTU0029U0029"}).replace(/}}<\/ref>/gi,function(e){return logger.debug(e,"}}","U0028U0028CITEENDU0029U0029"),"U0028U0028CITEENDU0029U0029</ref>"}).replace(/U0028U0028CITESTARTU0029U0029\s*(cite|citation)[\s\S]*?U0028U0028CITEENDU0029U0029/gi,function(r){return r.replace(/{{/g,function(e){return logger.debug(r,"{{","U0028U0028CURLYSTARTU0029U0029"),"U0028U0028CURLYSTARTU0029U0029"})}).replace(/U0028U0028CITESTARTU0029U0029\s*(cite|citation)[\s\S]*?U0028U0028CITEENDU0029U0029/gi,function(r){return r.replace(/}}/g,function(e){return logger.debug(r,"}}","U0028U0028CURLYENDU0029U0029"),"U0028U0028CURLYENDU0029U0029"})}).replace(/U0028U0028CITESTARTU0029U0029\s*(cite|citation)[\s\S]*?U0028U0028CITEENDU0029U0029/gi,function(e){return e.replace(/U0028U0028CURLYSTARTU0029U0029([\s\S]*?)U0028U0028CITEENDU0029U0029/g,function(r){return r.replace(/\|/g,function(e){return logger.debug(r,"|","U007CpaperU007C"),"U007CpaperU007C"})})}).replace(/U0028U0028CITESTARTU0029U0029/g,function(e){return logger.debug(e,"U0028U0028CITESTARTU0029U0029","{{"),"{{"}).replace(/U0028U0028CITEENDU0029U0029/g,function(e){return logger.debug(e,"U0028U0028CITEENDU0029U0029","}}"),"}}"}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(n){return n.replace(/\[\[([\s\S]*?)\]\]/gi,function(e,r){return logger.debug(n,"[[x]]","U005BpaperU005BxU005DpaperU005D"),"U005BpaperU005B"+r+"U005DpaperU005D"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(r){return r.replace(/U005BpaperU005B([\s\S]*?)U005DpaperU005D/g,function(e){return e.replace(/\|/g,function(e){return logger.debug(r,"|","U007CpaperU007C"),"U007CpaperU007C"})})}),e.set(r),logger.info("End","cite.toMagicWords")},normalize:function(e){logger.info("Start","cite.normalize");let r=e.get();r=r.replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return logger.debug(e,"{{ ","{{"),e.replace(/\s*\{{\s*/g,"{{")}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return logger.debug(e,"[space]|[space]","|"),e.replace(/\s*\|\s*/g,"|")}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return logger.debug(e," = ","="),e.replace(/\s*\=\s*/g,"=")}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return logger.debug(e," }}","}}"),e.replace(/\s*\}}\s*/g,"}}")}).replace(/\|\s*refname[\s\S]*?}}/gi,function(e){return logger.debug(e,"refname","refname"),e.replace(/\s*refname\s*/gi,"refname")}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/(?<=\|)(via|website|publisher|work)=news\.chosun\.com(?=\|)/gi,function(e,r){return logger.debug(e,"news.chosun.com","The Chosun Ilbo"),r+"=The Chosun Ilbo"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/(?<=\|)(via|website|publisher|work)=Herald Pop(?=\|)/gi,function(e,r){return logger.debug(e,"Herald POP","Herald Pop"),r+"=Herald Pop"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/(?<=\|)(via|website|publisher|work)=(entertain\.naver\.com|m\.entertain\.naver\.com)(?=\|)/gi,function(e,r){return logger.debug(e,"entertain.naver.com","Naver"),r+"=Naver"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/(?<=\|)(via|website|publisher|work)=(Naver News|n\.news\.naver\.com)(?=\|)/gi,function(e,r){return logger.debug(e,"Naver News","Naver"),r+"=Naver"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/(?<=\|)(via|website|publisher|work)=Osen(?=\|)/gi,function(e,r){return logger.debug(e,"OSEN","Osen"),r+"=Osen"})}),r=(r=citationLinks?r:r.replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/\|([\s\S][^|=]*?)=\[\[([\s\S][^|]*?)\]\](?=(\||}}))/g,function(e,r,n){return logger.debug(e,"brackets"),"|"+r+"="+n})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(e){return e.replace(/\|([\s\S][^|=]*?)=\[\[([\s\S][^|]*?)\|([\s\S][^|]*?)\]\](?=(\||}}))/g,function(e,r,n,t){return logger.debug(e,"brackets"),"|"+r+"="+t})})).replace(/\|\s*accessdate[\s\S]*?}}/gi,function(e){return logger.debug(e,"accessdate","access-date"),e.replace(/\s*accessdate\s*/gi,"access-date")}).replace(/\?utm_(campaign|medium|source)=.*?(?=\/|\|)/gi,function(e){return logger.debug(e,"?utm_(campaign|medium|source)"),""}).replace(/{{\s*reflist[\s\S]*?}}/gi,function(e){return e.replace(/(reflist)\|([\s\S]*?)(?=}})/gi,function(e,r){return logger.debug(e),r})}).replace(/{{\s*reflist[\s\S]*?}}/gi,function(e){return logger.debug(e,"reflist","Reflist"),e.replace(/\s*reflist\s*/gi,"Reflist")}).replace(/\<references[ \t]*?\/[ \t]*\>/gi,function(e){return logger.debug(e,"<references />","{{Reflist}}"),"{{Reflist}}"}),e.set(r),logger.info("End","cite.normalize")},formatAll:function(r){if(logger.info("Start","cite.formatAll"),citationParamOrder){let e=[];var t=r.get();let n=t;t=t.match(/{{(cite|citation)(?![ \t]*(certification|episode|tweet|twitter|instagram|book))([\s\S]*?)}}/gi);if(!t)return;t&&t.forEach(function(n){let t=new Map;["(cite|citation)","title","script-title","trans-title","season","url","episode-link","edition","volume","chapter","via","website","work","journal","newspaper","magazine","periodical","series","series-number","series-no","series-link","version","script-website","script-work","script-journal","script-newspaper","script-magazine","script-periodical","trans-website","trans-work","trans-journal","trans-newspaper","trans-magazine","trans-periodical","publisher","agency","place","network","station","location","publication-place","url-access","issue","number","page","pages","p","no-pp","at","quote","trans-quote","quote-page","quote-pages","transcript","transcript-url","language","type","format","medium","minutes","time-caption","time","last","surname","first","given","author","last1","surname1","first1","given1","author1","last2","surname2","first2","given2","author2","last3","surname3","first3","given3","author3","last4","surname4","first4","given4","author4","last5","surname5","first5","given5","author5","last6","surname6","first6","given6","author6","last7","surname7","first7","given7","author7","last8","surname8","first8","given8","author8","last9","surname9","first9","given9","author9","last10","surname10","first10","given10","author10","author-link","author-link1","author-link2","author-link3","author-link4","author-link5","author-link6","author-link7","author-link8","author-link9","author-link10","name-list-style","vauthors","author-mask","others","date","year","orig-date","df","publication-date","access-date","ref","postscript","arvix","asin","bibcode","doi","isbn","issn","jfm","jstor","lccn","mr","oclc","ol","osti","pmc","pmid","rfc","ssrn","zbl","id","archive-date","archive-url","archive-format","url-status"].forEach(function(e){var r;"(cite|citation)"===e?null!==(r=n.match(new RegExp(`(?<=\\{\\{)(${e}[\\s\\S]*?)(?=\\|)`,"gi")))&&t.set(e,r[0]):"via"===e||"website"===e||"work"===e||"magazine"===e||"series"===e||"publisher"===e||"agency"===e?null!==(r=n.match(new RegExp(`(?<=\\|)(${e}=[^|\\[\\]]*?(?:\\[\\[[^\\]]*?\\]\\][^|\\[\\]]*?)*)(?=(\\}\\}|\\|))`,"gi")))&&t.set(e,r[0]):null!==(r=n.match(new RegExp(`(?<=\\|)(${e}=[\\s\\S]*?)(?=(\\}\\}|\\|))`,"gi")))&&t.set(e,r[0])}),e.push({match:n,data:t})}),e.forEach(function(e){var{match:e,data:r}=e,r=`{{${[...r.values()].join("|")}}}`;n=n.replace(e,r)}),r.set(n)}logger.info("End","cite.formatAll")},formatSocial:function(r){if(logger.info("Start","cite.formatSocial"),citationParamOrder){let e=[];var t=r.get();let n=t;t=t.match(/{{cite(tweet|twitter|instagram)([\s\S]*?)}}/gi);if(!t)return;t&&t.forEach(function(n){let t=new Map;["cite","title","script-title","trans-title","url","number","postid","user","link","language","last","surname","first","given","author","last1","surname1","first1","given1","author1","last2","surname2","first2","given2","author2","last3","surname3","first3","given3","author3","last4","surname4","first4","given4","author4","last5","surname5","first5","given5","author5","last6","surname6","first6","given6","author6","last7","surname7","first7","given7","author7","last8","surname8","first8","given8","author8","last9","surname9","first9","given9","author9","last10","surname10","first10","given10","author10","author-link","author-link1","author-link2","author-link3","author-link4","author-link5","author-link6","author-link7","author-link8","author-link9","author-link10","name-list-style","vauthors","author-mask","date","year","orig-date","df","publication-date","access-date","archive-date","archive-url","archive-format","url-status"].forEach(function(e){var r;"cite"===e?null!==(r=n.match(new RegExp(`(?<=\\{\\{)(${e}[\\s\\S]*?)(?=\\|)`,"gi")))&&t.set(e,r[0]):null!==(r=n.match(new RegExp(`(?<=\\|)(${e}=[\\s\\S]*?)(?=(\\}\\}|\\|))`,"gi")))&&t.set(e,r[0])}),e.push({match:n,data:t})}),e.forEach(function(e){var{match:e,data:r}=e,r=`{{${[...r.values()].join("|")}}}`;n=n.replace(e,r)}),r.set(n)}logger.info("End","cite.formatSocial")},formatEpisode:function(r){if(logger.info("Start","cite.formatEpisode"),citationParamOrder){let e=[];var t=r.get();let n=t;t=t.match(/{{cite episode([\s\S]*?)}}/gi);if(!t)return;t&&t.forEach(function(n){let t=new Map;["cite","season","number","title","script-title","trans-title","series","url","episode-link","time-caption","time","via","website","publisher","network","station","url-access","language","type","format","medium","date","year","orig-date","df","publication-date","access-date","archive-date","archive-url","archive-format","url-status"].forEach(function(e){var r;"cite"===e?null!==(r=n.match(new RegExp(`(?<=\\{\\{)(${e}[\\s\\S]*?)(?=\\|)`,"gi")))&&t.set(e,r[0]):"via"===e||"website"===e||"series"===e||"publisher"===e||"network"===e||"station"===e?(r=n.match(new RegExp(`(?<=\\|)(${e}=[^|\\[\\]]*?(?:\\[\\[[^\\]]*?\\]\\][^|\\[\\]]*?)*)(?=\\|)`,"gi")))&&t.set(e,r[0]):(r=n.match(new RegExp(`(?<=(\\|))(${e}=[\\s\\S]*?)(?=(\\||\\}\\}))`,"gi")))&&t.set(e,r[0])}),e.push({match:n,data:t})}),e.forEach(function(e){var{match:e,data:r}=e,r=`{{${[...r.values()].join("|")}}}`;n=n.replace(e,r)}),r.set(n)}logger.info("End","cite.formatEpisode")},format:function(e){logger.info("Start","cite.format");let r=e.get();r=r.replace(/\|archive-date=\|archive-url=\|url-status=(live|dead|unfit|deviated)(?=}})/gi,function(e){return logger.debug(e,"|archive-date=|archive-url=|url-status=(live|dead|unfit|deviated)"),""}),e.set(r),logger.info("End","cite.format")},fromMagicWords:function(e){logger.info("Start","cite.fromMagicWords");let r=e.get();r=r.replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(r){return r.replace(/U005BpaperU005B/g,function(e){return logger.debug(r,"U005BpaperU005B","[["),"[["})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(r){return r.replace(/U005DpaperU005D/g,function(e){return logger.debug(r,"U005DpaperU005D","]]"),"]]"})}).replace(/{{\s*(cite|citation)[\s\S]*?}}/gi,function(r){return r.replace(/U007CpaperU007C/g,function(e){return logger.debug(r,"U007CpaperU007C","|"),"|"})}).replace(/U0028U0028PIPEU0029U0029/g,function(e){return logger.debug(e,"U0028U0028PIPEU0029U0029","{{!}}"),"{{!}}"}).replace(/U0028U0028COLONU0029U0029/g,function(e){return logger.debug(e,"U0028U0028COLONU0029U0029","{{'}}"),"{{'}}"}).replace(/U0028U0028EQUALU0029U0029/g,function(e){return logger.debug(e,"U0028U0028EQUALU0029U0029","{{=}}"),"{{=}}"}).replace(/U0028U0028TPIPETU0029U0029/g,function(e){return logger.debug(e,"U0028U0028TPIPETU0029U0029","{{pipe}}"),"{{pipe}}"}).replace(/U0028U0028CURLYSTARTU0029U0029/g,function(e){return logger.debug(e,"U0028U0028CURLYSTARTU0029U0029","{{"),"{{"}).replace(/U0028U0028CURLYENDU0029U0029/g,function(e){return logger.debug(e,"U0028U0028CURLYENDU0029U0029","}}"),"}}"}),e.set(r),logger.info("End","cite.fromMagicWords")},cite(e){auth.loading(e,function(){cite.toMagicWords(e),cite.normalize(e),cite.formatAll(e),cite.formatSocial(e),cite.formatEpisode(e),cite.format(e),cite.fromMagicWords(e)})}},unreliableSource={KO:function(e){logger.info("Start","unreliableSource.KO");let r=e.get();r=r.replace(/https?:\/\/(?:\w+\.)*allkpop\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*asianjunkie\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*asianwiki\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*channel-korea\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*movie\.daum\.net(?:\/moviedb)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*search\.daum\.net[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|date={{subst:#time:F Y}}}}"}).replace(/(https?:\/\/(?:\w+\.)*search\.daum\.net[^<]*(?:(시청률|%EC%8B%9C%EC%B2%AD%EB%A5%A0))[^<]*<\/ref>)(?:{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e,r){return logger.debug(e),r}).replace(/(https?:\/\/(?:\w+\.)*search\.daum\.net[^<]*(?:(시청률|%EC%8B%9C%EC%B2%AD%EB%A5%A0))[^<]*<\/ref>)}}/gi,function(e,r){return logger.debug(e),r}).replace(/https?:\/\/(?:\w+\.)*gall\.dcinside\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*mlbpark\.donga\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*dramabeans\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*hancinema\.net(?:\/korean_(drama|movie).*\-cast\.html)[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*hancinema\.net(?:\/korean_.*\-filmography\.html)[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*hellokpop\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*hwaiting\.jp[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*hwaiting\.me[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*inkinews\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*japakomusic\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*jpopasia\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kbizoom\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kmdb\.or\.kr\/eng\/db\/kor\/detail\/movie\/K[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kmdb\.or\.kr\/db\/kor\/detail\/movie\/K[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kmdb\.or\.kr\/eng\/db\/per[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kmdb\.or\.kr\/db\/per[^<]*<\/ref>(?!.*{{(better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Better source needed|reason=Non-database source required|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*korea\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*koreaboo\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*koreaportal\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*koreastardaily\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpophit\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopfans\.net[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopmap\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopping\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpoppost\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopsource\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopstarz\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kprofiles\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kdramapal\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kdramastars\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*thekrazemagazine\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kstarlive\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*kpopreviewed\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*meaww\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*mydramalist\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*blog\.naver\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*cafe\.naver\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*search\.naver\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*ningen\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*officiallykmusic\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*onehallyu\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*readysteadycut\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*rigvedawiki\.net[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*namu\.wiki[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*seoulbeats\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*soompi\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*soshified\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*thebiaslist\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*thekmeal\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*thestarfandom\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*tokyohive\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*touringdata\.wordpress\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*unitedkpop\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*zapzee\.net[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:KO/RS#UR]]|date={{subst:#time:F Y}}}}"}),e.set(r),logger.info("End","unreliableSource.KO")},RSP:function(e){logger.info("Start","unreliableSource.RSP");let r=e.get();r=r.replace(/https?:\/\/(?:\w+\.)*blogspot\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*blogger\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*goodyfeed\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:BLOGS]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*(ibtimes\.com|ibtimes\.com\.au|ibtimes\.com\.cn|ibtimes\.co\.in|ibtimes\.sg|ibtimes\.co\.uk)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:IBTIMES]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*(imdb\.com)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:IMDB]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*(meaww\.com)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:RSPSS#MEAWW]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*medium\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*(prnewswire\.com|prnewswire\.co\.uk)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:PRNEWSWIRE]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*(sportskeeda\.com)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:SPORTSKEEDA]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*whats\-on\-netflix\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*wordpress\.com[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|reason=Per [[WP:UCG]]|date={{subst:#time:F Y}}}}"}).replace(/https?:\/\/(?:\w+\.)*youtube\.com(?:\/playlist)[^<]*<\/ref>(?!.*{{(unreliable source|unreliable source\?|better source needed|self-published|self published inline|self published-inline|self-published-inline|sps|self-published source|user-generated inline|user generated inline|user generated-inline|user-generated-inline|user-generated content|ugc|ugs|user-generated source)(\|[^}]*)?}})/gi,function(e){return logger.debug(e),e+"{{Unreliable source|date={{subst:#time:F Y}}}}"}),e.set(r),logger.info("End","unreliableSource.RSP")}},editSummaryBox=document.getElementById("wpSummary"),submitBtn=document.getElementById("wpSave"),editSummary={noOverwrite:function(){"Paper9oll"!==Object.freeze({username:mw.user.getName()}).username&&(editSummaryBox.readOnly=!0,editSummaryBox.style.cursor="not-allowed")},summaryCheck:function(e){const r=Object.freeze({username:mw.user.getName()});submitBtn.addEventListener("click",function(){"Paper9oll"===r.username||editSummaryBox.value.includes(e)||(editSummaryBox.value=e+", "+editSummaryBox.value)})},auto:function(e){var r=e.get().includes("{{subst:#time:F Y}}");let n="";n=r?"Formatting and Tagging using [[User:Paper9oll/FormatterTagger.js|script]]":"Formatting using [[User:Paper9oll/FormatterTagger.js|script]]",e.options({minor:!0}).appendEditSummary(n).clickDiff(),this.noOverwrite(),this.summaryCheck(n)},tagger:function(e){var r="Tagging using [[User:Paper9oll/FormatterTagger.js|script]]";e.options({minor:!0}).appendEditSummary(r).clickDiff(),this.noOverwrite(),this.summaryCheck(r)}};}
// </nowiki>