wikiparser-node 1.39.0 → 1.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var no=Object.create;var At=Object.defineProperty,Wd=Object.defineProperties,io=Object.getOwnPropertyDescriptor,Dd=Object.getOwnPropertyDescriptors,Md=Object.getOwnPropertyNames,En=Object.getOwnPropertySymbols,Ud=Object.getPrototypeOf,bi=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable;var oo=(o,t)=>(t=Symbol[o])?t:Symbol.for("Symbol."+o),Zt=o=>{throw TypeError(o)};var Ln=(o,t,e)=>t in o?At(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,V=(o,t)=>{for(var e in t||(t={}))bi.call(t,e)&&Ln(o,e,t[e]);if(En)for(var e of En(t))so.call(t,e)&&Ln(o,e,t[e]);return o},oe=(o,t)=>Wd(o,Dd(t)),ro=(o,t)=>At(o,"name",{value:t,configurable:!0});var Nn=(o,t)=>{var e={};for(var r in o)bi.call(o,r)&&t.indexOf(r)<0&&(e[r]=o[r]);if(o!=null&&En)for(var r of En(o))t.indexOf(r)<0&&so.call(o,r)&&(e[r]=o[r]);return e};var w=(o,t)=>()=>(o&&(t=o(o=0)),t);var ao=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),Z=(o,t)=>{for(var e in t)At(o,e,{get:t[e],enumerable:!0})},lo=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Md(t))!bi.call(o,n)&&n!==e&&At(o,n,{get:()=>t[n],enumerable:!(r=io(t,n))||r.enumerable});return o};var zd=(o,t,e)=>(e=o!=null?no(Ud(o)):{},lo(t||!o||!o.__esModule?At(e,"default",{value:o,enumerable:!0}):e,o)),J=o=>lo(At({},"__esModule",{value:!0}),o);var B=o=>{var t;return[,,,no((t=o==null?void 0:o[oo("metadata")])!=null?t:null)]},go=["class","method","getter","setter","accessor","field","value","get","set"],Ir=o=>o!==void 0&&typeof o!="function"?Zt("Function expected"):o,Gd=(o,t,e,r,n)=>({kind:go[o],name:t,metadata:r,addInitializer:i=>e._?Zt("Already initialized"):n.push(Ir(i||null))}),Fr=(o,t)=>Ln(t,oo("metadata"),o[3]),R=(o,t,e,r)=>{for(var n=0,i=o[t>>1],s=i&&i.length;n<s;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},P=(o,t,e,r,n,i)=>{var s,a,l,p,g,d=t&7,f=!!(t&8),c=!!(t&16),u=d>3?o.length+1:d?f?1:2:0,b=go[d+5],h=d>3&&(o[u-1]=[]),T=o[u]||(o[u]=[]),x=d&&(!c&&!f&&(n=n.prototype),d<5&&(d>3||!c)&&io(d<4?n:{get[e](){return m(this,i)},set[e](k){return C(this,i,k)}},e));d?c&&d<4&&ro(i,(d>2?"set ":d>1?"get ":"")+e):ro(n,e);for(var y=r.length-1;y>=0;y--)p=Gd(d,e,l={},o[3],T),d&&(p.static=f,p.private=c,g=p.access={has:c?k=>Hd(n,k):k=>e in k},d^3&&(g.get=c?k=>(d^1?m:I)(k,n,d^4?i:x.get):k=>k[e]),d>2&&(g.set=c?(k,A)=>C(k,n,A,d^4?i:x.set):(k,A)=>k[e]=A)),a=(0,r[y])(d?d<4?c?i:x[b]:d>4?void 0:{get:x.get,set:x.set}:n,p),l._=1,d^4||a===void 0?Ir(a)&&(d>4?h.unshift(a):d?c?i=a:x[b]=a:n=a):typeof a!="object"||a===null?Zt("Object expected"):(Ir(s=a.get)&&(x.get=s),Ir(s=a.set)&&(x.set=s),Ir(s=a.init)&&h.unshift(s));return d||Fr(o,n),x&&At(n,e,x),c?d^4?i:x:n},ce=(o,t,e)=>Ln(o,typeof t!="symbol"?t+"":t,e),yi=(o,t,e)=>t.has(o)||Zt("Cannot "+e),Hd=(o,t)=>Object(t)!==t?Zt('Cannot use the "in" operator on this value'):o.has(t),m=(o,t,e)=>(yi(o,t,"read from private field"),e?e.call(o):t.get(o)),S=(o,t,e)=>t.has(o)?Zt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),C=(o,t,e,r)=>(yi(o,t,"write to private field"),r?r.call(o,e):t.set(o,e),e),I=(o,t,e)=>(yi(o,t,"access private method"),e);var $n=(o,t,e,r)=>({set _(n){C(o,t,n,e)},get _(){return m(o,t,r)}});var po,Rr,Ti=w(()=>{"use strict";po=(()=>{let o={redirect:1,onlyinclude:1,noinclude:1,include:1,comment:1,ext:1,arg:2,"magic-word":2,template:2,heading:2,html:3,table:4,hr:5,"double-underscore":5,link:6,category:6,file:6,quote:7,"ext-link":8,"free-ext-link":9,"magic-link":9,list:10,dd:10,converter:11};return Object.setPrototypeOf(o,null),o})(),Rr=(()=>{let o=["arg-in-ext","blank-alt","bold-header","format-leakage","fostered-content","h1","illegal-attr","insecure-style","invalid-gallery","invalid-imagemap","invalid-invoke","invalid-isbn","invalid-json","invalid-url","lonely-apos","lonely-bracket","lonely-http","nested-link","no-arg","no-duplicate","no-ignored","obsolete-attr","obsolete-tag","parsing-order","pipe-like","syntax-like","table-layout","tag-like","unbalanced-header","unclosed-comment","unclosed-quote","unclosed-table","unescaped","unknown-page","unmatched-tag","unterminated-url","url-encoding","var-anchor","void-ext"];return Object.freeze(o),o})()});function ke(o,t,e){return e===1?o.replace(/\0(\d+)g\x7F/gu,(r,n)=>ke(String(t[n]),t,2)):e===2?o.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):o.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var Ie,uo,De,Me,Ue,Pr,fo,re,Ee,Vd,Qd,In,Br,co,Jd,Xd,Lp,le=w(()=>{"use strict";Ie=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,uo=String.raw`[^[\]<>"\0-\x1F\x7F${Ie}\uFFFD]`,De=String.raw`(?:\[[\da-f:.]+\]|${uo})`,Me=String.raw`(?:${uo}|\0\d+[cn!~]\x7F)*`,Ue=o=>o.trim().toLowerCase();Pr=(o,t)=>e=>e.replace(o,t),fo=Pr(/[\0\x7F]|\r$/gmu,""),re=Pr(/\0\d+[cn]\x7F/gu,""),Ee=(o,t="")=>o.map(e=>typeof e=="string"?e:e.text()).join(t),Vd={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},Qd=Pr(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(o,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):Vd[e.toLowerCase()]),Br=o=>(In!=null||(In=Qd),In(o)),co=Pr(/&#(\d+|x[\da-f]+);/giu,(o,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),Jd={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},Xd=(o=/[&<>"{}[\]|]/gu)=>Pr(o,t=>`&${Jd[t]};`),Lp=Xd(/[&<>]/gu)});var mo=ao(($p,Kd)=>{Kd.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[]],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var ho,jr,xo,ki,Or=w(()=>{"use strict";ho=new Set(["alt","link","lang","page","caption"]),jr=new Set(["tiff","tif","png","gif","jpg","jpeg","webp","xcf","pdf","svg","djvu"]),xo=["templatedata","mapframe","maplink"],ki=mo()});var bo,Yd,qr,yo,To,ko,vo=w(()=>{"use strict";bo={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1
+ "use strict";(()=>{var no=Object.create;var At=Object.defineProperty,Wd=Object.defineProperties,io=Object.getOwnPropertyDescriptor,Dd=Object.getOwnPropertyDescriptors,Md=Object.getOwnPropertyNames,En=Object.getOwnPropertySymbols,Ud=Object.getPrototypeOf,bi=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable;var oo=(o,t)=>(t=Symbol[o])?t:Symbol.for("Symbol."+o),Zt=o=>{throw TypeError(o)};var Ln=(o,t,e)=>t in o?At(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,V=(o,t)=>{for(var e in t||(t={}))bi.call(t,e)&&Ln(o,e,t[e]);if(En)for(var e of En(t))so.call(t,e)&&Ln(o,e,t[e]);return o},oe=(o,t)=>Wd(o,Dd(t)),ro=(o,t)=>At(o,"name",{value:t,configurable:!0});var Nn=(o,t)=>{var e={};for(var r in o)bi.call(o,r)&&t.indexOf(r)<0&&(e[r]=o[r]);if(o!=null&&En)for(var r of En(o))t.indexOf(r)<0&&so.call(o,r)&&(e[r]=o[r]);return e};var w=(o,t)=>()=>(o&&(t=o(o=0)),t);var ao=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),Z=(o,t)=>{for(var e in t)At(o,e,{get:t[e],enumerable:!0})},lo=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Md(t))!bi.call(o,n)&&n!==e&&At(o,n,{get:()=>t[n],enumerable:!(r=io(t,n))||r.enumerable});return o};var zd=(o,t,e)=>(e=o!=null?no(Ud(o)):{},lo(t||!o||!o.__esModule?At(e,"default",{value:o,enumerable:!0}):e,o)),J=o=>lo(At({},"__esModule",{value:!0}),o);var B=o=>{var t;return[,,,no((t=o==null?void 0:o[oo("metadata")])!=null?t:null)]},go=["class","method","getter","setter","accessor","field","value","get","set"],Ir=o=>o!==void 0&&typeof o!="function"?Zt("Function expected"):o,Gd=(o,t,e,r,n)=>({kind:go[o],name:t,metadata:r,addInitializer:i=>e._?Zt("Already initialized"):n.push(Ir(i||null))}),Fr=(o,t)=>Ln(t,oo("metadata"),o[3]),R=(o,t,e,r)=>{for(var n=0,i=o[t>>1],s=i&&i.length;n<s;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},P=(o,t,e,r,n,i)=>{var s,a,l,p,g,d=t&7,f=!!(t&8),c=!!(t&16),u=d>3?o.length+1:d?f?1:2:0,b=go[d+5],h=d>3&&(o[u-1]=[]),T=o[u]||(o[u]=[]),x=d&&(!c&&!f&&(n=n.prototype),d<5&&(d>3||!c)&&io(d<4?n:{get[e](){return m(this,i)},set[e](k){return C(this,i,k)}},e));d?c&&d<4&&ro(i,(d>2?"set ":d>1?"get ":"")+e):ro(n,e);for(var y=r.length-1;y>=0;y--)p=Gd(d,e,l={},o[3],T),d&&(p.static=f,p.private=c,g=p.access={has:c?k=>Hd(n,k):k=>e in k},d^3&&(g.get=c?k=>(d^1?m:I)(k,n,d^4?i:x.get):k=>k[e]),d>2&&(g.set=c?(k,A)=>C(k,n,A,d^4?i:x.set):(k,A)=>k[e]=A)),a=(0,r[y])(d?d<4?c?i:x[b]:d>4?void 0:{get:x.get,set:x.set}:n,p),l._=1,d^4||a===void 0?Ir(a)&&(d>4?h.unshift(a):d?c?i=a:x[b]=a:n=a):typeof a!="object"||a===null?Zt("Object expected"):(Ir(s=a.get)&&(x.get=s),Ir(s=a.set)&&(x.set=s),Ir(s=a.init)&&h.unshift(s));return d||Fr(o,n),x&&At(n,e,x),c?d^4?i:x:n},ce=(o,t,e)=>Ln(o,typeof t!="symbol"?t+"":t,e),yi=(o,t,e)=>t.has(o)||Zt("Cannot "+e),Hd=(o,t)=>Object(t)!==t?Zt('Cannot use the "in" operator on this value'):o.has(t),m=(o,t,e)=>(yi(o,t,"read from private field"),e?e.call(o):t.get(o)),S=(o,t,e)=>t.has(o)?Zt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),C=(o,t,e,r)=>(yi(o,t,"write to private field"),r?r.call(o,e):t.set(o,e),e),I=(o,t,e)=>(yi(o,t,"access private method"),e);var $n=(o,t,e,r)=>({set _(n){C(o,t,n,e)},get _(){return m(o,t,r)}});var po,Rr,Ti=w(()=>{"use strict";po=(()=>{let o={redirect:1,onlyinclude:1,noinclude:1,include:1,comment:1,ext:1,arg:2,"magic-word":2,template:2,heading:2,html:3,table:4,hr:5,"double-underscore":5,link:6,category:6,file:6,quote:7,"ext-link":8,"free-ext-link":9,"magic-link":9,list:10,dd:10,converter:11};return Object.setPrototypeOf(o,null),o})(),Rr=(()=>{let o=["arg-in-ext","blank-alt","bold-header","format-leakage","fostered-content","h1","illegal-attr","insecure-style","invalid-gallery","invalid-imagemap","invalid-invoke","invalid-isbn","invalid-json","invalid-url","lonely-apos","lonely-bracket","lonely-http","nested-link","no-arg","no-duplicate","no-ignored","obsolete-attr","obsolete-tag","parsing-order","pipe-like","syntax-like","table-layout","tag-like","unbalanced-header","unclosed-comment","unclosed-quote","unclosed-table","unescaped","unknown-page","unmatched-tag","unterminated-url","url-encoding","var-anchor","void-ext"];return Object.freeze(o),o})()});function ke(o,t,e){return e===1?o.replace(/\0(\d+)g\x7F/gu,(r,n)=>ke(String(t[n]),t,2)):e===2?o.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):o.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var Ie,uo,De,Me,Ue,Pr,fo,re,Ee,Vd,Qd,In,Br,co,Jd,Xd,Lp,le=w(()=>{"use strict";Ie=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,uo=String.raw`[^[\]<>"\0-\x1F\x7F${Ie}\uFFFD]`,De=String.raw`(?:\[[\da-f:.]+\]|${uo})`,Me=String.raw`(?:${uo}|\0\d+[cn!~]\x7F)*`,Ue=o=>o.trim().toLowerCase();Pr=(o,t)=>e=>e.replace(o,t),fo=Pr(/[\0\x7F]|\r$/gmu,""),re=Pr(/\0\d+[cn]\x7F/gu,""),Ee=(o,t="")=>o.map(e=>typeof e=="string"?e:e.text()).join(t),Vd={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},Qd=Pr(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(o,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):Vd[e.toLowerCase()]),Br=o=>(In!=null||(In=Qd),In(o)),co=Pr(/&#(\d+|x[\da-f]+);/giu,(o,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),Jd={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},Xd=(o=/[&<>"{}[\]|]/gu)=>Pr(o,t=>`&${Jd[t]};`),Lp=Xd(/[&<>]/gu)});var mo=ao(($p,Kd)=>{Kd.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[],{},{}],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var ho,jr,xo,ki,Or=w(()=>{"use strict";ho=new Set(["alt","link","lang","page","caption"]),jr=new Set(["tiff","tif","png","gif","jpg","jpeg","webp","xcf","pdf","svg","djvu"]),xo=["templatedata","mapframe","maplink"],ki=mo()});var bo,Yd,qr,yo,To,ko,vo=w(()=>{"use strict";bo={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
2
2
  `,r:"\r",t:" "},Yd=new Set([" "," ",`
3
3
  `,"\r"]),qr=o=>o===""?"end of input":o==='"'?`'"'`:JSON.stringify(o),yo=o=>{let t,e,r,n,i=(h,T,x)=>{T===void 0?h.from=t-1:(h.from=T,h.to=x!=null?x:t-1)},s=(h,T,x)=>{let y={message:h,severity:"warning"};i(y,T,x),n.push(y)},a=(h,T,x)=>{let y={warnings:n,message:h,severity:"error"};throw i(y,T,x),y},l=h=>(h&&h!==e&&a(`Expected ${qr(h)} instead of ${qr(e)}`),e=r.charAt(t),t++,e),p=()=>{let h="",T=t-1;if(e==="-"&&(h="-",l()),e==="0")h+=e,l(),e>="0"&&e<="9"&&a("Bad number");else if(e>="1"&&e<="9")for(;e>="0"&&e<="9";)h+=e,l();else a("No number after minus sign");if(e!=="."&&e!=="e"&&e!=="E"){let y=Number(h);Number.isSafeInteger(y)||s("Not a safe integer",T);return}if(e===".")for(h+=".",l(),(e<"0"||e>"9")&&a("Unterminated fractional number");e>="0"&&e<="9";)h+=e,l();if(e==="e"||e==="E")for(h+=e,l(),(e==="-"||e==="+")&&(h+=e,l());e>="0"&&e<="9";)h+=e,l();let x=Number(h);Number.isFinite(x)||a("Bad number")},g=()=>{let h="";if(e==='"')for(;l();){if(e==='"')return l(),h;let T=t-1;if(e==="\\")if(l(),e==="u"){let x=0,y=0;for(;x<4;x++){let k=parseInt(l(),16);if(!isFinite(k))break;y=y*16+k}x<4&&a("Bad unicode escape",T),h+=String.fromCharCode(y)}else typeof bo[e]=="string"?h+=bo[e]:a("Bad escaped character",T,t);else e<" "?a("Bad control character",T,t):h+=e}else a(`Expected '"' instead of ${JSON.stringify(e)}`);return a("Unterminated string")},d=()=>{for(;e;){for(;e&&Yd.has(e);)l();if(o&&e==="/"){let h=r.charAt(t);if(h==="/"){for(l(),l();e&&e!==`
4
4
  `&&e!=="\r";)l();continue}else if(h==="*"){for(l(),l();e&&!(e==="*"&&r.charAt(t)==="/");)l();e==="*"&&(l(),l());continue}}break}},f=()=>{switch(e){case"t":l(),l("r"),l("u"),l("e");return;case"f":l(),l("a"),l("l"),l("s"),l("e");return;case"n":l(),l("u"),l("l"),l("l");return;default:a(`Unexpected ${JSON.stringify(e)}`)}},c=()=>{if(l(),d(),e==="]"){l();return}else if(o&&e===","){l(),d(),l("]");return}let h;for(;e;){if(e==="]"){if(o){l();return}a("Trailing comma in array",h,h+1)}if(b(),d(),e==="]"){l();return}else e===","?(h=t-1,l(),d()):a(`Expected "," or "]" instead of ${qr(e)}`)}a("Unterminated array")},u=()=>{let h=new Set;if(l(),d(),e==="}"){l();return}else if(o&&e===","){l(),d(),l("}");return}let T;for(;e;){if(e==="}"){if(o){l();return}a("Trailing comma in object",T,T+1)}T=t;let x=g(),y=t-2;if(d(),l(":"),h.has(x)?s(`Duplicate key ${qr(x)}`,T,y):h.add(x),b(),d(),e==="}"){l();return}else e===","?(T=t-1,l(),d()):a(`Expected "," or "}" instead of ${qr(e)}`)}a(`Expected '"'`)},b=()=>{switch(d(),e){case"":return;case"{":return u();case"[":return c();case'"':return g();case"-":return p();default:return e>="0"&&e<="9"?p():f()}};return h=>{if(r=h,n=[],t=0,e=" ",b(),d(),e)a("Syntax error");else if(n.length>0)throw{warnings:n}}},To=yo(),ko=yo(!0)});function Be(o){let t=new Map,e=new WeakMap;return r=>{let n=typeof r=="string"?t:e;if(n.has(r)){let s=n.get(r);return s.lastIndex=0,s}let i=o(r);return n.set(r,i),i}}var St,Fn,vi,Ao,Zd,So,Co,wo,ze=w(()=>{"use strict";vo();St=o=>decodeURIComponent(o.replace(/%(?![\da-f]{2})/giu,"%25"));Fn=o=>{let t=[],e=0;for(let r of o.split(`
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var qo=Object.create;var Wt=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var $u=Object.getOwnPropertyNames;var Nu=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty;var Wo=(o,t)=>(t=Symbol[o])?t:Symbol.for("Symbol."+o),br=o=>{throw TypeError(o)};var Do=(o,t,e)=>t in o?Wt(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var Oo=(o,t)=>Wt(o,"name",{value:t,configurable:!0});var L=(o,t)=>()=>(o&&(t=o(o=0)),t);var Xi=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),re=(o,t)=>{for(var e in t)Wt(o,e,{get:t[e],enumerable:!0})},Mo=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $u(t))!Iu.call(o,n)&&n!==e&&Wt(o,n,{get:()=>t[n],enumerable:!(r=_o(t,n))||r.enumerable});return o};var Fu=(o,t,e)=>(e=o!=null?qo(Nu(o)):{},Mo(t||!o||!o.__esModule?Wt(e,"default",{value:o,enumerable:!0}):e,o)),K=o=>Mo(Wt({},"__esModule",{value:!0}),o);var O=o=>{var t;return[,,,qo((t=o==null?void 0:o[Wo("metadata")])!=null?t:null)]},Uo=["class","method","getter","setter","accessor","field","value","get","set"],an=o=>o!==void 0&&typeof o!="function"?br("Function expected"):o,Ru=(o,t,e,r,n)=>({kind:Uo[o],name:t,metadata:r,addInitializer:i=>e._?br("Already initialized"):n.push(an(i||null))}),ln=(o,t)=>Do(t,Wo("metadata"),o[3]),B=(o,t,e,r)=>{for(var n=0,i=o[t>>1],s=i&&i.length;n<s;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},j=(o,t,e,r,n,i)=>{var s,a,l,g,u,d=t&7,p=!!(t&8),f=!!(t&16),c=d>3?o.length+1:d?p?1:2:0,h=Uo[d+5],b=d>3&&(o[c-1]=[]),y=o[c]||(o[c]=[]),x=d&&(!f&&!p&&(n=n.prototype),d<5&&(d>3||!f)&&_o(d<4?n:{get[e](){return m(this,i)},set[e](k){return S(this,i,k)}},e));d?f&&d<4&&Oo(i,(d>2?"set ":d>1?"get ":"")+e):Oo(n,e);for(var T=r.length-1;T>=0;T--)g=Ru(d,e,l={},o[3],y),d&&(g.static=p,g.private=f,u=g.access={has:f?k=>Pu(n,k):k=>e in k},d^3&&(u.get=f?k=>(d^1?m:C)(k,n,d^4?i:x.get):k=>k[e]),d>2&&(u.set=f?(k,A)=>S(k,n,A,d^4?i:x.set):(k,A)=>k[e]=A)),a=(0,r[T])(d?d<4?f?i:x[h]:d>4?void 0:{get:x.get,set:x.set}:n,g),l._=1,d^4||a===void 0?an(a)&&(d>4?b.unshift(a):d?f?i=a:x[h]=a:n=a):typeof a!="object"||a===null?br("Object expected"):(an(s=a.get)&&(x.get=s),an(s=a.set)&&(x.set=s),an(s=a.init)&&b.unshift(s));return d||ln(o,n),x&&Wt(n,e,x),f?d^4?i:x:n},ge=(o,t,e)=>Do(o,typeof t!="symbol"?t+"":t,e),Ki=(o,t,e)=>t.has(o)||br("Cannot "+e),Pu=(o,t)=>Object(t)!==t?br('Cannot use the "in" operator on this value'):o.has(t),m=(o,t,e)=>(Ki(o,t,"read from private field"),e?e.call(o):t.get(o)),w=(o,t,e)=>t.has(o)?br("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),S=(o,t,e,r)=>(Ki(o,t,"write to private field"),r?r.call(o,e):t.set(o,e),e),C=(o,t,e)=>(Ki(o,t,"access private method"),e);var ei=(o,t,e,r)=>({set _(n){S(o,t,n,e)},get _(){return m(o,t,r)}});var Ho,Dt,ti=L(()=>{"use strict";Ho=(()=>{let o={redirect:1,onlyinclude:1,noinclude:1,include:1,comment:1,ext:1,arg:2,"magic-word":2,template:2,heading:2,html:3,table:4,hr:5,"double-underscore":5,link:6,category:6,file:6,quote:7,"ext-link":8,"free-ext-link":9,"magic-link":9,list:10,dd:10,converter:11};return Object.setPrototypeOf(o,null),o})(),Dt=(()=>{let o=["arg-in-ext","blank-alt","bold-header","format-leakage","fostered-content","h1","illegal-attr","insecure-style","invalid-gallery","invalid-imagemap","invalid-invoke","invalid-isbn","invalid-json","invalid-url","lonely-apos","lonely-bracket","lonely-http","nested-link","no-arg","no-duplicate","no-ignored","obsolete-attr","obsolete-tag","parsing-order","pipe-like","syntax-like","table-layout","tag-like","unbalanced-header","unclosed-comment","unclosed-quote","unclosed-table","unescaped","unknown-page","unmatched-tag","unterminated-url","url-encoding","var-anchor","void-ext"];return Object.freeze(o),o})()});function $e(o,t,e){return e===1?o.replace(/\0(\d+)g\x7F/gu,(r,n)=>$e(String(t[n]),t,2)):e===2?o.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):o.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var We,Go,tt,rt,nt,dn,xr,se,Pe,Bu,ju,ri,Mt,zo,Ou,qu,Ut,it,ae=L(()=>{"use strict";We=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,Go=String.raw`[^[\]<>"\0-\x1F\x7F${We}\uFFFD]`,tt=String.raw`(?:\[[\da-f:.]+\]|${Go})`,rt=String.raw`(?:${Go}|\0\d+[cn!~]\x7F)*`,nt=o=>o.trim().toLowerCase();dn=(o,t)=>e=>e.replace(o,t),xr=dn(/[\0\x7F]|\r$/gmu,""),se=dn(/\0\d+[cn]\x7F/gu,""),Pe=(o,t="")=>o.map(e=>typeof e=="string"?e:e.text()).join(t),Bu={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},ju=dn(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(o,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):Bu[e.toLowerCase()]),Mt=o=>(ri!=null||(ri=ju),ri(o)),zo=dn(/&#(\d+|x[\da-f]+);/giu,(o,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),Ou={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},qu=(o=/[&<>"{}[\]|]/gu)=>dn(o,t=>`&${Ou[t]};`),Ut=qu(/[&<>]/gu),it=(o,t={})=>{let{pre:e="",post:r="",sep:n=""}=t;return e+o.map(i=>i.print()).join(n)+r}});var Vo=Xi((wp,_u)=>{_u.exports={"argument-in-ext":"template argument inside an extension tag","attributes-of-closing-tag":"attributes of a closing tag","blank-alt":"blank alt attribute","bold-apostrophes":"bold apostrophes","bold-in-header":"bold text in a section header",close:null,"closing-and-self-closing":"tag that is both closing and self-closing",comment:null,"conflicting-image-parameter":"conflicting image $1 parameter","content-outside-table":"content to be moved outside the table",decode:null,delink:null,"duplicate-attribute":"duplicate $1 attribute","duplicate-category":"duplicate category","duplicate-id":"duplicate HTML id","duplicate-image-parameter":"duplicate image $1 parameter","duplicate-parameter":"duplicate template parameter",encode:null,escape:null,expand:null,"ext-in-html":"extension tag in HTML tag attributes",frame:null,"full-width-punctuation":"full-width punctuation","header-in-html":"section header in HTML tag attributes","header-like":"header-like syntax in plain text","horizontal-alignment":null,"html-in-table":"HTML tag in table attributes","illegal-attribute-name":"invalid attribute name","illegal-attribute-value":"invalid attribute value","illegal-module":"invalid Scribunto module name","imagemap-without-image":"<imagemap> without an image","in-url":"$1 in URL","inconsistent-table":"inconsistent table layout","insecure-style":"insecure style","invalid-attribute":"element containing an invalid attribute name","invalid-category":"invalid category name","invalid-content":"invalid content in <$1>","invalid-conversion-flag":"invalid conversion flag","invalid-gallery":"invalid gallery image","invalid-gallery-link":"invalid link in gallery image","invalid-image-parameter":"invalid image parameter","invalid-imagemap-link":"invalid link in <imagemap>","invalid-isbn":"invalid ISBN","invalid-parameter":"invalid parameter of <$1>","invalid-self-closing":"invalid self-closing tag","invalid-thumb":"invalid thumbnail filename","invalid-url":"invalid URL","invisible-triple-braces":"invisible content inside triple braces","italic-apostrophes":"italic apostrophes","left-bracket":"opening bracket","link-in-extlink":"internal link in an external link",lonely:'lonely "$1"',"missing-extension":"missing file extension","missing-function":"missing Scribunto module function name",newline:null,"no-self-closing":"no self-closing","nonzero-tabindex":"nonzero tabindex","nothing-in":"nothing should be in <$1>","obsolete-attribute":"obsolete attribute","obsolete-tag":"obsolete HTML tag",open:null,prefix:null,"pipe-in-link":'additional "|" in the link text',"pipe-in-table":'additional "|" in a table cell',"redirect-like":"redirect-like syntax in a list item","ref-in-link":"<ref> in an internal or external link",remove:null,"template-in-link":"template in an internal link target","unbalanced-in-section-header":"unbalanced $1 in a section header",unclosed:"unclosed $1","unclosed-comment":"unclosed HTML comment","unclosed-quotes":"unclosed quotes","unclosed-table":"unclosed table","unclosed-tag":"unclosed tag","unescaped-query":"unescaped query string in an anonymous parameter","unexpected-argument":"unexpected template argument","unmatched-closing":"unmatched closing tag","unnecessary-encoding":"unnecessary percent-encoding in an internal link",uppercase:null,"useless-attribute":"useless attribute","useless-fragment":"useless fragment","useless-link-text":"useless link text","variable-anchor":"variable anchor in a section header","vertical-alignment":null,whitespace:null}});var Qo=Xi((Cp,Wu)=>{Wu.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[]],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var Jo,Xo,un,Ko,Yi,gn=L(()=>{"use strict";Jo=Vo(),Xo=new Set(["alt","link","lang","page","caption"]),un=new Set(["tiff","tif","png","gif","jpg","jpeg","webp","xcf","pdf","svg","djvu"]),Ko=["templatedata","mapframe","maplink"],Yi=Qo()});var Yo,Du,pn,Zo,ea,ta,ra=L(()=>{"use strict";Yo={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1
+ "use strict";(()=>{var qo=Object.create;var Wt=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var $u=Object.getOwnPropertyNames;var Nu=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty;var Wo=(o,t)=>(t=Symbol[o])?t:Symbol.for("Symbol."+o),br=o=>{throw TypeError(o)};var Do=(o,t,e)=>t in o?Wt(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var Oo=(o,t)=>Wt(o,"name",{value:t,configurable:!0});var L=(o,t)=>()=>(o&&(t=o(o=0)),t);var Xi=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),re=(o,t)=>{for(var e in t)Wt(o,e,{get:t[e],enumerable:!0})},Mo=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $u(t))!Iu.call(o,n)&&n!==e&&Wt(o,n,{get:()=>t[n],enumerable:!(r=_o(t,n))||r.enumerable});return o};var Fu=(o,t,e)=>(e=o!=null?qo(Nu(o)):{},Mo(t||!o||!o.__esModule?Wt(e,"default",{value:o,enumerable:!0}):e,o)),K=o=>Mo(Wt({},"__esModule",{value:!0}),o);var O=o=>{var t;return[,,,qo((t=o==null?void 0:o[Wo("metadata")])!=null?t:null)]},Uo=["class","method","getter","setter","accessor","field","value","get","set"],an=o=>o!==void 0&&typeof o!="function"?br("Function expected"):o,Ru=(o,t,e,r,n)=>({kind:Uo[o],name:t,metadata:r,addInitializer:i=>e._?br("Already initialized"):n.push(an(i||null))}),ln=(o,t)=>Do(t,Wo("metadata"),o[3]),B=(o,t,e,r)=>{for(var n=0,i=o[t>>1],s=i&&i.length;n<s;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},j=(o,t,e,r,n,i)=>{var s,a,l,g,u,d=t&7,p=!!(t&8),f=!!(t&16),c=d>3?o.length+1:d?p?1:2:0,h=Uo[d+5],b=d>3&&(o[c-1]=[]),y=o[c]||(o[c]=[]),x=d&&(!f&&!p&&(n=n.prototype),d<5&&(d>3||!f)&&_o(d<4?n:{get[e](){return m(this,i)},set[e](k){return S(this,i,k)}},e));d?f&&d<4&&Oo(i,(d>2?"set ":d>1?"get ":"")+e):Oo(n,e);for(var T=r.length-1;T>=0;T--)g=Ru(d,e,l={},o[3],y),d&&(g.static=p,g.private=f,u=g.access={has:f?k=>Pu(n,k):k=>e in k},d^3&&(u.get=f?k=>(d^1?m:C)(k,n,d^4?i:x.get):k=>k[e]),d>2&&(u.set=f?(k,A)=>S(k,n,A,d^4?i:x.set):(k,A)=>k[e]=A)),a=(0,r[T])(d?d<4?f?i:x[h]:d>4?void 0:{get:x.get,set:x.set}:n,g),l._=1,d^4||a===void 0?an(a)&&(d>4?b.unshift(a):d?f?i=a:x[h]=a:n=a):typeof a!="object"||a===null?br("Object expected"):(an(s=a.get)&&(x.get=s),an(s=a.set)&&(x.set=s),an(s=a.init)&&b.unshift(s));return d||ln(o,n),x&&Wt(n,e,x),f?d^4?i:x:n},ge=(o,t,e)=>Do(o,typeof t!="symbol"?t+"":t,e),Ki=(o,t,e)=>t.has(o)||br("Cannot "+e),Pu=(o,t)=>Object(t)!==t?br('Cannot use the "in" operator on this value'):o.has(t),m=(o,t,e)=>(Ki(o,t,"read from private field"),e?e.call(o):t.get(o)),w=(o,t,e)=>t.has(o)?br("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),S=(o,t,e,r)=>(Ki(o,t,"write to private field"),r?r.call(o,e):t.set(o,e),e),C=(o,t,e)=>(Ki(o,t,"access private method"),e);var ei=(o,t,e,r)=>({set _(n){S(o,t,n,e)},get _(){return m(o,t,r)}});var Ho,Dt,ti=L(()=>{"use strict";Ho=(()=>{let o={redirect:1,onlyinclude:1,noinclude:1,include:1,comment:1,ext:1,arg:2,"magic-word":2,template:2,heading:2,html:3,table:4,hr:5,"double-underscore":5,link:6,category:6,file:6,quote:7,"ext-link":8,"free-ext-link":9,"magic-link":9,list:10,dd:10,converter:11};return Object.setPrototypeOf(o,null),o})(),Dt=(()=>{let o=["arg-in-ext","blank-alt","bold-header","format-leakage","fostered-content","h1","illegal-attr","insecure-style","invalid-gallery","invalid-imagemap","invalid-invoke","invalid-isbn","invalid-json","invalid-url","lonely-apos","lonely-bracket","lonely-http","nested-link","no-arg","no-duplicate","no-ignored","obsolete-attr","obsolete-tag","parsing-order","pipe-like","syntax-like","table-layout","tag-like","unbalanced-header","unclosed-comment","unclosed-quote","unclosed-table","unescaped","unknown-page","unmatched-tag","unterminated-url","url-encoding","var-anchor","void-ext"];return Object.freeze(o),o})()});function $e(o,t,e){return e===1?o.replace(/\0(\d+)g\x7F/gu,(r,n)=>$e(String(t[n]),t,2)):e===2?o.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):o.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var We,Go,tt,rt,nt,dn,xr,se,Pe,Bu,ju,ri,Mt,zo,Ou,qu,Ut,it,ae=L(()=>{"use strict";We=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,Go=String.raw`[^[\]<>"\0-\x1F\x7F${We}\uFFFD]`,tt=String.raw`(?:\[[\da-f:.]+\]|${Go})`,rt=String.raw`(?:${Go}|\0\d+[cn!~]\x7F)*`,nt=o=>o.trim().toLowerCase();dn=(o,t)=>e=>e.replace(o,t),xr=dn(/[\0\x7F]|\r$/gmu,""),se=dn(/\0\d+[cn]\x7F/gu,""),Pe=(o,t="")=>o.map(e=>typeof e=="string"?e:e.text()).join(t),Bu={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},ju=dn(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(o,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):Bu[e.toLowerCase()]),Mt=o=>(ri!=null||(ri=ju),ri(o)),zo=dn(/&#(\d+|x[\da-f]+);/giu,(o,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),Ou={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},qu=(o=/[&<>"{}[\]|]/gu)=>dn(o,t=>`&${Ou[t]};`),Ut=qu(/[&<>]/gu),it=(o,t={})=>{let{pre:e="",post:r="",sep:n=""}=t;return e+o.map(i=>i.print()).join(n)+r}});var Vo=Xi((wp,_u)=>{_u.exports={"argument-in-ext":"template argument inside an extension tag","attributes-of-closing-tag":"attributes of a closing tag","blank-alt":"blank alt attribute","bold-apostrophes":"bold apostrophes","bold-in-header":"bold text in a section header",close:null,"closing-and-self-closing":"tag that is both closing and self-closing",comment:null,"conflicting-image-parameter":"conflicting image $1 parameter","content-outside-table":"content to be moved outside the table",decode:null,delink:null,"duplicate-attribute":"duplicate $1 attribute","duplicate-category":"duplicate category","duplicate-id":"duplicate HTML id","duplicate-image-parameter":"duplicate image $1 parameter","duplicate-parameter":"duplicate template parameter",encode:null,escape:null,expand:null,"ext-in-html":"extension tag in HTML tag attributes",frame:null,"full-width-punctuation":"full-width punctuation","header-in-html":"section header in HTML tag attributes","header-like":"header-like syntax in plain text","horizontal-alignment":null,"html-in-table":"HTML tag in table attributes","illegal-attribute-name":"invalid attribute name","illegal-attribute-value":"invalid attribute value","illegal-module":"invalid Scribunto module name","imagemap-without-image":"<imagemap> without an image","in-url":"$1 in URL","inconsistent-table":"inconsistent table layout","insecure-style":"insecure style","invalid-attribute":"element containing an invalid attribute name","invalid-category":"invalid category name","invalid-content":"invalid content in <$1>","invalid-conversion-flag":"invalid conversion flag","invalid-gallery":"invalid gallery image","invalid-gallery-link":"invalid link in gallery image","invalid-image-parameter":"invalid image parameter","invalid-imagemap-link":"invalid link in <imagemap>","invalid-isbn":"invalid ISBN","invalid-parameter":"invalid parameter of <$1>","invalid-self-closing":"invalid self-closing tag","invalid-thumb":"invalid thumbnail filename","invalid-url":"invalid URL","invisible-triple-braces":"invisible content inside triple braces","italic-apostrophes":"italic apostrophes","left-bracket":"opening bracket","link-in-extlink":"internal link in an external link",lonely:'lonely "$1"',"missing-extension":"missing file extension","missing-function":"missing Scribunto module function name",newline:null,"no-self-closing":"no self-closing","nonzero-tabindex":"nonzero tabindex","nothing-in":"nothing should be in <$1>","obsolete-attribute":"obsolete attribute","obsolete-tag":"obsolete HTML tag",open:null,prefix:null,"pipe-in-link":'additional "|" in the link text',"pipe-in-table":'additional "|" in a table cell',"redirect-like":"redirect-like syntax in a list item","ref-in-link":"<ref> in an internal or external link",remove:null,"template-in-link":"template in an internal link target","unbalanced-in-section-header":"unbalanced $1 in a section header",unclosed:"unclosed $1","unclosed-comment":"unclosed HTML comment","unclosed-quotes":"unclosed quotes","unclosed-table":"unclosed table","unclosed-tag":"unclosed tag","unescaped-query":"unescaped query string in an anonymous parameter","unexpected-argument":"unexpected template argument","unmatched-closing":"unmatched closing tag","unnecessary-encoding":"unnecessary percent-encoding in an internal link",uppercase:null,"useless-attribute":"useless attribute","useless-fragment":"useless fragment","useless-link-text":"useless link text","variable-anchor":"variable anchor in a section header","vertical-alignment":null,whitespace:null}});var Qo=Xi((Cp,Wu)=>{Wu.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[],{},{}],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var Jo,Xo,un,Ko,Yi,gn=L(()=>{"use strict";Jo=Vo(),Xo=new Set(["alt","link","lang","page","caption"]),un=new Set(["tiff","tif","png","gif","jpg","jpeg","webp","xcf","pdf","svg","djvu"]),Ko=["templatedata","mapframe","maplink"],Yi=Qo()});var Yo,Du,pn,Zo,ea,ta,ra=L(()=>{"use strict";Yo={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
2
2
  `,r:"\r",t:" "},Du=new Set([" "," ",`
3
3
  `,"\r"]),pn=o=>o===""?"end of input":o==='"'?`'"'`:JSON.stringify(o),Zo=o=>{let t,e,r,n,i=(b,y,x)=>{y===void 0?b.from=t-1:(b.from=y,b.to=x!=null?x:t-1)},s=(b,y,x)=>{let T={message:b,severity:"warning"};i(T,y,x),n.push(T)},a=(b,y,x)=>{let T={warnings:n,message:b,severity:"error"};throw i(T,y,x),T},l=b=>(b&&b!==e&&a(`Expected ${pn(b)} instead of ${pn(e)}`),e=r.charAt(t),t++,e),g=()=>{let b="",y=t-1;if(e==="-"&&(b="-",l()),e==="0")b+=e,l(),e>="0"&&e<="9"&&a("Bad number");else if(e>="1"&&e<="9")for(;e>="0"&&e<="9";)b+=e,l();else a("No number after minus sign");if(e!=="."&&e!=="e"&&e!=="E"){let T=Number(b);Number.isSafeInteger(T)||s("Not a safe integer",y);return}if(e===".")for(b+=".",l(),(e<"0"||e>"9")&&a("Unterminated fractional number");e>="0"&&e<="9";)b+=e,l();if(e==="e"||e==="E")for(b+=e,l(),(e==="-"||e==="+")&&(b+=e,l());e>="0"&&e<="9";)b+=e,l();let x=Number(b);Number.isFinite(x)||a("Bad number")},u=()=>{let b="";if(e==='"')for(;l();){if(e==='"')return l(),b;let y=t-1;if(e==="\\")if(l(),e==="u"){let x=0,T=0;for(;x<4;x++){let k=parseInt(l(),16);if(!isFinite(k))break;T=T*16+k}x<4&&a("Bad unicode escape",y),b+=String.fromCharCode(T)}else typeof Yo[e]=="string"?b+=Yo[e]:a("Bad escaped character",y,t);else e<" "?a("Bad control character",y,t):b+=e}else a(`Expected '"' instead of ${JSON.stringify(e)}`);return a("Unterminated string")},d=()=>{for(;e;){for(;e&&Du.has(e);)l();if(o&&e==="/"){let b=r.charAt(t);if(b==="/"){for(l(),l();e&&e!==`
4
4
  `&&e!=="\r";)l();continue}else if(b==="*"){for(l(),l();e&&!(e==="*"&&r.charAt(t)==="/");)l();e==="*"&&(l(),l());continue}}break}},p=()=>{switch(e){case"t":l(),l("r"),l("u"),l("e");return;case"f":l(),l("a"),l("l"),l("s"),l("e");return;case"n":l(),l("u"),l("l"),l("l");return;default:a(`Unexpected ${JSON.stringify(e)}`)}},f=()=>{if(l(),d(),e==="]"){l();return}else if(o&&e===","){l(),d(),l("]");return}let b;for(;e;){if(e==="]"){if(o){l();return}a("Trailing comma in array",b,b+1)}if(h(),d(),e==="]"){l();return}else e===","?(b=t-1,l(),d()):a(`Expected "," or "]" instead of ${pn(e)}`)}a("Unterminated array")},c=()=>{let b=new Set;if(l(),d(),e==="}"){l();return}else if(o&&e===","){l(),d(),l("}");return}let y;for(;e;){if(e==="}"){if(o){l();return}a("Trailing comma in object",y,y+1)}y=t;let x=u(),T=t-2;if(d(),l(":"),b.has(x)?s(`Duplicate key ${pn(x)}`,y,T):b.add(x),h(),d(),e==="}"){l();return}else e===","?(y=t-1,l(),d()):a(`Expected "," or "}" instead of ${pn(e)}`)}a(`Expected '"'`)},h=()=>{switch(d(),e){case"":return;case"{":return c();case"[":return f();case'"':return u();case"-":return g();default:return e>="0"&&e<="9"?g():p()}};return b=>{if(r=b,n=[],t=0,e=" ",h(),d(),e)a("Syntax error");else if(n.length>0)throw{warnings:n}}},ea=Zo(),ta=Zo(!0)});function Be(o){let t=new Map,e=new WeakMap;return r=>{let n=typeof r=="string"?t:e;if(n.has(r)){let s=n.get(r);return s.lastIndex=0,s}let i=o(r);return n.set(r,i),i}}var Ht,na,Mu,ia,ni,Zi,sa,Uu,oa,aa,la,He=L(()=>{"use strict";ra();Ht=o=>decodeURIComponent(o.replace(/%(?![\da-f]{2})/giu,"%25")),na=o=>Math.round(o*255).toString(16).padStart(2,"0"),Mu=(()=>{let o=String.raw`#(?:[\da-f]{3,4}|(?:[\da-f]{2}){3,4})(?![\p{L}\p{N}_])`,t=String.raw`(?:\d*\.)?\d+%?`,e=String.raw`(?:\d*\.)?\d+(?:deg|grad|rad|turn)?`,r=String.raw`rgba?\(\s*(?:${String.raw`${new Array(3).fill(t).join(String.raw`\s+`)}(?:\s*\/\s*${t})?`}|${String.raw`${new Array(3).fill(t).join(String.raw`\s*,\s*`)}(?:\s*,\s*${t})?`})\s*\)`,n=String.raw`hsla?\(\s*(?:${String.raw`${e}\s+${t}\s+${t}(?:\s*\/\s*${t})?`}|${String.raw`${e}${String.raw`\s*,\s*(?:\d*\.)?\d+%`.repeat(2)}(?:\s*,\s*${t})?`})\s*\)`;return{full:new RegExp(String.raw`(^|[^\p{L}\p{N}_])(${o}|${r}|${n})`,"giu"),rgb:new RegExp(String.raw`(^|[^\p{L}\p{N}_])(${o}|${r})`,"giu")}})(),ia=(o,t=!0)=>{let e=[],r=Mu[t?"full":"rgb"];r.lastIndex=0;let n=r.exec(o),i=0;for(;n;){let s=n.index+n[1].length;s>i&&e.push([o.slice(i,s),i,s,!1]),{lastIndex:i}=r,e.push([n[2],s,i,o[s-1]!=="&"||!/^#\d+$/u.test(n[2])]),n=r.exec(o)}return o.length>i&&e.push([o.slice(i),i,o.length,!1]),e};ni=o=>{let t=[],e=0;for(let r of o.split(`
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Ha=Object.create;var At=Object.defineProperty;var Pi=Object.getOwnPropertyDescriptor;var Qa=Object.getOwnPropertyNames;var Xa=Object.prototype.hasOwnProperty;var ji=(s,t)=>(t=Symbol[s])?t:Symbol.for("Symbol."+s),Ct=s=>{throw TypeError(s)};var qi=(s,t,e)=>t in s?At(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var Bi=(s,t)=>At(s,"name",{value:t,configurable:!0});var x=(s,t)=>()=>(s&&(t=s(s=0)),t);var Ka=(s,t)=>()=>(t||s((t={exports:{}}).exports,t),t.exports),M=(s,t)=>{for(var e in t)At(s,e,{get:t[e],enumerable:!0})},Ja=(s,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Qa(t))!Xa.call(s,n)&&n!==e&&At(s,n,{get:()=>t[n],enumerable:!(r=Pi(t,n))||r.enumerable});return s};var q=s=>Ja(At({},"__esModule",{value:!0}),s);var I=s=>{var t;return[,,,Ha((t=s==null?void 0:s[ji("metadata")])!=null?t:null)]},Oi=["class","method","getter","setter","accessor","field","value","get","set"],er=s=>s!==void 0&&typeof s!="function"?Ct("Function expected"):s,Ya=(s,t,e,r,n)=>({kind:Oi[s],name:t,metadata:r,addInitializer:i=>e._?Ct("Already initialized"):n.push(er(i||null))}),tr=(s,t)=>qi(t,ji("metadata"),s[3]),E=(s,t,e,r)=>{for(var n=0,i=s[t>>1],o=i&&i.length;n<o;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},N=(s,t,e,r,n,i)=>{var o,a,l,p,u,d=t&7,c=!!(t&8),f=!!(t&16),m=d>3?s.length+1:d?c?1:2:0,C=Oi[d+5],A=d>3&&(s[m-1]=[]),S=s[m]||(s[m]=[]),k=d&&(!f&&!c&&(n=n.prototype),d<5&&(d>3||!f)&&Pi(d<4?n:{get[e](){return g(this,i)},set[e](T){return b(this,i,T)}},e));d?f&&d<4&&Bi(i,(d>2?"set ":d>1?"get ":"")+e):Bi(n,e);for(var y=r.length-1;y>=0;y--)p=Ya(d,e,l={},s[3],S),d&&(p.static=c,p.private=f,u=p.access={has:f?T=>Za(n,T):T=>e in T},d^3&&(u.get=f?T=>(d^1?g:$)(T,n,d^4?i:k.get):T=>T[e]),d>2&&(u.set=f?(T,w)=>b(T,n,w,d^4?i:k.set):(T,w)=>T[e]=w)),a=(0,r[y])(d?d<4?f?i:k[C]:d>4?void 0:{get:k.get,set:k.set}:n,p),l._=1,d^4||a===void 0?er(a)&&(d>4?A.unshift(a):d?f?i=a:k[C]=a:n=a):typeof a!="object"||a===null?Ct("Object expected"):(er(o=a.get)&&(k.get=o),er(o=a.set)&&(k.set=o),er(o=a.init)&&A.unshift(o));return d||tr(s,n),k&&At(n,e,k),f?d^4?i:k:n},Z=(s,t,e)=>qi(s,typeof t!="symbol"?t+"":t,e),xn=(s,t,e)=>t.has(s)||Ct("Cannot "+e),Za=(s,t)=>Object(t)!==t?Ct('Cannot use the "in" operator on this value'):s.has(t),g=(s,t,e)=>(xn(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>t.has(s)?Ct("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),b=(s,t,e,r)=>(xn(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),$=(s,t,e)=>(xn(s,t,"access private method"),e);var jr=(s,t,e,r)=>({set _(n){b(s,t,n,e)},get _(){return g(s,t,r)}});function se(s,t,e){return e===1?s.replace(/\0(\d+)g\x7F/gu,(r,n)=>se(String(t[n]),t,2)):e===2?s.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):s.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var be,_i,Je,Ye,ve,rr,Wi,z,ge,el,tl,qr,bn,Mi,rl,nl,Ze,Ae,J=x(()=>{"use strict";be=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,_i=String.raw`[^[\]<>"\0-\x1F\x7F${be}\uFFFD]`,Je=String.raw`(?:\[[\da-f:.]+\]|${_i})`,Ye=String.raw`(?:${_i}|\0\d+[cn!~]\x7F)*`,ve=s=>s.trim().toLowerCase();rr=(s,t)=>e=>e.replace(s,t),Wi=rr(/[\0\x7F]|\r$/gmu,""),z=rr(/\0\d+[cn]\x7F/gu,""),ge=(s,t="")=>s.map(e=>typeof e=="string"?e:e.text()).join(t),el={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},tl=rr(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(s,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):el[e.toLowerCase()]),bn=s=>(qr!=null||(qr=tl),qr(s)),Mi=rr(/&#(\d+|x[\da-f]+);/giu,(s,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),rl={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},nl=(s=/[&<>"{}[\]|]/gu)=>rr(s,t=>`&${rl[t]};`),Ze=nl(/[&<>]/gu),Ae=(s,t={})=>{let{pre:e="",post:r="",sep:n=""}=t;return e+s.map(i=>i.print()).join(n)+r}});var Di=Ka((jd,il)=>{il.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[]],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var Ui,yn,Tn=x(()=>{"use strict";Ui=new Set(["alt","link","lang","page","caption"]),yn=Di()});function je(s){let t=new Map,e=new WeakMap;return r=>{let n=typeof r=="string"?t:e;if(n.has(r)){let o=n.get(r);return o.lastIndex=0,o}let i=s(r);return n.set(r,i),i}}var kn,nr=x(()=>{"use strict";kn=s=>decodeURIComponent(s.replace(/%(?![\da-f]{2})/giu,"%25"))});var sl,ol,Or,qe,zi,ir=x(()=>{"use strict";Ce();ue();sl=new Set(["tr","td","th","caption"]),ol=new Set(["Template:!!","Template:!-"]),Or=s=>{let t=s.childNodes.find(e=>e.text().trim());if(!t||t.type==="text"&&t.data.trim().startsWith("!")||t.is("magic-word")&&t.name==="!"||t.is("template")&&ol.has(t.name)||t.is("html")&&sl.has(t.name))return!1;if(t.is("arg"))return t.length>1&&Or(t.childNodes[1]);if(t.is("magic-word"))try{let e=t.getPossibleValues().map(Or);return e.includes(2)?2:e.includes(1)&&1}catch{}return t.is("template")||t.is("magic-word")&&t.name==="invoke"?1:2},qe=(s,t,e,r)=>{if(s&&(r||W.viewOnly&&s[0]===ee.rev))return s[1];let n=t();return(r||W.viewOnly)&&e([ee.rev,n]),n},zi=(s,t)=>s==="ol"&&t==="type"?["1","a","A","i","I"]:s==="th"&&t==="scope"?["row","col","rowgroup","colgroup"]:t==="dir"?["ltr","rtl","auto"]:t==="aria-hidden"?["true","false"]:[]});var al,Gi,Vi=x(()=>{"use strict";al=s=>{if(s.includes("#")){let t=s.indexOf("#"),e=s.slice(0,t),r=s.slice(t+1);return(n,i)=>(t===0||n===e)&&i===r}return t=>t===s},Gi=(s,t,e)=>{if(s=s.trim(),!s)return(()=>!0);let r=s.split(",").map(n=>n.trim()).filter(n=>n!=="").map(al);return(({type:n,name:i})=>r.some(o=>o(n,i)))}});var St,_r=x(()=>{"use strict";ir();St=(s=!0)=>t=>{let e=new WeakMap;return function(...r){return qe(e.get(this),()=>t.apply(this,r),n=>{e.set(this,n)},s)}}});var Hi,Qi=x(()=>{"use strict";Hi=s=>{class t extends s{get firstChild(){return this.childNodes[0]}get lastChild(){return this.childNodes[this.childNodes.length-1]}get offsetHeight(){}get offsetWidth(){}}return t}});var Xi,Ki,or,wt,Et,ar,Oe,Nt,sr,ye,vn=x(()=>{"use strict";ir();Ce();_r();Qi();ue();Ki=[Hi],Xi=[St(!1)];ye=class{constructor(){E(sr,5,this);Z(this,"childNodes",[]);h(this,or);h(this,wt);h(this,Et);h(this,ar);h(this,Oe);h(this,Nt,{})}get parentNode(){return g(this,or)}get nextSibling(){return g(this,wt)}get previousSibling(){return g(this,Et)}getChildNodes(){let{childNodes:t}=this;return Object.isFrozen(t)?[...t]:t}getAttribute(t){return t==="padding"?0:this[t]}setAttribute(t,e){switch(t){case"parentNode":b(this,or,e),e||(b(this,wt,void 0),b(this,Et,void 0));break;case"nextSibling":b(this,wt,e);break;case"previousSibling":b(this,Et,e);break;case"aIndex":break;default:this[t]=e}}getRootNode(){return qe(g(this,ar),()=>{var t,e;return(e=(t=this.parentNode)==null?void 0:t.getRootNode())!=null?e:this},t=>{let[,e]=t;e.type==="root"&&b(this,ar,t)})}indexFromPos(t,e){}posFromIndex(t){}getDimension(){}getGaps(t){return 0}getRelativeIndex(t){if(t===void 0){let{parentNode:e}=this;return e?e.getRelativeIndex(e.childNodes.indexOf(this)):0}return qe(g(this,Nt)[t],()=>{var o;let{childNodes:e}=this,r=((o=g(this,Oe))==null?void 0:o[0])===ee.rev&&g(this,Oe)[1],n=t+(t<0?e.length:0),i=this.getAttribute("padding");for(let a=0;a<n;a++)W.viewOnly&&(g(this,Nt)[a]=[ee.rev,i],r!==!1&&b(e[a],Oe,[ee.rev,r+i])),i+=e[a].toString().length+this.getGaps(a);return i},e=>{g(this,Nt)[t]=e})}getAbsoluteIndex(){return qe(g(this,Oe),()=>{let{parentNode:t}=this;return t?t.getAbsoluteIndex()+this.getRelativeIndex():0},t=>{b(this,Oe,t)})}getBoundingClientRect(){this.lspError("AstNode.getBoundingClientRect")}is(t){return this.type===t}getLines(){}seal(t,e){}lspError(t){throw new Error(`${t} method is only available in the LSP version!`)}};sr=I(null),or=new WeakMap,wt=new WeakMap,Et=new WeakMap,ar=new WeakMap,Oe=new WeakMap,Nt=new WeakMap,N(sr,1,"getLines",Xi,ye),ye=N(sr,0,"AstNode",Ki,ye),E(sr,1,ye)});var Ji,Yi=x(()=>{"use strict";Ji=s=>{}});var Zi,An,ll,et,es=x(()=>{"use strict";J();Ce();Vi();vn();Yi();Zi=[Ji];et=class extends(ll=ye){get length(){return this.childNodes.length}text(t){return ge(this.childNodes,t)}removeAt(t){this.lspError("AstElement.removeAt")}insertAt(t,e=this.length){return Wr(this,e,0,[t]),t}closest(t){let e=Gi(t,this),{parentNode:r}=this;for(;r;){if(e(r))return r;({parentNode:r}=r)}}isInside(t){var e;return((e=this.closest(`${t},ext`))==null?void 0:e.type)===t}append(...t){this.safeAppend(t)}safeAppend(t){for(let e of t)this.insertAt(e)}safeReplaceChildren(t){}setText(t,e=0){e+=e<0?this.length:0;let r=this.childNodes[e],{data:n}=r;return r.replaceData(t),n}toString(t,e=""){return this.childNodes.map(r=>r.toString(t)).join(e)}caretPositionFromIndex(t){this.lspError("AstElement.caretPositionFromIndex")}elementFromIndex(t){this.lspError("AstElement.elementFromIndex")}elementFromPoint(t,e){this.lspError("AstElement.elementFromPoint")}lint(t=this.getAbsoluteIndex(),e){}print(t={}){{let e=t.class;return this.toString()?(e===""?"":`<span class="wpb-${e!=null?e:this.type}${this.getAttribute("invalid")?" wpb-invalid":""}">`)+Ae(this.childNodes,t)+(e===""?"":"</span>"):""}}json(t,e=1/0,r=this.getAbsoluteIndex()){}};An=I(ll),et=N(An,0,"AstElement",Zi,et),E(An,1,et)});var Mr,ts,lr,rs=x(()=>{"use strict";J();vn();lr=class extends ye{constructor(e){super();h(this,Mr);Z(this,"data","");this.data=e}get type(){return"text"}toString(e){var r;return e&&!((r=this.parentNode)!=null&&r.getAttribute("built"))?z(this.data):this.data}text(){return this.data}lint(e=this.getAbsoluteIndex(),r){}replaceData(e){$(this,Mr,ts).call(this,e)}splitText(e){this.lspError("AstText.splitText")}escape(){}print(){return Ze(this.data)}};Mr=new WeakSet,ts=function(e){this.setAttribute("data",e)}});var oe,_e=x(()=>{"use strict";oe=(s=!0,t=!0)=>e=>{class r extends e{text(){return""}lint(i){}}return r}});var j,ne=x(()=>{"use strict";j=s=>{}});var dr,te,We=x(()=>{"use strict";B();te=class extends v{constructor(e,r,n,i,o){super(e,n,i,o);h(this,dr);b(this,dr,r)}get type(){return g(this,dr)}lint(e=this.getAbsoluteIndex()){}};dr=new WeakMap});var Y,Te=x(()=>{"use strict";Y=({length:s})=>t=>{class e extends t{getAttribute(n){return n==="padding"?s:super.getAttribute(n)}}return e}});var It,H,Me=x(()=>{"use strict";B();H=class extends v{constructor(e,r,n,i,o){super(e,n,i,o);h(this,It);b(this,It,r)}get type(){return g(this,It)}set type(e){b(this,It,e)}getAttribute(e){var r;return e==="invalid"?this.type==="converter-flag"&&!!((r=this.parentNode)!=null&&r.isInvalidFlag(this)):super.getAttribute(e)}};It=new WeakMap});var ns,tt,me,rt,Dr,is,Cn,dl,ie,$t=x(()=>{"use strict";Te();ne();ue();B();Me();ns=[j,Y("[[")];ie=class extends(dl=v){constructor(e,r,n=W.getConfig(),i=[],o="|"){super(void 0,n,i,{});h(this,Dr);h(this,tt,!0);h(this,me);h(this,rt);if(this.insertAt(new H(e,"link-target",n,i,{})),r!==void 0){let a=new v(r,{...n,excludes:[...n.excludes,"list"]},i);a.type="link-text",a.setAttribute("stage",10),this.insertAt(a)}b(this,me,o)}get link(){}get fragment(){}afterBuild(){b(this,rt,this.getTitle()),g(this,me).includes("\0")&&b(this,me,this.buildFromStr(g(this,me),0)),$(this,Dr,is).call(this),super.afterBuild()}setAttribute(e,r){e==="bracket"?b(this,tt,r):e==="title"?b(this,rt,r):super.setAttribute(e,r)}toString(e){let r=super.toString(e,g(this,me));return g(this,tt)?`[[${r}]]`:r}text(){let e=super.text("|");return g(this,tt)?`[[${e}]]`:e}getAttribute(e){return e==="title"?g(this,rt):super.getAttribute(e)}getGaps(e){return e===0?g(this,me).length:1}lint(e=this.getAbsoluteIndex(),r){}getTitle(e,r){return this.normalizeTitle(this.firstChild.text(),0,{halfParsed:r,temporary:e,decode:!0,selfLink:!0})}print(){return super.print(g(this,tt)?{pre:"[[",post:"]]",sep:g(this,me)}:{sep:g(this,me)})}json(e,r,n=this.getAbsoluteIndex()){}};Cn=I(dl),tt=new WeakMap,me=new WeakMap,rt=new WeakMap,Dr=new WeakSet,is=function(){this.type!=="ext-inner"&&this.setAttribute("name",g(this,rt).title)},ie=N(Cn,0,"LinkBaseToken",ns,ie),E(Cn,1,ie)});var ss,Sn,gl,Q,De=x(()=>{"use strict";ne();B();ss=[j];Q=class extends(gl=v){get innerText(){return this.firstChild.data}constructor(t="",e,r){super(t,e,r)}};Sn=I(gl),Q=N(Sn,0,"NowikiBaseToken",ss,Q),E(Sn,1,Q)});var os,wn,ul,X,nt=x(()=>{"use strict";_e();De();os=[oe(!1)];X=class extends(ul=Q){get type(){return"noinclude"}toString(t){return t?"":super.toString()}lint(t=this.getAbsoluteIndex()){}};wn=I(ul),X=N(wn,0,"NoincludeToken",os,X),E(wn,1,X)});var Ur,as=x(()=>{"use strict";$t();nt();Ur=class extends ie{get type(){return"redirect-target"}constructor(t,e,r,n){super(t,void 0,r,n),e!==void 0&&this.insertAt(new X(e,r,n))}getTitle(){return this.normalizeTitle(this.firstChild.toString(),0,{halfParsed:!0,decode:!0,page:""})}lint(t=this.getAbsoluteIndex()){}}});var ls,st,Lt,En,pl,it,ds=x(()=>{"use strict";_e();ne();B();We();as();ls=[oe(!1,!1),j];it=class extends(pl=v){constructor(e,r,n,i,o,a,l=[]){super(void 0,a,l);h(this,st);h(this,Lt);b(this,st,e),b(this,Lt,o),this.append(new te(r,"redirect-syntax",a,l),new Ur(n,i==null?void 0:i.slice(1),a,l))}get type(){return"redirect"}getAttribute(e){return e==="padding"?g(this,st).length:super.getAttribute(e)}toString(e){return g(this,st)+super.toString(e)+g(this,Lt)}lint(e=this.getAbsoluteIndex()){}print(){return super.print({pre:g(this,st),post:g(this,Lt)})}};En=I(pl),st=new WeakMap,Lt=new WeakMap,it=N(En,0,"RedirectToken",ls,it),E(En,1,it)});var gs={};M(gs,{parseRedirect:()=>cl});var cl,us=x(()=>{"use strict";ue();ds();cl=(s,t,e)=>{var n;(n=t.regexRedirect)!=null||(t.regexRedirect=new RegExp(String.raw`^(\s*)((?:${t.redirection.join("|")})\s*(?::\s*)?)\[\[([^\n|\]]+)(\|.*?)?\]\](\s*)`,"iu"));let r=t.regexRedirect.exec(s);return r&&W.normalizeTitle(r[3],0,!1,t,{halfParsed:!0,temporary:!0,decode:!0,page:""}).valid?(s=`\0${e.length}o${s.slice(r[0].length)}`,new it(...r.slice(1),t,e),s):!1}});var ps,Nn,fl,ot,cs=x(()=>{"use strict";Te();ne();B();ps=[j,Y("<onlyinclude>")];ot=class extends(fl=v){get type(){return"onlyinclude"}toString(t){return`<onlyinclude>${super.toString(t)}</onlyinclude>`}isPlain(){return!0}print(){return super.print({pre:'<span class="wpb-ext">&lt;onlyinclude&gt;</span>',post:'<span class="wpb-ext">&lt;/onlyinclude&gt;</span>'})}};Nn=I(fl),ot=N(Nn,0,"OnlyincludeToken",ps,ot),E(Nn,1,ot)});var Ue,gr=x(()=>{"use strict";Ue=(s=1)=>t=>{class e extends t{getGaps(){return s}}return e}});var fs,ze,Se,In,ml,he,zr=x(()=>{"use strict";gr();ne();B();fs=[Ue(),j];he=class extends(ml=v){constructor(e,r,n,i,o,a=[]){super(void 0,o);h(this,ze);h(this,Se);Z(this,"closed");this.setAttribute("name",e.toLowerCase()),b(this,ze,[e,i||e]),this.closed=i!=="",b(this,Se,i===void 0),this.append(r,n);let l=typeof r=="string"?-1:a.indexOf(r);a.splice(l===-1?1/0:l,0,this)}get innerText(){return g(this,Se)?void 0:this.lastChild.text()}get selfClosing(){return g(this,Se)}toString(e){let{firstChild:r,lastChild:n}=this,[i,o]=g(this,ze);return g(this,Se)?`<${i}${r.toString(e)}/>`:`<${i}${r.toString(e)}>${n.toString(e)}${this.closed?`</${o}>`:""}`}text(){let[e,r]=g(this,ze);return g(this,Se)?`<${e}${this.firstChild.text()}/>`:`<${e}${super.text(">")}${this.closed?`</${r}>`:""}`}getAttribute(e){return e==="padding"?g(this,ze)[0].length+1:super.getAttribute(e)}print(){{let[e,r]=g(this,ze);return super.print(g(this,Se)?{pre:`&lt;${e}`,post:"/&gt;"}:{pre:`&lt;${e}`,sep:"&gt;",post:this.closed?`&lt;/${r}&gt;`:""})}}json(e,r,n=this.getAbsoluteIndex()){}};In=I(ml),ze=new WeakMap,Se=new WeakMap,he=N(In,0,"TagPairToken",fs,he),E(In,1,he)});var ms,$n,hl,at,hs=x(()=>{"use strict";_e();zr();ms=[oe(!1)];at=class extends(hl=he){get type(){return"include"}constructor(t,e="",r,n,i,o){super(t,e,r!=null?r:"",r===void 0||n!=null?n:"",i,o)}toString(t){return t?"":super.toString()}lint(t=this.getAbsoluteIndex()){}};$n=I(hl),at=N($n,0,"IncludeToken",ms,at),E($n,1,at)});var Ft,Gr=x(()=>{"use strict";Ft=(s=0)=>t=>{}});var pe,xs,bs,ys,Ss,xl,Ts,ks,bl,yl,Ln,vs,As,Cs,lt,ws,Es,Ns,Is=x(()=>{"use strict";pe=new Set(["align"]),xs=new Set(["cite"]),bs=new Set(["cite","datetime"]),ys=new Set(["width"]),Ss=new Set(["bgcolor","align","valign"]),xl=new Set([...Ss,"axis","height","nowrap","width"]),Ts=new Set([...xl,"abbr","headers","scope","rowspan","colspan"]),ks=new Set(["type"]),bl=new Set(["summary","align","bgcolor","cellpadding","cellspacing","frame","rules","width"]),yl=new Set(["clear"]),Ln=new Set(["id","qid","forcemathmode","type","display"]),vs=new Set(["enclose","inline","lang","line","linelinks","style","class","id","dir","copy","highlight","start"]),As=new Set(["weight"]),Cs=new Set(["width","height","zoom","latitude","longitude","align","mapstyle","lang","alt","text"]),lt=new Set,ws=new Set(["id","class","style","lang","dir","title","tabindex","aria-describedby","aria-flowto","aria-hidden","aria-label","aria-labelledby","aria-level","aria-owns","role","about","property","resource","datatype","typeof","itemid","itemprop","itemref","itemscope","itemtype"]),Es={div:pe,h1:pe,h2:pe,h3:pe,h4:pe,h5:pe,h6:pe,blockquote:xs,q:xs,p:pe,br:yl,pre:ys,ins:bs,del:bs,ul:ks,ol:new Set(["type","start","reversed"]),li:new Set(["type","value"]),table:new Set([...bl,"border"]),caption:pe,tr:Ss,td:Ts,th:Ts,font:new Set(["size","color","face"]),hr:ys,data:new Set(["value"]),time:new Set(["datetime"]),meta:new Set(["itemprop","content"]),link:new Set(["itemprop","href","title"]),gallery:ks,poem:pe,categorytree:pe,combooption:pe,img:new Set(["alt","src","width","height","loading","srcset"])},Ns={pre:new Set(["format"]),gallery:new Set(["mode","showfilename","caption","perrow","widths","heights","showthumbnails"]),poem:new Set(["compact"]),categorytree:new Set(["hideroot","onlyroot","depth","mode","hideprefix","namespaces","showcount","notranslations"]),combooption:new Set(["name","for","inline"]),nowiki:lt,indicator:new Set(["name"]),langconvert:new Set(["from","to"]),ref:new Set(["group","name","follow","dir","details"]),references:new Set(["group","responsive"]),charinsert:new Set(["label"]),choose:new Set(["uncached","before","after"]),option:As,choicetemplate:As,imagemap:lt,inputbox:lt,templatestyles:new Set(["src","wrapper"]),dynamicpagelist:lt,poll:new Set(["id","show-results-before-voting"]),score:new Set(["line_width_inches","lang","override_midi","raw","note-language","override_audio","override_ogg","sound","vorbis"]),seo:new Set(["title","title_mode","title_separator","keywords","description","robots","google_bot","image","image_width","image_height","image_alt","type","site_name","locale","section","author","published_time","twitter_site"]),tab:new Set(["nested","name","index","class","block","inline","openname","closename","collapsed","dropdown","style","bgcolor","container","id","title"]),tabs:new Set(["plain","class","container","id","title","style"]),combobox:new Set(["placeholder","value","id","class","text","dropdown","style"]),math:new Set([...Ln,"chem"]),chem:Ln,ce:Ln,hiero:lt,phonos:new Set(["ipa","class","text","lang","wikibase","file"]),section:new Set(["begin","end"]),source:vs,syntaxhighlight:vs,templatedata:lt,timeline:new Set(["method","font"]),quiz:new Set(["display","shuffleanswers","points","shuffle","case"]),languages:lt,mapframe:new Set([...Cs,"frameless"]),maplink:new Set([...Cs,"class"]),rss:new Set(["template","templatename","max","highlight","filter","filterout","reverse","date","item-max-length"]),"page-collection":new Set(["lang","name","description","end-date"])}});var Tl,kl,vl,Al,pr,Rt,re,dt,Bt,$s,Ls,ur,Fs=x(()=>{"use strict";ir();J();Is();B();Me();Tl=/expression|(?:accelerator|-o-link(?:-source)?|-o-replace)\s*:|(?:url|src|image(?:-set)?)\s*\(|attr\s*\([^)]+[\s,]url/u,kl=/(?:^|\s|\*\/)(?:java|vb)script(?:\W|$)/iu,vl=new Set(["ext","arg","magic-word","template"]),Al=new Set(["about","property","resource","datatype","typeof","itemid","itemprop","itemref","itemscope","itemtype"]),ur=class extends v{constructor(e,r,n,i,o,a="",l,p=[]){let u=new H(n,"attr-key",o,p),d;if(n==="title"||r==="img"&&n==="alt")d=new v(l,o,p,{}),d.type="attr-value",d.setAttribute("stage",10);else if(r==="gallery"&&n==="caption"||r==="ref"&&n==="details"||(r==="mapframe"||r==="maplink")&&n==="text"||r==="choose"&&(n==="before"||n==="after")){let c={...o,excludes:[...o.excludes,"heading","html","table","hr","list"]};d=new v(l,c,p,{}),d.type="attr-value",d.setAttribute("stage",1)}else d=new H(l,"attr-value",o,p,{});super(void 0,o,p);h(this,Bt);h(this,pr);h(this,Rt);h(this,re);h(this,dt);b(this,pr,e),this.append(u,d),b(this,re,a),b(this,dt,[...i]),b(this,Rt,r),this.setAttribute("name",ve(z(n)))}get type(){return g(this,pr)}get tag(){return g(this,Rt)}get balanced(){}afterBuild(){g(this,re).includes("\0")&&b(this,re,this.buildFromStr(g(this,re),0)),this.parentNode&&b(this,Rt,this.parentNode.name),$(this,Bt,$s).call(this),super.afterBuild()}toString(e){let[r="",n=""]=g(this,dt);return g(this,re)?super.toString(e,g(this,re)+r)+n:this.firstChild.toString(e)}text(){return g(this,re)?`${super.text(`${g(this,re).trim()}"`)}"`:this.firstChild.text()}getGaps(){var e,r;return g(this,re)?g(this,re).length+((r=(e=g(this,dt)[0])==null?void 0:e.length)!=null?r:0):0}lint(e=this.getAbsoluteIndex(),r){}getValue(){return g(this,re)?this.lastChild.text().trim():this.type==="ext-attr"||""}escape(){}getAttribute(e){return e==="invalid"?$(this,Bt,Ls).call(this):super.getAttribute(e)}print(){{let[e="",r=""]=g(this,dt);return g(this,re)?super.print({sep:Ze(g(this,re))+e,post:r}):super.print()}}json(e,r,n=this.getAbsoluteIndex()){}};pr=new WeakMap,Rt=new WeakMap,re=new WeakMap,dt=new WeakMap,Bt=new WeakSet,$s=function(){this.setAttribute("name",ve(this.firstChild.text()))},Ls=function(e,r){let{firstChild:n,lastChild:i,type:o,name:a,tag:l,parentNode:p}=this,u=!i.childNodes.some(({type:k})=>vl.has(k)),d=this.getValue(),c=Ns[l],f=Es[l],{length:m}=this.toString(),C="illegal-attr",A,S;if(!(c!=null&&c.has(a))&&!(f!=null&&f.has(a))&&(o==="ext-attr"?c||f:!/\{\{[^{]+\}\}/u.test(a))&&(o==="ext-attr"&&!f||!/^(?:xmlns:[\w:.-]+|data-(?!ooui|mw|parsoid)[^:_]*)$/u.test(a)&&(l==="meta"||l==="link"||!ws.has(a)))||(a==="itemtype"||a==="itemid"||a==="itemref")&&!(p!=null&&p.hasAttr("itemscope"))){if(e===void 0)return!0}else if(a==="style"&&typeof d=="string"&&Tl.test(d)){if(e===void 0)return!0}else if(a==="tabindex"&&typeof d=="string"&&d!=="0"){if(e===void 0)return!0}else if(typeof d=="string"&&((/^xmlns:[\w:.-]+$/u.test(a)||Al.has(a))&&kl.test(d)||u&&(a==="href"||l==="img"&&a==="src")&&!new RegExp(String.raw`^(?:${this.getAttribute("config").protocol}|//)\S+$`,"iu").test(d))){if(e===void 0)return!0}else if(u&&o!=="ext-attr"){let k=zi(l,a),y=String(d).toLowerCase();if(k.length>0&&k.every(T=>T!==y)&&e===void 0)return!0}return!1}});var Rs,Cl,cr,fr,Fn,Ge,Vr=x(()=>{"use strict";J();B();Me();Fs();Rs=s=>s.slice(0,-1),Cl=s=>`${Rs(s)}-dirty`,Ge=class extends v{constructor(e,r,n,i,o=[]){super(void 0,i,o,{});h(this,fr);h(this,cr);if(b(this,cr,r),this.setAttribute("name",n),e){let a=/([^\s/](?:(?!\0\d+~\x7F)[^\s/=])*)(?:((?:\s(?:\s|\0\d+[cn]\x7F)*)?(?:=|\0\d+~\x7F)(?:\s|\0\d+[cn]\x7F)*)(?:(["'])([\s\S]*?)(\3|$)|(\S*)))?/gu,l="",p=a.exec(e),u=0,d=()=>{l&&(super.insertAt(new H(l,Cl(r),i,o,{})),l="")};for(;p;){let{index:c,0:f,1:m,2:C,3:A,4:S,5:k,6:y}=p;if(l+=e.slice(u,c),/^(?:[\w:]|\0\d+t\x7F)(?:[\w:.-]|\0\d+t\x7F)*$/u.test(z(m).trim())){let T=S!=null?S:y,w=[A,k],F=new ur(Rs(r),n,m,w,i,C,T,o);d(),super.insertAt(F)}else l+=f;({lastIndex:u}=a),p=a.exec(e)}l+=e.slice(u),d()}}get type(){return g(this,cr)}afterBuild(){let{parentNode:e}=this;e!=null&&e.is("td")&&this.setAttribute("name",e.subtype),super.afterBuild()}getAttrTokens(e){return this.childNodes.filter(r=>r instanceof ur&&(!e||r.name===ve(e)))}hasAttr(e){return this.getAttrTokens(e).length>0}getAttrToken(e){}getAttr(e){}lint(e=this.getAbsoluteIndex(),r){}escape(){}getAttribute(e){return e==="invalid"?$(this,fr,Fn).call(this):super.getAttribute(e)}print(){return this.toString()?`<span class="wpb-${this.type}${$(this,fr,Fn).call(this)?" wpb-invalid":""}">${this.childNodes.map(e=>e.print(e instanceof H?{class:e.toString().trim()&&"attr-dirty"}:void 0)).join("")}</span>`:""}};cr=new WeakMap,fr=new WeakSet,Fn=function(){let{parentNode:e}=this;return(e==null?void 0:e.type)==="html"&&e.closing&&this.text().trim()!==""}});var Bs={};M(Bs,{PreToken:()=>Rn});var Rn,Ps=x(()=>{"use strict";B();nt();Rn=class extends v{get type(){return"ext-inner"}constructor(t,e,r=[]){if(t){let n=/<nowiki>/giu,i=/<\/nowiki>/giu,{length:o}=n.source,a=n.exec(t);a&&(i.lastIndex=a.index+o);let l=i.exec(t),p=0,u="";for(;a&&l;)new X(a[0],e,r,!0),new X(l[0],e,r,!0),u+=`${t.slice(p,a.index)}\0${r.length-1}n${t.slice(a.index+o,l.index)}\0${r.length}n`,p=l.index+o+1,n.lastIndex=p,a=n.exec(t),a&&(i.lastIndex=a.index+o),l=i.exec(t);t=u+t.slice(p)}super(t,e,r,{}),this.setAttribute("stage",10)}isPlain(){return!0}lint(t=this.getAbsoluteIndex()){}}});var Ve,Hr=x(()=>{"use strict";B();Ve=class extends v{get type(){return"ext-inner"}toString(t){return super.toString(t,`
1
+ "use strict";(()=>{var Ha=Object.create;var At=Object.defineProperty;var Pi=Object.getOwnPropertyDescriptor;var Qa=Object.getOwnPropertyNames;var Xa=Object.prototype.hasOwnProperty;var ji=(s,t)=>(t=Symbol[s])?t:Symbol.for("Symbol."+s),Ct=s=>{throw TypeError(s)};var qi=(s,t,e)=>t in s?At(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var Bi=(s,t)=>At(s,"name",{value:t,configurable:!0});var x=(s,t)=>()=>(s&&(t=s(s=0)),t);var Ka=(s,t)=>()=>(t||s((t={exports:{}}).exports,t),t.exports),M=(s,t)=>{for(var e in t)At(s,e,{get:t[e],enumerable:!0})},Ja=(s,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Qa(t))!Xa.call(s,n)&&n!==e&&At(s,n,{get:()=>t[n],enumerable:!(r=Pi(t,n))||r.enumerable});return s};var q=s=>Ja(At({},"__esModule",{value:!0}),s);var I=s=>{var t;return[,,,Ha((t=s==null?void 0:s[ji("metadata")])!=null?t:null)]},Oi=["class","method","getter","setter","accessor","field","value","get","set"],er=s=>s!==void 0&&typeof s!="function"?Ct("Function expected"):s,Ya=(s,t,e,r,n)=>({kind:Oi[s],name:t,metadata:r,addInitializer:i=>e._?Ct("Already initialized"):n.push(er(i||null))}),tr=(s,t)=>qi(t,ji("metadata"),s[3]),E=(s,t,e,r)=>{for(var n=0,i=s[t>>1],o=i&&i.length;n<o;n++)t&1?i[n].call(e):r=i[n].call(e,r);return r},N=(s,t,e,r,n,i)=>{var o,a,l,p,u,d=t&7,c=!!(t&8),f=!!(t&16),m=d>3?s.length+1:d?c?1:2:0,C=Oi[d+5],A=d>3&&(s[m-1]=[]),S=s[m]||(s[m]=[]),k=d&&(!f&&!c&&(n=n.prototype),d<5&&(d>3||!f)&&Pi(d<4?n:{get[e](){return g(this,i)},set[e](T){return b(this,i,T)}},e));d?f&&d<4&&Bi(i,(d>2?"set ":d>1?"get ":"")+e):Bi(n,e);for(var y=r.length-1;y>=0;y--)p=Ya(d,e,l={},s[3],S),d&&(p.static=c,p.private=f,u=p.access={has:f?T=>Za(n,T):T=>e in T},d^3&&(u.get=f?T=>(d^1?g:$)(T,n,d^4?i:k.get):T=>T[e]),d>2&&(u.set=f?(T,w)=>b(T,n,w,d^4?i:k.set):(T,w)=>T[e]=w)),a=(0,r[y])(d?d<4?f?i:k[C]:d>4?void 0:{get:k.get,set:k.set}:n,p),l._=1,d^4||a===void 0?er(a)&&(d>4?A.unshift(a):d?f?i=a:k[C]=a:n=a):typeof a!="object"||a===null?Ct("Object expected"):(er(o=a.get)&&(k.get=o),er(o=a.set)&&(k.set=o),er(o=a.init)&&A.unshift(o));return d||tr(s,n),k&&At(n,e,k),f?d^4?i:k:n},Z=(s,t,e)=>qi(s,typeof t!="symbol"?t+"":t,e),xn=(s,t,e)=>t.has(s)||Ct("Cannot "+e),Za=(s,t)=>Object(t)!==t?Ct('Cannot use the "in" operator on this value'):s.has(t),g=(s,t,e)=>(xn(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>t.has(s)?Ct("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),b=(s,t,e,r)=>(xn(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),$=(s,t,e)=>(xn(s,t,"access private method"),e);var jr=(s,t,e,r)=>({set _(n){b(s,t,n,e)},get _(){return g(s,t,r)}});function se(s,t,e){return e===1?s.replace(/\0(\d+)g\x7F/gu,(r,n)=>se(String(t[n]),t,2)):e===2?s.replace(/\0(\d+)n\x7F/gu,(r,n)=>String(t[n])):s.replace(/\0(\d+)\x7F/gu,(r,n)=>t[n])}var be,_i,Je,Ye,ve,rr,Wi,z,ge,el,tl,qr,bn,Mi,rl,nl,Ze,Ae,J=x(()=>{"use strict";be=String.raw` \xA0\u1680\u2000-\u200A\u202F\u205F\u3000`,_i=String.raw`[^[\]<>"\0-\x1F\x7F${be}\uFFFD]`,Je=String.raw`(?:\[[\da-f:.]+\]|${_i})`,Ye=String.raw`(?:${_i}|\0\d+[cn!~]\x7F)*`,ve=s=>s.trim().toLowerCase();rr=(s,t)=>e=>e.replace(s,t),Wi=rr(/[\0\x7F]|\r$/gmu,""),z=rr(/\0\d+[cn]\x7F/gu,""),ge=(s,t="")=>s.map(e=>typeof e=="string"?e:e.text()).join(t),el={lt:"<",gt:">",lbrack:"[",rbrack:"]",lbrace:"{",rbrace:"}",nbsp:" ",amp:"&",quot:'"'},tl=rr(/&(?:#(\d+|[Xx][\da-fA-F]+)|([lg]t|[LG]T|[lr]brac[ke]|nbsp|amp|AMP|quot|QUOT));/gu,(s,t,e)=>t?String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t)):el[e.toLowerCase()]),bn=s=>(qr!=null||(qr=tl),qr(s)),Mi=rr(/&#(\d+|x[\da-f]+);/giu,(s,t)=>String.fromCodePoint(+((/^x/iu.test(t)?"0":"")+t))),rl={"&":"amp","<":"lt",">":"gt",'"':"quot","\n":"#10"},nl=(s=/[&<>"{}[\]|]/gu)=>rr(s,t=>`&${rl[t]};`),Ze=nl(/[&<>]/gu),Ae=(s,t={})=>{let{pre:e="",post:r="",sep:n=""}=t;return e+s.map(i=>i.print()).join(n)+r}});var Di=Ka((jd,il)=>{il.exports={ext:[],html:[["b","bdi","del","i","ins","u","font","big","small","sub","sup","h1","h2","h3","h4","h5","h6","cite","code","em","s","strike","strong","tt","var","div","center","blockquote","ol","ul","dl","table","caption","pre","ruby","rb","rp","rt","rtc","p","span","abbr","dfn","kbd","samp","data","time","mark","tr","td","th","q","bdo"],["li","dt","dd"],["br","wbr","hr","meta","link"]],namespaces:{"0":"","6":"File","10":"Template","14":"Category","828":"Module"},nsid:{"":0,file:6,template:10,category:14,module:828},functionHook:["msgnw"],variable:["!","=","pageid","articlepath","server","servername","scriptpath","stylepath"],parserFunction:[{msgnw:"msgnw",pageid:"pageid",articlepath:"articlepath",server:"server",servername:"servername",scriptpath:"scriptpath",stylepath:"stylepath","#language":"language","#special":"special","#speciale":"speciale","#tag":"tag","#formatdate":"formatdate","#dateformat":"formatdate","#invoke":"invoke","#while":"while","#dowhile":"dowhile","#loop":"loop","#forargs":"forargs","#fornumargs":"fornumargs","#if":"if","#ifeq":"ifeq","#switch":"switch","#ifexist":"ifexist","#ifexpr":"ifexpr","#iferror":"iferror","#time":"time","#timel":"timel","#expr":"expr","#rel2abs":"rel2abs","#titleparts":"titleparts","#categorytree":"categorytree","#urldecode":"urldecode","#choose":"choose","#var":"var","#varexists":"varexists","#var_final":"var_final","#vardefine":"vardefine","#vardefineecho":"vardefineecho","#widget":"widget","#related":"related","#regex":"regex","#regex_var":"regex_var","#regexquote":"regexquote","#regexall":"regexall","#len":"len","#pos":"pos","#rpos":"rpos","#sub":"sub","#count":"count","#rmatch":"rmatch","#rreplace":"rreplace","#replace":"replace","#rsplit":"rsplit","#explode":"explode","#tab":"tab","#seo":"seo","#babel":"babel","#translation":"translation","#commaseparatedlist":"commaseparatedlist","#coordinates":"coordinates","#lst":"lst","#lsth":"lsth","#lstx":"lstx","#assessment":"assessment","#mentor":"mentor","#property":"property","#target":"target","#section":"lst","#section-x":"lstx","#section-h":"lsth","#statements":"statements","#useliquidthreads":"useliquidthreads","#lqtpagelimit":"lqtpagelimit","#avatar":"avatar","#img":"img","#chart":"chart"},{"!":"!","=":"=","#FORMAL":"formal","#bcp47":"bcp47","#dir":"dir","#interwikilink":"interwikilink","#interlanguagelink":"interlanguagelink","#contentmodel":"contentmodel","#isbn":"isbn","#timef":"timef","#timefl":"timefl"},["msg","raw"],["subst","safesubst"]],doubleUnderscore:[[],[],{},{}],protocol:"bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",interwiki:[],img:{},redirection:["#redirect"],variants:[]}});var Ui,yn,Tn=x(()=>{"use strict";Ui=new Set(["alt","link","lang","page","caption"]),yn=Di()});function je(s){let t=new Map,e=new WeakMap;return r=>{let n=typeof r=="string"?t:e;if(n.has(r)){let o=n.get(r);return o.lastIndex=0,o}let i=s(r);return n.set(r,i),i}}var kn,nr=x(()=>{"use strict";kn=s=>decodeURIComponent(s.replace(/%(?![\da-f]{2})/giu,"%25"))});var sl,ol,Or,qe,zi,ir=x(()=>{"use strict";Ce();ue();sl=new Set(["tr","td","th","caption"]),ol=new Set(["Template:!!","Template:!-"]),Or=s=>{let t=s.childNodes.find(e=>e.text().trim());if(!t||t.type==="text"&&t.data.trim().startsWith("!")||t.is("magic-word")&&t.name==="!"||t.is("template")&&ol.has(t.name)||t.is("html")&&sl.has(t.name))return!1;if(t.is("arg"))return t.length>1&&Or(t.childNodes[1]);if(t.is("magic-word"))try{let e=t.getPossibleValues().map(Or);return e.includes(2)?2:e.includes(1)&&1}catch{}return t.is("template")||t.is("magic-word")&&t.name==="invoke"?1:2},qe=(s,t,e,r)=>{if(s&&(r||W.viewOnly&&s[0]===ee.rev))return s[1];let n=t();return(r||W.viewOnly)&&e([ee.rev,n]),n},zi=(s,t)=>s==="ol"&&t==="type"?["1","a","A","i","I"]:s==="th"&&t==="scope"?["row","col","rowgroup","colgroup"]:t==="dir"?["ltr","rtl","auto"]:t==="aria-hidden"?["true","false"]:[]});var al,Gi,Vi=x(()=>{"use strict";al=s=>{if(s.includes("#")){let t=s.indexOf("#"),e=s.slice(0,t),r=s.slice(t+1);return(n,i)=>(t===0||n===e)&&i===r}return t=>t===s},Gi=(s,t,e)=>{if(s=s.trim(),!s)return(()=>!0);let r=s.split(",").map(n=>n.trim()).filter(n=>n!=="").map(al);return(({type:n,name:i})=>r.some(o=>o(n,i)))}});var St,_r=x(()=>{"use strict";ir();St=(s=!0)=>t=>{let e=new WeakMap;return function(...r){return qe(e.get(this),()=>t.apply(this,r),n=>{e.set(this,n)},s)}}});var Hi,Qi=x(()=>{"use strict";Hi=s=>{class t extends s{get firstChild(){return this.childNodes[0]}get lastChild(){return this.childNodes[this.childNodes.length-1]}get offsetHeight(){}get offsetWidth(){}}return t}});var Xi,Ki,or,wt,Et,ar,Oe,Nt,sr,ye,vn=x(()=>{"use strict";ir();Ce();_r();Qi();ue();Ki=[Hi],Xi=[St(!1)];ye=class{constructor(){E(sr,5,this);Z(this,"childNodes",[]);h(this,or);h(this,wt);h(this,Et);h(this,ar);h(this,Oe);h(this,Nt,{})}get parentNode(){return g(this,or)}get nextSibling(){return g(this,wt)}get previousSibling(){return g(this,Et)}getChildNodes(){let{childNodes:t}=this;return Object.isFrozen(t)?[...t]:t}getAttribute(t){return t==="padding"?0:this[t]}setAttribute(t,e){switch(t){case"parentNode":b(this,or,e),e||(b(this,wt,void 0),b(this,Et,void 0));break;case"nextSibling":b(this,wt,e);break;case"previousSibling":b(this,Et,e);break;case"aIndex":break;default:this[t]=e}}getRootNode(){return qe(g(this,ar),()=>{var t,e;return(e=(t=this.parentNode)==null?void 0:t.getRootNode())!=null?e:this},t=>{let[,e]=t;e.type==="root"&&b(this,ar,t)})}indexFromPos(t,e){}posFromIndex(t){}getDimension(){}getGaps(t){return 0}getRelativeIndex(t){if(t===void 0){let{parentNode:e}=this;return e?e.getRelativeIndex(e.childNodes.indexOf(this)):0}return qe(g(this,Nt)[t],()=>{var o;let{childNodes:e}=this,r=((o=g(this,Oe))==null?void 0:o[0])===ee.rev&&g(this,Oe)[1],n=t+(t<0?e.length:0),i=this.getAttribute("padding");for(let a=0;a<n;a++)W.viewOnly&&(g(this,Nt)[a]=[ee.rev,i],r!==!1&&b(e[a],Oe,[ee.rev,r+i])),i+=e[a].toString().length+this.getGaps(a);return i},e=>{g(this,Nt)[t]=e})}getAbsoluteIndex(){return qe(g(this,Oe),()=>{let{parentNode:t}=this;return t?t.getAbsoluteIndex()+this.getRelativeIndex():0},t=>{b(this,Oe,t)})}getBoundingClientRect(){this.lspError("AstNode.getBoundingClientRect")}is(t){return this.type===t}getLines(){}seal(t,e){}lspError(t){throw new Error(`${t} method is only available in the LSP version!`)}};sr=I(null),or=new WeakMap,wt=new WeakMap,Et=new WeakMap,ar=new WeakMap,Oe=new WeakMap,Nt=new WeakMap,N(sr,1,"getLines",Xi,ye),ye=N(sr,0,"AstNode",Ki,ye),E(sr,1,ye)});var Ji,Yi=x(()=>{"use strict";Ji=s=>{}});var Zi,An,ll,et,es=x(()=>{"use strict";J();Ce();Vi();vn();Yi();Zi=[Ji];et=class extends(ll=ye){get length(){return this.childNodes.length}text(t){return ge(this.childNodes,t)}removeAt(t){this.lspError("AstElement.removeAt")}insertAt(t,e=this.length){return Wr(this,e,0,[t]),t}closest(t){let e=Gi(t,this),{parentNode:r}=this;for(;r;){if(e(r))return r;({parentNode:r}=r)}}isInside(t){var e;return((e=this.closest(`${t},ext`))==null?void 0:e.type)===t}append(...t){this.safeAppend(t)}safeAppend(t){for(let e of t)this.insertAt(e)}safeReplaceChildren(t){}setText(t,e=0){e+=e<0?this.length:0;let r=this.childNodes[e],{data:n}=r;return r.replaceData(t),n}toString(t,e=""){return this.childNodes.map(r=>r.toString(t)).join(e)}caretPositionFromIndex(t){this.lspError("AstElement.caretPositionFromIndex")}elementFromIndex(t){this.lspError("AstElement.elementFromIndex")}elementFromPoint(t,e){this.lspError("AstElement.elementFromPoint")}lint(t=this.getAbsoluteIndex(),e){}print(t={}){{let e=t.class;return this.toString()?(e===""?"":`<span class="wpb-${e!=null?e:this.type}${this.getAttribute("invalid")?" wpb-invalid":""}">`)+Ae(this.childNodes,t)+(e===""?"":"</span>"):""}}json(t,e=1/0,r=this.getAbsoluteIndex()){}};An=I(ll),et=N(An,0,"AstElement",Zi,et),E(An,1,et)});var Mr,ts,lr,rs=x(()=>{"use strict";J();vn();lr=class extends ye{constructor(e){super();h(this,Mr);Z(this,"data","");this.data=e}get type(){return"text"}toString(e){var r;return e&&!((r=this.parentNode)!=null&&r.getAttribute("built"))?z(this.data):this.data}text(){return this.data}lint(e=this.getAbsoluteIndex(),r){}replaceData(e){$(this,Mr,ts).call(this,e)}splitText(e){this.lspError("AstText.splitText")}escape(){}print(){return Ze(this.data)}};Mr=new WeakSet,ts=function(e){this.setAttribute("data",e)}});var oe,_e=x(()=>{"use strict";oe=(s=!0,t=!0)=>e=>{class r extends e{text(){return""}lint(i){}}return r}});var j,ne=x(()=>{"use strict";j=s=>{}});var dr,te,We=x(()=>{"use strict";B();te=class extends v{constructor(e,r,n,i,o){super(e,n,i,o);h(this,dr);b(this,dr,r)}get type(){return g(this,dr)}lint(e=this.getAbsoluteIndex()){}};dr=new WeakMap});var Y,Te=x(()=>{"use strict";Y=({length:s})=>t=>{class e extends t{getAttribute(n){return n==="padding"?s:super.getAttribute(n)}}return e}});var It,H,Me=x(()=>{"use strict";B();H=class extends v{constructor(e,r,n,i,o){super(e,n,i,o);h(this,It);b(this,It,r)}get type(){return g(this,It)}set type(e){b(this,It,e)}getAttribute(e){var r;return e==="invalid"?this.type==="converter-flag"&&!!((r=this.parentNode)!=null&&r.isInvalidFlag(this)):super.getAttribute(e)}};It=new WeakMap});var ns,tt,me,rt,Dr,is,Cn,dl,ie,$t=x(()=>{"use strict";Te();ne();ue();B();Me();ns=[j,Y("[[")];ie=class extends(dl=v){constructor(e,r,n=W.getConfig(),i=[],o="|"){super(void 0,n,i,{});h(this,Dr);h(this,tt,!0);h(this,me);h(this,rt);if(this.insertAt(new H(e,"link-target",n,i,{})),r!==void 0){let a=new v(r,{...n,excludes:[...n.excludes,"list"]},i);a.type="link-text",a.setAttribute("stage",10),this.insertAt(a)}b(this,me,o)}get link(){}get fragment(){}afterBuild(){b(this,rt,this.getTitle()),g(this,me).includes("\0")&&b(this,me,this.buildFromStr(g(this,me),0)),$(this,Dr,is).call(this),super.afterBuild()}setAttribute(e,r){e==="bracket"?b(this,tt,r):e==="title"?b(this,rt,r):super.setAttribute(e,r)}toString(e){let r=super.toString(e,g(this,me));return g(this,tt)?`[[${r}]]`:r}text(){let e=super.text("|");return g(this,tt)?`[[${e}]]`:e}getAttribute(e){return e==="title"?g(this,rt):super.getAttribute(e)}getGaps(e){return e===0?g(this,me).length:1}lint(e=this.getAbsoluteIndex(),r){}getTitle(e,r){return this.normalizeTitle(this.firstChild.text(),0,{halfParsed:r,temporary:e,decode:!0,selfLink:!0})}print(){return super.print(g(this,tt)?{pre:"[[",post:"]]",sep:g(this,me)}:{sep:g(this,me)})}json(e,r,n=this.getAbsoluteIndex()){}};Cn=I(dl),tt=new WeakMap,me=new WeakMap,rt=new WeakMap,Dr=new WeakSet,is=function(){this.type!=="ext-inner"&&this.setAttribute("name",g(this,rt).title)},ie=N(Cn,0,"LinkBaseToken",ns,ie),E(Cn,1,ie)});var ss,Sn,gl,Q,De=x(()=>{"use strict";ne();B();ss=[j];Q=class extends(gl=v){get innerText(){return this.firstChild.data}constructor(t="",e,r){super(t,e,r)}};Sn=I(gl),Q=N(Sn,0,"NowikiBaseToken",ss,Q),E(Sn,1,Q)});var os,wn,ul,X,nt=x(()=>{"use strict";_e();De();os=[oe(!1)];X=class extends(ul=Q){get type(){return"noinclude"}toString(t){return t?"":super.toString()}lint(t=this.getAbsoluteIndex()){}};wn=I(ul),X=N(wn,0,"NoincludeToken",os,X),E(wn,1,X)});var Ur,as=x(()=>{"use strict";$t();nt();Ur=class extends ie{get type(){return"redirect-target"}constructor(t,e,r,n){super(t,void 0,r,n),e!==void 0&&this.insertAt(new X(e,r,n))}getTitle(){return this.normalizeTitle(this.firstChild.toString(),0,{halfParsed:!0,decode:!0,page:""})}lint(t=this.getAbsoluteIndex()){}}});var ls,st,Lt,En,pl,it,ds=x(()=>{"use strict";_e();ne();B();We();as();ls=[oe(!1,!1),j];it=class extends(pl=v){constructor(e,r,n,i,o,a,l=[]){super(void 0,a,l);h(this,st);h(this,Lt);b(this,st,e),b(this,Lt,o),this.append(new te(r,"redirect-syntax",a,l),new Ur(n,i==null?void 0:i.slice(1),a,l))}get type(){return"redirect"}getAttribute(e){return e==="padding"?g(this,st).length:super.getAttribute(e)}toString(e){return g(this,st)+super.toString(e)+g(this,Lt)}lint(e=this.getAbsoluteIndex()){}print(){return super.print({pre:g(this,st),post:g(this,Lt)})}};En=I(pl),st=new WeakMap,Lt=new WeakMap,it=N(En,0,"RedirectToken",ls,it),E(En,1,it)});var gs={};M(gs,{parseRedirect:()=>cl});var cl,us=x(()=>{"use strict";ue();ds();cl=(s,t,e)=>{var n;(n=t.regexRedirect)!=null||(t.regexRedirect=new RegExp(String.raw`^(\s*)((?:${t.redirection.join("|")})\s*(?::\s*)?)\[\[([^\n|\]]+)(\|.*?)?\]\](\s*)`,"iu"));let r=t.regexRedirect.exec(s);return r&&W.normalizeTitle(r[3],0,!1,t,{halfParsed:!0,temporary:!0,decode:!0,page:""}).valid?(s=`\0${e.length}o${s.slice(r[0].length)}`,new it(...r.slice(1),t,e),s):!1}});var ps,Nn,fl,ot,cs=x(()=>{"use strict";Te();ne();B();ps=[j,Y("<onlyinclude>")];ot=class extends(fl=v){get type(){return"onlyinclude"}toString(t){return`<onlyinclude>${super.toString(t)}</onlyinclude>`}isPlain(){return!0}print(){return super.print({pre:'<span class="wpb-ext">&lt;onlyinclude&gt;</span>',post:'<span class="wpb-ext">&lt;/onlyinclude&gt;</span>'})}};Nn=I(fl),ot=N(Nn,0,"OnlyincludeToken",ps,ot),E(Nn,1,ot)});var Ue,gr=x(()=>{"use strict";Ue=(s=1)=>t=>{class e extends t{getGaps(){return s}}return e}});var fs,ze,Se,In,ml,he,zr=x(()=>{"use strict";gr();ne();B();fs=[Ue(),j];he=class extends(ml=v){constructor(e,r,n,i,o,a=[]){super(void 0,o);h(this,ze);h(this,Se);Z(this,"closed");this.setAttribute("name",e.toLowerCase()),b(this,ze,[e,i||e]),this.closed=i!=="",b(this,Se,i===void 0),this.append(r,n);let l=typeof r=="string"?-1:a.indexOf(r);a.splice(l===-1?1/0:l,0,this)}get innerText(){return g(this,Se)?void 0:this.lastChild.text()}get selfClosing(){return g(this,Se)}toString(e){let{firstChild:r,lastChild:n}=this,[i,o]=g(this,ze);return g(this,Se)?`<${i}${r.toString(e)}/>`:`<${i}${r.toString(e)}>${n.toString(e)}${this.closed?`</${o}>`:""}`}text(){let[e,r]=g(this,ze);return g(this,Se)?`<${e}${this.firstChild.text()}/>`:`<${e}${super.text(">")}${this.closed?`</${r}>`:""}`}getAttribute(e){return e==="padding"?g(this,ze)[0].length+1:super.getAttribute(e)}print(){{let[e,r]=g(this,ze);return super.print(g(this,Se)?{pre:`&lt;${e}`,post:"/&gt;"}:{pre:`&lt;${e}`,sep:"&gt;",post:this.closed?`&lt;/${r}&gt;`:""})}}json(e,r,n=this.getAbsoluteIndex()){}};In=I(ml),ze=new WeakMap,Se=new WeakMap,he=N(In,0,"TagPairToken",fs,he),E(In,1,he)});var ms,$n,hl,at,hs=x(()=>{"use strict";_e();zr();ms=[oe(!1)];at=class extends(hl=he){get type(){return"include"}constructor(t,e="",r,n,i,o){super(t,e,r!=null?r:"",r===void 0||n!=null?n:"",i,o)}toString(t){return t?"":super.toString()}lint(t=this.getAbsoluteIndex()){}};$n=I(hl),at=N($n,0,"IncludeToken",ms,at),E($n,1,at)});var Ft,Gr=x(()=>{"use strict";Ft=(s=0)=>t=>{}});var pe,xs,bs,ys,Ss,xl,Ts,ks,bl,yl,Ln,vs,As,Cs,lt,ws,Es,Ns,Is=x(()=>{"use strict";pe=new Set(["align"]),xs=new Set(["cite"]),bs=new Set(["cite","datetime"]),ys=new Set(["width"]),Ss=new Set(["bgcolor","align","valign"]),xl=new Set([...Ss,"axis","height","nowrap","width"]),Ts=new Set([...xl,"abbr","headers","scope","rowspan","colspan"]),ks=new Set(["type"]),bl=new Set(["summary","align","bgcolor","cellpadding","cellspacing","frame","rules","width"]),yl=new Set(["clear"]),Ln=new Set(["id","qid","forcemathmode","type","display"]),vs=new Set(["enclose","inline","lang","line","linelinks","style","class","id","dir","copy","highlight","start"]),As=new Set(["weight"]),Cs=new Set(["width","height","zoom","latitude","longitude","align","mapstyle","lang","alt","text"]),lt=new Set,ws=new Set(["id","class","style","lang","dir","title","tabindex","aria-describedby","aria-flowto","aria-hidden","aria-label","aria-labelledby","aria-level","aria-owns","role","about","property","resource","datatype","typeof","itemid","itemprop","itemref","itemscope","itemtype"]),Es={div:pe,h1:pe,h2:pe,h3:pe,h4:pe,h5:pe,h6:pe,blockquote:xs,q:xs,p:pe,br:yl,pre:ys,ins:bs,del:bs,ul:ks,ol:new Set(["type","start","reversed"]),li:new Set(["type","value"]),table:new Set([...bl,"border"]),caption:pe,tr:Ss,td:Ts,th:Ts,font:new Set(["size","color","face"]),hr:ys,data:new Set(["value"]),time:new Set(["datetime"]),meta:new Set(["itemprop","content"]),link:new Set(["itemprop","href","title"]),gallery:ks,poem:pe,categorytree:pe,combooption:pe,img:new Set(["alt","src","width","height","loading","srcset"])},Ns={pre:new Set(["format"]),gallery:new Set(["mode","showfilename","caption","perrow","widths","heights","showthumbnails"]),poem:new Set(["compact"]),categorytree:new Set(["hideroot","onlyroot","depth","mode","hideprefix","namespaces","showcount","notranslations"]),combooption:new Set(["name","for","inline"]),nowiki:lt,indicator:new Set(["name"]),langconvert:new Set(["from","to"]),ref:new Set(["group","name","follow","dir","details"]),references:new Set(["group","responsive"]),charinsert:new Set(["label"]),choose:new Set(["uncached","before","after"]),option:As,choicetemplate:As,imagemap:lt,inputbox:lt,templatestyles:new Set(["src","wrapper"]),dynamicpagelist:lt,poll:new Set(["id","show-results-before-voting"]),score:new Set(["line_width_inches","lang","override_midi","raw","note-language","override_audio","override_ogg","sound","vorbis"]),seo:new Set(["title","title_mode","title_separator","keywords","description","robots","google_bot","image","image_width","image_height","image_alt","type","site_name","locale","section","author","published_time","twitter_site"]),tab:new Set(["nested","name","index","class","block","inline","openname","closename","collapsed","dropdown","style","bgcolor","container","id","title"]),tabs:new Set(["plain","class","container","id","title","style"]),combobox:new Set(["placeholder","value","id","class","text","dropdown","style"]),math:new Set([...Ln,"chem"]),chem:Ln,ce:Ln,hiero:lt,phonos:new Set(["ipa","class","text","lang","wikibase","file"]),section:new Set(["begin","end"]),source:vs,syntaxhighlight:vs,templatedata:lt,timeline:new Set(["method","font"]),quiz:new Set(["display","shuffleanswers","points","shuffle","case"]),languages:lt,mapframe:new Set([...Cs,"frameless"]),maplink:new Set([...Cs,"class"]),rss:new Set(["template","templatename","max","highlight","filter","filterout","reverse","date","item-max-length"]),"page-collection":new Set(["lang","name","description","end-date"])}});var Tl,kl,vl,Al,pr,Rt,re,dt,Bt,$s,Ls,ur,Fs=x(()=>{"use strict";ir();J();Is();B();Me();Tl=/expression|(?:accelerator|-o-link(?:-source)?|-o-replace)\s*:|(?:url|src|image(?:-set)?)\s*\(|attr\s*\([^)]+[\s,]url/u,kl=/(?:^|\s|\*\/)(?:java|vb)script(?:\W|$)/iu,vl=new Set(["ext","arg","magic-word","template"]),Al=new Set(["about","property","resource","datatype","typeof","itemid","itemprop","itemref","itemscope","itemtype"]),ur=class extends v{constructor(e,r,n,i,o,a="",l,p=[]){let u=new H(n,"attr-key",o,p),d;if(n==="title"||r==="img"&&n==="alt")d=new v(l,o,p,{}),d.type="attr-value",d.setAttribute("stage",10);else if(r==="gallery"&&n==="caption"||r==="ref"&&n==="details"||(r==="mapframe"||r==="maplink")&&n==="text"||r==="choose"&&(n==="before"||n==="after")){let c={...o,excludes:[...o.excludes,"heading","html","table","hr","list"]};d=new v(l,c,p,{}),d.type="attr-value",d.setAttribute("stage",1)}else d=new H(l,"attr-value",o,p,{});super(void 0,o,p);h(this,Bt);h(this,pr);h(this,Rt);h(this,re);h(this,dt);b(this,pr,e),this.append(u,d),b(this,re,a),b(this,dt,[...i]),b(this,Rt,r),this.setAttribute("name",ve(z(n)))}get type(){return g(this,pr)}get tag(){return g(this,Rt)}get balanced(){}afterBuild(){g(this,re).includes("\0")&&b(this,re,this.buildFromStr(g(this,re),0)),this.parentNode&&b(this,Rt,this.parentNode.name),$(this,Bt,$s).call(this),super.afterBuild()}toString(e){let[r="",n=""]=g(this,dt);return g(this,re)?super.toString(e,g(this,re)+r)+n:this.firstChild.toString(e)}text(){return g(this,re)?`${super.text(`${g(this,re).trim()}"`)}"`:this.firstChild.text()}getGaps(){var e,r;return g(this,re)?g(this,re).length+((r=(e=g(this,dt)[0])==null?void 0:e.length)!=null?r:0):0}lint(e=this.getAbsoluteIndex(),r){}getValue(){return g(this,re)?this.lastChild.text().trim():this.type==="ext-attr"||""}escape(){}getAttribute(e){return e==="invalid"?$(this,Bt,Ls).call(this):super.getAttribute(e)}print(){{let[e="",r=""]=g(this,dt);return g(this,re)?super.print({sep:Ze(g(this,re))+e,post:r}):super.print()}}json(e,r,n=this.getAbsoluteIndex()){}};pr=new WeakMap,Rt=new WeakMap,re=new WeakMap,dt=new WeakMap,Bt=new WeakSet,$s=function(){this.setAttribute("name",ve(this.firstChild.text()))},Ls=function(e,r){let{firstChild:n,lastChild:i,type:o,name:a,tag:l,parentNode:p}=this,u=!i.childNodes.some(({type:k})=>vl.has(k)),d=this.getValue(),c=Ns[l],f=Es[l],{length:m}=this.toString(),C="illegal-attr",A,S;if(!(c!=null&&c.has(a))&&!(f!=null&&f.has(a))&&(o==="ext-attr"?c||f:!/\{\{[^{]+\}\}/u.test(a))&&(o==="ext-attr"&&!f||!/^(?:xmlns:[\w:.-]+|data-(?!ooui|mw|parsoid)[^:_]*)$/u.test(a)&&(l==="meta"||l==="link"||!ws.has(a)))||(a==="itemtype"||a==="itemid"||a==="itemref")&&!(p!=null&&p.hasAttr("itemscope"))){if(e===void 0)return!0}else if(a==="style"&&typeof d=="string"&&Tl.test(d)){if(e===void 0)return!0}else if(a==="tabindex"&&typeof d=="string"&&d!=="0"){if(e===void 0)return!0}else if(typeof d=="string"&&((/^xmlns:[\w:.-]+$/u.test(a)||Al.has(a))&&kl.test(d)||u&&(a==="href"||l==="img"&&a==="src")&&!new RegExp(String.raw`^(?:${this.getAttribute("config").protocol}|//)\S+$`,"iu").test(d))){if(e===void 0)return!0}else if(u&&o!=="ext-attr"){let k=zi(l,a),y=String(d).toLowerCase();if(k.length>0&&k.every(T=>T!==y)&&e===void 0)return!0}return!1}});var Rs,Cl,cr,fr,Fn,Ge,Vr=x(()=>{"use strict";J();B();Me();Fs();Rs=s=>s.slice(0,-1),Cl=s=>`${Rs(s)}-dirty`,Ge=class extends v{constructor(e,r,n,i,o=[]){super(void 0,i,o,{});h(this,fr);h(this,cr);if(b(this,cr,r),this.setAttribute("name",n),e){let a=/([^\s/](?:(?!\0\d+~\x7F)[^\s/=])*)(?:((?:\s(?:\s|\0\d+[cn]\x7F)*)?(?:=|\0\d+~\x7F)(?:\s|\0\d+[cn]\x7F)*)(?:(["'])([\s\S]*?)(\3|$)|(\S*)))?/gu,l="",p=a.exec(e),u=0,d=()=>{l&&(super.insertAt(new H(l,Cl(r),i,o,{})),l="")};for(;p;){let{index:c,0:f,1:m,2:C,3:A,4:S,5:k,6:y}=p;if(l+=e.slice(u,c),/^(?:[\w:]|\0\d+t\x7F)(?:[\w:.-]|\0\d+t\x7F)*$/u.test(z(m).trim())){let T=S!=null?S:y,w=[A,k],F=new ur(Rs(r),n,m,w,i,C,T,o);d(),super.insertAt(F)}else l+=f;({lastIndex:u}=a),p=a.exec(e)}l+=e.slice(u),d()}}get type(){return g(this,cr)}afterBuild(){let{parentNode:e}=this;e!=null&&e.is("td")&&this.setAttribute("name",e.subtype),super.afterBuild()}getAttrTokens(e){return this.childNodes.filter(r=>r instanceof ur&&(!e||r.name===ve(e)))}hasAttr(e){return this.getAttrTokens(e).length>0}getAttrToken(e){}getAttr(e){}lint(e=this.getAbsoluteIndex(),r){}escape(){}getAttribute(e){return e==="invalid"?$(this,fr,Fn).call(this):super.getAttribute(e)}print(){return this.toString()?`<span class="wpb-${this.type}${$(this,fr,Fn).call(this)?" wpb-invalid":""}">${this.childNodes.map(e=>e.print(e instanceof H?{class:e.toString().trim()&&"attr-dirty"}:void 0)).join("")}</span>`:""}};cr=new WeakMap,fr=new WeakSet,Fn=function(){let{parentNode:e}=this;return(e==null?void 0:e.type)==="html"&&e.closing&&this.text().trim()!==""}});var Bs={};M(Bs,{PreToken:()=>Rn});var Rn,Ps=x(()=>{"use strict";B();nt();Rn=class extends v{get type(){return"ext-inner"}constructor(t,e,r=[]){if(t){let n=/<nowiki>/giu,i=/<\/nowiki>/giu,{length:o}=n.source,a=n.exec(t);a&&(i.lastIndex=a.index+o);let l=i.exec(t),p=0,u="";for(;a&&l;)new X(a[0],e,r,!0),new X(l[0],e,r,!0),u+=`${t.slice(p,a.index)}\0${r.length-1}n${t.slice(a.index+o,l.index)}\0${r.length}n`,p=l.index+o+1,n.lastIndex=p,a=n.exec(t),a&&(i.lastIndex=a.index+o),l=i.exec(t);t=u+t.slice(p)}super(t,e,r,{}),this.setAttribute("stage",10)}isPlain(){return!0}lint(t=this.getAbsoluteIndex()){}}});var Ve,Hr=x(()=>{"use strict";B();Ve=class extends v{get type(){return"ext-inner"}toString(t){return super.toString(t,`
2
2
  `)}text(){return super.text(`
3
3
  `).replace(/\n\s*\n/gu,`
4
4
  `)}getGaps(){return 1}print(){return super.print({sep:`
@@ -169,7 +169,7 @@
169
169
  }
170
170
  }
171
171
  ],
172
- "minItems": 2,
172
+ "minItems": 4,
173
173
  "maxItems": 4
174
174
  },
175
175
  "protocol": {
@@ -199,7 +199,9 @@
199
199
  ],
200
200
  "doubleUnderscore": [
201
201
  [],
202
- []
202
+ [],
203
+ {},
204
+ {}
203
205
  ],
204
206
  "protocol": "bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|matrix:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|wikipedia://|worldwind://|xmpp:",
205
207
  "interwiki": [],
@@ -40,7 +40,7 @@ const filterGadget = (id) => {
40
40
  const n = Number(id);
41
41
  return n < 2300 || n > 2303; // Gadget, Gadget talk, Gadget definition, Gadget definition talk
42
42
  };
43
- const pkg = "wikiparser-node", version = "1.39.0";
43
+ const pkg = "wikiparser-node", version = "1.39.1";
44
44
  /**
45
45
  * Get the parser configuration for a Wikimedia Foundation project.
46
46
  * @param site site nickname
@@ -1,6 +1,6 @@
1
1
  (() => {
2
2
  var _a;
3
- const version = '1.39.0', src = (_a = document.currentScript) === null || _a === void 0 ? void 0 : _a.src, file = /\/extensions\/dist\/base\.(?:min\.)?js$/u, CDN = src && file.test(src)
3
+ const version = '1.39.1', src = (_a = document.currentScript) === null || _a === void 0 ? void 0 : _a.src, file = /\/extensions\/dist\/base\.(?:min\.)?js$/u, CDN = src && file.test(src)
4
4
  ? src.replace(file, '')
5
5
  : `https://fastly.jsdelivr.net/npm/wikiparser-node@${version}`;
6
6
  const workerJS = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikiparser-node",
3
- "version": "1.39.0",
3
+ "version": "1.39.1",
4
4
  "description": "A Node.js parser for MediaWiki markup with AST",
5
5
  "keywords": [
6
6
  "mediawiki",