@phosphor-tools/phosphor-mcp 0.1.0-dev.pr49.8 → 0.2.0-dev.pr85.19
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.
- package/dist/cli.mjs +1223 -40
- package/package.json +24 -23
package/dist/cli.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as e}from"node:module";import{Command as t}from"@commander-js/extra-typings";import{homedir as n}from"node:os";import{
|
|
3
|
-
Login cancelled.`),process.exit(0)};process.on(`SIGINT`,n);try{console.log(`Starting login...`);let n=await
|
|
4
|
-
`;else if(`transform`in r&&`transform`in i&&`width`in r&&Array.isArray(r.transform)&&Array.isArray(i.transform)&&typeof r.width==`number`){let e=r.transform[4]+r.width,n=i.transform[4],a=Math.abs(i.transform[0]);(Math.abs(r.transform[5]-i.transform[5])>a*.5||n-e>a*.25)&&(t+=` `)}else t+=` `;t+=i.str}return t.trim()}async function Ge(e,t,n){let r=[],i=Math.max(1,Math.min(t,e.numPages)),a=Math.max(1,Math.min(n,e.numPages));for(let t=i;t<=a;t++){let n=await e.getPage(t),i=We((await n.getTextContent()).items.filter(e=>`str`in e&&typeof e.str==`string`));r.push({pageNum:t-1,text:i}),n.cleanup(),t%100==0&&e.cleanup()}return r}function Ke(e,t){let n=qe(e),r=new Map;for(let e=0;e<t;e++){let i=null,a=-1;for(let r of n)r.pageStart!==null&&e>=r.pageStart&&e<=(r.pageEnd??t-1)&&r.depth>a&&(a=r.depth,i=r.path);i&&r.set(e,i)}return r}function qe(e){let t=[],n=[];for(let r of e){for(;n.length>r.depth;)n.pop();let e=n.length>0?`${n.join(` > `)} > ${r.title}`:r.title;t.push({path:e,pageStart:r.pageStart,pageEnd:r.pageEnd,depth:r.depth}),n.push(r.title)}return t}const Je=100*1024*1024;async function Ye(e){let t=new URL(e);if(![`http:`,`https:`].includes(t.protocol))throw Error(`Unsupported protocol: ${t.protocol}`);let n=await De(e,{headers:{...Ee,Accept:`application/pdf,*/*`}});if(!n.ok)throw Error(`HTTP ${n.status} ${n.statusText}`);let r=n.headers.get(`content-length`);if(r&&parseInt(r,10)>Je)throw Error(`PDF exceeds ${Je/1024/1024}MB size limit`);let i=await Oe(n,Je);if(i===null)throw Error(`PDF exceeds ${Je/1024/1024}MB size limit`);return i}async function Xe(e,t){if(!t.url&&!t.filePath)throw Error(`Either url or filePath is required`);if(t.url&&t.filePath)throw Error(`Provide exactly one of url or filePath`);let n;if(t.url)n=await Ye(t.url);else{if(!e)throw Error(`cwd is required when filePath is provided`);let r=o(e,t.filePath);ke(r,e);let i=await c(r);if(n=new Uint8Array(i),n.byteLength>Je)throw Error(`PDF exceeds ${Je/1024/1024}MB size limit`)}let r=ze(n),i=await Pe(r);if(i){let e=!1;return t.url&&!i.sourceUrl&&(i.sourceUrl=t.url,e=!0),t.filePath&&!i.filePath&&(i.filePath=t.filePath,e=!0),e&&await Fe(i),{docId:i.docId,pageCount:i.pageCount,outline:i.outline.map(e=>({title:e.title,pageStart:e.pageStart,depth:e.depth}))}}let a=new Uint8Array(n),s=await He(n);try{let e=await Ue(s),n=await Ge(s,1,s.numPages),i=Ke(e,s.numPages),o=n.map(e=>({page:e.pageNum,text:e.text,section:i.get(e.pageNum)??null})),c={docId:r,sourceUrl:t.url??null,filePath:t.filePath??null,pageCount:s.numPages,outline:e,pages:o};return await Ie(r,a),await Fe(c),{docId:c.docId,pageCount:c.pageCount,outline:c.outline.map(e=>({title:e.title,pageStart:e.pageStart,depth:e.depth}))}}finally{s.destroy()}}const Ze={name:`open_document`,description:`Open a PDF from a URL or local file path. Extracts text and table of contents. Returns a doc_id for use with grep_document and read_document.`,inputSchema:g.object({url:g.string().url().max(4096).optional().describe(`URL of the PDF to open`),filePath:g.string().max(4096).optional().describe(`Local file path of the PDF to open`)})};async function M(e,t){let n=await He(new Uint8Array(e));try{return await n.extractPages([{document:null,includePages:t}])}finally{await n.destroy()}}function Qe(e){let t=e.split(`-`),n=parseInt(t[0],10),r=t.length>1?parseInt(t[1],10):n;if(Number.isNaN(n)||Number.isNaN(r))throw Error(`Invalid page range format: "${e}"`);return{start:n,end:r}}async function $e(e,t,n){return{pages:(await P(e,await M(t,n),n.length===1?`0`:`0-${n.length-1}`)).pages.map(e=>({...e,page:n[e.page],blocks:e.blocks.map(e=>({...e,page:n[e.page]}))}))}}async function N(e,t){let n=await Pe(t.docId);if(!n)throw Error(`Unknown document: ${t.docId}`);let{start:r,end:i}=Qe(t.pageRange);if(r<0||i>=n.pageCount||r>i)throw Error(`Invalid page range "${t.pageRange}" for document with ${n.pageCount} pages (0-indexed)`);let a=Array.from({length:i-r+1},(e,t)=>r+t),o=[],s=[];for(let e of a){let n=await Re(t.docId,e);n?o.push(n):s.push(e)}if(s.length===0)return{pages:o};let c=await Le(t.docId);if(!c)throw Error(`Cached PDF not found for document ${t.docId}. Re-open the document.`);let l=await $e(e,c,s);for(let e of l.pages)await j(t.docId,e);return{pages:[...o,...l.pages].sort((e,t)=>e.page-t.page)}}async function P(e,t,n){let r=new FormData;r.append(`file`,new Blob([t],{type:`application/pdf`}),`document.pdf`),r.append(`pageRange`,n);let i=await e.resolveToken(),a=await fetch(`${e.proxyUrl}/proxy/read_pdf`,{method:`POST`,headers:{authorization:`Bearer ${i}`},body:r,signal:AbortSignal.timeout(12e4)});if(!a.ok){let e=await a.text().catch(()=>``);throw Error(`Proxy read_pdf failed (${a.status}): ${e.slice(0,500)}`)}return await a.json()}const et={name:`read_document`,description:`Extract structured content (tables, formatted text) from specific pages of an opened document. Returns HTML blocks per page. Use open_document first to get a doc_id.`,inputSchema:g.object({docId:g.string().regex(/^[0-9a-f]{64}$/).describe(`Document ID returned by open_document`),pageRange:g.string().max(20).regex(/^\d+(-\d+)?$/).describe(`Page range to read (0-indexed, e.g. '0' for first page, '0-4' for first 5 pages)`)})};var tt=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0})})),nt=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.types=void 0,(function(e){e[e.ROOT=0]=`ROOT`,e[e.GROUP=1]=`GROUP`,e[e.POSITION=2]=`POSITION`,e[e.SET=3]=`SET`,e[e.RANGE=4]=`RANGE`,e[e.REPETITION=5]=`REPETITION`,e[e.REFERENCE=6]=`REFERENCE`,e[e.CHAR=7]=`CHAR`})(e.types||={})})),rt=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0})})),it=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),n(tt(),e),n(nt(),e),n(rt(),e)})),at=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.anyChar=e.notWhitespace=e.whitespace=e.notInts=e.ints=e.notWords=e.words=void 0;let t=it(),n=()=>[{type:t.types.RANGE,from:48,to:57}],r=()=>[{type:t.types.CHAR,value:95},{type:t.types.RANGE,from:97,to:122},{type:t.types.RANGE,from:65,to:90},{type:t.types.RANGE,from:48,to:57}],i=()=>[{type:t.types.CHAR,value:9},{type:t.types.CHAR,value:10},{type:t.types.CHAR,value:11},{type:t.types.CHAR,value:12},{type:t.types.CHAR,value:13},{type:t.types.CHAR,value:32},{type:t.types.CHAR,value:160},{type:t.types.CHAR,value:5760},{type:t.types.RANGE,from:8192,to:8202},{type:t.types.CHAR,value:8232},{type:t.types.CHAR,value:8233},{type:t.types.CHAR,value:8239},{type:t.types.CHAR,value:8287},{type:t.types.CHAR,value:12288},{type:t.types.CHAR,value:65279}],a=()=>[{type:t.types.CHAR,value:10},{type:t.types.CHAR,value:13},{type:t.types.CHAR,value:8232},{type:t.types.CHAR,value:8233}];e.words=()=>({type:t.types.SET,set:r(),not:!1}),e.notWords=()=>({type:t.types.SET,set:r(),not:!0}),e.ints=()=>({type:t.types.SET,set:n(),not:!1}),e.notInts=()=>({type:t.types.SET,set:n(),not:!0}),e.whitespace=()=>({type:t.types.SET,set:i(),not:!1}),e.notWhitespace=()=>({type:t.types.SET,set:i(),not:!0}),e.anyChar=()=>({type:t.types.SET,set:a(),not:!0})})),ot=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.tokenizeClass=e.strToChars=void 0;let i=it(),a=r(at());e.strToChars=e=>e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(e,t,n,r,i,a,o)=>{if(n)return e;let s=t?8:r?parseInt(r,16):i?parseInt(i,16):a?`@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?`.indexOf(a):{0:0,t:9,n:10,v:11,f:12,r:13}[o],c=String.fromCharCode(s);return/[[\]{}^$.|?*+()]/.test(c)?`\\${c}`:c}),e.tokenizeClass=(e,t)=>{let n=[],r,o,s=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(((?:\\)])|(((?:\\)?([^\]])))))|(\])|(?:\\)?([^])/g;for(;(r=s.exec(e))!==null;){let e=(r[1]&&a.words())??(r[2]&&a.ints())??(r[3]&&a.whitespace())??(r[4]&&a.notWords())??(r[5]&&a.notInts())??(r[6]&&a.notWhitespace())??(r[7]&&{type:i.types.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:(o=r[10]).charCodeAt(o.length-1)})??((o=r[16])&&{type:i.types.CHAR,value:o.charCodeAt(0)});if(e)n.push(e);else return[n,s.lastIndex]}throw SyntaxError(`Invalid regular expression: /${t}/: Unterminated character class`)}})),st=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.tokenizer=void 0;let i=r(ot()),a=it(),o=r(at()),s=/^[a-zA-Z_$]$/i,c=/^[a-zA-Z0-9_$]$/i,l=/\d/;e.tokenizer=e=>{let t=0,n,r={type:a.types.ROOT,stack:[]},d=r,f=r.stack,p=[],m=[],h=0,g=t=>{throw SyntaxError(`Invalid regular expression: /${e}/: Nothing to repeat at column ${t-1}`)},_=i.strToChars(e);for(;t<_.length;)switch(n=_[t++]){case`\\`:if(t===_.length)throw SyntaxError(`Invalid regular expression: /${e}/: \\ at end of pattern`);switch(n=_[t++]){case`b`:f.push({type:a.types.POSITION,value:`b`});break;case`B`:f.push({type:a.types.POSITION,value:`B`});break;case`w`:f.push(o.words());break;case`W`:f.push(o.notWords());break;case`d`:f.push(o.ints());break;case`D`:f.push(o.notInts());break;case`s`:f.push(o.whitespace());break;case`S`:f.push(o.notWhitespace());break;default:if(l.test(n)){let e=n;for(;t<_.length&&l.test(_[t]);)e+=_[t++];let r=parseInt(e,10),i={type:a.types.REFERENCE,value:r};f.push(i),m.push({reference:i,stack:f,index:f.length-1})}else f.push({type:a.types.CHAR,value:n.charCodeAt(0)})}break;case`^`:f.push({type:a.types.POSITION,value:`^`});break;case`$`:f.push({type:a.types.POSITION,value:`$`});break;case`[`:{let n;_[t]===`^`?(n=!0,t++):n=!1;let r=i.tokenizeClass(_.slice(t),e);t+=r[1],f.push({type:a.types.SET,set:r[0],not:n});break}case`.`:f.push(o.anyChar());break;case`(`:{let r={type:a.types.GROUP,stack:[],remember:!0};if(_[t]===`?`)if(n=_[t+1],t+=2,n===`=`)r.followedBy=!0,r.remember=!1;else if(n===`!`)r.notFollowedBy=!0,r.remember=!1;else if(n===`<`){let n=``;if(s.test(_[t]))n+=_[t],t++;else throw SyntaxError(`Invalid regular expression: /${e}/: Invalid capture group name, character '${_[t]}' after '<' at column ${t+1}`);for(;t<_.length&&c.test(_[t]);)n+=_[t],t++;if(!n)throw SyntaxError(`Invalid regular expression: /${e}/: Invalid capture group name, character '${_[t]}' after '<' at column ${t+1}`);if(_[t]!==`>`)throw SyntaxError(`Invalid regular expression: /${e}/: Unclosed capture group name, expected '>', found '${_[t]}' at column ${t+1}`);r.name=n,t++}else if(n===`:`)r.remember=!1;else throw SyntaxError(`Invalid regular expression: /${e}/: Invalid group, character '${n}' after '?' at column ${t-1}`);else h+=1;f.push(r),p.push(d),d=r,f=r.stack;break}case`)`:if(p.length===0)throw SyntaxError(`Invalid regular expression: /${e}/: Unmatched ) at column ${t-1}`);d=p.pop(),f=d.options?d.options[d.options.length-1]:d.stack;break;case`|`:{d.options||(d.options=[d.stack],delete d.stack);let e=[];d.options.push(e),f=e;break}case`{`:{let e=/^(\d+)(,(\d+)?)?\}/.exec(_.slice(t)),n,r;e===null?f.push({type:a.types.CHAR,value:123}):(f.length===0&&g(t),n=parseInt(e[1],10),r=e[2]?e[3]?parseInt(e[3],10):1/0:n,t+=e[0].length,f.push({type:a.types.REPETITION,min:n,max:r,value:f.pop()}));break}case`?`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:0,max:1,value:f.pop()});break;case`+`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:1,max:1/0,value:f.pop()});break;case`*`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:0,max:1/0,value:f.pop()});break;default:f.push({type:a.types.CHAR,value:n.charCodeAt(0)})}if(p.length!==0)throw SyntaxError(`Invalid regular expression: /${e}/: Unterminated group`);return u(m,h),r};function u(e,t){for(let n of e.reverse())if(t<n.reference.value){n.reference.type=a.types.CHAR;let e=n.reference.value.toString();if(n.reference.value=parseInt(e,8),!/^[0-7]+$/.test(e)){let t=0;for(;e[t]!==`8`&&e[t]!==`9`;)t+=1;if(t===0?(n.reference.value=e.charCodeAt(0),t+=1):n.reference.value=parseInt(e.slice(0,t),8),e.length>t){let r=n.stack.splice(n.index+1);for(let r of e.slice(t))n.stack.push({type:a.types.CHAR,value:r.charCodeAt(0)});n.stack.push(...r)}}}}})),F=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.NOTANYCHAR=e.WHITESPACE=e.WORDS=e.INTS=void 0;let i=r(at()),a=it();function o(e){let t={},n=0;for(let r of e)r.type===a.types.CHAR&&(t[r.value]=!0),r.type===a.types.RANGE&&(t[`${r.from}-${r.to}`]=!0),n+=1;return{lookup:()=>Object.assign({},t),len:n}}e.INTS=o(i.ints().set),e.WORDS=o(i.words().set),e.WHITESPACE=o(i.whitespace().set),e.NOTANYCHAR=o(i.anyChar().set)})),ct=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeSetTokens=e.setChar=void 0;let i=it(),a=r(F());function o(e){return e===94?`\\^`:e===92?`\\\\`:e===93?`\\]`:e===45?`\\-`:String.fromCharCode(e)}e.setChar=o;function s(e,{lookup:t,len:n}){if(n!==e.length)return!1;let r=t();for(let t of e){if(t.type===i.types.SET)return!1;let e=t.type===i.types.CHAR?t.value:`${t.from}-${t.to}`;if(r[e])r[e]=!1;else return!1}return!0}function c(e,t=!1){if(s(e.set,a.INTS))return e.not?`\\D`:`\\d`;if(s(e.set,a.WORDS))return e.not?`\\W`:`\\w`;if(e.not&&s(e.set,a.NOTANYCHAR))return`.`;if(s(e.set,a.WHITESPACE))return e.not?`\\S`:`\\s`;let n=``;for(let t=0;t<e.set.length;t++){let r=e.set[t];n+=l(r)}let r=`${e.not?`^`:``}${n}`;return t?r:`[${r}]`}e.writeSetTokens=c;function l(e){return e.type===i.types.CHAR?o(e.value):e.type===i.types.RANGE?`${o(e.from)}-${o(e.to)}`:c(e,!0)}})),lt=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reconstruct=void 0;let t=it(),n=ct(),r=t=>t.map(e.reconstruct).join(``),i=e=>{if(`options`in e)return e.options.map(r).join(`|`);if(`stack`in e)return r(e.stack);throw Error(`options or stack must be Root or Group token`)};e.reconstruct=r=>{switch(r.type){case t.types.ROOT:return i(r);case t.types.CHAR:{let e=String.fromCharCode(r.value);return(/[[\\{}$^.|?*+()]/.test(e)?`\\`:``)+e}case t.types.POSITION:return r.value===`^`||r.value===`$`?r.value:`\\${r.value}`;case t.types.REFERENCE:return`\\${r.value}`;case t.types.SET:return n.writeSetTokens(r);case t.types.GROUP:return`(${r.name?`?<${r.name}>`:r.remember?``:r.followedBy?`?=`:r.notFollowedBy?`?!`:`?:`}${i(r)})`;case t.types.REPETITION:{let{min:t,max:n}=r,i;return i=t===0&&n===1?`?`:t===1&&n===1/0?`+`:t===0&&n===1/0?`*`:n===1/0?`{${t},}`:t===n?`{${t}}`:`{${t},${n}}`,`${e.reconstruct(r.value)}${i}`}case t.types.RANGE:return`${n.setChar(r.from)}-${n.setChar(r.to)}`;default:throw Error(`Invalid token type ${r}`)}}})),ut=E(((e,t)=>{var n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__exportStar||function(e,t){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.types=void 0;let i=it();Object.defineProperty(e,`types`,{enumerable:!0,get:function(){return i.types}}),r(st(),e),r(lt(),e);let a=st(),o=lt();r(it(),e),e.default=a.tokenizer,t.exports=a.tokenizer,t.exports.types=i.types,t.exports.reconstruct=o.reconstruct})),I=ne(E(((e,t)=>{let n=ut(),{types:r}=ut();function i(e,t,n){let a,o,s;if(e.type===r.REPETITION&&(n++,t.reps++,n>1||t.reps>t.limit))return!1;if(e.options){for(a=0,s=e.options.length;a<s;a++)if(o=i({stack:e.options[a]},t,n),!o)return!1}let c=e.stack||e.value?.stack;if(!c)return!0;for(a=0,s=c.length;a<s;a++)if(o=i(c[a],t,n),!o)return!1;return!0}function a(e,t){let r={reps:0,limit:t?.limit??25};o(e)?e=e.source:typeof e!=`string`&&(e=String(e));try{return i(n(e),r,0)}catch{return!1}}function o(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports=a,t.exports.default=a,t.exports.safeRegex=a}))(),1);async function dt(e){let t=await Pe(e.docId);if(!t)throw Error(`Unknown document: ${e.docId}`);let n=e.pattern.trim();if(!n)return{hits:[]};if(n.length>500)throw Error(`Pattern too long (${n.length} chars, max 500)`);let r;try{r=new RegExp(n,`i`)}catch(e){throw Error(`Invalid regex pattern: ${e.message}`)}if(!(0,I.default)(r))throw Error(`Regex pattern rejected: potentially vulnerable to ReDoS. Simplify the pattern.`);if(e.pageStart!==void 0&&e.pageEnd!==void 0&&e.pageStart>e.pageEnd)throw Error(`pageEnd (${e.pageEnd}) must be >= pageStart (${e.pageStart})`);let i=e.limit??20,a=[];for(let n of t.pages){if(e.pageStart!==void 0&&n.page<e.pageStart||e.pageEnd!==void 0&&n.page>e.pageEnd)continue;let t=n.text.replace(/\s+/g,` `),o=0;for(;o<t.length;){let e=t.slice(o),s=r.exec(e);if(!s)break;let c=o+s.index,l=s[0].length,u=Math.max(0,c-80),d=Math.min(t.length,c+l+80),f=t.slice(u,d);if(u>0&&(f=`...${f}`),d<t.length&&(f=`${f}...`),a.push({page:n.page,snippet:f,section:n.section}),a.length>=i)break;o=c+Math.max(1,l)}if(a.length>=i)break}return{hits:a}}const ft={name:`grep_document`,description:`Search within an opened document using a regex pattern. Returns matching pages with snippets and section context. Use open_document first to get a doc_id.`,inputSchema:g.object({docId:g.string().regex(/^[0-9a-f]{64}$/).describe(`Document ID returned by open_document`),pattern:g.string().trim().min(1).max(500).describe(`Regex pattern to search for (case-insensitive)`),pageStart:g.number().int().min(0).optional().describe(`Start page (0-indexed, inclusive)`),pageEnd:g.number().int().min(0).optional().describe(`End page (0-indexed, inclusive)`),limit:g.number().int().min(1).max(100).optional().describe(`Maximum number of results (default 20)`)})};var pt=E(((e,t)=>{function n(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw Error(`First argument to Readability constructor should be a document object.`);if(t||={},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._metadata={},this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._serializer=t.serializer||function(e){return e.innerHTML},this._disableJSONLD=!!t.disableJSONLD,this._allowedVideoRegex=t.allowedVideoRegex||this.REGEXPS.videos,this._linkDensityModifier=t.linkDensityModifier||0,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let e=function(e){if(e.nodeType==e.TEXT_NODE)return`${e.nodeName} ("${e.textContent}")`;let t=Array.from(e.attributes||[],function(e){return`${e.name}="${e.value}"`}).join(` `);return`<${e.localName} ${t}>`};this.log=function(){if(typeof console<`u`){let t=Array.from(arguments,t=>t&&t.nodeType==this.ELEMENT_NODE?e(t):t);t.unshift(`Reader: (Readability)`),console.log(...t)}else if(typeof dump<`u`){var t=Array.prototype.map.call(arguments,function(t){return t&&t.nodeName?e(t):t}).join(` `);dump(`Reader: (Readability) `+t+`
|
|
5
|
-
`)}}}else this.log=function(){}}n.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:`SECTION,H2,H3,H4,H5,H6,P,TD,PRE`.split(`,`),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|footer|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i,commas:/\u002C|\u060C|\uFE50|\uFE10|\uFE11|\u2E41|\u2E34|\u2E32|\uFF0C/g,jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/,adWords:/^(ad(vertising|vertisement)?|pub(licité)?|werb(ung)?|广告|Реклама|Anuncio)$/iu,loadingWords:/^((loading|正在加载|Загрузка|chargement|cargando)(…|\.\.\.)?)$/iu},UNLIKELY_ROLES:[`menu`,`menubar`,`complementary`,`navigation`,`alert`,`alertdialog`,`dialog`],DIV_TO_P_ELEMS:new Set([`BLOCKQUOTE`,`DL`,`DIV`,`IMG`,`OL`,`P`,`PRE`,`TABLE`,`UL`]),ALTER_TO_DIV_EXCEPTIONS:[`DIV`,`ARTICLE`,`SECTION`,`P`,`OL`,`UL`],PRESENTATIONAL_ATTRIBUTES:[`align`,`background`,`bgcolor`,`border`,`cellpadding`,`cellspacing`,`frame`,`hspace`,`rules`,`style`,`valign`,`vspace`],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:[`TABLE`,`TH`,`TD`,`HR`,`PRE`],PHRASING_ELEMS:`ABBR.AUDIO.B.BDO.BR.BUTTON.CITE.CODE.DATA.DATALIST.DFN.EM.EMBED.I.IMG.INPUT.KBD.LABEL.MARK.MATH.METER.NOSCRIPT.OBJECT.OUTPUT.PROGRESS.Q.RUBY.SAMP.SCRIPT.SELECT.SMALL.SPAN.STRONG.SUB.SUP.TEXTAREA.TIME.VAR.WBR`.split(`.`),CLASSES_TO_PRESERVE:[`page`],HTML_ESCAPE_MAP:{lt:`<`,gt:`>`,amp:`&`,quot:`"`,apos:`'`},_postProcessContent(e){this._fixRelativeUris(e),this._simplifyNestedElements(e),this._keepClasses||this._cleanClasses(e)},_removeNodes(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error(`Do not pass live node lists to _removeNodes`);for(var n=e.length-1;n>=0;n--){var r=e[n],i=r.parentNode;i&&(!t||t.call(this,r,n,e))&&i.removeChild(r)}},_replaceNodeTags(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error(`Do not pass live node lists to _replaceNodeTags`);for(let n of e)this._setNodeTag(n,t)},_forEachNode(e,t){Array.prototype.forEach.call(e,t,this)},_findNode(e,t){return Array.prototype.find.call(e,t,this)},_someNode(e,t){return Array.prototype.some.call(e,t,this)},_everyNode(e,t){return Array.prototype.every.call(e,t,this)},_getAllNodesWithTag(e,t){return e.querySelectorAll?e.querySelectorAll(t.join(`,`)):[].concat.apply([],t.map(function(t){var n=e.getElementsByTagName(t);return Array.isArray(n)?n:Array.from(n)}))},_cleanClasses(e){var t=this._classesToPreserve,n=(e.getAttribute(`class`)||``).split(/\s+/).filter(e=>t.includes(e)).join(` `);for(n?e.setAttribute(`class`,n):e.removeAttribute(`class`),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)},_isUrl(e){try{return new URL(e),!0}catch{return!1}},_fixRelativeUris(e){var t=this._doc.baseURI,n=this._doc.documentURI;function r(e){if(t==n&&e.charAt(0)==`#`)return e;try{return new URL(e,t).href}catch{}return e}var i=this._getAllNodesWithTag(e,[`a`]);this._forEachNode(i,function(e){var t=e.getAttribute(`href`);if(t)if(t.indexOf(`javascript:`)===0)if(e.childNodes.length===1&&e.childNodes[0].nodeType===this.TEXT_NODE){var n=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(n,e)}else{for(var i=this._doc.createElement(`span`);e.firstChild;)i.appendChild(e.firstChild);e.parentNode.replaceChild(i,e)}else e.setAttribute(`href`,r(t))});var a=this._getAllNodesWithTag(e,[`img`,`picture`,`figure`,`video`,`audio`,`source`]);this._forEachNode(a,function(e){var t=e.getAttribute(`src`),n=e.getAttribute(`poster`),i=e.getAttribute(`srcset`);if(t&&e.setAttribute(`src`,r(t)),n&&e.setAttribute(`poster`,r(n)),i){var a=i.replace(this.REGEXPS.srcsetUrl,function(e,t,n,i){return r(t)+(n||``)+i});e.setAttribute(`srcset`,a)}})},_simplifyNestedElements(e){for(var t=e;t;){if(t.parentNode&&[`DIV`,`SECTION`].includes(t.tagName)&&!(t.id&&t.id.startsWith(`readability`))){if(this._isElementWithoutContent(t)){t=this._removeAndGetNext(t);continue}else if(this._hasSingleTagInsideElement(t,`DIV`)||this._hasSingleTagInsideElement(t,`SECTION`)){for(var n=t.children[0],r=0;r<t.attributes.length;r++)n.setAttributeNode(t.attributes[r].cloneNode());t.parentNode.replaceChild(n,t),t=n;continue}}t=this._getNextNode(t)}},_getArticleTitle(){var e=this._doc,t=``,n=``;try{t=n=e.title.trim(),typeof t!=`string`&&(t=n=this._getInnerText(e.getElementsByTagName(`title`)[0]))}catch{}var r=!1;function i(e){return e.split(/\s+/).length}if(/ [\|\-\\\/>»] /.test(t)){r=/ [\\\/>»] /.test(t);let e=Array.from(n.matchAll(/ [\|\-\\\/>»] /gi));t=n.substring(0,e.pop().index),i(t)<3&&(t=n.replace(/^[^\|\-\\\/>»]*[\|\-\\\/>»]/gi,``))}else if(t.includes(`: `)){var a=this._getAllNodesWithTag(e,[`h1`,`h2`]),o=t.trim();this._someNode(a,function(e){return e.textContent.trim()===o})||(t=n.substring(n.lastIndexOf(`:`)+1),i(t)<3?t=n.substring(n.indexOf(`:`)+1):i(n.substr(0,n.indexOf(`:`)))>5&&(t=n))}else if(t.length>150||t.length<15){var s=e.getElementsByTagName(`h1`);s.length===1&&(t=this._getInnerText(s[0]))}t=t.trim().replace(this.REGEXPS.normalize,` `);var c=i(t);return c<=4&&(!r||c!=i(n.replace(/[\|\-\\\/>»]+/g,``))-1)&&(t=n),t},_prepDocument(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,[`style`])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,[`font`]),`SPAN`)},_nextNode(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t},_replaceBrs(e){this._forEachNode(this._getAllNodesWithTag(e,[`br`]),function(e){for(var t=e.nextSibling,n=!1;(t=this._nextNode(t))&&t.tagName==`BR`;){n=!0;var r=t.nextSibling;t.remove(),t=r}if(n){var i=this._doc.createElement(`p`);for(e.parentNode.replaceChild(i,e),t=i.nextSibling;t;){if(t.tagName==`BR`){var a=this._nextNode(t.nextSibling);if(a&&a.tagName==`BR`)break}if(!this._isPhrasingContent(t))break;var o=t.nextSibling;i.appendChild(t),t=o}for(;i.lastChild&&this._isWhitespace(i.lastChild);)i.lastChild.remove();i.parentNode.tagName===`P`&&this._setNodeTag(i.parentNode,`DIV`)}})},_setNodeTag(e,t){if(this.log(`_setNodeTag`,e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e),e.readability&&(n.readability=e.readability);for(var r=0;r<e.attributes.length;r++)n.setAttributeNode(e.attributes[r].cloneNode());return n},_prepArticle(e){this._cleanStyles(e),this._markDataTables(e),this._fixLazyImages(e),this._cleanConditionally(e,`form`),this._cleanConditionally(e,`fieldset`),this._clean(e,`object`),this._clean(e,`embed`),this._clean(e,`footer`),this._clean(e,`link`),this._clean(e,`aside`);var t=this.DEFAULT_CHAR_THRESHOLD;this._forEachNode(e.children,function(e){this._cleanMatchedNodes(e,function(e,n){return this.REGEXPS.shareElements.test(n)&&e.textContent.length<t})}),this._clean(e,`iframe`),this._clean(e,`input`),this._clean(e,`textarea`),this._clean(e,`select`),this._clean(e,`button`),this._cleanHeaders(e),this._cleanConditionally(e,`table`),this._cleanConditionally(e,`ul`),this._cleanConditionally(e,`div`),this._replaceNodeTags(this._getAllNodesWithTag(e,[`h1`]),`h2`),this._removeNodes(this._getAllNodesWithTag(e,[`p`]),function(e){return this._getAllNodesWithTag(e,[`img`,`embed`,`object`,`iframe`]).length===0&&!this._getInnerText(e,!1)}),this._forEachNode(this._getAllNodesWithTag(e,[`br`]),function(e){var t=this._nextNode(e.nextSibling);t&&t.tagName==`P`&&e.remove()}),this._forEachNode(this._getAllNodesWithTag(e,[`table`]),function(e){var t=this._hasSingleTagInsideElement(e,`TBODY`)?e.firstElementChild:e;if(this._hasSingleTagInsideElement(t,`TR`)){var n=t.firstElementChild;if(this._hasSingleTagInsideElement(n,`TD`)){var r=n.firstElementChild;r=this._setNodeTag(r,this._everyNode(r.childNodes,this._isPhrasingContent)?`P`:`DIV`),e.parentNode.replaceChild(r,e)}}})},_initializeNode(e){switch(e.readability={contentScore:0},e.tagName){case`DIV`:e.readability.contentScore+=5;break;case`PRE`:case`TD`:case`BLOCKQUOTE`:e.readability.contentScore+=3;break;case`ADDRESS`:case`OL`:case`UL`:case`DL`:case`DD`:case`DT`:case`LI`:case`FORM`:e.readability.contentScore-=3;break;case`H1`:case`H2`:case`H3`:case`H4`:case`H5`:case`H6`:case`TH`:e.readability.contentScore-=5;break}e.readability.contentScore+=this._getClassWeight(e)},_removeAndGetNext(e){var t=this._getNextNode(e,!0);return e.remove(),t},_getNextNode(e,t){if(!t&&e.firstElementChild)return e.firstElementChild;if(e.nextElementSibling)return e.nextElementSibling;do e=e.parentNode;while(e&&!e.nextElementSibling);return e&&e.nextElementSibling},_textSimilarity(e,t){var n=e.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean),r=t.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean);return!n.length||!r.length?0:1-r.filter(e=>!n.includes(e)).join(` `).length/r.join(` `).length},_isValidByline(e,t){var n=e.getAttribute(`rel`),r=e.getAttribute(`itemprop`),i=e.textContent.trim().length;return(n===`author`||r&&r.includes(`author`)||this.REGEXPS.byline.test(t))&&!!i&&i<100},_getNodeAncestors(e,t){t||=0;for(var n=0,r=[];e.parentNode&&(r.push(e.parentNode),!(t&&++n===t));)e=e.parentNode;return r},_grabArticle(e){this.log(`**** grabArticle ****`);var t=this._doc,n=e!==null;if(e||=this._doc.body,!e)return this.log(`No body found in document. Abort.`),null;for(var r=e.innerHTML;;){this.log(`Starting grabArticle loop`);var i=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),a=[],o=this._doc.documentElement;let ye=!0;for(;o;){o.tagName===`HTML`&&(this._articleLang=o.getAttribute(`lang`));var s=o.className+` `+o.id;if(!this._isProbablyVisible(o)){this.log(`Removing hidden node - `+s),o=this._removeAndGetNext(o);continue}if(o.getAttribute(`aria-modal`)==`true`&&o.getAttribute(`role`)==`dialog`){o=this._removeAndGetNext(o);continue}if(!this._articleByline&&!this._metadata.byline&&this._isValidByline(o,s)){for(var c=this._getNextNode(o,!0),l=this._getNextNode(o),u=null;l&&l!=c;){var d=l.getAttribute(`itemprop`);if(d&&d.includes(`name`)){u=l;break}else l=this._getNextNode(l)}this._articleByline=(u??o).textContent.trim(),o=this._removeAndGetNext(o);continue}if(ye&&this._headerDuplicatesTitle(o)){this.log(`Removing header: `,o.textContent.trim(),this._articleTitle.trim()),ye=!1,o=this._removeAndGetNext(o);continue}if(i){if(this.REGEXPS.unlikelyCandidates.test(s)&&!this.REGEXPS.okMaybeItsACandidate.test(s)&&!this._hasAncestorTag(o,`table`)&&!this._hasAncestorTag(o,`code`)&&o.tagName!==`BODY`&&o.tagName!==`A`){this.log(`Removing unlikely candidate - `+s),o=this._removeAndGetNext(o);continue}if(this.UNLIKELY_ROLES.includes(o.getAttribute(`role`))){this.log(`Removing content with role `+o.getAttribute(`role`)+` - `+s),o=this._removeAndGetNext(o);continue}}if((o.tagName===`DIV`||o.tagName===`SECTION`||o.tagName===`HEADER`||o.tagName===`H1`||o.tagName===`H2`||o.tagName===`H3`||o.tagName===`H4`||o.tagName===`H5`||o.tagName===`H6`)&&this._isElementWithoutContent(o)){o=this._removeAndGetNext(o);continue}if(this.DEFAULT_TAGS_TO_SCORE.includes(o.tagName)&&a.push(o),o.tagName===`DIV`){for(var f=null,p=o.firstChild;p;){var m=p.nextSibling;if(this._isPhrasingContent(p))f===null?this._isWhitespace(p)||(f=t.createElement(`p`),o.replaceChild(f,p),f.appendChild(p)):f.appendChild(p);else if(f!==null){for(;f.lastChild&&this._isWhitespace(f.lastChild);)f.lastChild.remove();f=null}p=m}if(this._hasSingleTagInsideElement(o,`P`)&&this._getLinkDensity(o)<.25){var h=o.children[0];o.parentNode.replaceChild(h,o),o=h,a.push(o)}else this._hasChildBlockElement(o)||(o=this._setNodeTag(o,`P`),a.push(o))}o=this._getNextNode(o)}var g=[];this._forEachNode(a,function(e){if(!(!e.parentNode||e.parentNode.tagName===void 0)){var t=this._getInnerText(e);if(!(t.length<25)){var n=this._getNodeAncestors(e,5);if(n.length!==0){var r=0;r+=1,r+=t.split(this.REGEXPS.commas).length,r+=Math.min(Math.floor(t.length/100),3),this._forEachNode(n,function(e,t){if(!(!e.tagName||!e.parentNode||e.parentNode.tagName===void 0)){if(e.readability===void 0&&(this._initializeNode(e),g.push(e)),t===0)var n=1;else n=t===1?2:t*3;e.readability.contentScore+=r/n}})}}}});for(var _=[],v=0,y=g.length;v<y;v+=1){var b=g[v],x=b.readability.contentScore*(1-this._getLinkDensity(b));b.readability.contentScore=x,this.log(`Candidate:`,b,`with score `+x);for(var S=0;S<this._nbTopCandidates;S++){var C=_[S];if(!C||x>C.readability.contentScore){_.splice(S,0,b),_.length>this._nbTopCandidates&&_.pop();break}}}var w=_[0]||null,T=!1,E;if(w===null||w.tagName===`BODY`){for(w=t.createElement(`DIV`),T=!0;e.firstChild;)this.log(`Moving child out:`,e.firstChild),w.appendChild(e.firstChild);e.appendChild(w),this._initializeNode(w)}else if(w){for(var ee=[],te=1;te<_.length;te++)_[te].readability.contentScore/w.readability.contentScore>=.75&&ee.push(this._getNodeAncestors(_[te]));var ne=3;if(ee.length>=ne)for(E=w.parentNode;E.tagName!==`BODY`;){for(var D=0,O=0;O<ee.length&&D<ne;O++)D+=Number(ee[O].includes(E));if(D>=ne){w=E;break}E=E.parentNode}w.readability||this._initializeNode(w),E=w.parentNode;for(var re=w.readability.contentScore,ie=re/3;E.tagName!==`BODY`;){if(!E.readability){E=E.parentNode;continue}var ae=E.readability.contentScore;if(ae<ie)break;if(ae>re){w=E;break}re=E.readability.contentScore,E=E.parentNode}for(E=w.parentNode;E.tagName!=`BODY`&&E.children.length==1;)w=E,E=w.parentNode;w.readability||this._initializeNode(w)}var k=t.createElement(`DIV`);n&&(k.id=`readability-content`);var oe=Math.max(10,w.readability.contentScore*.2);E=w.parentNode;for(var se=E.children,ce=0,A=se.length;ce<A;ce++){var le=se[ce],ue=!1;if(this.log(`Looking at sibling node:`,le,le.readability?`with score `+le.readability.contentScore:``),this.log(`Sibling has score`,le.readability?le.readability.contentScore:`Unknown`),le===w)ue=!0;else{var de=0;if(le.className===w.className&&w.className!==``&&(de+=w.readability.contentScore*.2),le.readability&&le.readability.contentScore+de>=oe)ue=!0;else if(le.nodeName===`P`){var fe=this._getLinkDensity(le),pe=this._getInnerText(le),me=pe.length;(me>80&&fe<.25||me<80&&me>0&&fe===0&&pe.search(/\.( |$)/)!==-1)&&(ue=!0)}}ue&&(this.log(`Appending node:`,le),this.ALTER_TO_DIV_EXCEPTIONS.includes(le.nodeName)||(this.log(`Altering sibling:`,le,`to div.`),le=this._setNodeTag(le,`DIV`)),k.appendChild(le),se=E.children,--ce,--A)}if(this._debug&&this.log(`Article content pre-prep: `+k.innerHTML),this._prepArticle(k),this._debug&&this.log(`Article content post-prep: `+k.innerHTML),T)w.id=`readability-page-1`,w.className=`page`;else{var he=t.createElement(`DIV`);for(he.id=`readability-page-1`,he.className=`page`;k.firstChild;)he.appendChild(k.firstChild);k.appendChild(he)}this._debug&&this.log(`Article content after paging: `+k.innerHTML);var ge=!0,_e=this._getInnerText(k,!0).length;if(_e<this._charThreshold)if(ge=!1,e.innerHTML=r,this._attempts.push({articleContent:k,textLength:_e}),this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS);else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES);else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY);else{if(this._attempts.sort(function(e,t){return t.textLength-e.textLength}),!this._attempts[0].textLength)return null;k=this._attempts[0].articleContent,ge=!0}if(ge){var ve=[E,w].concat(this._getNodeAncestors(E));return this._someNode(ve,function(e){if(!e.tagName)return!1;var t=e.getAttribute(`dir`);return t?(this._articleDir=t,!0):!1}),k}}},_unescapeHtmlEntities(e){if(!e)return e;var t=this.HTML_ESCAPE_MAP;return e.replace(/&(quot|amp|apos|lt|gt);/g,function(e,n){return t[n]}).replace(/&#(?:x([0-9a-f]+)|([0-9]+));/gi,function(e,t,n){var r=parseInt(t||n,t?16:10);return(r==0||r>1114111||r>=55296&&r<=57343)&&(r=65533),String.fromCodePoint(r)})},_getJSONLD(e){var t=this._getAllNodesWithTag(e,[`script`]),n;return this._forEachNode(t,function(e){if(!n&&e.getAttribute(`type`)===`application/ld+json`)try{var t=e.textContent.replace(/^\s*<!\[CDATA\[|\]\]>\s*$/g,``),r=JSON.parse(t);if(Array.isArray(r)&&(r=r.find(e=>e[`@type`]&&e[`@type`].match(this.REGEXPS.jsonLdArticleTypes)),!r))return;var i=/^https?\:\/\/schema\.org\/?$/;if(!(typeof r[`@context`]==`string`&&r[`@context`].match(i)||typeof r[`@context`]==`object`&&typeof r[`@context`][`@vocab`]==`string`&&r[`@context`][`@vocab`].match(i))||(!r[`@type`]&&Array.isArray(r[`@graph`])&&(r=r[`@graph`].find(e=>(e[`@type`]||``).match(this.REGEXPS.jsonLdArticleTypes))),!r||!r[`@type`]||!r[`@type`].match(this.REGEXPS.jsonLdArticleTypes)))return;if(n={},typeof r.name==`string`&&typeof r.headline==`string`&&r.name!==r.headline){var a=this._getArticleTitle(),o=this._textSimilarity(r.name,a)>.75;this._textSimilarity(r.headline,a)>.75&&!o?n.title=r.headline:n.title=r.name}else typeof r.name==`string`?n.title=r.name.trim():typeof r.headline==`string`&&(n.title=r.headline.trim());r.author&&(typeof r.author.name==`string`?n.byline=r.author.name.trim():Array.isArray(r.author)&&r.author[0]&&typeof r.author[0].name==`string`&&(n.byline=r.author.filter(function(e){return e&&typeof e.name==`string`}).map(function(e){return e.name.trim()}).join(`, `))),typeof r.description==`string`&&(n.excerpt=r.description.trim()),r.publisher&&typeof r.publisher.name==`string`&&(n.siteName=r.publisher.name.trim()),typeof r.datePublished==`string`&&(n.datePublished=r.datePublished.trim())}catch(e){this.log(e.message)}}),n||{}},_getArticleMetadata(e){var t={},n={},r=this._doc.getElementsByTagName(`meta`),i=/\s*(article|dc|dcterm|og|twitter)\s*:\s*(author|creator|description|published_time|title|site_name)\s*/gi,a=/^\s*(?:(dc|dcterm|og|twitter|parsely|weibo:(article|webpage))\s*[-\.:]\s*)?(author|creator|pub-date|description|title|site_name)\s*$/i;this._forEachNode(r,function(e){var t=e.getAttribute(`name`),r=e.getAttribute(`property`),o=e.getAttribute(`content`);if(o){var s=null,c=null;r&&(s=r.match(i),s&&(c=s[0].toLowerCase().replace(/\s/g,``),n[c]=o.trim())),!s&&t&&a.test(t)&&(c=t,o&&(c=c.toLowerCase().replace(/\s/g,``).replace(/\./g,`:`),n[c]=o.trim()))}}),t.title=e.title||n[`dc:title`]||n[`dcterm:title`]||n[`og:title`]||n[`weibo:article:title`]||n[`weibo:webpage:title`]||n.title||n[`twitter:title`]||n[`parsely-title`],t.title||=this._getArticleTitle();let o=typeof n[`article:author`]==`string`&&!this._isUrl(n[`article:author`])?n[`article:author`]:void 0;return t.byline=e.byline||n[`dc:creator`]||n[`dcterm:creator`]||n.author||n[`parsely-author`]||o,t.excerpt=e.excerpt||n[`dc:description`]||n[`dcterm:description`]||n[`og:description`]||n[`weibo:article:description`]||n[`weibo:webpage:description`]||n.description||n[`twitter:description`],t.siteName=e.siteName||n[`og:site_name`],t.publishedTime=e.datePublished||n[`article:published_time`]||n[`parsely-pub-date`]||null,t.title=this._unescapeHtmlEntities(t.title),t.byline=this._unescapeHtmlEntities(t.byline),t.excerpt=this._unescapeHtmlEntities(t.excerpt),t.siteName=this._unescapeHtmlEntities(t.siteName),t.publishedTime=this._unescapeHtmlEntities(t.publishedTime),t},_isSingleImage(e){for(;e;){if(e.tagName===`IMG`)return!0;if(e.children.length!==1||e.textContent.trim()!==``)return!1;e=e.children[0]}return!1},_unwrapNoscriptImages(e){var t=Array.from(e.getElementsByTagName(`img`));this._forEachNode(t,function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t];switch(n.name){case`src`:case`srcset`:case`data-src`:case`data-srcset`:return}if(/\.(jpg|jpeg|png|webp)/i.test(n.value))return}e.remove()});var n=Array.from(e.getElementsByTagName(`noscript`));this._forEachNode(n,function(t){if(this._isSingleImage(t)){var n=e.createElement(`div`);n.innerHTML=t.innerHTML;var r=t.previousElementSibling;if(r&&this._isSingleImage(r)){var i=r;i.tagName!==`IMG`&&(i=r.getElementsByTagName(`img`)[0]);for(var a=n.getElementsByTagName(`img`)[0],o=0;o<i.attributes.length;o++){var s=i.attributes[o];if(s.value!==``&&(s.name===`src`||s.name===`srcset`||/\.(jpg|jpeg|png|webp)/i.test(s.value))){if(a.getAttribute(s.name)===s.value)continue;var c=s.name;a.hasAttribute(c)&&(c=`data-old-`+c),a.setAttribute(c,s.value)}}t.parentNode.replaceChild(n.firstElementChild,r)}}})},_removeScripts(e){this._removeNodes(this._getAllNodesWithTag(e,[`script`,`noscript`]))},_hasSingleTagInsideElement(e,t){return e.children.length!=1||e.children[0].tagName!==t?!1:!this._someNode(e.childNodes,function(e){return e.nodeType===this.TEXT_NODE&&this.REGEXPS.hasContent.test(e.textContent)})},_isElementWithoutContent(e){return e.nodeType===this.ELEMENT_NODE&&!e.textContent.trim().length&&(!e.children.length||e.children.length==e.getElementsByTagName(`br`).length+e.getElementsByTagName(`hr`).length)},_hasChildBlockElement(e){return this._someNode(e.childNodes,function(e){return this.DIV_TO_P_ELEMS.has(e.tagName)||this._hasChildBlockElement(e)})},_isPhrasingContent(e){return e.nodeType===this.TEXT_NODE||this.PHRASING_ELEMS.includes(e.tagName)||(e.tagName===`A`||e.tagName===`DEL`||e.tagName===`INS`)&&this._everyNode(e.childNodes,this._isPhrasingContent)},_isWhitespace(e){return e.nodeType===this.TEXT_NODE&&e.textContent.trim().length===0||e.nodeType===this.ELEMENT_NODE&&e.tagName===`BR`},_getInnerText(e,t){t=t===void 0?!0:t;var n=e.textContent.trim();return t?n.replace(this.REGEXPS.normalize,` `):n},_getCharCount(e,t){return t||=`,`,this._getInnerText(e).split(t).length-1},_cleanStyles(e){if(!(!e||e.tagName.toLowerCase()===`svg`)){for(var t=0;t<this.PRESENTATIONAL_ATTRIBUTES.length;t++)e.removeAttribute(this.PRESENTATIONAL_ATTRIBUTES[t]);this.DEPRECATED_SIZE_ATTRIBUTE_ELEMS.includes(e.tagName)&&(e.removeAttribute(`width`),e.removeAttribute(`height`));for(var n=e.firstElementChild;n!==null;)this._cleanStyles(n),n=n.nextElementSibling}},_getLinkDensity(e){var t=this._getInnerText(e).length;if(t===0)return 0;var n=0;return this._forEachNode(e.getElementsByTagName(`a`),function(e){var t=e.getAttribute(`href`),r=t&&this.REGEXPS.hashUrl.test(t)?.3:1;n+=this._getInnerText(e).length*r}),n/t},_getClassWeight(e){if(!this._flagIsActive(this.FLAG_WEIGHT_CLASSES))return 0;var t=0;return typeof e.className==`string`&&e.className!==``&&(this.REGEXPS.negative.test(e.className)&&(t-=25),this.REGEXPS.positive.test(e.className)&&(t+=25)),typeof e.id==`string`&&e.id!==``&&(this.REGEXPS.negative.test(e.id)&&(t-=25),this.REGEXPS.positive.test(e.id)&&(t+=25)),t},_clean(e,t){var n=[`object`,`embed`,`iframe`].includes(t);this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){if(n){for(var t=0;t<e.attributes.length;t++)if(this._allowedVideoRegex.test(e.attributes[t].value))return!1;if(e.tagName===`object`&&this._allowedVideoRegex.test(e.innerHTML))return!1}return!0})},_hasAncestorTag(e,t,n,r){n||=3,t=t.toUpperCase();for(var i=0;e.parentNode;){if(n>0&&i>n)return!1;if(e.parentNode.tagName===t&&(!r||r(e.parentNode)))return!0;e=e.parentNode,i++}return!1},_getRowAndColumnCount(e){for(var t=0,n=0,r=e.getElementsByTagName(`tr`),i=0;i<r.length;i++){var a=r[i].getAttribute(`rowspan`)||0;a&&=parseInt(a,10),t+=a||1;for(var o=0,s=r[i].getElementsByTagName(`td`),c=0;c<s.length;c++){var l=s[c].getAttribute(`colspan`)||0;l&&=parseInt(l,10),o+=l||1}n=Math.max(n,o)}return{rows:t,columns:n}},_markDataTables(e){for(var t=e.getElementsByTagName(`table`),n=0;n<t.length;n++){var r=t[n];if(r.getAttribute(`role`)==`presentation`){r._readabilityDataTable=!1;continue}if(r.getAttribute(`datatable`)==`0`){r._readabilityDataTable=!1;continue}if(r.getAttribute(`summary`)){r._readabilityDataTable=!0;continue}var i=r.getElementsByTagName(`caption`)[0];if(i&&i.childNodes.length){r._readabilityDataTable=!0;continue}if([`col`,`colgroup`,`tfoot`,`thead`,`th`].some(function(e){return!!r.getElementsByTagName(e)[0]})){this.log(`Data table because found data-y descendant`),r._readabilityDataTable=!0;continue}if(r.getElementsByTagName(`table`)[0]){r._readabilityDataTable=!1;continue}var a=this._getRowAndColumnCount(r);if(a.columns==1||a.rows==1){r._readabilityDataTable=!1;continue}if(a.rows>=10||a.columns>4){r._readabilityDataTable=!0;continue}r._readabilityDataTable=a.rows*a.columns>10}},_fixLazyImages(e){this._forEachNode(this._getAllNodesWithTag(e,[`img`,`picture`,`figure`]),function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){var t=this.REGEXPS.b64DataUrl.exec(e.src);if(t[1]===`image/svg+xml`)return;for(var n=!1,r=0;r<e.attributes.length;r++){var i=e.attributes[r];if(i.name!==`src`&&/\.(jpg|jpeg|png|webp)/i.test(i.value)){n=!0;break}}if(n){var a=t[0].length;e.src.length-a<133&&e.removeAttribute(`src`)}}if(!((e.src||e.srcset&&e.srcset!=`null`)&&!e.className.toLowerCase().includes(`lazy`))){for(var o=0;o<e.attributes.length;o++)if(i=e.attributes[o],!(i.name===`src`||i.name===`srcset`||i.name===`alt`)){var s=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(i.value)?s=`srcset`:/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(i.value)&&(s=`src`),s){if(e.tagName===`IMG`||e.tagName===`PICTURE`)e.setAttribute(s,i.value);else if(e.tagName===`FIGURE`&&!this._getAllNodesWithTag(e,[`img`,`picture`]).length){var c=this._doc.createElement(`img`);c.setAttribute(s,i.value),e.appendChild(c)}}}}})},_getTextDensity(e,t){var n=this._getInnerText(e,!0).length;if(n===0)return 0;var r=0,i=this._getAllNodesWithTag(e,t);return this._forEachNode(i,e=>r+=this._getInnerText(e,!0).length),r/n},_cleanConditionally(e,t){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){var n=function(e){return e._readabilityDataTable},r=t===`ul`||t===`ol`;if(!r){var i=0,a=this._getAllNodesWithTag(e,[`ul`,`ol`]);this._forEachNode(a,e=>i+=this._getInnerText(e).length),r=i/this._getInnerText(e).length>.9}if(t===`table`&&n(e)||this._hasAncestorTag(e,`table`,-1,n)||this._hasAncestorTag(e,`code`)||[...e.getElementsByTagName(`table`)].some(e=>e._readabilityDataTable))return!1;var o=this._getClassWeight(e);if(this.log(`Cleaning Conditionally`,e),o+0<0)return!0;if(this._getCharCount(e,`,`)<10){for(var s=e.getElementsByTagName(`p`).length,c=e.getElementsByTagName(`img`).length,l=e.getElementsByTagName(`li`).length-100,u=e.getElementsByTagName(`input`).length,d=this._getTextDensity(e,[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),f=0,p=this._getAllNodesWithTag(e,[`object`,`embed`,`iframe`]),m=0;m<p.length;m++){for(var h=0;h<p[m].attributes.length;h++)if(this._allowedVideoRegex.test(p[m].attributes[h].value))return!1;if(p[m].tagName===`object`&&this._allowedVideoRegex.test(p[m].innerHTML))return!1;f++}var g=this._getInnerText(e);if(this.REGEXPS.adWords.test(g)||this.REGEXPS.loadingWords.test(g))return!0;var _=g.length,v=this._getLinkDensity(e),y=[`SPAN`,`LI`,`TD`].concat(Array.from(this.DIV_TO_P_ELEMS)),b=this._getTextDensity(e,y),x=this._hasAncestorTag(e,`figure`),S=(()=>{let e=[];return!x&&c>1&&s/c<.5&&e.push(`Bad p to img ratio (img=${c}, p=${s})`),!r&&l>s&&e.push(`Too many li's outside of a list. (li=${l} > p=${s})`),u>Math.floor(s/3)&&e.push(`Too many inputs per p. (input=${u}, p=${s})`),!r&&!x&&d<.9&&_<25&&(c===0||c>2)&&v>0&&e.push(`Suspiciously short. (headingDensity=${d}, img=${c}, linkDensity=${v})`),!r&&o<25&&v>.2+this._linkDensityModifier&&e.push(`Low weight and a little linky. (linkDensity=${v})`),o>=25&&v>.5+this._linkDensityModifier&&e.push(`High weight and mostly links. (linkDensity=${v})`),(f===1&&_<75||f>1)&&e.push(`Suspicious embed. (embedCount=${f}, contentLength=${_})`),c===0&&b===0&&e.push(`No useful content. (img=${c}, textDensity=${b})`),e.length?(this.log(`Checks failed`,e),!0):!1})();if(r&&S){for(var C=0;C<e.children.length;C++)if(e.children[C].children.length>1)return S;if(c==e.getElementsByTagName(`li`).length)return!1}return S}return!1})},_cleanMatchedNodes(e,t){for(var n=this._getNextNode(e,!0),r=this._getNextNode(e);r&&r!=n;)r=t.call(this,r,r.className+` `+r.id)?this._removeAndGetNext(r):this._getNextNode(r)},_cleanHeaders(e){let t=this._getAllNodesWithTag(e,[`h1`,`h2`]);this._removeNodes(t,function(e){let t=this._getClassWeight(e)<0;return t&&this.log(`Removing header with low class weight:`,e),t})},_headerDuplicatesTitle(e){if(e.tagName!=`H1`&&e.tagName!=`H2`)return!1;var t=this._getInnerText(e,!1);return this.log(`Evaluating similarity of header:`,t,this._articleTitle),this._textSimilarity(this._articleTitle,t)>.75},_flagIsActive(e){return(this._flags&e)>0},_removeFlag(e){this._flags&=~e},_isProbablyVisible(e){return(!e.style||e.style.display!=`none`)&&(!e.style||e.style.visibility!=`hidden`)&&!e.hasAttribute(`hidden`)&&(!e.hasAttribute(`aria-hidden`)||e.getAttribute(`aria-hidden`)!=`true`||e.className&&e.className.includes&&e.className.includes(`fallback-image`))},parse(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName(`*`).length;if(e>this._maxElemsToParse)throw Error(`Aborting parsing document; `+e+` elements found`)}this._unwrapNoscriptImages(this._doc);var t=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var n=this._getArticleMetadata(t);this._metadata=n,this._articleTitle=n.title;var r=this._grabArticle();if(!r)return null;if(this.log(`Grabbed: `+r.innerHTML),this._postProcessContent(r),!n.excerpt){var i=r.getElementsByTagName(`p`);i.length&&(n.excerpt=i[0].textContent.trim())}var a=r.textContent;return{title:this._articleTitle,byline:n.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(r),textContent:a,length:a.length,excerpt:n.excerpt,siteName:n.siteName||this._articleSiteName,publishedTime:n.publishedTime}}},typeof t==`object`&&(t.exports=n)})),mt=E(((e,t)=>{var n={unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i};function r(e){return(!e.style||e.style.display!=`none`)&&!e.hasAttribute(`hidden`)&&(!e.hasAttribute(`aria-hidden`)||e.getAttribute(`aria-hidden`)!=`true`||e.className&&e.className.includes&&e.className.includes(`fallback-image`))}function i(e,t={}){typeof t==`function`&&(t={visibilityChecker:t}),t=Object.assign({minScore:20,minContentLength:140,visibilityChecker:r},t);var i=e.querySelectorAll(`p, pre, article`),a=e.querySelectorAll(`div > br`);if(a.length){var o=new Set(i);[].forEach.call(a,function(e){o.add(e.parentNode)}),i=Array.from(o)}var s=0;return[].some.call(i,function(e){if(!t.visibilityChecker(e))return!1;var r=e.className+` `+e.id;if(n.unlikelyCandidates.test(r)&&!n.okMaybeItsACandidate.test(r)||e.matches(`li p`))return!1;var i=e.textContent.trim().length;return i<t.minContentLength?!1:(s+=Math.sqrt(i-t.minContentLength),s>t.minScore)})}typeof t==`object`&&(t.exports=i)}));E(((e,t)=>{t.exports={Readability:pt(),isProbablyReaderable:mt()}}))();const ht=Symbol(`changed`),gt=Symbol(`classList`),_t=Symbol(`CustomElements`),vt=Symbol(`content`),yt=Symbol(`dataset`),bt=Symbol(`doctype`),xt=Symbol(`DOMParser`),L=Symbol(`end`),St=Symbol(`EventTarget`),Ct=Symbol(`globals`),R=Symbol(`image`),wt=Symbol(`mime`),Tt=Symbol(`MutationObserver`),z=Symbol(`next`),Et=Symbol(`ownerElement`),Dt=Symbol(`prev`),Ot=Symbol(`private`),kt=Symbol(`sheet`),At=Symbol(`start`),jt=Symbol(`style`),B=Symbol(`upgrade`),V=Symbol(`value`),Mt=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Nt=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function Pt(e){return e>=55296&&e<=57343||e>1114111?65533:Mt.get(e)??e}function Ft(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}const It=Ft(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IA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YwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWls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ZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),H=Ft(`AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg`);var Lt;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Lt||={});var Rt;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Rt||={});function zt(e){return e>=Rt.ZERO&&e<=Rt.NINE}function Bt(e){return e>=Rt.UPPER_A&&e<=Rt.UPPER_F||e>=Rt.LOWER_A&&e<=Rt.LOWER_F}function Vt(e){return e>=Rt.UPPER_A&&e<=Rt.UPPER_Z||e>=Rt.LOWER_A&&e<=Rt.LOWER_Z||zt(e)}function Ht(e){return e===Rt.EQUALS||Vt(e)}var Ut;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Ut||={});var Wt;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Wt||={});var Gt=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Ut.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wt.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Ut.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Ut.EntityStart:return e.charCodeAt(t)===Rt.NUM?(this.state=Ut.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Ut.NamedEntity,this.stateNamedEntity(e,t));case Ut.NumericStart:return this.stateNumericStart(e,t);case Ut.NumericDecimal:return this.stateNumericDecimal(e,t);case Ut.NumericHex:return this.stateNumericHex(e,t);case Ut.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===Rt.LOWER_X?(this.state=Ut.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Ut.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(zt(n)||Bt(n)){let e=n<=Rt.NINE?n-Rt.ZERO:(n|32)-Rt.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(zt(n))this.result=this.result*10+(n-Rt.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Rt.SEMI)this.consumed+=1;else if(this.decodeMode===Wt.Strict)return 0;return this.emitCodePoint(Pt(this.result),this.consumed),this.errors&&(e!==Rt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Lt.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&Lt.FLAG13)!==0){let a=(r&Lt.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&Lt.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&Lt.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===Rt.SEMI&&i!==0&&(r&Lt.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=Kt(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Wt.Attribute&&(i===0||Ht(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Lt.VALUE_LENGTH)>>14,i!==0){if(a===Rt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Wt.Strict&&(r&Lt.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Lt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(Lt.VALUE_LENGTH|Lt.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Ut.NamedEntity:return this.result!==0&&(this.decodeMode!==Wt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ut.NumericDecimal:return this.emitNumericEntity(0,2);case Ut.NumericHex:return this.emitNumericEntity(0,3);case Ut.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ut.EntityStart:return 0}}};function Kt(e,t,n,r){let i=(t&Lt.BRANCH_LENGTH)>>7,a=t&Lt.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}var U;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(U||={});var W;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.BeforeSpecialT=23]=`BeforeSpecialT`,e[e.SpecialStartSequence=24]=`SpecialStartSequence`,e[e.InSpecialTag=25]=`InSpecialTag`,e[e.InEntity=26]=`InEntity`})(W||={});function qt(e){return e===U.Space||e===U.NewLine||e===U.Tab||e===U.FormFeed||e===U.CarriageReturn}function G(e){return e===U.Slash||e===U.Gt||qt(e)}function K(e){return e>=U.LowerA&&e<=U.LowerZ||e>=U.UpperA&&e<=U.UpperZ}var Jt;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(Jt||={});const Yt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};var Xt=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=W.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=W.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Gt(e?H:It,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=W.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=W.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===U.Lt||!this.decodeEntities&&this.fastForwardTo(U.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=W.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===U.Amp&&this.startEntity()}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?G(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=W.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===U.Gt||qt(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Yt.TitleEnd?this.decodeEntities&&e===U.Amp&&this.startEntity():this.fastForwardTo(U.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===U.Lt)}stateCDATASequence(e){e===Yt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Yt.Cdata.length&&(this.state=W.InCommentLike,this.currentSequence=Yt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=W.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=W.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!G(e):K(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=W.SpecialStartSequence}stateBeforeTagName(e){if(e===U.ExclamationMark)this.state=W.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===U.Questionmark)this.state=W.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=W.InTagName:t===Yt.ScriptEnd[2]?this.state=W.BeforeSpecialS:t===Yt.TitleEnd[2]||t===Yt.XmpEnd[2]?this.state=W.BeforeSpecialT:this.state=W.InTagName}else e===U.Slash?this.state=W.BeforeClosingTagName:(this.state=W.Text,this.stateText(e))}stateInTagName(e){G(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){qt(e)||(e===U.Gt?this.state=W.Text:(this.state=this.isTagStartChar(e)?W.InClosingTagName:W.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===U.Gt||qt(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=W.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.state=W.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===U.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=W.InSpecialTag,this.sequenceIndex=0):this.state=W.Text,this.sectionStart=this.index+1):e===U.Slash?this.state=W.InSelfClosingTag:qt(e)||(this.state=W.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===U.Gt?(this.cbs.onselfclosingtag(this.index),this.state=W.Text,this.sectionStart=this.index+1,this.isSpecial=!1):qt(e)||(this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===U.Eq||G(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=W.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===U.Eq?this.state=W.BeforeAttributeValue:e===U.Slash||e===U.Gt?(this.cbs.onattribend(Jt.NoValue,this.sectionStart),this.sectionStart=-1,this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e)):qt(e)||(this.cbs.onattribend(Jt.NoValue,this.sectionStart),this.state=W.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===U.DoubleQuote?(this.state=W.InAttributeValueDq,this.sectionStart=this.index+1):e===U.SingleQuote?(this.state=W.InAttributeValueSq,this.sectionStart=this.index+1):qt(e)||(this.sectionStart=this.index,this.state=W.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===U.DoubleQuote?Jt.Double:Jt.Single,this.index+1),this.state=W.BeforeAttributeName):this.decodeEntities&&e===U.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,U.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,U.SingleQuote)}stateInAttributeValueNoQuotes(e){qt(e)||e===U.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Jt.Unquoted,this.index),this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===U.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===U.OpeningSquareBracket?(this.state=W.CDATASequence,this.sequenceIndex=0):this.state=e===U.Dash?W.BeforeComment:W.InDeclaration}stateInDeclaration(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=W.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=W.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===U.Dash?(this.state=W.InCommentLike,this.currentSequence=Yt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=W.InDeclaration}stateInSpecialComment(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=W.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=e|32;t===Yt.ScriptEnd[3]?this.startSpecial(Yt.ScriptEnd,4):t===Yt.StyleEnd[3]?this.startSpecial(Yt.StyleEnd,4):(this.state=W.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){switch(e|32){case Yt.TitleEnd[3]:this.startSpecial(Yt.TitleEnd,4);break;case Yt.TextareaEnd[3]:this.startSpecial(Yt.TextareaEnd,4);break;case Yt.XmpEnd[3]:this.startSpecial(Yt.XmpEnd,4);break;default:this.state=W.InTagName,this.stateInTagName(e)}}startEntity(){this.baseState=this.state,this.state=W.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Wt.Strict:this.baseState===W.Text||this.baseState===W.InSpecialTag?Wt.Legacy:Wt.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,t===0&&--this.index;else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===U.Amp){this.state=this.baseState,--this.index;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===W.Text||this.state===W.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===W.InAttributeValueDq||this.state===W.InAttributeValueSq||this.state===W.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case W.Text:this.stateText(e);break;case W.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case W.InSpecialTag:this.stateInSpecialTag(e);break;case W.CDATASequence:this.stateCDATASequence(e);break;case W.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case W.InAttributeName:this.stateInAttributeName(e);break;case W.InCommentLike:this.stateInCommentLike(e);break;case W.InSpecialComment:this.stateInSpecialComment(e);break;case W.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case W.InTagName:this.stateInTagName(e);break;case W.InClosingTagName:this.stateInClosingTagName(e);break;case W.BeforeTagName:this.stateBeforeTagName(e);break;case W.AfterAttributeName:this.stateAfterAttributeName(e);break;case W.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case W.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case W.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case W.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case W.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case W.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case W.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case W.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case W.InDeclaration:this.stateInDeclaration(e);break;case W.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case W.BeforeComment:this.stateBeforeComment(e);break;case W.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case W.InEntity:this.stateInEntity();break}this.index++}this.cleanup()}finish(){this.state===W.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===W.InCommentLike?this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===W.InTagName||this.state===W.BeforeAttributeName||this.state===W.BeforeAttributeValue||this.state===W.AfterAttributeName||this.state===W.InAttributeName||this.state===W.InAttributeValueSq||this.state===W.InAttributeValueDq||this.state===W.InAttributeValueNq||this.state===W.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==W.Text&&this.baseState!==W.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Zt=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),Qt=new Set([`p`]),$t=new Set([`thead`,`tbody`]),en=new Set([`dd`,`dt`]),tn=new Set([`rt`,`rp`]),nn=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`li`,new Set([`li`])],[`p`,Qt],[`h1`,Qt],[`h2`,Qt],[`h3`,Qt],[`h4`,Qt],[`h5`,Qt],[`h6`,Qt],[`select`,Zt],[`input`,Zt],[`output`,Zt],[`button`,Zt],[`datalist`,Zt],[`textarea`,Zt],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,en],[`dt`,en],[`address`,Qt],[`article`,Qt],[`aside`,Qt],[`blockquote`,Qt],[`details`,Qt],[`div`,Qt],[`dl`,Qt],[`fieldset`,Qt],[`figcaption`,Qt],[`figure`,Qt],[`footer`,Qt],[`form`,Qt],[`header`,Qt],[`hr`,Qt],[`main`,Qt],[`nav`,Qt],[`ol`,Qt],[`pre`,Qt],[`section`,Qt],[`table`,Qt],[`ul`,Qt],[`rt`,tn],[`rp`,tn],[`tbody`,$t],[`tfoot`,$t]]),rn=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),an=new Set([`math`,`svg`]),on=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),sn=/\s|\//;var cn=class{constructor(e,t={}){var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??Xt)(this.options,this),this.foreignContext=[!this.htmlMode],(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}ontext(e,t){var n,r;let i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t}ontextentity(e,t){var n,r;this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,Nt(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&rn.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;let a=this.htmlMode&&nn.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){let e=this.stack.shift();(n=(t=this.cbs).onclosetag)==null||n.call(t,e,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(an.has(e)?this.foreignContext.unshift(!0):on.has(e)&&this.foreignContext.unshift(!1))),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,i,a,o,s,c,l;this.endIndex=t;let u=this.getSlice(e,t);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(an.has(u)||on.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&u===`br`&&((a=(i=this.cbs).onopentagname)==null||a.call(i,`br`),(s=(o=this.cbs).onopentag)==null||s.call(o,`br`,{},!0),(l=(c=this.cbs).onclosetag)==null||l.call(c,`br`,!1));else{let e=this.stack.indexOf(u);if(e!==-1)for(let t=0;t<=e;t++){let i=this.stack.shift();(r=(n=this.cbs).onclosetag)==null||r.call(n,i,t!==e)}else this.htmlMode&&u===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;let r=this.tagname;this.endOpenTag(e),this.stack[0]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Nt(e)}onattribend(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===Jt.Double?`"`:e===Jt.Single?`'`:e===Jt.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(sn),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1}oncdata(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;let p=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}(t=(e=this.cbs).onend)==null||t.call(e)}reset(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}},ln=ee({CDATA:()=>vn,Comment:()=>mn,Directive:()=>pn,Doctype:()=>yn,ElementType:()=>q,Root:()=>dn,Script:()=>hn,Style:()=>gn,Tag:()=>_n,Text:()=>fn,isTag:()=>un}),q;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(q||={});function un(e){return e.type===q.Tag||e.type===q.Script||e.type===q.Style}const dn=q.Root,fn=q.Text,pn=q.Directive,mn=q.Comment,hn=q.Script,gn=q.Style,_n=q.Tag,vn=q.CDATA,yn=q.Doctype;var bn=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return In(this,e)}},xn=class extends bn{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},Sn=class extends xn{constructor(){super(...arguments),this.type=q.Text}get nodeType(){return 3}},Cn=class extends xn{constructor(){super(...arguments),this.type=q.Comment}get nodeType(){return 8}},wn=class extends xn{constructor(e,t){super(t),this.name=e,this.type=q.Directive}get nodeType(){return 1}},Tn=class extends bn{constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},En=class extends Tn{constructor(){super(...arguments),this.type=q.CDATA}get nodeType(){return 4}},Dn=class extends Tn{constructor(){super(...arguments),this.type=q.Root}get nodeType(){return 9}},On=class extends Tn{constructor(e,t,n=[],r=e===`script`?q.Script:e===`style`?q.Style:q.Tag){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}};function kn(e){return un(e)}function An(e){return e.type===q.CDATA}function jn(e){return e.type===q.Text}function Mn(e){return e.type===q.Comment}function Nn(e){return e.type===q.Directive}function Pn(e){return e.type===q.Root}function Fn(e){return Object.prototype.hasOwnProperty.call(e,`children`)}function In(e,t=!1){let n;if(jn(e))n=new Sn(e.data);else if(Mn(e))n=new Cn(e.data);else if(kn(e)){let r=t?Ln(e.children):[],i=new On(e.name,{...e.attribs},r);r.forEach(e=>e.parent=i),e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(An(e)){let r=t?Ln(e.children):[],i=new En(r);r.forEach(e=>e.parent=i),n=i}else if(Pn(e)){let r=t?Ln(e.children):[],i=new Dn(r);r.forEach(e=>e.parent=i),e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(Nn(e)){let t=new wn(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Ln(e){let t=e.map(e=>In(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}const Rn={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};var zn=class{constructor(e,t,n){this.dom=[],this.root=new Dn(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=Rn),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??Rn,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new Dn(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=new On(e,t,void 0,this.options.xmlMode?q.Tag:void 0);this.addNode(n),this.tagStack.push(n)}ontext(e){let{lastNode:t}=this;if(t&&t.type===q.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{let t=new Sn(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===q.Comment){this.lastNode.data+=e;return}let t=new Cn(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new Sn(``),t=new En([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new wn(e,t);this.addNode(n)}handleCallback(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}};const Bn=/["&'<>$\x80-\uFFFF]/g,Vn=new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]),Hn=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t);function Un(e){let t=``,n=0,r;for(;(r=Bn.exec(e))!==null;){let i=r.index,a=e.charCodeAt(i),o=Vn.get(a);o===void 0?(t+=`${e.substring(n,i)}&#x${Hn(e,i).toString(16)};`,n=Bn.lastIndex+=Number((a&64512)==55296)):(t+=e.substring(n,i)+o,n=i+1)}return t+e.substr(n)}function Wn(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}const Gn=Wn(/["&\u00A0]/g,new Map([[34,`"`],[38,`&`],[160,` `]])),Kn=Wn(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]])),qn=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),Jn=new Map(`definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),Yn=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function Xn(e){return e.replace(/"/g,`"`)}function Zn(e,t){if(!e)return;let n=(t.encodeEntities??t.decodeEntities)===!1?Xn:t.xmlMode||t.encodeEntities!==`utf8`?Un:Gn;return Object.keys(e).map(r=>{let i=e[r]??``;return t.xmlMode===`foreign`&&(r=Jn.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}const Qn=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function $n(e,t={}){let n=`length`in e?e:[e],r=``;for(let e=0;e<n.length;e++)r+=er(n[e],t);return r}function er(e,t){switch(e.type){case dn:return $n(e.children,t);case yn:case pn:return ir(e);case mn:return sr(e);case vn:return or(e);case hn:case gn:case _n:return rr(e,t);case fn:return ar(e,t)}}const tr=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),nr=new Set([`svg`,`math`]);function rr(e,t){t.xmlMode===`foreign`&&(e.name=qn.get(e.name)??e.name,e.parent&&tr.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&nr.has(e.name)&&(t={...t,xmlMode:`foreign`});let n=`<${e.name}`,r=Zn(e.attribs,t);return r&&(n+=` ${r}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&Qn.has(e.name))?(t.xmlMode||(n+=` `),n+=`/>`):(n+=`>`,e.children.length>0&&(n+=$n(e.children,t)),(t.xmlMode||!Qn.has(e.name))&&(n+=`</${e.name}>`)),n}function ir(e){return`<${e.data}>`}function ar(e,t){let n=e.data||``;return(t.encodeEntities??t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&Yn.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!==`utf8`?Un(n):Kn(n)),n}function or(e){return`<![CDATA[${e.children[0].data}]]>`}function sr(e){return`<!--${e.data}-->`}function cr(e,t){return $n(e,t)}function lr(e,t){return Fn(e)?e.children.map(e=>cr(e,t)).join(``):``}function ur(e){return Array.isArray(e)?e.map(ur).join(``):kn(e)?e.name===`br`?`
|
|
6
|
-
`:ur(e.children):An(e)?ur(e.children):jn(e)?e.data:``}function dr(e){return Array.isArray(e)?e.map(dr).join(``):Fn(e)&&!Mn(e)?dr(e.children):jn(e)?e.data:``}function fr(e){return Array.isArray(e)?e.map(fr).join(``):Fn(e)&&(e.type===q.Tag||An(e))?fr(e.children):jn(e)?e.data:``}function pr(e){return Fn(e)?e.children:[]}function mr(e){return e.parent||null}function hr(e){let t=mr(e);if(t!=null)return pr(t);let n=[e],{prev:r,next:i}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;i!=null;)n.push(i),{next:i}=i;return n}function gr(e,t){return e.attribs?.[t]}function _r(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function vr(e){return e.name}function yr(e){let{next:t}=e;for(;t!==null&&!kn(t);)({next:t}=t);return t}function br(e){let{prev:t}=e;for(;t!==null&&!kn(t);)({prev:t}=t);return t}function xr(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function Sr(e,t){let n=t.prev=e.prev;n&&(n.next=t);let r=t.next=e.next;r&&(r.prev=t);let i=t.parent=e.parent;if(i){let n=i.children;n[n.lastIndexOf(e)]=t,e.parent=null}}function Cr(e,t){if(xr(t),t.next=null,t.parent=e,e.children.push(t)>1){let n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function wr(e,t){xr(t);let{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){let e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function J(e,t){if(xr(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){let n=e.children[1];n.prev=t,t.next=n}else t.next=null}function Tr(e,t){xr(t);let{parent:n}=e;if(n){let r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function Er(e,t,n=!0,r=1/0){return Dr(e,Array.isArray(t)?t:[t],n,r)}function Dr(e,t,n,r){let i=[],a=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=a[0].length){if(o.length===1)return i;a.shift(),o.shift();continue}let t=a[0][o[0]++];if(e(t)&&(i.push(t),--r<=0))return i;n&&Fn(t)&&t.children.length>0&&(o.unshift(0),a.unshift(t.children))}}function Or(e,t){return t.find(e)}function kr(e,t,n=!0){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t];if(kn(i)&&e(i))return i;if(n&&Fn(i)&&i.children.length>0){let t=kr(e,i.children,!0);if(t)return t}}return null}function Ar(e,t){return(Array.isArray(t)?t:[t]).some(t=>kn(t)&&e(t)||Fn(t)&&Ar(e,t.children))}function jr(e,t){let n=[],r=[Array.isArray(t)?t:[t]],i=[0];for(;;){if(i[0]>=r[0].length){if(r.length===1)return n;r.shift(),i.shift();continue}let t=r[0][i[0]++];kn(t)&&e(t)&&n.push(t),Fn(t)&&t.children.length>0&&(i.unshift(0),r.unshift(t.children))}}const Mr={tag_name(e){return typeof e==`function`?t=>kn(t)&&e(t.name):e===`*`?kn:t=>kn(t)&&t.name===e},tag_type(e){return typeof e==`function`?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e==`function`?t=>jn(t)&&e(t.data):t=>jn(t)&&t.data===e}};function Nr(e,t){return typeof t==`function`?n=>kn(n)&&t(n.attribs[e]):n=>kn(n)&&n.attribs[e]===t}function Pr(e,t){return n=>e(n)||t(n)}function Fr(e){let t=Object.keys(e).map(t=>{let n=e[t];return Object.prototype.hasOwnProperty.call(Mr,t)?Mr[t](n):Nr(t,n)});return t.length===0?null:t.reduce(Pr)}function Ir(e,t){let n=Fr(e);return n?n(t):!0}function Lr(e,t,n,r=1/0){let i=Fr(e);return i?Er(i,t,n,r):[]}function Rr(e,t,n=!0){return Array.isArray(t)||(t=[t]),kr(Nr(`id`,e),t,n)}function zr(e,t,n=!0,r=1/0){return Er(Mr.tag_name(e),t,n,r)}function Br(e,t,n=!0,r=1/0){return Er(Nr(`class`,e),t,n,r)}function Vr(e,t,n=!0,r=1/0){return Er(Mr.tag_type(e),t,n,r)}function Hr(e){let t=e.length;for(;--t>=0;){let n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var Ur;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(Ur||={});function Wr(e,t){let n=[],r=[];if(e===t)return 0;let i=Fn(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=Fn(t)?t:t.parent;i;)r.unshift(i),i=i.parent;let a=Math.min(n.length,r.length),o=0;for(;o<a&&n[o]===r[o];)o++;if(o===0)return Ur.DISCONNECTED;let s=n[o-1],c=s.children,l=n[o],u=r[o];return c.indexOf(l)>c.indexOf(u)?s===t?Ur.FOLLOWING|Ur.CONTAINED_BY:Ur.FOLLOWING:s===e?Ur.PRECEDING|Ur.CONTAINS:Ur.PRECEDING}function Gr(e){return e=e.filter((e,t,n)=>!n.includes(e,t+1)),e.sort((e,t)=>{let n=Wr(e,t);return n&Ur.PRECEDING?-1:n&Ur.FOLLOWING?1:0}),e}function Kr(e){let t=Qr(ti,e);return t?t.name===`feed`?qr(t):Jr(t):null}function qr(e){let t=e.children,n={type:`atom`,items:zr(`entry`,t).map(e=>{let{children:t}=e,n={media:Zr(t)};ei(n,`id`,`id`,t),ei(n,`title`,`title`,t);let r=Qr(`link`,t)?.attribs.href;r&&(n.link=r);let i=$r(`summary`,t)||$r(`content`,t);i&&(n.description=i);let a=$r(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};ei(n,`id`,`id`,t),ei(n,`title`,`title`,t);let r=Qr(`link`,t)?.attribs.href;r&&(n.link=r),ei(n,`description`,`subtitle`,t);let i=$r(`updated`,t);return i&&(n.updated=new Date(i)),ei(n,`author`,`email`,t,!0),n}function Jr(e){let t=Qr(`channel`,e.children)?.children??[],n={type:e.name.substr(0,3),id:``,items:zr(`item`,e.children).map(e=>{let{children:t}=e,n={media:Zr(t)};ei(n,`id`,`guid`,t),ei(n,`title`,`title`,t),ei(n,`link`,`link`,t),ei(n,`description`,`description`,t);let r=$r(`pubDate`,t)||$r(`dc:date`,t);return r&&(n.pubDate=new Date(r)),n})};ei(n,`title`,`title`,t),ei(n,`link`,`link`,t),ei(n,`description`,`description`,t);let r=$r(`lastBuildDate`,t);return r&&(n.updated=new Date(r)),ei(n,`author`,`managingEditor`,t,!0),n}const Yr=[`url`,`type`,`lang`],Xr=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function Zr(e){return zr(`media:content`,e).map(e=>{let{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(let e of Yr)t[e]&&(n[e]=t[e]);for(let e of Xr)t[e]&&(n[e]=parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function Qr(e,t){return zr(e,t,!0,1)[0]}function $r(e,t,n=!1){return dr(zr(e,t,n,1)).trim()}function ei(e,t,n,r,i=!1){let a=$r(n,r,i);a&&(e[t]=a)}function ti(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}var ni=ee({DocumentPosition:()=>Ur,append:()=>wr,appendChild:()=>Cr,compareDocumentPosition:()=>Wr,existsOne:()=>Ar,filter:()=>Er,find:()=>Dr,findAll:()=>jr,findOne:()=>kr,findOneChild:()=>Or,getAttributeValue:()=>gr,getChildren:()=>pr,getElementById:()=>Rr,getElements:()=>Lr,getElementsByClassName:()=>Br,getElementsByTagName:()=>zr,getElementsByTagType:()=>Vr,getFeed:()=>Kr,getInnerHTML:()=>lr,getName:()=>vr,getOuterHTML:()=>cr,getParent:()=>mr,getSiblings:()=>hr,getText:()=>ur,hasAttrib:()=>_r,hasChildren:()=>Fn,innerText:()=>fr,isCDATA:()=>An,isComment:()=>Mn,isDocument:()=>Pn,isTag:()=>kn,isText:()=>jn,nextElementSibling:()=>yr,prepend:()=>Tr,prependChild:()=>J,prevElementSibling:()=>br,removeElement:()=>xr,removeSubsets:()=>Hr,replaceElement:()=>Sr,testElement:()=>Ir,textContent:()=>dr,uniqueSort:()=>Gr}),ri=ee({DefaultHandler:()=>zn,DomHandler:()=>zn,DomUtils:()=>ni,ElementType:()=>ln,Parser:()=>cn,QuoteType:()=>Jt,Tokenizer:()=>Xt,createDocumentStream:()=>oi,createDomStream:()=>si,getFeed:()=>Kr,parseDOM:()=>ai,parseDocument:()=>ii,parseFeed:()=>li});function ii(e,t){let n=new zn(void 0,t);return new cn(n,t).end(e),n.root}function ai(e,t){return ii(e,t).children}function oi(e,t,n){let r=new zn(t=>e(t,r.root),t,n);return new cn(r,t)}function si(e,t,n){return new cn(new zn(e,t,n),t)}const ci={xmlMode:!0};function li(e,t=ci){return Kr(ai(e,t))}const ui=new Set(`ARTICLE.ASIDE.BLOCKQUOTE.BODY.BR.BUTTON.CANVAS.CAPTION.COL.COLGROUP.DD.DIV.DL.DT.EMBED.FIELDSET.FIGCAPTION.FIGURE.FOOTER.FORM.H1.H2.H3.H4.H5.H6.LI.UL.OL.P`.split(`.`)),di=`http://www.w3.org/2000/svg`,{assign:fi,create:pi,defineProperties:mi,entries:hi,getOwnPropertyDescriptors:gi,keys:_i,setPrototypeOf:vi}=Object,yi=String,bi=e=>e.nodeType===1?e[L]:e,xi=({ownerDocument:e})=>e[wt].ignoreCase,Si=(e,t)=>{e[z]=t,t[Dt]=e},Ci=(e,t,n)=>{Si(e,t),Si(bi(t),n)},wi=(e,t,n,r)=>{Si(e,t),Si(bi(n),r)},Ti=(e,t,n)=>{Si(e,t),Si(t,n)},Ei=({localName:e,ownerDocument:t})=>t[wt].ignoreCase?e.toUpperCase():e,Di=(e,t)=>{e&&(e[z]=t),t&&(t[Dt]=e)},Oi=(e,t)=>{let n=e.createDocumentFragment(),r=e.createElement(``);r.innerHTML=t;let{firstChild:i,lastChild:a}=r;if(i){wi(n,i,a,n[L]);let e=i;do e.parentNode=n;while(e!==a&&(e=bi(e)[z]))}return n},ki=new WeakMap;let Ai=!1;const ji=new WeakMap,Mi=new WeakMap,Ni=(e,t,n,r)=>{Ai&&Mi.has(e)&&e.attributeChangedCallback&&e.constructor.observedAttributes.includes(t)&&e.attributeChangedCallback(t,n,r)},Pi=(e,t)=>n=>{if(Mi.has(n)){let r=Mi.get(n);r.connected!==t&&n.isConnected===t&&(r.connected=t,e in n&&n[e]())}},Fi=Pi(`connectedCallback`,!0),Ii=e=>{if(Ai){Fi(e),ki.has(e)&&(e=ki.get(e).shadowRoot);let{[z]:t,[L]:n}=e;for(;t!==n;)t.nodeType===1&&Fi(t),t=t[z]}},Li=Pi(`disconnectedCallback`,!1),Ri=e=>{if(Ai){Li(e),ki.has(e)&&(e=ki.get(e).shadowRoot);let{[z]:t,[L]:n}=e;for(;t!==n;)t.nodeType===1&&Li(t),t=t[z]}};var zi=class{constructor(e){this.ownerDocument=e,this.registry=new Map,this.waiting=new Map,this.active=!1}define(e,t,n={}){let{ownerDocument:r,registry:i,waiting:a}=this;if(i.has(e))throw Error(`unable to redefine `+e);if(ji.has(t))throw Error(`unable to redefine the same class: `+t);this.active=Ai=!0;let{extends:o}=n;ji.set(t,{ownerDocument:r,options:{is:o?e:``},localName:o||e});let s=o?t=>t.localName===o&&t.getAttribute(`is`)===e:t=>t.localName===e;if(i.set(e,{Class:t,check:s}),a.has(e)){for(let n of a.get(e))n(t);a.delete(e)}r.querySelectorAll(o?`${o}[is="${e}"]`:e).forEach(this.upgrade,this)}upgrade(e){if(Mi.has(e))return;let{ownerDocument:t,registry:n}=this,r=e.getAttribute(`is`)||e.localName;if(n.has(r)){let{Class:i,check:a}=n.get(r);if(a(e)){let{attributes:n,isConnected:a}=e;for(let t of n)e.removeAttributeNode(t);let o=hi(e);for(let[t]of o)delete e[t];vi(e,i.prototype),t[B]={element:e,values:o},new i(t,r),Mi.set(e,{connected:a});for(let t of n)e.setAttributeNode(t);a&&e.connectedCallback&&e.connectedCallback()}}}whenDefined(e){let{registry:t,waiting:n}=this;return new Promise(r=>{t.has(e)?r(t.get(e).Class):(n.has(e)||n.set(e,[]),n.get(e).push(r))})}get(e){let t=this.registry.get(e);return t&&t.Class}getName(e){if(ji.has(e)){let{localName:t}=ji.get(e);return t}return null}};const{Parser:Bi}=ri,Vi=(e,t,n)=>{let r=e[L];return t.parentNode=e,Ci(r[Dt],t,r),n&&t.nodeType===1&&Ii(t),t},Hi=(e,t,n,r,i)=>{n[V]=r,n.ownerElement=e,Ti(t[Dt],n,t),n.name===`class`&&(e.className=r),i&&Ni(e,n.name,null,r)},Ui=(e,t,n)=>{let{active:r,registry:i}=e[_t],a=e,o=null,s=!1,c=new Bi({onprocessinginstruction(t,n){t.toLowerCase()===`!doctype`&&(e.doctype=n.slice(t.length).trim())},onopentag(n,s){let c=!0;if(t){if(o)a=Vi(a,e.createElementNS(di,n),r),a.ownerSVGElement=o,c=!1;else if(n===`svg`||n===`SVG`)o=e.createElementNS(di,n),a=Vi(a,o,r),c=!1;else if(r){let e=n.includes(`-`)?n:s.is||``;if(e&&i.has(e)){let{Class:t}=i.get(e);a=Vi(a,new t,r),delete s.is,c=!1}}}c&&(a=Vi(a,e.createElement(n),!1));let l=a[L];for(let t of _i(s))Hi(a,l,e.createAttribute(t),s[t],r)},oncomment(t){Vi(a,e.createComment(t),r)},ontext(t){s?Vi(a,e.createCDATASection(t),r):Vi(a,e.createTextNode(t),r)},oncdatastart(){s=!0},oncdataend(){s=!1},onclosetag(){t&&a===o&&(o=null),a=a.parentNode}},{lowerCaseAttributeNames:!1,decodeEntities:!0,xmlMode:!t});return c.write(n),c.end(),e},Wi=new Map,Gi=(e,t)=>{for(let n of[].concat(e))Wi.set(n,t),Wi.set(n.toUpperCase(),t)},Ki=({[z]:e,[L]:t},n)=>{for(;e!==t;){switch(e.nodeType){case 2:qi(e,n);break;case 3:case 8:case 4:Ji(e,n);break;case 1:Zi(e,n),e=bi(e);break;case 10:Xi(e,n);break}e=e[z]}let r=n.length-1,i=n[r];typeof i==`number`&&i<0?n[r]+=-1:n.push(-1)},qi=(e,t)=>{t.push(2,e.name);let n=e[V].trim();n&&t.push(n)},Ji=(e,t)=>{let n=e[V];n.trim()&&t.push(e.nodeType,n)},Yi=(e,t)=>{t.push(e.nodeType),Ki(e,t)},Xi=({name:e,publicId:t,systemId:n},r)=>{r.push(10,e),t&&r.push(t),n&&r.push(n)},Zi=(e,t)=>{t.push(1,e.localName),Ki(e,t)},Qi=(e,t,n,r,i,a,o)=>({type:e,target:t,addedNodes:r,removedNodes:i,attributeName:a,oldValue:o,previousSibling:n?.previousSibling||null,nextSibling:n?.nextSibling||null}),$i=(e,t,n,r,i,a)=>{if(!r||r.includes(n)){let{callback:r,records:o,scheduled:s}=e;o.push(Qi(`attributes`,t,null,[],[],n,i?a:void 0)),s||(e.scheduled=!0,Promise.resolve().then(()=>{e.scheduled=!1,r(o.splice(0),e)}))}},ea=(e,t,n)=>{let{ownerDocument:r}=e,{active:i,observers:a}=r[Tt];if(i){for(let i of a)for(let[a,{childList:o,subtree:s,attributes:c,attributeFilter:l,attributeOldValue:u}]of i.nodes)if(o){if(s&&(a===r||a.contains(e))||!s&&a.children.includes(e)){$i(i,e,t,l,u,n);break}}else if(c&&a===e){$i(i,e,t,l,u,n);break}}},ta=(e,t)=>{let{ownerDocument:n}=e,{active:r,observers:i}=n[Tt];if(r){for(let r of i)for(let[i,{subtree:a,childList:o,characterData:s}]of r.nodes)if(o&&(t&&(i===t||a&&i.contains(t))||!t&&(a&&(i===n||i.contains(e))||!a&&i[s?`childNodes`:`children`].includes(e)))){let{callback:n,records:a,scheduled:o}=r;a.push(Qi(`childList`,i,e,t?[]:[e],t?[e]:[])),o||(r.scheduled=!0,Promise.resolve().then(()=>{r.scheduled=!1,n(a.splice(0),r)}));break}}};var na=class{constructor(e){let t=new Set;this.observers=t,this.active=!1,this.class=class{constructor(e){this.callback=e,this.nodes=new Map,this.records=[],this.scheduled=!1}disconnect(){this.records.splice(0),this.nodes.clear(),t.delete(this),e[Tt].active=!!t.size}observe(n,r={subtree:!1,childList:!1,attributes:!1,attributeFilter:null,attributeOldValue:!1,characterData:!1}){(`attributeOldValue`in r||`attributeFilter`in r)&&(r.attributes=!0),r.childList=!!r.childList,r.subtree=!!r.subtree,this.nodes.set(n,r),t.add(this),e[Tt].active=!0}takeRecords(){return this.records.splice(0)}}}};const ra=new Set(`allowfullscreen.allowpaymentrequest.async.autofocus.autoplay.checked.class.contenteditable.controls.default.defer.disabled.draggable.formnovalidate.hidden.id.ismap.itemscope.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.selected.style.truespeed`.split(`.`)),ia=(e,t)=>{let{[V]:n,name:r}=t;t.ownerElement=e,Ti(e,t,e[z]),r===`class`&&(e.className=n),ea(e,r,null),Ni(e,r,null,n)},aa=(e,t)=>{let{[V]:n,name:r}=t;Si(t[Dt],t[z]),t.ownerElement=t[Dt]=t[z]=null,r===`class`&&(e[gt]=null),ea(e,r,n),Ni(e,r,n,null)},oa={get(e,t){return e.hasAttribute(t)},set(e,t,n){n?e.setAttribute(t,``):e.removeAttribute(t)}},sa={get(e,t){return parseFloat(e.getAttribute(t)||0)},set(e,t,n){e.setAttribute(t,n)}},Y={get(e,t){return e.getAttribute(t)||``},set(e,t,n){e.setAttribute(t,n)}},ca=new WeakMap;function la(e,t){return typeof t==`function`?t.call(e.target,e):t.handleEvent(e),e._stopImmediatePropagationFlag}function ua({currentTarget:e,target:t}){let n=ca.get(e);if(n&&n.has(this.type)){let r=n.get(this.type);e===t?this.eventPhase=this.AT_TARGET:this.eventPhase=this.BUBBLING_PHASE,this.currentTarget=e,this.target=t;for(let[e,t]of r)if(t&&t.once&&r.delete(e),la(this,e))break;return delete this.currentTarget,delete this.target,this.cancelBubble}}var da=class{constructor(){ca.set(this,new Map)}_getParent(){return null}addEventListener(e,t,n){let r=ca.get(this);r.has(e)||r.set(e,new Map),r.get(e).set(t,n)}removeEventListener(e,t){let n=ca.get(this);if(n.has(e)){let r=n.get(e);r.delete(t)&&!r.size&&n.delete(e)}}dispatchEvent(e){let t=this;for(e.eventPhase=e.CAPTURING_PHASE;t;)t.dispatchEvent&&e._path.push({currentTarget:t,target:this}),t=e.bubbles&&t._getParent&&t._getParent();return e._path.some(ua,e),e._path=[],e.eventPhase=e.NONE,!e.defaultPrevented}},fa=class extends Array{item(e){return e<this.length?this[e]:null}};const pa=({parentNode:e})=>{let t=0;for(;e;)t++,e=e.parentNode;return t};var ma=class extends da{static get ELEMENT_NODE(){return 1}static get ATTRIBUTE_NODE(){return 2}static get TEXT_NODE(){return 3}static get CDATA_SECTION_NODE(){return 4}static get COMMENT_NODE(){return 8}static get DOCUMENT_NODE(){return 9}static get DOCUMENT_FRAGMENT_NODE(){return 11}static get DOCUMENT_TYPE_NODE(){return 10}constructor(e,t,n){super(),this.ownerDocument=e,this.localName=t,this.nodeType=n,this.parentNode=null,this[z]=null,this[Dt]=null}get ELEMENT_NODE(){return 1}get ATTRIBUTE_NODE(){return 2}get TEXT_NODE(){return 3}get CDATA_SECTION_NODE(){return 4}get COMMENT_NODE(){return 8}get DOCUMENT_NODE(){return 9}get DOCUMENT_FRAGMENT_NODE(){return 11}get DOCUMENT_TYPE_NODE(){return 10}get baseURI(){let e=this.nodeType===9?this:this.ownerDocument;if(e){let t=e.querySelector(`base`);if(t)return t.getAttribute(`href`);let{location:n}=e.defaultView;if(n)return n.href}return null}get isConnected(){return!1}get nodeName(){return this.localName}get parentElement(){return null}get previousSibling(){return null}get previousElementSibling(){return null}get nextSibling(){return null}get nextElementSibling(){return null}get childNodes(){return new fa}get firstChild(){return null}get lastChild(){return null}get nodeValue(){return null}set nodeValue(e){}get textContent(){return null}set textContent(e){}normalize(){}cloneNode(){return null}contains(){return!1}insertBefore(e,t){return e}appendChild(e){return e}replaceChild(e,t){return t}removeChild(e){return e}toString(){return``}hasChildNodes(){return!!this.lastChild}isSameNode(e){return this===e}compareDocumentPosition(e){let t=0;if(this!==e){let n=pa(this),r=pa(e);if(n<r)t+=4,this.contains(e)&&(t+=16);else if(r<n)t+=2,e.contains(this)&&(t+=8);else if(n&&r){let{childNodes:n}=this.parentNode;n.indexOf(this)<n.indexOf(e)?t+=4:t+=2}(!n||!r)&&(t+=32,t+=1)}return t}isEqualNode(e){if(this===e)return!0;if(this.nodeType===e.nodeType){switch(this.nodeType){case 9:case 11:{let t=this.childNodes,n=e.childNodes;return t.length===n.length&&t.every((e,t)=>e.isEqualNode(n[t]))}}return this.toString()===e.toString()}return!1}_getParent(){return this.parentNode}getRootNode(){let e=this;for(;e.parentNode;)e=e.parentNode;return e}};const{replace:ha}=``,ga=/[<>&\xA0]/g,_a={"\xA0":` `,"&":`&`,"<":`<`,">":`>`},va=e=>_a[e],ya=e=>ha.call(e,ga,va),ba=/"/g;var xa=class e extends ma{constructor(e,t,n=``){super(e,t,2),this.ownerElement=null,this.name=yi(t),this[V]=yi(n),this[ht]=!1}get value(){return this[V]}set value(e){let{[V]:t,name:n,ownerElement:r}=this;this[V]=yi(e),this[ht]=!0,r&&(ea(r,n,t),Ni(r,n,t,this[V]))}cloneNode(){let{ownerDocument:t,name:n,[V]:r}=this;return new e(t,n,r)}toString(){let{name:e,[V]:t}=this;return ra.has(e)&&!t?xi(this)?e:`${e}=""`:`${e}="${(xi(this)?t:ya(t)).replace(ba,`"`)}"`}toJSON(){let e=[];return qi(this,e),e}};const Sa=({ownerDocument:e,parentNode:t})=>{for(;t;){if(t===e)return!0;t=t.parentNode||t.host}return!1},Ca=({parentNode:e})=>{if(e)switch(e.nodeType){case 9:case 11:return null}return e},wa=({[Dt]:e})=>{switch(e?e.nodeType:0){case-1:return e[At];case 3:case 8:case 4:return e}return null},Ta=e=>{let t=bi(e)[z];return t&&(t.nodeType===-1?null:t)},Ea=e=>{let t=Ta(e);for(;t&&t.nodeType!==1;)t=Ta(t);return t},Da=e=>{let t=wa(e);for(;t&&t.nodeType!==1;)t=wa(t);return t},Oa=(e,t)=>{let n=e.createDocumentFragment();return n.append(...t),n},ka=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&r.insertBefore(Oa(n,t),e)},Aa=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&r.insertBefore(Oa(n,t),bi(e)[z])},ja=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&(t.includes(e)&&ja(e,[e=e.cloneNode()]),r.insertBefore(Oa(n,t),e),e.remove())},Ma=(e,t,n)=>{let{parentNode:r,nodeType:i}=t;(e||n)&&(Di(e,n),t[Dt]=null,bi(t)[z]=null),r&&(t.parentNode=null,ta(t,r),i===1&&Ri(t))};var Na=class extends ma{constructor(e,t,n,r){super(e,t,n),this[V]=yi(r)}get isConnected(){return Sa(this)}get parentElement(){return Ca(this)}get previousSibling(){return wa(this)}get nextSibling(){return Ta(this)}get previousElementSibling(){return Da(this)}get nextElementSibling(){return Ea(this)}before(...e){ka(this,e)}after(...e){Aa(this,e)}replaceWith(...e){ja(this,e)}remove(){Ma(this[Dt],this,this[z])}get data(){return this[V]}set data(e){this[V]=yi(e),ta(this,this.parentNode)}get nodeValue(){return this.data}set nodeValue(e){this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}get length(){return this.data.length}substringData(e,t){return this.data.substr(e,t)}appendData(e){this.data+=e}insertData(e,t){let{data:n}=this;this.data=n.slice(0,e)+t+n.slice(e)}deleteData(e,t){let{data:n}=this;this.data=n.slice(0,e)+n.slice(e+t)}replaceData(e,t,n){let{data:r}=this;this.data=r.slice(0,e)+n+r.slice(e+t)}toJSON(){let e=[];return Ji(this,e),e}},Pa=class e extends Na{constructor(e,t=``){super(e,`#cdatasection`,4,t)}cloneNode(){let{ownerDocument:t,[V]:n}=this;return new e(t,n)}toString(){return`<![CDATA[${this[V]}]]>`}},Fa=class e extends Na{constructor(e,t=``){super(e,`#comment`,8,t)}cloneNode(){let{ownerDocument:t,[V]:n}=this;return new e(t,n)}toString(){return`<!--${this[V]}-->`}},Ia=E(((e,t)=>{t.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}})),La=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.AttributeAction=e.IgnoreCaseMode=e.SelectorType=void 0,(function(e){e.Attribute=`attribute`,e.Pseudo=`pseudo`,e.PseudoElement=`pseudo-element`,e.Tag=`tag`,e.Universal=`universal`,e.Adjacent=`adjacent`,e.Child=`child`,e.Descendant=`descendant`,e.Parent=`parent`,e.Sibling=`sibling`,e.ColumnCombinator=`column-combinator`})(e.SelectorType||={}),e.IgnoreCaseMode={Unknown:null,QuirksMode:`quirks`,IgnoreCase:!0,CaseSensitive:!1},(function(e){e.Any=`any`,e.Element=`element`,e.End=`end`,e.Equals=`equals`,e.Exists=`exists`,e.Hyphen=`hyphen`,e.Not=`not`,e.Start=`start`})(e.AttributeAction||={})})),Ra=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.parse=e.isTraversal=void 0;var t=La(),n=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,r=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,i=new Map([[126,t.AttributeAction.Element],[94,t.AttributeAction.Start],[36,t.AttributeAction.End],[42,t.AttributeAction.Any],[33,t.AttributeAction.Not],[124,t.AttributeAction.Hyphen]]),a=new Set([`has`,`not`,`matches`,`is`,`where`,`host`,`host-context`]);function o(e){switch(e.type){case t.SelectorType.Adjacent:case t.SelectorType.Child:case t.SelectorType.Descendant:case t.SelectorType.Parent:case t.SelectorType.Sibling:case t.SelectorType.ColumnCombinator:return!0;default:return!1}}e.isTraversal=o;var s=new Set([`contains`,`icontains`]);function c(e,t,n){var r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function l(e){return e.replace(r,c)}function u(e){return e===39||e===34}function d(e){return e===32||e===9||e===10||e===12||e===13}function f(e){var t=[],n=p(t,`${e}`,0);if(n<e.length)throw Error(`Unmatched selector: ${e.slice(n)}`);return t}e.parse=f;function p(e,r,c){var f=[];function m(e){var t=r.slice(c+e).match(n);if(!t)throw Error(`Expected name, found ${r.slice(c)}`);var i=t[0];return c+=e+i.length,l(i)}function h(e){for(c+=e;c<r.length&&d(r.charCodeAt(c));)c++}function g(){c+=1;for(var e=c,t=1;t>0&&c<r.length;c++)r.charCodeAt(c)===40&&!_(c)?t++:r.charCodeAt(c)===41&&!_(c)&&t--;if(t)throw Error(`Parenthesis not matched`);return l(r.slice(e,c-1))}function _(e){for(var t=0;r.charCodeAt(--e)===92;)t++;return(t&1)==1}function v(){if(f.length>0&&o(f[f.length-1]))throw Error(`Did not expect successive traversals.`)}function y(e){if(f.length>0&&f[f.length-1].type===t.SelectorType.Descendant){f[f.length-1].type=e;return}v(),f.push({type:e})}function b(e,n){f.push({type:t.SelectorType.Attribute,name:e,action:n,value:m(1),namespace:null,ignoreCase:`quirks`})}function x(){if(f.length&&f[f.length-1].type===t.SelectorType.Descendant&&f.pop(),f.length===0)throw Error(`Empty sub-selector`);e.push(f)}if(h(0),r.length===c)return c;loop:for(;c<r.length;){var S=r.charCodeAt(c);switch(S){case 32:case 9:case 10:case 12:case 13:(f.length===0||f[0].type!==t.SelectorType.Descendant)&&(v(),f.push({type:t.SelectorType.Descendant})),h(1);break;case 62:y(t.SelectorType.Child),h(1);break;case 60:y(t.SelectorType.Parent),h(1);break;case 126:y(t.SelectorType.Sibling),h(1);break;case 43:y(t.SelectorType.Adjacent),h(1);break;case 46:b(`class`,t.AttributeAction.Element);break;case 35:b(`id`,t.AttributeAction.Equals);break;case 91:h(1);var C=void 0,w=null;r.charCodeAt(c)===124?C=m(1):r.startsWith(`*|`,c)?(w=`*`,C=m(2)):(C=m(0),r.charCodeAt(c)===124&&r.charCodeAt(c+1)!==61&&(w=C,C=m(1))),h(0);var T=t.AttributeAction.Exists,E=i.get(r.charCodeAt(c));if(E){if(T=E,r.charCodeAt(c+1)!==61)throw Error("Expected `=`");h(2)}else r.charCodeAt(c)===61&&(T=t.AttributeAction.Equals,h(1));var ee=``,te=null;if(T!==`exists`){if(u(r.charCodeAt(c))){for(var ne=r.charCodeAt(c),D=c+1;D<r.length&&(r.charCodeAt(D)!==ne||_(D));)D+=1;if(r.charCodeAt(D)!==ne)throw Error(`Attribute value didn't end`);ee=l(r.slice(c+1,D)),c=D+1}else{for(var O=c;c<r.length&&(!d(r.charCodeAt(c))&&r.charCodeAt(c)!==93||_(c));)c+=1;ee=l(r.slice(O,c))}h(0);var re=r.charCodeAt(c)|32;re===115?(te=!1,h(1)):re===105&&(te=!0,h(1))}if(r.charCodeAt(c)!==93)throw Error(`Attribute selector didn't terminate`);c+=1;var ie={type:t.SelectorType.Attribute,name:C,action:T,value:ee,namespace:w,ignoreCase:te};f.push(ie);break;case 58:if(r.charCodeAt(c+1)===58){f.push({type:t.SelectorType.PseudoElement,name:m(2).toLowerCase(),data:r.charCodeAt(c)===40?g():null});continue}var ae=m(1).toLowerCase(),k=null;if(r.charCodeAt(c)===40)if(a.has(ae)){if(u(r.charCodeAt(c+1)))throw Error(`Pseudo-selector ${ae} cannot be quoted`);if(k=[],c=p(k,r,c+1),r.charCodeAt(c)!==41)throw Error(`Missing closing parenthesis in :${ae} (${r})`);c+=1}else{if(k=g(),s.has(ae)){var oe=k.charCodeAt(0);oe===k.charCodeAt(k.length-1)&&u(oe)&&(k=k.slice(1,-1))}k=l(k)}f.push({type:t.SelectorType.Pseudo,name:ae,data:k});break;case 44:x(),f=[],h(1);break;default:if(r.startsWith(`/*`,c)){var se=r.indexOf(`*/`,c+2);if(se<0)throw Error(`Comment was not terminated`);c=se+2,f.length===0&&h(0);break}var w=null,ce=void 0;if(S===42)c+=1,ce=`*`;else if(S===124){if(ce=``,r.charCodeAt(c+1)===124){y(t.SelectorType.ColumnCombinator),h(2);break}}else if(n.test(r.slice(c)))ce=m(0);else break loop;r.charCodeAt(c)===124&&r.charCodeAt(c+1)!==124&&(w=ce,r.charCodeAt(c+1)===42?(ce=`*`,c+=2):ce=m(1)),f.push(ce===`*`?{type:t.SelectorType.Universal,namespace:w}:{type:t.SelectorType.Tag,name:ce,namespace:w})}}return x(),c}})),za=E((e=>{var t=e&&e.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=void 0;var n=La(),r=[`\\`,`"`],i=t(t([],r,!0),[`(`,`)`],!1),a=new Set(r.map(function(e){return e.charCodeAt(0)})),o=new Set(i.map(function(e){return e.charCodeAt(0)})),s=new Set(t(t([],i,!0),[`~`,`^`,`$`,`*`,`+`,`!`,`|`,`:`,`[`,`]`,` `,`.`],!1).map(function(e){return e.charCodeAt(0)}));function c(e){return e.map(function(e){return e.map(l).join(``)}).join(`, `)}e.stringify=c;function l(e,t,r){switch(e.type){case n.SelectorType.Child:return t===0?`> `:` > `;case n.SelectorType.Parent:return t===0?`< `:` < `;case n.SelectorType.Sibling:return t===0?`~ `:` ~ `;case n.SelectorType.Adjacent:return t===0?`+ `:` + `;case n.SelectorType.Descendant:return` `;case n.SelectorType.ColumnCombinator:return t===0?`|| `:` || `;case n.SelectorType.Universal:return e.namespace===`*`&&t+1<r.length&&`name`in r[t+1]?``:`${f(e.namespace)}*`;case n.SelectorType.Tag:return d(e);case n.SelectorType.PseudoElement:return`::${p(e.name,s)}${e.data===null?``:`(${p(e.data,o)})`}`;case n.SelectorType.Pseudo:return`:${p(e.name,s)}${e.data===null?``:`(${typeof e.data==`string`?p(e.data,o):c(e.data)})`}`;case n.SelectorType.Attribute:if(e.name===`id`&&e.action===n.AttributeAction.Equals&&e.ignoreCase===`quirks`&&!e.namespace)return`#${p(e.value,s)}`;if(e.name===`class`&&e.action===n.AttributeAction.Element&&e.ignoreCase===`quirks`&&!e.namespace)return`.${p(e.value,s)}`;var i=d(e);return e.action===n.AttributeAction.Exists?`[${i}]`:`[${i}${u(e.action)}="${p(e.value,a)}"${e.ignoreCase===null?``:e.ignoreCase?` i`:` s`}]`}}function u(e){switch(e){case n.AttributeAction.Equals:return``;case n.AttributeAction.Element:return`~`;case n.AttributeAction.Start:return`^`;case n.AttributeAction.End:return`$`;case n.AttributeAction.Any:return`*`;case n.AttributeAction.Not:return`!`;case n.AttributeAction.Hyphen:return`|`;case n.AttributeAction.Exists:throw Error(`Shouldn't be here`)}}function d(e){return`${f(e.namespace)}${p(e.name,s)}`}function f(e){return e===null?``:`${e===`*`?`*`:p(e,s)}|`}function p(e,t){for(var n=0,r=``,i=0;i<e.length;i++)t.has(e.charCodeAt(i))&&(r+=`${e.slice(n,i)}\\${e.charAt(i)}`,n=i+1);return r.length>0?r+e.slice(n):e}})),Ba=E((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=e.parse=e.isTraversal=void 0,n(La(),e);var r=Ra();Object.defineProperty(e,`isTraversal`,{enumerable:!0,get:function(){return r.isTraversal}}),Object.defineProperty(e,`parse`,{enumerable:!0,get:function(){return r.parse}});var i=za();Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return i.stringify}})})),X=ne(Ia(),1),Z=Ba();const Va=new Map([[Z.SelectorType.Universal,50],[Z.SelectorType.Tag,30],[Z.SelectorType.Attribute,1],[Z.SelectorType.Pseudo,0]]);function Ha(e){return!Va.has(e.type)}const Ua=new Map([[Z.AttributeAction.Exists,10],[Z.AttributeAction.Equals,8],[Z.AttributeAction.Not,7],[Z.AttributeAction.Start,6],[Z.AttributeAction.End,6],[Z.AttributeAction.Any,5]]);function Wa(e){let t=e.map(Ga);for(let n=1;n<e.length;n++){let r=t[n];if(!(r<0))for(let i=n-1;i>=0&&r<t[i];i--){let n=e[i+1];e[i+1]=e[i],e[i]=n,t[i+1]=t[i],t[i]=r}}}function Ga(e){let t=Va.get(e.type)??-1;return e.type===Z.SelectorType.Attribute?(t=Ua.get(e.action)??4,e.action===Z.AttributeAction.Equals&&e.name===`id`&&(t=9),e.ignoreCase&&(t>>=1)):e.type===Z.SelectorType.Pseudo&&(e.data?e.name===`has`||e.name===`contains`?t=0:Array.isArray(e.data)?(t=Math.min(...e.data.map(e=>Math.min(...e.map(Ga)))),t<0&&(t=0)):t=2:t=3),t}const Ka=/[-[\]{}()*+?.,\\^$|#\s]/g;function qa(e){return e.replace(Ka,`\\$&`)}const Ja=new Set(`accept.accept-charset.align.alink.axis.bgcolor.charset.checked.clear.codetype.color.compact.declare.defer.dir.direction.disabled.enctype.face.frame.hreflang.http-equiv.lang.language.link.media.method.multiple.nohref.noresize.noshade.nowrap.readonly.rel.rev.rules.scope.scrolling.selected.shape.target.text.type.valign.valuetype.vlink`.split(`.`));function Ya(e,t){return typeof e.ignoreCase==`boolean`?e.ignoreCase:e.ignoreCase===`quirks`?!!t.quirksMode:!t.xmlMode&&Ja.has(e.name)}const Xa={equals(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return Ya(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length===a.length&&n.toLowerCase()===a&&e(t)}):t=>r.getAttributeValue(t,i)===a&&e(t)},hyphen(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return Ya(t,n)?(a=a.toLowerCase(),function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o).toLowerCase()===a&&e(t)}):function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o)===a&&e(t)}},element(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(/\s/.test(a))return X.default.falseFunc;let o=RegExp(`(?:^|\\s)${qa(a)}(?:$|\\s)`,Ya(t,n)?`i`:``);return function(t){let n=r.getAttributeValue(t,i);return n!=null&&n.length>=a.length&&o.test(n)&&e(t)}},exists(e,{name:t},{adapter:n}){return r=>n.hasAttrib(r,t)&&e(r)},start(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return o===0?X.default.falseFunc:Ya(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length>=o&&n.substr(0,o).toLowerCase()===a&&e(t)}):t=>!!r.getAttributeValue(t,i)?.startsWith(a)&&e(t)},end(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=-a.length;return o===0?X.default.falseFunc:Ya(t,n)?(a=a.toLowerCase(),t=>r.getAttributeValue(t,i)?.substr(o).toLowerCase()===a&&e(t)):t=>!!r.getAttributeValue(t,i)?.endsWith(a)&&e(t)},any(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(a===``)return X.default.falseFunc;if(Ya(t,n)){let t=new RegExp(qa(a),`i`);return function(n){let o=r.getAttributeValue(n,i);return o!=null&&o.length>=a.length&&t.test(o)&&e(n)}}return t=>!!r.getAttributeValue(t,i)?.includes(a)&&e(t)},not(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return a===``?t=>!!r.getAttributeValue(t,i)&&e(t):Ya(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return(n==null||n.length!==a.length||n.toLowerCase()!==a)&&e(t)}):t=>r.getAttributeValue(t,i)!==a&&e(t)}},Za=new Set([9,10,12,13,32]);function Qa(e){if(e=e.trim().toLowerCase(),e===`even`)return[2,0];if(e===`odd`)return[2,1];let t=0,n=0,r=a(),i=o();if(t<e.length&&e.charAt(t)===`n`&&(t++,n=r*(i??1),s(),t<e.length?(r=a(),s(),i=o()):r=i=0),i===null||t<e.length)throw Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*i];function a(){return e.charAt(t)===`-`?(t++,-1):(e.charAt(t)===`+`&&t++,1)}function o(){let n=t,r=0;for(;t<e.length&&e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57;)r=r*10+(e.charCodeAt(t)-48),t++;return t===n?null:r}function s(){for(;t<e.length&&Za.has(e.charCodeAt(t));)t++}}function $a(e){let t=e[0],n=e[1]-1;if(n<0&&t<=0)return X.default.falseFunc;if(t===-1)return e=>e<=n;if(t===0)return e=>e===n;if(t===1)return n<0?X.default.trueFunc:e=>e>=n;let r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>=n&&e%r===i:e=>e<=n&&e%r===i}function eo(e){return $a(Qa(e))}function to(e,t){return n=>{let r=t.getParent(n);return r!=null&&t.isTag(r)&&e(n)}}const no={contains(e,t,{adapter:n}){return function(r){return e(r)&&n.getText(r).includes(t)}},icontains(e,t,{adapter:n}){let r=t.toLowerCase();return function(t){return e(t)&&n.getText(t).toLowerCase().includes(r)}},"nth-child"(e,t,{adapter:n,equals:r}){let i=eo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?to(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length&&!r(t,a[e]);e++)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-last-child"(e,t,{adapter:n,equals:r}){let i=eo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?to(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0&&!r(t,a[e]);e--)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-of-type"(e,t,{adapter:n,equals:r}){let i=eo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?to(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length;e++){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},"nth-last-of-type"(e,t,{adapter:n,equals:r}){let i=eo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?to(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0;e--){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},root(e,t,{adapter:n}){return t=>{let r=n.getParent(t);return(r==null||!n.isTag(r))&&e(t)}},scope(e,t,n,r){let{equals:i}=n;return!r||r.length===0?no.root(e,t,n):r.length===1?t=>i(r[0],t)&&e(t):t=>r.includes(t)&&e(t)},hover:ro(`isHovered`),visited:ro(`isVisited`),active:ro(`isActive`)};function ro(e){return function(t,n,{adapter:r}){let i=r[e];return typeof i==`function`?function(e){return i(e)&&t(e)}:X.default.falseFunc}}const io={empty(e,{adapter:t}){return!t.getChildren(e).some(e=>t.isTag(e)||t.getText(e)!==``)},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;let r=t.getSiblings(e).find(e=>t.isTag(e));return r!=null&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){let r=t.getSiblings(e);for(let i=r.length-1;i>=0;i--){if(n(e,r[i]))return!0;if(t.isTag(r[i]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=0;a<r.length;a++){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=r.length-1;a>=0;a--){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){let r=t.getName(e);return t.getSiblings(e).every(i=>n(e,i)||!t.isTag(i)||t.getName(i)!==r)},"only-child"(e,{adapter:t,equals:n}){return t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))}};function ao(e,t,n,r){if(n===null){if(e.length>r)throw Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw Error(`Pseudo-class :${t} doesn't have any arguments`)}const oo={"any-link":`:is(a, area, link)[href]`,link:`:any-link:not(:visited)`,disabled:`:is(
|
|
2
|
+
import{createRequire as e}from"node:module";import{Command as t}from"@commander-js/extra-typings";import{homedir as n}from"node:os";import{basename as r,dirname as i,isAbsolute as a,join as o,relative as s,resolve as c}from"node:path";import{mkdir as l,readFile as u,realpath as d,rename as f,rm as p,writeFile as m}from"node:fs/promises";import{execFile as h,execFileSync as g}from"node:child_process";import{PostHog as _}from"posthog-node";import{StdioServerTransport as v}from"@modelcontextprotocol/sdk/server/stdio.js";import{McpServer as y}from"@modelcontextprotocol/sdk/server/mcp.js";import{accessSync as b,constants as x}from"node:fs";import{createHash as S,randomBytes as C}from"node:crypto";import{z as w}from"zod";var T=Object.create,E=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,te=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty,O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{let n={};for(var r in e)E(n,r,{get:e[r],enumerable:!0});return t||E(n,Symbol.toStringTag,{value:`Module`}),n},ie=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=te(t),a=0,o=i.length,s;a<o;a++)s=i[a],!D.call(e,s)&&s!==n&&E(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ee(t,s))||r.enumerable});return e},ae=(e,t,n)=>(n=e==null?{}:T(ne(e)),ie(t||!e||!e.__esModule?E(n,`default`,{value:e,enumerable:!0}):n,e)),k=e(import.meta.url);function oe(e){let t=e.split(`.`);if(t.length!==3)return null;try{return JSON.parse(Buffer.from(t[1],`base64url`).toString())}catch{return null}}function se(e){let t=oe(e);return!t||typeof t.exp!=`number`?null:t.exp}function ce(e,t){let n=se(e.access_token),r=Number.isFinite(e.expires_in)?e.expires_in:3600,i=n??Math.floor(Date.now()/1e3)+r,a;if(e.id_token){let t=oe(e.id_token);if(t){let e=`${typeof t.given_name==`string`?t.given_name:``} ${typeof t.family_name==`string`?t.family_name:``}`.trim(),n=typeof t.sub==`string`?t.sub:``;n&&(a={id:n,email:typeof t.email==`string`?t.email:``,name:e})}}return{accessToken:e.access_token,refreshToken:e.refresh_token??t??``,expiresAt:i,user:a}}async function A(e,t,n){let r=new URLSearchParams({client_id:e,scope:`openid profile email offline_access`}),i=await fetch(`${t}/oauth2/device_authorization`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:r.toString(),signal:n});if(!i.ok){let e=``;try{let t=await i.json();e=typeof t.error_description==`string`?t.error_description:typeof t.error==`string`?t.error:typeof t.message==`string`?t.message:``}catch{}let n=`${t}/oauth2/device_authorization`,r=e?`${e} (HTTP ${i.status} from ${n})`:`HTTP ${i.status} from ${n}`;throw Error(`Device authorization failed: ${r}`)}return await i.json()}async function le(e,t,n,r,i,a=(e,t)=>new Promise((n,r)=>{if(t?.aborted){r(Error(`Aborted`));return}let i=setTimeout(n,e);t?.addEventListener(`abort`,()=>{clearTimeout(i),r(Error(`Aborted`))},{once:!0})})){let o=`${t}/oauth2/token`,s=r;for(;;){await a(s*1e3,i);let t=new URLSearchParams({client_id:e,grant_type:`urn:ietf:params:oauth:grant-type:device_code`,device_code:n}),r=await fetch(o,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:t.toString(),signal:i});if(r.ok)return ce(await r.json());let c;try{c=await r.json()}catch{throw Error(`Token endpoint returned non-JSON error: HTTP ${r.status}`)}if(c.error!==`authorization_pending`){if(c.error===`slow_down`){s+=5;continue}throw c.error===`expired_token`?Error(`Device code expired. Please restart the login flow.`):c.error===`access_denied`?Error(`Authorization denied by the user.`):Error(`Unexpected error during polling: ${c.error??r.statusText}`)}}}async function ue(e,t,n){try{let r=new URLSearchParams({client_id:e,grant_type:`refresh_token`,refresh_token:n}),i=await fetch(`${t}/oauth2/token`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:r.toString(),signal:AbortSignal.timeout(3e4)});if(i.ok)return{session:ce(await i.json(),n),permanent:!1};let a=i.status===400||i.status===401,o=``;try{o=await i.text()}catch{}return console.error(`[auth] Token refresh failed: HTTP ${i.status} (${a?`permanent`:`transient`})${o?`: ${o}`:``}`),{session:null,permanent:a}}catch(e){return console.error(`[auth] Token refresh failed:`,e instanceof Error?e.message:e),{session:null,permanent:!1}}}function de(){let e=process.env.XDG_CONFIG_HOME?.trim();return o(e||o(n(),`.config`),`phosphor`)}function fe(){let e=process.env.XDG_CACHE_HOME?.trim();return o(e||o(n(),`.cache`),`phosphor`)}function pe(){return o(de(),`session.json`)}async function me(e){let t=e??pe();try{let e=await u(t,`utf-8`),n=JSON.parse(e);return ve(n)?n:null}catch{return null}}async function he(e,t){let n=t??pe();await l(i(n),{recursive:!0}),await m(n,JSON.stringify(e,null,2),{encoding:`utf-8`,mode:384})}async function ge(e){let t=e??pe();try{await p(t)}catch(e){if(e.code!==`ENOENT`)throw e}}async function _e(e){let t=process.env.PHOSPHOR_TOKEN;if(t)return t;let n=e?.sessionPath,r=await me(n);if(!r)return null;let i=Math.floor(Date.now()/1e3);if(r.expiresAt>i)return r.accessToken;if(e?.clientId&&e.baseUrl){let{session:t}=await ue(e.clientId,e.baseUrl,r.refreshToken);if(t)return await he(t,n),t.accessToken}return null}function ve(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.accessToken==`string`&&typeof t.refreshToken==`string`&&typeof t.expiresAt==`number`}async function ye(e){let t=new AbortController,n=()=>{t.abort(),console.log(`
|
|
3
|
+
Login cancelled.`),process.exit(0)};process.on(`SIGINT`,n);try{console.log(`Starting login...`);let n=await A(e.clientId,e.baseUrl,t.signal);console.log(`\nOpen this URL in your browser:\n ${n.verification_uri_complete}`),console.log(`\nOr go to ${n.verification_uri} and enter code: ${n.user_code}\n`),console.log(`Waiting for authorization...`),Ce(n.verification_uri_complete);let r=await le(e.clientId,e.baseUrl,n.device_code,n.interval,t.signal);await he(r),console.log(`\nLogged in as ${r.user?.name??r.user?.email??`unknown`}.`)}finally{process.off(`SIGINT`,n)}}async function be(){await ge(),console.log(`Session cleared.`)}async function xe(e){let t=process.env.PHOSPHOR_TOKEN;if(t){we(t,`(from PHOSPHOR_TOKEN env var)`);return}let n=await me();n||(process.stderr.write(`Not authenticated. Run \`${e.cliName} login\`.\n`),process.exit(1));let{session:r}=await ue(e.clientId,e.baseUrl,n.refreshToken);r||(process.stderr.write(`Session expired and could not be refreshed. Run \`${e.cliName} login\`.\n`),process.exit(1)),await he(r),console.log(`Authenticated as:`),r.user?.name&&console.log(` Name: ${r.user.name}`),r.user?.email&&console.log(` Email: ${r.user.email}`),r.user?.id&&console.log(` ID: ${r.user.id}`)}async function Se(e){return _e({clientId:e.clientId,baseUrl:e.baseUrl})}function Ce(e){process.platform===`win32`?h(`cmd.exe`,[`/c`,`start`,``,e],()=>{}):h(process.platform===`darwin`?`open`:`xdg-open`,[e],()=>{})}function we(e,t){let n=oe(e);if(!n){console.log(`Authenticated ${t}`);return}console.log(`Authenticated ${t}:`),n.sub&&console.log(` User ID: ${String(n.sub)}`),n.email&&console.log(` Email: ${String(n.email)}`),n.org_id&&console.log(` Org ID: ${String(n.org_id)}`);let r=se(e);if(r){let e=new Date(r*1e3);console.log(` Expires: ${e.toISOString()}`)}}const Te=`0.2.0-dev.pr85.19`;let Ee=null,De=null;const Oe=crypto.randomUUID();function ke(){return process.env.DO_NOT_TRACK===`1`?null:(Ee||=new _(`phc_u7SpJkr2pJwaJo9HNQx56N3RQh3tQtZhvwaxNG2d9sRX`,{host:`https://us.i.posthog.com`,enableExceptionAutocapture:!0}),Ee)}async function Ae(){let e=Ee;if(Ee=null,e)try{await e.shutdown()}catch(e){console.error(`[posthog] shutdown failed:`,e)}}async function je(){if(De)return De;let e=await me();return De={distinctId:e?.user?.id??`anonymous`,orgId:e?.organizationId??void 0},De}function Me(){De=null}async function Ne(e,t){try{let n=ke();if(!n)return;let{distinctId:r,orgId:i}=await je();n.capture({distinctId:r,event:e,properties:{...t,org_id:i,$session_id:Oe}})}catch(e){console.error(`[posthog] captureEvent failed:`,e)}}const Pe={cliName:`phosphor-mcp`,clientId:`client_01KND1JGQ6VQVJ9GMH9F12GM2A`,baseUrl:`https://merciful-precipice-37-staging.authkit.app`};async function Fe(){await ye(Pe),Me(),await Ne(`login`)}async function Ie(){await Ne(`logout`),await be(),Me()}function Le(){return xe(Pe)}function Re(){return Se(Pe)}const j={"User-Agent":`Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36`,Accept:`text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8`,"Accept-Language":`en-US,en;q=0.9`,"Accept-Encoding":`gzip, deflate, br`,"Sec-Ch-Ua":`"Chromium";v="135", "Not(A:Brand";v="24", "Google Chrome";v="135"`,"Sec-Ch-Ua-Mobile":`?0`,"Sec-Ch-Ua-Platform":`"macOS"`,"Sec-Fetch-Dest":`document`,"Sec-Fetch-Mode":`navigate`,"Sec-Fetch-Site":`none`,"Sec-Fetch-User":`?1`,"Upgrade-Insecure-Requests":`1`};async function ze(e,t){return fetch(e,{headers:t?.headers??j,signal:Be(3e4,t?.abortSignal),redirect:t?.redirect??`follow`})}function Be(e,t){let n=AbortSignal.timeout(e);return t?AbortSignal.any([n,t]):n}async function Ve(e,t){let n=e.body?.getReader();if(!n){let n=await e.arrayBuffer();return n.byteLength>t?null:new Uint8Array(n)}let r=[],i=0;try{for(;;){let{done:e,value:a}=await n.read();if(e)break;if(i+=a.byteLength,i>t)return await n.cancel(),null;r.push(a)}}catch(e){if(e instanceof DOMException&&(e.name===`AbortError`||e.name===`TimeoutError`))return null;throw e}let a=new Uint8Array(i),o=0;for(let e of r)a.set(e,o),o+=e.byteLength;return a}function He(e){return e.path.length*2+(e.type===`file`?1:0)}function Ue(e){return[...e].sort((e,t)=>He(t)-He(e))}function We(e){return{cwd:e,scratch:e,paths:[]}}function Ge(e,t){return a(e)?c(e):c(t.cwd,e)}function Ke(e,t){if(e===t)return!0;let n=s(t,e);return n.length===0?!0:!n.startsWith(`..`)&&!a(n)}function qe(e,t){for(let n of Ue(t.paths)){if(n.type===`file`){if(e===n.path)return n;continue}if(Ke(e,n.path))return n}return null}function Je(e){return typeof e==`object`&&!!e&&`code`in e&&(e.code===`ENOENT`||e.code===`ENOTDIR`)}async function Ye(e){try{return await d(e)}catch(t){if(!Je(t))throw t;return e}}async function Xe(e){let[t,n,r]=await Promise.all([Ye(e.cwd),Ye(e.scratch),Promise.all(e.paths.map(async e=>({...e,path:await Ye(e.path)})))]);return{cwd:t,scratch:n,paths:Ue(r)}}async function Ze(e){let t=[],n=e;for(;;)try{let e=await d(n);return t.length===0?e:c(e,...t.reverse())}catch(e){if(!Je(e))throw e;let a=i(n);if(a===n)throw e;t.push(r(n)),n=a}}function M(e,t){if(Ke(e,t.scratch))return`rw`;let n=qe(e,t);if(n)return n.access;throw Error(`Path is outside allowed paths: ${e}`)}function Qe(e,t){if(M(e,t)!==`rw`)throw Error(`Path is read-only: ${e}`)}async function $e(e,t,n){let r=Ge(e,t);n?Qe(r,t):M(r,t);let i=await Ze(r),a=await Xe(t);return n?Qe(i,a):M(i,a),i}async function N(e,t){return $e(e,t,!1)}const P=/^[0-9a-f]{64}$/;function et(e){if(!P.test(e))throw Error(`Invalid docId: expected 64-char lowercase hex string, got "${e.slice(0,80)}"`)}function tt(){return o(fe(),`documents`)}function nt(e){return et(e),o(tt(),e)}async function rt(e){try{let t=await u(o(nt(e),`meta.json`),`utf-8`);return JSON.parse(t)}catch{return null}}async function it(e){let t=nt(e.docId);await l(t,{recursive:!0});let n=o(t,`meta.json`),r=`${n}.${Date.now()}.tmp`;await m(r,JSON.stringify(e,null,2)),await f(r,n)}async function at(e,t){let n=nt(e);await l(n,{recursive:!0}),await m(o(n,`source.pdf`),t)}async function ot(e){try{return await u(o(nt(e),`source.pdf`))}catch{return null}}async function st(e,t){try{let n=await u(o(o(nt(e),`pages`),`${t}.json`),`utf-8`);return JSON.parse(n)}catch{return null}}async function F(e,t){let n=o(nt(e),`pages`);await l(n,{recursive:!0}),await m(o(n,`${t.page}.json`),JSON.stringify(t))}function ct(e){return S(`sha256`).update(e).digest(`hex`)}function lt(){let e=globalThis;if(e.DOMMatrix!==void 0)return;class t{a;b;c;d;e;f;constructor(e){this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0,Array.isArray(e)&&e.length===6&&([this.a,this.b,this.c,this.d,this.e,this.f]=e)}get m11(){return this.a}set m11(e){this.a=e}get m12(){return this.b}set m12(e){this.b=e}get m21(){return this.c}set m21(e){this.c=e}get m22(){return this.d}set m22(e){this.d=e}get m41(){return this.e}set m41(e){this.e=e}get m42(){return this.f}set m42(e){this.f=e}get is2D(){return!0}get isIdentity(){return this.a===1&&this.b===0&&this.c===0&&this.d===1&&this.e===0&&this.f===0}multiply(e){return new t([this.a*e.a+this.c*e.b,this.b*e.a+this.d*e.b,this.a*e.c+this.c*e.d,this.b*e.c+this.d*e.d,this.a*e.e+this.c*e.f+this.e,this.b*e.e+this.d*e.f+this.f])}multiplySelf(e){let t=this.multiply(e);return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,this.f=t.f,this}preMultiplySelf(e){let t=e.multiply(this);return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,this.f=t.f,this}invertSelf(){let e=this.a*this.d-this.b*this.c;if(e!==0){let t=this.d/e,n=-this.b/e,r=-this.c/e,i=this.a/e,a=(this.c*this.f-this.d*this.e)/e,o=(this.b*this.e-this.a*this.f)/e;this.a=t,this.b=n,this.c=r,this.d=i,this.e=a,this.f=o}return this}translate(e,n){return new t([this.a,this.b,this.c,this.d,this.a*e+this.c*n+this.e,this.b*e+this.d*n+this.f])}scale(e,n=e){return new t([this.a*e,this.b*e,this.c*n,this.d*n,this.e,this.f])}transformPoint(e){return{x:this.a*e.x+this.c*e.y+this.e,y:this.b*e.x+this.d*e.y+this.f,z:0,w:1}}toString(){return`matrix(${this.a}, ${this.b}, ${this.c}, ${this.d}, ${this.e}, ${this.f})`}static fromMatrix(e){return new t([e.a??1,e.b??0,e.c??0,e.d??1,e.e??0,e.f??0])}}e.DOMMatrix=t}async function ut(){return lt(),await import(`pdfjs-dist/legacy/build/pdf.mjs`)}async function I(e){return(await ut()).getDocument({data:e,verbosity:0}).promise}async function dt(e){let t=await e.getOutline();if(!t||t.length===0)return[];let n=[];async function r(t,i){for(let a of t){let t=null;try{if(a.dest){let n=typeof a.dest==`string`?await e.getDestination(a.dest):a.dest;n&&n[0]&&(t=await e.getPageIndex(n[0]))}}catch{}n.push({title:a.title,page:t,depth:i}),a.items?.length&&await r(a.items,i+1)}}await r(t,0);let i=e.numPages-1;return n.map((e,t)=>{let r=i;for(let i=t+1;i<n.length;i++)if(n[i].depth<=e.depth&&n[i].page!==null){r=n[i].page-1;break}return e.page!==null&&r<e.page&&(r=e.page),{title:e.title,pageStart:e.page,pageEnd:r,depth:e.depth}})}function ft(e){if(e.length===0)return``;let t=e[0].str;for(let n=1;n<e.length;n++){let r=e[n-1],i=e[n];if(`hasEOL`in r&&r.hasEOL)t+=`
|
|
4
|
+
`;else if(`transform`in r&&`transform`in i&&`width`in r&&Array.isArray(r.transform)&&Array.isArray(i.transform)&&typeof r.width==`number`){let e=r.transform[4]+r.width,n=i.transform[4],a=Math.abs(i.transform[0]);(Math.abs(r.transform[5]-i.transform[5])>a*.5||n-e>a*.25)&&(t+=` `)}else t+=` `;t+=i.str}return t.trim()}async function pt(e,t,n){let r=[],i=Math.max(1,Math.min(t,e.numPages)),a=Math.max(1,Math.min(n,e.numPages));for(let t=i;t<=a;t++){let n=await e.getPage(t),i=ft((await n.getTextContent()).items.filter(e=>`str`in e&&typeof e.str==`string`));r.push({pageNum:t-1,text:i}),n.cleanup(),t%100==0&&e.cleanup()}return r}function mt(e,t){let n=ht(e),r=new Map;for(let e=0;e<t;e++){let i=null,a=-1;for(let r of n)r.pageStart!==null&&e>=r.pageStart&&e<=(r.pageEnd??t-1)&&r.depth>a&&(a=r.depth,i=r.path);i&&r.set(e,i)}return r}function ht(e){let t=[],n=[];for(let r of e){for(;n.length>r.depth;)n.pop();let e=n.length>0?`${n.join(` > `)} > ${r.title}`:r.title;t.push({path:e,pageStart:r.pageStart,pageEnd:r.pageEnd,depth:r.depth}),n.push(r.title)}return t}function gt(){let e=`s`;for(;e.length<vt+1;){let t=C(16);for(let n=0;n<t.length&&e.length<vt+1;n++){let r=t[n];r!==void 0&&r<yt&&(e+=_t.charAt(r%_t.length))}}return e}const _t=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,vt=8,yt=248;function bt(e,t){let n=t?.title??xt(t)??`doc-${e.slice(0,8)}`;return{id:gt(),type:`pdf`,title:n,contentKey:e,docId:e,...t?.path!==void 0&&{path:t.path},...t?.url!==void 0&&{url:t.url}}}function xt(e){if(e?.path)return r(e.path);if(e?.url)try{let t=new URL(e.url).pathname.split(`/`).filter(Boolean).pop();if(t)return t}catch{}}async function St(e,t){if(t&&(t.path!==void 0||t.url!==void 0))return bt(e,{...t.path!==void 0&&{path:t.path},...t.url!==void 0&&{url:t.url}});let n=await rt(e);return bt(e,{...n?.sourceUrl&&{url:n.sourceUrl},...n?.filePath&&{path:n.filePath}})}const Ct=100*1024*1024;async function wt(e,t){let n=new URL(e);if(![`http:`,`https:`].includes(n.protocol))throw Error(`Unsupported protocol: ${n.protocol}`);let r=await ze(e,{headers:{...j,Accept:`application/pdf,*/*`},abortSignal:t});if(!r.ok)throw Error(`HTTP ${r.status} ${r.statusText}`);let i=r.headers.get(`content-length`);if(i&&parseInt(i,10)>Ct)throw Error(`PDF exceeds ${Ct/1024/1024}MB size limit`);let a=await Ve(r,Ct);if(a===null)throw Error(`PDF exceeds ${Ct/1024/1024}MB size limit`);return a}async function L(e,t){return St(e,{...t.url!==void 0&&{url:t.url},...t.filePath!==void 0&&{path:t.filePath}})}async function Tt(e,t,n){if(!t.url&&!t.filePath)throw Error(`Either url or filePath is required`);if(t.url&&t.filePath)throw Error(`Provide exactly one of url or filePath`);let r;if(t.url)r=await wt(t.url,n);else{if(!e)throw Error(`resources is required when filePath is provided`);let n=await u(await N(t.filePath,e));if(r=new Uint8Array(n),r.byteLength>Ct)throw Error(`PDF exceeds ${Ct/1024/1024}MB size limit`)}let i=ct(r),a=await rt(i);if(a){let e=!1;return t.url&&!a.sourceUrl&&(a.sourceUrl=t.url,e=!0),t.filePath&&!a.filePath&&(a.filePath=t.filePath,e=!0),e&&await it(a),{docId:a.docId,pageCount:a.pageCount,outline:a.outline.map(e=>({title:e.title,pageStart:e.pageStart,depth:e.depth})),_sources:[await L(a.docId,t)]}}let o=new Uint8Array(r);n?.throwIfAborted();let s=await I(r);try{let e=await dt(s),n=await pt(s,1,s.numPages),r=mt(e,s.numPages),a=n.map(e=>({page:e.pageNum,text:e.text,section:r.get(e.pageNum)??null})),c={docId:i,sourceUrl:t.url??null,filePath:t.filePath??null,pageCount:s.numPages,outline:e,pages:a};return await at(i,o),await it(c),{docId:c.docId,pageCount:c.pageCount,outline:c.outline.map(e=>({title:e.title,pageStart:e.pageStart,depth:e.depth})),_sources:[await L(c.docId,t)]}}finally{s.destroy()}}const Et={name:`open_document`,description:`Open a PDF from a URL or local file path. Extracts text and table of contents. Returns a doc_id for use with grep_document and read_document.`,inputSchema:w.object({url:w.string().url().max(4096).optional().describe(`URL of the PDF to open`),filePath:w.string().max(4096).optional().describe(`Local file path of the PDF to open`)})};function Dt(e){if(!e)return{};let t={"x-posthog-trace-id":e.traceId};return e.sessionId&&(t[`x-posthog-ai-session-id`]=e.sessionId),e.appSessionId&&(t[`x-posthog-session-id`]=e.appSessionId),t}async function Ot(e,t){let n=await I(new Uint8Array(e));try{return await n.extractPages([{document:null,includePages:t}])}finally{await n.destroy()}}function kt(e){let t=e.split(`-`),n=parseInt(t[0],10),r=t.length>1?parseInt(t[1],10):n;if(Number.isNaN(n)||Number.isNaN(r))throw Error(`Invalid page range format: "${e}"`);return{start:n,end:r}}async function At(e,t,n,r){r?.throwIfAborted();let i=await Ot(t,n);return r?.throwIfAborted(),{pages:(await Mt(e,i,n.length===1?`0`:`0-${n.length-1}`,r)).pages.map(e=>({...e,page:n[e.page],blocks:e.blocks.map(e=>({...e,page:n[e.page]}))}))}}async function jt(e,t,n){let r=await rt(t.docId);if(!r)throw Error(`Unknown document: ${t.docId}`);let{start:i,end:a}=kt(t.pageRange);if(i<0||a>=r.pageCount||i>a)throw Error(`Invalid page range "${t.pageRange}" for document with ${r.pageCount} pages (0-indexed)`);let o=Array.from({length:a-i+1},(e,t)=>i+t),s=[],c=[];for(let e of o){n?.throwIfAborted();let r=await st(t.docId,e);r?s.push(r):c.push(e)}if(c.length===0)return{pages:s};let l=await ot(t.docId);if(!l)throw Error(`Cached PDF not found for document ${t.docId}. Re-open the document.`);let u=await At(e,l,c,n);for(let e of u.pages)await F(t.docId,e);return{pages:[...s,...u.pages].sort((e,t)=>e.page-t.page)}}async function Mt(e,t,n,r){let i=new FormData;i.append(`file`,new Blob([t],{type:`application/pdf`}),`document.pdf`),i.append(`pageRange`,n);let a=await e.resolveToken(),o=await fetch(`${e.proxyUrl}/proxy/read_pdf`,{method:`POST`,headers:{authorization:`Bearer ${a}`,...Dt(e.traceContext)},body:i,signal:Be(12e4,r)});if(!o.ok){let e=await o.text().catch(()=>``);throw Error(`Proxy read_pdf failed (${o.status}): ${e.slice(0,500)}`)}return await o.json()}const Nt={name:`read_document`,description:`Extract structured content (tables, formatted text) from specific pages of an opened document. Returns HTML blocks per page. Use open_document first to get a doc_id.`,inputSchema:w.object({docId:w.string().regex(/^[0-9a-f]{64}$/).describe(`Document ID returned by open_document`),pageRange:w.string().max(20).regex(/^\d+(-\d+)?$/).describe(`Page range to read (0-indexed, e.g. '0' for first page, '0-4' for first 5 pages)`)})};var R=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0})})),z=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.types=void 0,(function(e){e[e.ROOT=0]=`ROOT`,e[e.GROUP=1]=`GROUP`,e[e.POSITION=2]=`POSITION`,e[e.SET=3]=`SET`,e[e.RANGE=4]=`RANGE`,e[e.REPETITION=5]=`REPETITION`,e[e.REFERENCE=6]=`REFERENCE`,e[e.CHAR=7]=`CHAR`})(e.types||={})})),Pt=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0})})),Ft=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),n(R(),e),n(z(),e),n(Pt(),e)})),It=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.anyChar=e.notWhitespace=e.whitespace=e.notInts=e.ints=e.notWords=e.words=void 0;let t=Ft(),n=()=>[{type:t.types.RANGE,from:48,to:57}],r=()=>[{type:t.types.CHAR,value:95},{type:t.types.RANGE,from:97,to:122},{type:t.types.RANGE,from:65,to:90},{type:t.types.RANGE,from:48,to:57}],i=()=>[{type:t.types.CHAR,value:9},{type:t.types.CHAR,value:10},{type:t.types.CHAR,value:11},{type:t.types.CHAR,value:12},{type:t.types.CHAR,value:13},{type:t.types.CHAR,value:32},{type:t.types.CHAR,value:160},{type:t.types.CHAR,value:5760},{type:t.types.RANGE,from:8192,to:8202},{type:t.types.CHAR,value:8232},{type:t.types.CHAR,value:8233},{type:t.types.CHAR,value:8239},{type:t.types.CHAR,value:8287},{type:t.types.CHAR,value:12288},{type:t.types.CHAR,value:65279}],a=()=>[{type:t.types.CHAR,value:10},{type:t.types.CHAR,value:13},{type:t.types.CHAR,value:8232},{type:t.types.CHAR,value:8233}];e.words=()=>({type:t.types.SET,set:r(),not:!1}),e.notWords=()=>({type:t.types.SET,set:r(),not:!0}),e.ints=()=>({type:t.types.SET,set:n(),not:!1}),e.notInts=()=>({type:t.types.SET,set:n(),not:!0}),e.whitespace=()=>({type:t.types.SET,set:i(),not:!1}),e.notWhitespace=()=>({type:t.types.SET,set:i(),not:!0}),e.anyChar=()=>({type:t.types.SET,set:a(),not:!0})})),Lt=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.tokenizeClass=e.strToChars=void 0;let i=Ft(),a=r(It());e.strToChars=e=>e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(e,t,n,r,i,a,o)=>{if(n)return e;let s=t?8:r?parseInt(r,16):i?parseInt(i,16):a?`@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?`.indexOf(a):{0:0,t:9,n:10,v:11,f:12,r:13}[o],c=String.fromCharCode(s);return/[[\]{}^$.|?*+()]/.test(c)?`\\${c}`:c}),e.tokenizeClass=(e,t)=>{let n=[],r,o,s=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(((?:\\)])|(((?:\\)?([^\]])))))|(\])|(?:\\)?([^])/g;for(;(r=s.exec(e))!==null;){let e=(r[1]&&a.words())??(r[2]&&a.ints())??(r[3]&&a.whitespace())??(r[4]&&a.notWords())??(r[5]&&a.notInts())??(r[6]&&a.notWhitespace())??(r[7]&&{type:i.types.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:(o=r[10]).charCodeAt(o.length-1)})??((o=r[16])&&{type:i.types.CHAR,value:o.charCodeAt(0)});if(e)n.push(e);else return[n,s.lastIndex]}throw SyntaxError(`Invalid regular expression: /${t}/: Unterminated character class`)}})),Rt=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.tokenizer=void 0;let i=r(Lt()),a=Ft(),o=r(It()),s=/^[a-zA-Z_$]$/i,c=/^[a-zA-Z0-9_$]$/i,l=/\d/;e.tokenizer=e=>{let t=0,n,r={type:a.types.ROOT,stack:[]},d=r,f=r.stack,p=[],m=[],h=0,g=t=>{throw SyntaxError(`Invalid regular expression: /${e}/: Nothing to repeat at column ${t-1}`)},_=i.strToChars(e);for(;t<_.length;)switch(n=_[t++]){case`\\`:if(t===_.length)throw SyntaxError(`Invalid regular expression: /${e}/: \\ at end of pattern`);switch(n=_[t++]){case`b`:f.push({type:a.types.POSITION,value:`b`});break;case`B`:f.push({type:a.types.POSITION,value:`B`});break;case`w`:f.push(o.words());break;case`W`:f.push(o.notWords());break;case`d`:f.push(o.ints());break;case`D`:f.push(o.notInts());break;case`s`:f.push(o.whitespace());break;case`S`:f.push(o.notWhitespace());break;default:if(l.test(n)){let e=n;for(;t<_.length&&l.test(_[t]);)e+=_[t++];let r=parseInt(e,10),i={type:a.types.REFERENCE,value:r};f.push(i),m.push({reference:i,stack:f,index:f.length-1})}else f.push({type:a.types.CHAR,value:n.charCodeAt(0)})}break;case`^`:f.push({type:a.types.POSITION,value:`^`});break;case`$`:f.push({type:a.types.POSITION,value:`$`});break;case`[`:{let n;_[t]===`^`?(n=!0,t++):n=!1;let r=i.tokenizeClass(_.slice(t),e);t+=r[1],f.push({type:a.types.SET,set:r[0],not:n});break}case`.`:f.push(o.anyChar());break;case`(`:{let r={type:a.types.GROUP,stack:[],remember:!0};if(_[t]===`?`)if(n=_[t+1],t+=2,n===`=`)r.followedBy=!0,r.remember=!1;else if(n===`!`)r.notFollowedBy=!0,r.remember=!1;else if(n===`<`){let n=``;if(s.test(_[t]))n+=_[t],t++;else throw SyntaxError(`Invalid regular expression: /${e}/: Invalid capture group name, character '${_[t]}' after '<' at column ${t+1}`);for(;t<_.length&&c.test(_[t]);)n+=_[t],t++;if(!n)throw SyntaxError(`Invalid regular expression: /${e}/: Invalid capture group name, character '${_[t]}' after '<' at column ${t+1}`);if(_[t]!==`>`)throw SyntaxError(`Invalid regular expression: /${e}/: Unclosed capture group name, expected '>', found '${_[t]}' at column ${t+1}`);r.name=n,t++}else if(n===`:`)r.remember=!1;else throw SyntaxError(`Invalid regular expression: /${e}/: Invalid group, character '${n}' after '?' at column ${t-1}`);else h+=1;f.push(r),p.push(d),d=r,f=r.stack;break}case`)`:if(p.length===0)throw SyntaxError(`Invalid regular expression: /${e}/: Unmatched ) at column ${t-1}`);d=p.pop(),f=d.options?d.options[d.options.length-1]:d.stack;break;case`|`:{d.options||(d.options=[d.stack],delete d.stack);let e=[];d.options.push(e),f=e;break}case`{`:{let e=/^(\d+)(,(\d+)?)?\}/.exec(_.slice(t)),n,r;e===null?f.push({type:a.types.CHAR,value:123}):(f.length===0&&g(t),n=parseInt(e[1],10),r=e[2]?e[3]?parseInt(e[3],10):1/0:n,t+=e[0].length,f.push({type:a.types.REPETITION,min:n,max:r,value:f.pop()}));break}case`?`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:0,max:1,value:f.pop()});break;case`+`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:1,max:1/0,value:f.pop()});break;case`*`:f.length===0&&g(t),f.push({type:a.types.REPETITION,min:0,max:1/0,value:f.pop()});break;default:f.push({type:a.types.CHAR,value:n.charCodeAt(0)})}if(p.length!==0)throw SyntaxError(`Invalid regular expression: /${e}/: Unterminated group`);return u(m,h),r};function u(e,t){for(let n of e.reverse())if(t<n.reference.value){n.reference.type=a.types.CHAR;let e=n.reference.value.toString();if(n.reference.value=parseInt(e,8),!/^[0-7]+$/.test(e)){let t=0;for(;e[t]!==`8`&&e[t]!==`9`;)t+=1;if(t===0?(n.reference.value=e.charCodeAt(0),t+=1):n.reference.value=parseInt(e.slice(0,t),8),e.length>t){let r=n.stack.splice(n.index+1);for(let r of e.slice(t))n.stack.push({type:a.types.CHAR,value:r.charCodeAt(0)});n.stack.push(...r)}}}}})),B=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.NOTANYCHAR=e.WHITESPACE=e.WORDS=e.INTS=void 0;let i=r(It()),a=Ft();function o(e){let t={},n=0;for(let r of e)r.type===a.types.CHAR&&(t[r.value]=!0),r.type===a.types.RANGE&&(t[`${r.from}-${r.to}`]=!0),n+=1;return{lookup:()=>Object.assign({},t),len:n}}e.INTS=o(i.ints().set),e.WORDS=o(i.words().set),e.WHITESPACE=o(i.whitespace().set),e.NOTANYCHAR=o(i.anyChar().set)})),zt=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeSetTokens=e.setChar=void 0;let i=Ft(),a=r(B());function o(e){return e===94?`\\^`:e===92?`\\\\`:e===93?`\\]`:e===45?`\\-`:String.fromCharCode(e)}e.setChar=o;function s(e,{lookup:t,len:n}){if(n!==e.length)return!1;let r=t();for(let t of e){if(t.type===i.types.SET)return!1;let e=t.type===i.types.CHAR?t.value:`${t.from}-${t.to}`;if(r[e])r[e]=!1;else return!1}return!0}function c(e,t=!1){if(s(e.set,a.INTS))return e.not?`\\D`:`\\d`;if(s(e.set,a.WORDS))return e.not?`\\W`:`\\w`;if(e.not&&s(e.set,a.NOTANYCHAR))return`.`;if(s(e.set,a.WHITESPACE))return e.not?`\\S`:`\\s`;let n=``;for(let t=0;t<e.set.length;t++){let r=e.set[t];n+=l(r)}let r=`${e.not?`^`:``}${n}`;return t?r:`[${r}]`}e.writeSetTokens=c;function l(e){return e.type===i.types.CHAR?o(e.value):e.type===i.types.RANGE?`${o(e.from)}-${o(e.to)}`:c(e,!0)}})),Bt=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reconstruct=void 0;let t=Ft(),n=zt(),r=t=>t.map(e.reconstruct).join(``),i=e=>{if(`options`in e)return e.options.map(r).join(`|`);if(`stack`in e)return r(e.stack);throw Error(`options or stack must be Root or Group token`)};e.reconstruct=r=>{switch(r.type){case t.types.ROOT:return i(r);case t.types.CHAR:{let e=String.fromCharCode(r.value);return(/[[\\{}$^.|?*+()]/.test(e)?`\\`:``)+e}case t.types.POSITION:return r.value===`^`||r.value===`$`?r.value:`\\${r.value}`;case t.types.REFERENCE:return`\\${r.value}`;case t.types.SET:return n.writeSetTokens(r);case t.types.GROUP:return`(${r.name?`?<${r.name}>`:r.remember?``:r.followedBy?`?=`:r.notFollowedBy?`?!`:`?:`}${i(r)})`;case t.types.REPETITION:{let{min:t,max:n}=r,i;return i=t===0&&n===1?`?`:t===1&&n===1/0?`+`:t===0&&n===1/0?`*`:n===1/0?`{${t},}`:t===n?`{${t}}`:`{${t},${n}}`,`${e.reconstruct(r.value)}${i}`}case t.types.RANGE:return`${n.setChar(r.from)}-${n.setChar(r.to)}`;default:throw Error(`Invalid token type ${r}`)}}})),Vt=O(((e,t)=>{var n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__exportStar||function(e,t){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.types=void 0;let i=Ft();Object.defineProperty(e,`types`,{enumerable:!0,get:function(){return i.types}}),r(Rt(),e),r(Bt(),e);let a=Rt(),o=Bt();r(Ft(),e),e.default=a.tokenizer,t.exports=a.tokenizer,t.exports.types=i.types,t.exports.reconstruct=o.reconstruct})),Ht=ae(O(((e,t)=>{let n=Vt(),{types:r}=Vt();function i(e,t,n){let a,o,s;if(e.type===r.REPETITION&&(n++,t.reps++,n>1||t.reps>t.limit))return!1;if(e.options){for(a=0,s=e.options.length;a<s;a++)if(o=i({stack:e.options[a]},t,n),!o)return!1}let c=e.stack||e.value?.stack;if(!c)return!0;for(a=0,s=c.length;a<s;a++)if(o=i(c[a],t,n),!o)return!1;return!0}function a(e,t){let r={reps:0,limit:t?.limit??25};o(e)?e=e.source:typeof e!=`string`&&(e=String(e));try{return i(n(e),r,0)}catch{return!1}}function o(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports=a,t.exports.default=a,t.exports.safeRegex=a}))(),1);async function Ut(e,t){let n=await rt(e.docId);if(!n)throw Error(`Unknown document: ${e.docId}`);let r=e.pattern.trim();if(!r)return{hits:[],_sources:[await St(e.docId)]};if(r.length>500)throw Error(`Pattern too long (${r.length} chars, max 500)`);let i;try{i=new RegExp(r,`i`)}catch(e){throw Error(`Invalid regex pattern: ${e.message}`)}if(!(0,Ht.default)(i))throw Error(`Regex pattern rejected: potentially vulnerable to ReDoS. Simplify the pattern.`);if(e.pageStart!==void 0&&e.pageEnd!==void 0&&e.pageStart>e.pageEnd)throw Error(`pageEnd (${e.pageEnd}) must be >= pageStart (${e.pageStart})`);let a=e.limit??20,o=[];for(let r of n.pages){if(t?.throwIfAborted(),e.pageStart!==void 0&&r.page<e.pageStart||e.pageEnd!==void 0&&r.page>e.pageEnd)continue;let n=r.text.replace(/\s+/g,` `),s=0;for(;s<n.length;){let e=n.slice(s),t=i.exec(e);if(!t)break;let c=s+t.index,l=t[0].length,u=Math.max(0,c-80),d=Math.min(n.length,c+l+80),f=n.slice(u,d);if(u>0&&(f=`...${f}`),d<n.length&&(f=`${f}...`),o.push({page:r.page,snippet:f,section:r.section}),o.length>=a)break;s=c+Math.max(1,l)}if(o.length>=a)break}return{hits:o,_sources:[await St(e.docId)]}}const Wt={name:`grep_document`,description:`Search within an opened document using a regex pattern. Returns matching pages with snippets and section context. Use open_document first to get a doc_id.`,inputSchema:w.object({docId:w.string().regex(/^[0-9a-f]{64}$/).describe(`Document ID returned by open_document`),pattern:w.string().trim().min(1).max(500).describe(`Regex pattern to search for (case-insensitive)`),pageStart:w.number().int().min(0).optional().describe(`Start page (0-indexed, inclusive)`),pageEnd:w.number().int().min(0).optional().describe(`End page (0-indexed, inclusive)`),limit:w.number().int().min(1).max(100).optional().describe(`Maximum number of results (default 20)`)})};var Gt=O(((e,t)=>{function n(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw Error(`First argument to Readability constructor should be a document object.`);if(t||={},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._metadata={},this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._serializer=t.serializer||function(e){return e.innerHTML},this._disableJSONLD=!!t.disableJSONLD,this._allowedVideoRegex=t.allowedVideoRegex||this.REGEXPS.videos,this._linkDensityModifier=t.linkDensityModifier||0,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let e=function(e){if(e.nodeType==e.TEXT_NODE)return`${e.nodeName} ("${e.textContent}")`;let t=Array.from(e.attributes||[],function(e){return`${e.name}="${e.value}"`}).join(` `);return`<${e.localName} ${t}>`};this.log=function(){if(typeof console<`u`){let t=Array.from(arguments,t=>t&&t.nodeType==this.ELEMENT_NODE?e(t):t);t.unshift(`Reader: (Readability)`),console.log(...t)}else if(typeof dump<`u`){var t=Array.prototype.map.call(arguments,function(t){return t&&t.nodeName?e(t):t}).join(` `);dump(`Reader: (Readability) `+t+`
|
|
5
|
+
`)}}}else this.log=function(){}}n.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:`SECTION,H2,H3,H4,H5,H6,P,TD,PRE`.split(`,`),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|footer|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i,commas:/\u002C|\u060C|\uFE50|\uFE10|\uFE11|\u2E41|\u2E34|\u2E32|\uFF0C/g,jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/,adWords:/^(ad(vertising|vertisement)?|pub(licité)?|werb(ung)?|广告|Реклама|Anuncio)$/iu,loadingWords:/^((loading|正在加载|Загрузка|chargement|cargando)(…|\.\.\.)?)$/iu},UNLIKELY_ROLES:[`menu`,`menubar`,`complementary`,`navigation`,`alert`,`alertdialog`,`dialog`],DIV_TO_P_ELEMS:new Set([`BLOCKQUOTE`,`DL`,`DIV`,`IMG`,`OL`,`P`,`PRE`,`TABLE`,`UL`]),ALTER_TO_DIV_EXCEPTIONS:[`DIV`,`ARTICLE`,`SECTION`,`P`,`OL`,`UL`],PRESENTATIONAL_ATTRIBUTES:[`align`,`background`,`bgcolor`,`border`,`cellpadding`,`cellspacing`,`frame`,`hspace`,`rules`,`style`,`valign`,`vspace`],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:[`TABLE`,`TH`,`TD`,`HR`,`PRE`],PHRASING_ELEMS:`ABBR.AUDIO.B.BDO.BR.BUTTON.CITE.CODE.DATA.DATALIST.DFN.EM.EMBED.I.IMG.INPUT.KBD.LABEL.MARK.MATH.METER.NOSCRIPT.OBJECT.OUTPUT.PROGRESS.Q.RUBY.SAMP.SCRIPT.SELECT.SMALL.SPAN.STRONG.SUB.SUP.TEXTAREA.TIME.VAR.WBR`.split(`.`),CLASSES_TO_PRESERVE:[`page`],HTML_ESCAPE_MAP:{lt:`<`,gt:`>`,amp:`&`,quot:`"`,apos:`'`},_postProcessContent(e){this._fixRelativeUris(e),this._simplifyNestedElements(e),this._keepClasses||this._cleanClasses(e)},_removeNodes(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error(`Do not pass live node lists to _removeNodes`);for(var n=e.length-1;n>=0;n--){var r=e[n],i=r.parentNode;i&&(!t||t.call(this,r,n,e))&&i.removeChild(r)}},_replaceNodeTags(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error(`Do not pass live node lists to _replaceNodeTags`);for(let n of e)this._setNodeTag(n,t)},_forEachNode(e,t){Array.prototype.forEach.call(e,t,this)},_findNode(e,t){return Array.prototype.find.call(e,t,this)},_someNode(e,t){return Array.prototype.some.call(e,t,this)},_everyNode(e,t){return Array.prototype.every.call(e,t,this)},_getAllNodesWithTag(e,t){return e.querySelectorAll?e.querySelectorAll(t.join(`,`)):[].concat.apply([],t.map(function(t){var n=e.getElementsByTagName(t);return Array.isArray(n)?n:Array.from(n)}))},_cleanClasses(e){var t=this._classesToPreserve,n=(e.getAttribute(`class`)||``).split(/\s+/).filter(e=>t.includes(e)).join(` `);for(n?e.setAttribute(`class`,n):e.removeAttribute(`class`),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)},_isUrl(e){try{return new URL(e),!0}catch{return!1}},_fixRelativeUris(e){var t=this._doc.baseURI,n=this._doc.documentURI;function r(e){if(t==n&&e.charAt(0)==`#`)return e;try{return new URL(e,t).href}catch{}return e}var i=this._getAllNodesWithTag(e,[`a`]);this._forEachNode(i,function(e){var t=e.getAttribute(`href`);if(t)if(t.indexOf(`javascript:`)===0)if(e.childNodes.length===1&&e.childNodes[0].nodeType===this.TEXT_NODE){var n=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(n,e)}else{for(var i=this._doc.createElement(`span`);e.firstChild;)i.appendChild(e.firstChild);e.parentNode.replaceChild(i,e)}else e.setAttribute(`href`,r(t))});var a=this._getAllNodesWithTag(e,[`img`,`picture`,`figure`,`video`,`audio`,`source`]);this._forEachNode(a,function(e){var t=e.getAttribute(`src`),n=e.getAttribute(`poster`),i=e.getAttribute(`srcset`);if(t&&e.setAttribute(`src`,r(t)),n&&e.setAttribute(`poster`,r(n)),i){var a=i.replace(this.REGEXPS.srcsetUrl,function(e,t,n,i){return r(t)+(n||``)+i});e.setAttribute(`srcset`,a)}})},_simplifyNestedElements(e){for(var t=e;t;){if(t.parentNode&&[`DIV`,`SECTION`].includes(t.tagName)&&!(t.id&&t.id.startsWith(`readability`))){if(this._isElementWithoutContent(t)){t=this._removeAndGetNext(t);continue}else if(this._hasSingleTagInsideElement(t,`DIV`)||this._hasSingleTagInsideElement(t,`SECTION`)){for(var n=t.children[0],r=0;r<t.attributes.length;r++)n.setAttributeNode(t.attributes[r].cloneNode());t.parentNode.replaceChild(n,t),t=n;continue}}t=this._getNextNode(t)}},_getArticleTitle(){var e=this._doc,t=``,n=``;try{t=n=e.title.trim(),typeof t!=`string`&&(t=n=this._getInnerText(e.getElementsByTagName(`title`)[0]))}catch{}var r=!1;function i(e){return e.split(/\s+/).length}if(/ [\|\-\\\/>»] /.test(t)){r=/ [\\\/>»] /.test(t);let e=Array.from(n.matchAll(/ [\|\-\\\/>»] /gi));t=n.substring(0,e.pop().index),i(t)<3&&(t=n.replace(/^[^\|\-\\\/>»]*[\|\-\\\/>»]/gi,``))}else if(t.includes(`: `)){var a=this._getAllNodesWithTag(e,[`h1`,`h2`]),o=t.trim();this._someNode(a,function(e){return e.textContent.trim()===o})||(t=n.substring(n.lastIndexOf(`:`)+1),i(t)<3?t=n.substring(n.indexOf(`:`)+1):i(n.substr(0,n.indexOf(`:`)))>5&&(t=n))}else if(t.length>150||t.length<15){var s=e.getElementsByTagName(`h1`);s.length===1&&(t=this._getInnerText(s[0]))}t=t.trim().replace(this.REGEXPS.normalize,` `);var c=i(t);return c<=4&&(!r||c!=i(n.replace(/[\|\-\\\/>»]+/g,``))-1)&&(t=n),t},_prepDocument(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,[`style`])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,[`font`]),`SPAN`)},_nextNode(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t},_replaceBrs(e){this._forEachNode(this._getAllNodesWithTag(e,[`br`]),function(e){for(var t=e.nextSibling,n=!1;(t=this._nextNode(t))&&t.tagName==`BR`;){n=!0;var r=t.nextSibling;t.remove(),t=r}if(n){var i=this._doc.createElement(`p`);for(e.parentNode.replaceChild(i,e),t=i.nextSibling;t;){if(t.tagName==`BR`){var a=this._nextNode(t.nextSibling);if(a&&a.tagName==`BR`)break}if(!this._isPhrasingContent(t))break;var o=t.nextSibling;i.appendChild(t),t=o}for(;i.lastChild&&this._isWhitespace(i.lastChild);)i.lastChild.remove();i.parentNode.tagName===`P`&&this._setNodeTag(i.parentNode,`DIV`)}})},_setNodeTag(e,t){if(this.log(`_setNodeTag`,e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e),e.readability&&(n.readability=e.readability);for(var r=0;r<e.attributes.length;r++)n.setAttributeNode(e.attributes[r].cloneNode());return n},_prepArticle(e){this._cleanStyles(e),this._markDataTables(e),this._fixLazyImages(e),this._cleanConditionally(e,`form`),this._cleanConditionally(e,`fieldset`),this._clean(e,`object`),this._clean(e,`embed`),this._clean(e,`footer`),this._clean(e,`link`),this._clean(e,`aside`);var t=this.DEFAULT_CHAR_THRESHOLD;this._forEachNode(e.children,function(e){this._cleanMatchedNodes(e,function(e,n){return this.REGEXPS.shareElements.test(n)&&e.textContent.length<t})}),this._clean(e,`iframe`),this._clean(e,`input`),this._clean(e,`textarea`),this._clean(e,`select`),this._clean(e,`button`),this._cleanHeaders(e),this._cleanConditionally(e,`table`),this._cleanConditionally(e,`ul`),this._cleanConditionally(e,`div`),this._replaceNodeTags(this._getAllNodesWithTag(e,[`h1`]),`h2`),this._removeNodes(this._getAllNodesWithTag(e,[`p`]),function(e){return this._getAllNodesWithTag(e,[`img`,`embed`,`object`,`iframe`]).length===0&&!this._getInnerText(e,!1)}),this._forEachNode(this._getAllNodesWithTag(e,[`br`]),function(e){var t=this._nextNode(e.nextSibling);t&&t.tagName==`P`&&e.remove()}),this._forEachNode(this._getAllNodesWithTag(e,[`table`]),function(e){var t=this._hasSingleTagInsideElement(e,`TBODY`)?e.firstElementChild:e;if(this._hasSingleTagInsideElement(t,`TR`)){var n=t.firstElementChild;if(this._hasSingleTagInsideElement(n,`TD`)){var r=n.firstElementChild;r=this._setNodeTag(r,this._everyNode(r.childNodes,this._isPhrasingContent)?`P`:`DIV`),e.parentNode.replaceChild(r,e)}}})},_initializeNode(e){switch(e.readability={contentScore:0},e.tagName){case`DIV`:e.readability.contentScore+=5;break;case`PRE`:case`TD`:case`BLOCKQUOTE`:e.readability.contentScore+=3;break;case`ADDRESS`:case`OL`:case`UL`:case`DL`:case`DD`:case`DT`:case`LI`:case`FORM`:e.readability.contentScore-=3;break;case`H1`:case`H2`:case`H3`:case`H4`:case`H5`:case`H6`:case`TH`:e.readability.contentScore-=5;break}e.readability.contentScore+=this._getClassWeight(e)},_removeAndGetNext(e){var t=this._getNextNode(e,!0);return e.remove(),t},_getNextNode(e,t){if(!t&&e.firstElementChild)return e.firstElementChild;if(e.nextElementSibling)return e.nextElementSibling;do e=e.parentNode;while(e&&!e.nextElementSibling);return e&&e.nextElementSibling},_textSimilarity(e,t){var n=e.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean),r=t.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean);return!n.length||!r.length?0:1-r.filter(e=>!n.includes(e)).join(` `).length/r.join(` `).length},_isValidByline(e,t){var n=e.getAttribute(`rel`),r=e.getAttribute(`itemprop`),i=e.textContent.trim().length;return(n===`author`||r&&r.includes(`author`)||this.REGEXPS.byline.test(t))&&!!i&&i<100},_getNodeAncestors(e,t){t||=0;for(var n=0,r=[];e.parentNode&&(r.push(e.parentNode),!(t&&++n===t));)e=e.parentNode;return r},_grabArticle(e){this.log(`**** grabArticle ****`);var t=this._doc,n=e!==null;if(e||=this._doc.body,!e)return this.log(`No body found in document. Abort.`),null;for(var r=e.innerHTML;;){this.log(`Starting grabArticle loop`);var i=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),a=[],o=this._doc.documentElement;let ye=!0;for(;o;){o.tagName===`HTML`&&(this._articleLang=o.getAttribute(`lang`));var s=o.className+` `+o.id;if(!this._isProbablyVisible(o)){this.log(`Removing hidden node - `+s),o=this._removeAndGetNext(o);continue}if(o.getAttribute(`aria-modal`)==`true`&&o.getAttribute(`role`)==`dialog`){o=this._removeAndGetNext(o);continue}if(!this._articleByline&&!this._metadata.byline&&this._isValidByline(o,s)){for(var c=this._getNextNode(o,!0),l=this._getNextNode(o),u=null;l&&l!=c;){var d=l.getAttribute(`itemprop`);if(d&&d.includes(`name`)){u=l;break}else l=this._getNextNode(l)}this._articleByline=(u??o).textContent.trim(),o=this._removeAndGetNext(o);continue}if(ye&&this._headerDuplicatesTitle(o)){this.log(`Removing header: `,o.textContent.trim(),this._articleTitle.trim()),ye=!1,o=this._removeAndGetNext(o);continue}if(i){if(this.REGEXPS.unlikelyCandidates.test(s)&&!this.REGEXPS.okMaybeItsACandidate.test(s)&&!this._hasAncestorTag(o,`table`)&&!this._hasAncestorTag(o,`code`)&&o.tagName!==`BODY`&&o.tagName!==`A`){this.log(`Removing unlikely candidate - `+s),o=this._removeAndGetNext(o);continue}if(this.UNLIKELY_ROLES.includes(o.getAttribute(`role`))){this.log(`Removing content with role `+o.getAttribute(`role`)+` - `+s),o=this._removeAndGetNext(o);continue}}if((o.tagName===`DIV`||o.tagName===`SECTION`||o.tagName===`HEADER`||o.tagName===`H1`||o.tagName===`H2`||o.tagName===`H3`||o.tagName===`H4`||o.tagName===`H5`||o.tagName===`H6`)&&this._isElementWithoutContent(o)){o=this._removeAndGetNext(o);continue}if(this.DEFAULT_TAGS_TO_SCORE.includes(o.tagName)&&a.push(o),o.tagName===`DIV`){for(var f=null,p=o.firstChild;p;){var m=p.nextSibling;if(this._isPhrasingContent(p))f===null?this._isWhitespace(p)||(f=t.createElement(`p`),o.replaceChild(f,p),f.appendChild(p)):f.appendChild(p);else if(f!==null){for(;f.lastChild&&this._isWhitespace(f.lastChild);)f.lastChild.remove();f=null}p=m}if(this._hasSingleTagInsideElement(o,`P`)&&this._getLinkDensity(o)<.25){var h=o.children[0];o.parentNode.replaceChild(h,o),o=h,a.push(o)}else this._hasChildBlockElement(o)||(o=this._setNodeTag(o,`P`),a.push(o))}o=this._getNextNode(o)}var g=[];this._forEachNode(a,function(e){if(!(!e.parentNode||e.parentNode.tagName===void 0)){var t=this._getInnerText(e);if(!(t.length<25)){var n=this._getNodeAncestors(e,5);if(n.length!==0){var r=0;r+=1,r+=t.split(this.REGEXPS.commas).length,r+=Math.min(Math.floor(t.length/100),3),this._forEachNode(n,function(e,t){if(!(!e.tagName||!e.parentNode||e.parentNode.tagName===void 0)){if(e.readability===void 0&&(this._initializeNode(e),g.push(e)),t===0)var n=1;else n=t===1?2:t*3;e.readability.contentScore+=r/n}})}}}});for(var _=[],v=0,y=g.length;v<y;v+=1){var b=g[v],x=b.readability.contentScore*(1-this._getLinkDensity(b));b.readability.contentScore=x,this.log(`Candidate:`,b,`with score `+x);for(var S=0;S<this._nbTopCandidates;S++){var C=_[S];if(!C||x>C.readability.contentScore){_.splice(S,0,b),_.length>this._nbTopCandidates&&_.pop();break}}}var w=_[0]||null,T=!1,E;if(w===null||w.tagName===`BODY`){for(w=t.createElement(`DIV`),T=!0;e.firstChild;)this.log(`Moving child out:`,e.firstChild),w.appendChild(e.firstChild);e.appendChild(w),this._initializeNode(w)}else if(w){for(var ee=[],te=1;te<_.length;te++)_[te].readability.contentScore/w.readability.contentScore>=.75&&ee.push(this._getNodeAncestors(_[te]));var ne=3;if(ee.length>=ne)for(E=w.parentNode;E.tagName!==`BODY`;){for(var D=0,O=0;O<ee.length&&D<ne;O++)D+=Number(ee[O].includes(E));if(D>=ne){w=E;break}E=E.parentNode}w.readability||this._initializeNode(w),E=w.parentNode;for(var re=w.readability.contentScore,ie=re/3;E.tagName!==`BODY`;){if(!E.readability){E=E.parentNode;continue}var ae=E.readability.contentScore;if(ae<ie)break;if(ae>re){w=E;break}re=E.readability.contentScore,E=E.parentNode}for(E=w.parentNode;E.tagName!=`BODY`&&E.children.length==1;)w=E,E=w.parentNode;w.readability||this._initializeNode(w)}var k=t.createElement(`DIV`);n&&(k.id=`readability-content`);var oe=Math.max(10,w.readability.contentScore*.2);E=w.parentNode;for(var se=E.children,ce=0,A=se.length;ce<A;ce++){var le=se[ce],ue=!1;if(this.log(`Looking at sibling node:`,le,le.readability?`with score `+le.readability.contentScore:``),this.log(`Sibling has score`,le.readability?le.readability.contentScore:`Unknown`),le===w)ue=!0;else{var de=0;if(le.className===w.className&&w.className!==``&&(de+=w.readability.contentScore*.2),le.readability&&le.readability.contentScore+de>=oe)ue=!0;else if(le.nodeName===`P`){var fe=this._getLinkDensity(le),pe=this._getInnerText(le),me=pe.length;(me>80&&fe<.25||me<80&&me>0&&fe===0&&pe.search(/\.( |$)/)!==-1)&&(ue=!0)}}ue&&(this.log(`Appending node:`,le),this.ALTER_TO_DIV_EXCEPTIONS.includes(le.nodeName)||(this.log(`Altering sibling:`,le,`to div.`),le=this._setNodeTag(le,`DIV`)),k.appendChild(le),se=E.children,--ce,--A)}if(this._debug&&this.log(`Article content pre-prep: `+k.innerHTML),this._prepArticle(k),this._debug&&this.log(`Article content post-prep: `+k.innerHTML),T)w.id=`readability-page-1`,w.className=`page`;else{var he=t.createElement(`DIV`);for(he.id=`readability-page-1`,he.className=`page`;k.firstChild;)he.appendChild(k.firstChild);k.appendChild(he)}this._debug&&this.log(`Article content after paging: `+k.innerHTML);var ge=!0,_e=this._getInnerText(k,!0).length;if(_e<this._charThreshold)if(ge=!1,e.innerHTML=r,this._attempts.push({articleContent:k,textLength:_e}),this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS);else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES);else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY);else{if(this._attempts.sort(function(e,t){return t.textLength-e.textLength}),!this._attempts[0].textLength)return null;k=this._attempts[0].articleContent,ge=!0}if(ge){var ve=[E,w].concat(this._getNodeAncestors(E));return this._someNode(ve,function(e){if(!e.tagName)return!1;var t=e.getAttribute(`dir`);return t?(this._articleDir=t,!0):!1}),k}}},_unescapeHtmlEntities(e){if(!e)return e;var t=this.HTML_ESCAPE_MAP;return e.replace(/&(quot|amp|apos|lt|gt);/g,function(e,n){return t[n]}).replace(/&#(?:x([0-9a-f]+)|([0-9]+));/gi,function(e,t,n){var r=parseInt(t||n,t?16:10);return(r==0||r>1114111||r>=55296&&r<=57343)&&(r=65533),String.fromCodePoint(r)})},_getJSONLD(e){var t=this._getAllNodesWithTag(e,[`script`]),n;return this._forEachNode(t,function(e){if(!n&&e.getAttribute(`type`)===`application/ld+json`)try{var t=e.textContent.replace(/^\s*<!\[CDATA\[|\]\]>\s*$/g,``),r=JSON.parse(t);if(Array.isArray(r)&&(r=r.find(e=>e[`@type`]&&e[`@type`].match(this.REGEXPS.jsonLdArticleTypes)),!r))return;var i=/^https?\:\/\/schema\.org\/?$/;if(!(typeof r[`@context`]==`string`&&r[`@context`].match(i)||typeof r[`@context`]==`object`&&typeof r[`@context`][`@vocab`]==`string`&&r[`@context`][`@vocab`].match(i))||(!r[`@type`]&&Array.isArray(r[`@graph`])&&(r=r[`@graph`].find(e=>(e[`@type`]||``).match(this.REGEXPS.jsonLdArticleTypes))),!r||!r[`@type`]||!r[`@type`].match(this.REGEXPS.jsonLdArticleTypes)))return;if(n={},typeof r.name==`string`&&typeof r.headline==`string`&&r.name!==r.headline){var a=this._getArticleTitle(),o=this._textSimilarity(r.name,a)>.75;this._textSimilarity(r.headline,a)>.75&&!o?n.title=r.headline:n.title=r.name}else typeof r.name==`string`?n.title=r.name.trim():typeof r.headline==`string`&&(n.title=r.headline.trim());r.author&&(typeof r.author.name==`string`?n.byline=r.author.name.trim():Array.isArray(r.author)&&r.author[0]&&typeof r.author[0].name==`string`&&(n.byline=r.author.filter(function(e){return e&&typeof e.name==`string`}).map(function(e){return e.name.trim()}).join(`, `))),typeof r.description==`string`&&(n.excerpt=r.description.trim()),r.publisher&&typeof r.publisher.name==`string`&&(n.siteName=r.publisher.name.trim()),typeof r.datePublished==`string`&&(n.datePublished=r.datePublished.trim())}catch(e){this.log(e.message)}}),n||{}},_getArticleMetadata(e){var t={},n={},r=this._doc.getElementsByTagName(`meta`),i=/\s*(article|dc|dcterm|og|twitter)\s*:\s*(author|creator|description|published_time|title|site_name)\s*/gi,a=/^\s*(?:(dc|dcterm|og|twitter|parsely|weibo:(article|webpage))\s*[-\.:]\s*)?(author|creator|pub-date|description|title|site_name)\s*$/i;this._forEachNode(r,function(e){var t=e.getAttribute(`name`),r=e.getAttribute(`property`),o=e.getAttribute(`content`);if(o){var s=null,c=null;r&&(s=r.match(i),s&&(c=s[0].toLowerCase().replace(/\s/g,``),n[c]=o.trim())),!s&&t&&a.test(t)&&(c=t,o&&(c=c.toLowerCase().replace(/\s/g,``).replace(/\./g,`:`),n[c]=o.trim()))}}),t.title=e.title||n[`dc:title`]||n[`dcterm:title`]||n[`og:title`]||n[`weibo:article:title`]||n[`weibo:webpage:title`]||n.title||n[`twitter:title`]||n[`parsely-title`],t.title||=this._getArticleTitle();let o=typeof n[`article:author`]==`string`&&!this._isUrl(n[`article:author`])?n[`article:author`]:void 0;return t.byline=e.byline||n[`dc:creator`]||n[`dcterm:creator`]||n.author||n[`parsely-author`]||o,t.excerpt=e.excerpt||n[`dc:description`]||n[`dcterm:description`]||n[`og:description`]||n[`weibo:article:description`]||n[`weibo:webpage:description`]||n.description||n[`twitter:description`],t.siteName=e.siteName||n[`og:site_name`],t.publishedTime=e.datePublished||n[`article:published_time`]||n[`parsely-pub-date`]||null,t.title=this._unescapeHtmlEntities(t.title),t.byline=this._unescapeHtmlEntities(t.byline),t.excerpt=this._unescapeHtmlEntities(t.excerpt),t.siteName=this._unescapeHtmlEntities(t.siteName),t.publishedTime=this._unescapeHtmlEntities(t.publishedTime),t},_isSingleImage(e){for(;e;){if(e.tagName===`IMG`)return!0;if(e.children.length!==1||e.textContent.trim()!==``)return!1;e=e.children[0]}return!1},_unwrapNoscriptImages(e){var t=Array.from(e.getElementsByTagName(`img`));this._forEachNode(t,function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t];switch(n.name){case`src`:case`srcset`:case`data-src`:case`data-srcset`:return}if(/\.(jpg|jpeg|png|webp)/i.test(n.value))return}e.remove()});var n=Array.from(e.getElementsByTagName(`noscript`));this._forEachNode(n,function(t){if(this._isSingleImage(t)){var n=e.createElement(`div`);n.innerHTML=t.innerHTML;var r=t.previousElementSibling;if(r&&this._isSingleImage(r)){var i=r;i.tagName!==`IMG`&&(i=r.getElementsByTagName(`img`)[0]);for(var a=n.getElementsByTagName(`img`)[0],o=0;o<i.attributes.length;o++){var s=i.attributes[o];if(s.value!==``&&(s.name===`src`||s.name===`srcset`||/\.(jpg|jpeg|png|webp)/i.test(s.value))){if(a.getAttribute(s.name)===s.value)continue;var c=s.name;a.hasAttribute(c)&&(c=`data-old-`+c),a.setAttribute(c,s.value)}}t.parentNode.replaceChild(n.firstElementChild,r)}}})},_removeScripts(e){this._removeNodes(this._getAllNodesWithTag(e,[`script`,`noscript`]))},_hasSingleTagInsideElement(e,t){return e.children.length!=1||e.children[0].tagName!==t?!1:!this._someNode(e.childNodes,function(e){return e.nodeType===this.TEXT_NODE&&this.REGEXPS.hasContent.test(e.textContent)})},_isElementWithoutContent(e){return e.nodeType===this.ELEMENT_NODE&&!e.textContent.trim().length&&(!e.children.length||e.children.length==e.getElementsByTagName(`br`).length+e.getElementsByTagName(`hr`).length)},_hasChildBlockElement(e){return this._someNode(e.childNodes,function(e){return this.DIV_TO_P_ELEMS.has(e.tagName)||this._hasChildBlockElement(e)})},_isPhrasingContent(e){return e.nodeType===this.TEXT_NODE||this.PHRASING_ELEMS.includes(e.tagName)||(e.tagName===`A`||e.tagName===`DEL`||e.tagName===`INS`)&&this._everyNode(e.childNodes,this._isPhrasingContent)},_isWhitespace(e){return e.nodeType===this.TEXT_NODE&&e.textContent.trim().length===0||e.nodeType===this.ELEMENT_NODE&&e.tagName===`BR`},_getInnerText(e,t){t=t===void 0?!0:t;var n=e.textContent.trim();return t?n.replace(this.REGEXPS.normalize,` `):n},_getCharCount(e,t){return t||=`,`,this._getInnerText(e).split(t).length-1},_cleanStyles(e){if(!(!e||e.tagName.toLowerCase()===`svg`)){for(var t=0;t<this.PRESENTATIONAL_ATTRIBUTES.length;t++)e.removeAttribute(this.PRESENTATIONAL_ATTRIBUTES[t]);this.DEPRECATED_SIZE_ATTRIBUTE_ELEMS.includes(e.tagName)&&(e.removeAttribute(`width`),e.removeAttribute(`height`));for(var n=e.firstElementChild;n!==null;)this._cleanStyles(n),n=n.nextElementSibling}},_getLinkDensity(e){var t=this._getInnerText(e).length;if(t===0)return 0;var n=0;return this._forEachNode(e.getElementsByTagName(`a`),function(e){var t=e.getAttribute(`href`),r=t&&this.REGEXPS.hashUrl.test(t)?.3:1;n+=this._getInnerText(e).length*r}),n/t},_getClassWeight(e){if(!this._flagIsActive(this.FLAG_WEIGHT_CLASSES))return 0;var t=0;return typeof e.className==`string`&&e.className!==``&&(this.REGEXPS.negative.test(e.className)&&(t-=25),this.REGEXPS.positive.test(e.className)&&(t+=25)),typeof e.id==`string`&&e.id!==``&&(this.REGEXPS.negative.test(e.id)&&(t-=25),this.REGEXPS.positive.test(e.id)&&(t+=25)),t},_clean(e,t){var n=[`object`,`embed`,`iframe`].includes(t);this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){if(n){for(var t=0;t<e.attributes.length;t++)if(this._allowedVideoRegex.test(e.attributes[t].value))return!1;if(e.tagName===`object`&&this._allowedVideoRegex.test(e.innerHTML))return!1}return!0})},_hasAncestorTag(e,t,n,r){n||=3,t=t.toUpperCase();for(var i=0;e.parentNode;){if(n>0&&i>n)return!1;if(e.parentNode.tagName===t&&(!r||r(e.parentNode)))return!0;e=e.parentNode,i++}return!1},_getRowAndColumnCount(e){for(var t=0,n=0,r=e.getElementsByTagName(`tr`),i=0;i<r.length;i++){var a=r[i].getAttribute(`rowspan`)||0;a&&=parseInt(a,10),t+=a||1;for(var o=0,s=r[i].getElementsByTagName(`td`),c=0;c<s.length;c++){var l=s[c].getAttribute(`colspan`)||0;l&&=parseInt(l,10),o+=l||1}n=Math.max(n,o)}return{rows:t,columns:n}},_markDataTables(e){for(var t=e.getElementsByTagName(`table`),n=0;n<t.length;n++){var r=t[n];if(r.getAttribute(`role`)==`presentation`){r._readabilityDataTable=!1;continue}if(r.getAttribute(`datatable`)==`0`){r._readabilityDataTable=!1;continue}if(r.getAttribute(`summary`)){r._readabilityDataTable=!0;continue}var i=r.getElementsByTagName(`caption`)[0];if(i&&i.childNodes.length){r._readabilityDataTable=!0;continue}if([`col`,`colgroup`,`tfoot`,`thead`,`th`].some(function(e){return!!r.getElementsByTagName(e)[0]})){this.log(`Data table because found data-y descendant`),r._readabilityDataTable=!0;continue}if(r.getElementsByTagName(`table`)[0]){r._readabilityDataTable=!1;continue}var a=this._getRowAndColumnCount(r);if(a.columns==1||a.rows==1){r._readabilityDataTable=!1;continue}if(a.rows>=10||a.columns>4){r._readabilityDataTable=!0;continue}r._readabilityDataTable=a.rows*a.columns>10}},_fixLazyImages(e){this._forEachNode(this._getAllNodesWithTag(e,[`img`,`picture`,`figure`]),function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){var t=this.REGEXPS.b64DataUrl.exec(e.src);if(t[1]===`image/svg+xml`)return;for(var n=!1,r=0;r<e.attributes.length;r++){var i=e.attributes[r];if(i.name!==`src`&&/\.(jpg|jpeg|png|webp)/i.test(i.value)){n=!0;break}}if(n){var a=t[0].length;e.src.length-a<133&&e.removeAttribute(`src`)}}if(!((e.src||e.srcset&&e.srcset!=`null`)&&!e.className.toLowerCase().includes(`lazy`))){for(var o=0;o<e.attributes.length;o++)if(i=e.attributes[o],!(i.name===`src`||i.name===`srcset`||i.name===`alt`)){var s=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(i.value)?s=`srcset`:/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(i.value)&&(s=`src`),s){if(e.tagName===`IMG`||e.tagName===`PICTURE`)e.setAttribute(s,i.value);else if(e.tagName===`FIGURE`&&!this._getAllNodesWithTag(e,[`img`,`picture`]).length){var c=this._doc.createElement(`img`);c.setAttribute(s,i.value),e.appendChild(c)}}}}})},_getTextDensity(e,t){var n=this._getInnerText(e,!0).length;if(n===0)return 0;var r=0,i=this._getAllNodesWithTag(e,t);return this._forEachNode(i,e=>r+=this._getInnerText(e,!0).length),r/n},_cleanConditionally(e,t){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){var n=function(e){return e._readabilityDataTable},r=t===`ul`||t===`ol`;if(!r){var i=0,a=this._getAllNodesWithTag(e,[`ul`,`ol`]);this._forEachNode(a,e=>i+=this._getInnerText(e).length),r=i/this._getInnerText(e).length>.9}if(t===`table`&&n(e)||this._hasAncestorTag(e,`table`,-1,n)||this._hasAncestorTag(e,`code`)||[...e.getElementsByTagName(`table`)].some(e=>e._readabilityDataTable))return!1;var o=this._getClassWeight(e);if(this.log(`Cleaning Conditionally`,e),o+0<0)return!0;if(this._getCharCount(e,`,`)<10){for(var s=e.getElementsByTagName(`p`).length,c=e.getElementsByTagName(`img`).length,l=e.getElementsByTagName(`li`).length-100,u=e.getElementsByTagName(`input`).length,d=this._getTextDensity(e,[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),f=0,p=this._getAllNodesWithTag(e,[`object`,`embed`,`iframe`]),m=0;m<p.length;m++){for(var h=0;h<p[m].attributes.length;h++)if(this._allowedVideoRegex.test(p[m].attributes[h].value))return!1;if(p[m].tagName===`object`&&this._allowedVideoRegex.test(p[m].innerHTML))return!1;f++}var g=this._getInnerText(e);if(this.REGEXPS.adWords.test(g)||this.REGEXPS.loadingWords.test(g))return!0;var _=g.length,v=this._getLinkDensity(e),y=[`SPAN`,`LI`,`TD`].concat(Array.from(this.DIV_TO_P_ELEMS)),b=this._getTextDensity(e,y),x=this._hasAncestorTag(e,`figure`),S=(()=>{let e=[];return!x&&c>1&&s/c<.5&&e.push(`Bad p to img ratio (img=${c}, p=${s})`),!r&&l>s&&e.push(`Too many li's outside of a list. (li=${l} > p=${s})`),u>Math.floor(s/3)&&e.push(`Too many inputs per p. (input=${u}, p=${s})`),!r&&!x&&d<.9&&_<25&&(c===0||c>2)&&v>0&&e.push(`Suspiciously short. (headingDensity=${d}, img=${c}, linkDensity=${v})`),!r&&o<25&&v>.2+this._linkDensityModifier&&e.push(`Low weight and a little linky. (linkDensity=${v})`),o>=25&&v>.5+this._linkDensityModifier&&e.push(`High weight and mostly links. (linkDensity=${v})`),(f===1&&_<75||f>1)&&e.push(`Suspicious embed. (embedCount=${f}, contentLength=${_})`),c===0&&b===0&&e.push(`No useful content. (img=${c}, textDensity=${b})`),e.length?(this.log(`Checks failed`,e),!0):!1})();if(r&&S){for(var C=0;C<e.children.length;C++)if(e.children[C].children.length>1)return S;if(c==e.getElementsByTagName(`li`).length)return!1}return S}return!1})},_cleanMatchedNodes(e,t){for(var n=this._getNextNode(e,!0),r=this._getNextNode(e);r&&r!=n;)r=t.call(this,r,r.className+` `+r.id)?this._removeAndGetNext(r):this._getNextNode(r)},_cleanHeaders(e){let t=this._getAllNodesWithTag(e,[`h1`,`h2`]);this._removeNodes(t,function(e){let t=this._getClassWeight(e)<0;return t&&this.log(`Removing header with low class weight:`,e),t})},_headerDuplicatesTitle(e){if(e.tagName!=`H1`&&e.tagName!=`H2`)return!1;var t=this._getInnerText(e,!1);return this.log(`Evaluating similarity of header:`,t,this._articleTitle),this._textSimilarity(this._articleTitle,t)>.75},_flagIsActive(e){return(this._flags&e)>0},_removeFlag(e){this._flags&=~e},_isProbablyVisible(e){return(!e.style||e.style.display!=`none`)&&(!e.style||e.style.visibility!=`hidden`)&&!e.hasAttribute(`hidden`)&&(!e.hasAttribute(`aria-hidden`)||e.getAttribute(`aria-hidden`)!=`true`||e.className&&e.className.includes&&e.className.includes(`fallback-image`))},parse(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName(`*`).length;if(e>this._maxElemsToParse)throw Error(`Aborting parsing document; `+e+` elements found`)}this._unwrapNoscriptImages(this._doc);var t=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var n=this._getArticleMetadata(t);this._metadata=n,this._articleTitle=n.title;var r=this._grabArticle();if(!r)return null;if(this.log(`Grabbed: `+r.innerHTML),this._postProcessContent(r),!n.excerpt){var i=r.getElementsByTagName(`p`);i.length&&(n.excerpt=i[0].textContent.trim())}var a=r.textContent;return{title:this._articleTitle,byline:n.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(r),textContent:a,length:a.length,excerpt:n.excerpt,siteName:n.siteName||this._articleSiteName,publishedTime:n.publishedTime}}},typeof t==`object`&&(t.exports=n)})),Kt=O(((e,t)=>{var n={unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i};function r(e){return(!e.style||e.style.display!=`none`)&&!e.hasAttribute(`hidden`)&&(!e.hasAttribute(`aria-hidden`)||e.getAttribute(`aria-hidden`)!=`true`||e.className&&e.className.includes&&e.className.includes(`fallback-image`))}function i(e,t={}){typeof t==`function`&&(t={visibilityChecker:t}),t=Object.assign({minScore:20,minContentLength:140,visibilityChecker:r},t);var i=e.querySelectorAll(`p, pre, article`),a=e.querySelectorAll(`div > br`);if(a.length){var o=new Set(i);[].forEach.call(a,function(e){o.add(e.parentNode)}),i=Array.from(o)}var s=0;return[].some.call(i,function(e){if(!t.visibilityChecker(e))return!1;var r=e.className+` `+e.id;if(n.unlikelyCandidates.test(r)&&!n.okMaybeItsACandidate.test(r)||e.matches(`li p`))return!1;var i=e.textContent.trim().length;return i<t.minContentLength?!1:(s+=Math.sqrt(i-t.minContentLength),s>t.minScore)})}typeof t==`object`&&(t.exports=i)}));O(((e,t)=>{t.exports={Readability:Gt(),isProbablyReaderable:Kt()}}))();const qt=Symbol(`changed`),Jt=Symbol(`classList`),Yt=Symbol(`CustomElements`),Xt=Symbol(`content`),Zt=Symbol(`dataset`),V=Symbol(`doctype`),H=Symbol(`DOMParser`),U=Symbol(`end`),Qt=Symbol(`EventTarget`),$t=Symbol(`globals`),en=Symbol(`image`),tn=Symbol(`mime`),nn=Symbol(`MutationObserver`),W=Symbol(`next`),rn=Symbol(`ownerElement`),an=Symbol(`prev`),on=Symbol(`private`),sn=Symbol(`sheet`),cn=Symbol(`start`),ln=Symbol(`style`),un=Symbol(`upgrade`),dn=Symbol(`value`),fn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),pn=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function mn(e){return e>=55296&&e<=57343||e>1114111?65533:fn.get(e)??e}function hn(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}const gn=hn(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IA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YwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWls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ZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),_n=hn(`AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg`);var vn;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(vn||={});var yn;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(yn||={});function bn(e){return e>=yn.ZERO&&e<=yn.NINE}function xn(e){return e>=yn.UPPER_A&&e<=yn.UPPER_F||e>=yn.LOWER_A&&e<=yn.LOWER_F}function Sn(e){return e>=yn.UPPER_A&&e<=yn.UPPER_Z||e>=yn.LOWER_A&&e<=yn.LOWER_Z||bn(e)}function Cn(e){return e===yn.EQUALS||Sn(e)}var wn;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(wn||={});var Tn;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Tn||={});var En=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=wn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Tn.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=wn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case wn.EntityStart:return e.charCodeAt(t)===yn.NUM?(this.state=wn.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=wn.NamedEntity,this.stateNamedEntity(e,t));case wn.NumericStart:return this.stateNumericStart(e,t);case wn.NumericDecimal:return this.stateNumericDecimal(e,t);case wn.NumericHex:return this.stateNumericHex(e,t);case wn.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===yn.LOWER_X?(this.state=wn.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=wn.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(bn(n)||xn(n)){let e=n<=yn.NINE?n-yn.ZERO:(n|32)-yn.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(bn(n))this.result=this.result*10+(n-yn.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===yn.SEMI)this.consumed+=1;else if(this.decodeMode===Tn.Strict)return 0;return this.emitCodePoint(mn(this.result),this.consumed),this.errors&&(e!==yn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&vn.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&vn.FLAG13)!==0){let a=(r&vn.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&vn.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&vn.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===yn.SEMI&&i!==0&&(r&vn.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=Dn(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Tn.Attribute&&(i===0||Cn(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&vn.VALUE_LENGTH)>>14,i!==0){if(a===yn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Tn.Strict&&(r&vn.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&vn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(vn.VALUE_LENGTH|vn.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case wn.NamedEntity:return this.result!==0&&(this.decodeMode!==Tn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case wn.NumericDecimal:return this.emitNumericEntity(0,2);case wn.NumericHex:return this.emitNumericEntity(0,3);case wn.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case wn.EntityStart:return 0}}};function Dn(e,t,n,r){let i=(t&vn.BRANCH_LENGTH)>>7,a=t&vn.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}var G;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(G||={});var K;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.BeforeSpecialT=23]=`BeforeSpecialT`,e[e.SpecialStartSequence=24]=`SpecialStartSequence`,e[e.InSpecialTag=25]=`InSpecialTag`,e[e.InEntity=26]=`InEntity`})(K||={});function On(e){return e===G.Space||e===G.NewLine||e===G.Tab||e===G.FormFeed||e===G.CarriageReturn}function kn(e){return e===G.Slash||e===G.Gt||On(e)}function An(e){return e>=G.LowerA&&e<=G.LowerZ||e>=G.UpperA&&e<=G.UpperZ}var jn;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(jn||={});const Mn={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};var Nn=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=K.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=K.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new En(e?_n:gn,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=K.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=K.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===G.Lt||!this.decodeEntities&&this.fastForwardTo(G.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=K.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===G.Amp&&this.startEntity()}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?kn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=K.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===G.Gt||On(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Mn.TitleEnd?this.decodeEntities&&e===G.Amp&&this.startEntity():this.fastForwardTo(G.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===G.Lt)}stateCDATASequence(e){e===Mn.Cdata[this.sequenceIndex]?++this.sequenceIndex===Mn.Cdata.length&&(this.state=K.InCommentLike,this.currentSequence=Mn.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=K.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Mn.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=K.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!kn(e):An(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=K.SpecialStartSequence}stateBeforeTagName(e){if(e===G.ExclamationMark)this.state=K.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===G.Questionmark)this.state=K.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=K.InTagName:t===Mn.ScriptEnd[2]?this.state=K.BeforeSpecialS:t===Mn.TitleEnd[2]||t===Mn.XmpEnd[2]?this.state=K.BeforeSpecialT:this.state=K.InTagName}else e===G.Slash?this.state=K.BeforeClosingTagName:(this.state=K.Text,this.stateText(e))}stateInTagName(e){kn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=K.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){On(e)||(e===G.Gt?this.state=K.Text:(this.state=this.isTagStartChar(e)?K.InClosingTagName:K.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===G.Gt||On(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=K.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===G.Gt||this.fastForwardTo(G.Gt))&&(this.state=K.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===G.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=K.InSpecialTag,this.sequenceIndex=0):this.state=K.Text,this.sectionStart=this.index+1):e===G.Slash?this.state=K.InSelfClosingTag:On(e)||(this.state=K.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===G.Gt?(this.cbs.onselfclosingtag(this.index),this.state=K.Text,this.sectionStart=this.index+1,this.isSpecial=!1):On(e)||(this.state=K.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===G.Eq||kn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=K.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===G.Eq?this.state=K.BeforeAttributeValue:e===G.Slash||e===G.Gt?(this.cbs.onattribend(jn.NoValue,this.sectionStart),this.sectionStart=-1,this.state=K.BeforeAttributeName,this.stateBeforeAttributeName(e)):On(e)||(this.cbs.onattribend(jn.NoValue,this.sectionStart),this.state=K.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===G.DoubleQuote?(this.state=K.InAttributeValueDq,this.sectionStart=this.index+1):e===G.SingleQuote?(this.state=K.InAttributeValueSq,this.sectionStart=this.index+1):On(e)||(this.sectionStart=this.index,this.state=K.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===G.DoubleQuote?jn.Double:jn.Single,this.index+1),this.state=K.BeforeAttributeName):this.decodeEntities&&e===G.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,G.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,G.SingleQuote)}stateInAttributeValueNoQuotes(e){On(e)||e===G.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(jn.Unquoted,this.index),this.state=K.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===G.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===G.OpeningSquareBracket?(this.state=K.CDATASequence,this.sequenceIndex=0):this.state=e===G.Dash?K.BeforeComment:K.InDeclaration}stateInDeclaration(e){(e===G.Gt||this.fastForwardTo(G.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=K.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===G.Gt||this.fastForwardTo(G.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=K.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===G.Dash?(this.state=K.InCommentLike,this.currentSequence=Mn.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=K.InDeclaration}stateInSpecialComment(e){(e===G.Gt||this.fastForwardTo(G.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=K.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=e|32;t===Mn.ScriptEnd[3]?this.startSpecial(Mn.ScriptEnd,4):t===Mn.StyleEnd[3]?this.startSpecial(Mn.StyleEnd,4):(this.state=K.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){switch(e|32){case Mn.TitleEnd[3]:this.startSpecial(Mn.TitleEnd,4);break;case Mn.TextareaEnd[3]:this.startSpecial(Mn.TextareaEnd,4);break;case Mn.XmpEnd[3]:this.startSpecial(Mn.XmpEnd,4);break;default:this.state=K.InTagName,this.stateInTagName(e)}}startEntity(){this.baseState=this.state,this.state=K.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Tn.Strict:this.baseState===K.Text||this.baseState===K.InSpecialTag?Tn.Legacy:Tn.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,t===0&&--this.index;else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===G.Amp){this.state=this.baseState,--this.index;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===K.Text||this.state===K.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===K.InAttributeValueDq||this.state===K.InAttributeValueSq||this.state===K.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case K.Text:this.stateText(e);break;case K.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case K.InSpecialTag:this.stateInSpecialTag(e);break;case K.CDATASequence:this.stateCDATASequence(e);break;case K.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case K.InAttributeName:this.stateInAttributeName(e);break;case K.InCommentLike:this.stateInCommentLike(e);break;case K.InSpecialComment:this.stateInSpecialComment(e);break;case K.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case K.InTagName:this.stateInTagName(e);break;case K.InClosingTagName:this.stateInClosingTagName(e);break;case K.BeforeTagName:this.stateBeforeTagName(e);break;case K.AfterAttributeName:this.stateAfterAttributeName(e);break;case K.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case K.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case K.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case K.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case K.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case K.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case K.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case K.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case K.InDeclaration:this.stateInDeclaration(e);break;case K.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case K.BeforeComment:this.stateBeforeComment(e);break;case K.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case K.InEntity:this.stateInEntity();break}this.index++}this.cleanup()}finish(){this.state===K.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===K.InCommentLike?this.currentSequence===Mn.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===K.InTagName||this.state===K.BeforeAttributeName||this.state===K.BeforeAttributeValue||this.state===K.AfterAttributeName||this.state===K.InAttributeName||this.state===K.InAttributeValueSq||this.state===K.InAttributeValueDq||this.state===K.InAttributeValueNq||this.state===K.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==K.Text&&this.baseState!==K.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Pn=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),Fn=new Set([`p`]),In=new Set([`thead`,`tbody`]),Ln=new Set([`dd`,`dt`]),Rn=new Set([`rt`,`rp`]),zn=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`li`,new Set([`li`])],[`p`,Fn],[`h1`,Fn],[`h2`,Fn],[`h3`,Fn],[`h4`,Fn],[`h5`,Fn],[`h6`,Fn],[`select`,Pn],[`input`,Pn],[`output`,Pn],[`button`,Pn],[`datalist`,Pn],[`textarea`,Pn],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,Ln],[`dt`,Ln],[`address`,Fn],[`article`,Fn],[`aside`,Fn],[`blockquote`,Fn],[`details`,Fn],[`div`,Fn],[`dl`,Fn],[`fieldset`,Fn],[`figcaption`,Fn],[`figure`,Fn],[`footer`,Fn],[`form`,Fn],[`header`,Fn],[`hr`,Fn],[`main`,Fn],[`nav`,Fn],[`ol`,Fn],[`pre`,Fn],[`section`,Fn],[`table`,Fn],[`ul`,Fn],[`rt`,Rn],[`rp`,Rn],[`tbody`,In],[`tfoot`,In]]),Bn=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),Vn=new Set([`math`,`svg`]),Hn=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),Un=/\s|\//;var Wn=class{constructor(e,t={}){var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??Nn)(this.options,this),this.foreignContext=[!this.htmlMode],(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}ontext(e,t){var n,r;let i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t}ontextentity(e,t){var n,r;this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,pn(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&Bn.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;let a=this.htmlMode&&zn.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){let e=this.stack.shift();(n=(t=this.cbs).onclosetag)==null||n.call(t,e,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(Vn.has(e)?this.foreignContext.unshift(!0):Hn.has(e)&&this.foreignContext.unshift(!1))),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,i,a,o,s,c,l;this.endIndex=t;let u=this.getSlice(e,t);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(Vn.has(u)||Hn.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&u===`br`&&((a=(i=this.cbs).onopentagname)==null||a.call(i,`br`),(s=(o=this.cbs).onopentag)==null||s.call(o,`br`,{},!0),(l=(c=this.cbs).onclosetag)==null||l.call(c,`br`,!1));else{let e=this.stack.indexOf(u);if(e!==-1)for(let t=0;t<=e;t++){let i=this.stack.shift();(r=(n=this.cbs).onclosetag)==null||r.call(n,i,t!==e)}else this.htmlMode&&u===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;let r=this.tagname;this.endOpenTag(e),this.stack[0]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=pn(e)}onattribend(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===jn.Double?`"`:e===jn.Single?`'`:e===jn.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(Un),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1}oncdata(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;let p=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}(t=(e=this.cbs).onend)==null||t.call(e)}reset(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}},Gn=re({CDATA:()=>er,Comment:()=>Xn,Directive:()=>Yn,Doctype:()=>tr,ElementType:()=>q,Root:()=>qn,Script:()=>Zn,Style:()=>Qn,Tag:()=>$n,Text:()=>Jn,isTag:()=>Kn}),q;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(q||={});function Kn(e){return e.type===q.Tag||e.type===q.Script||e.type===q.Style}const qn=q.Root,Jn=q.Text,Yn=q.Directive,Xn=q.Comment,Zn=q.Script,Qn=q.Style,$n=q.Tag,er=q.CDATA,tr=q.Doctype;var nr=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return vr(this,e)}},rr=class extends nr{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},ir=class extends rr{constructor(){super(...arguments),this.type=q.Text}get nodeType(){return 3}},ar=class extends rr{constructor(){super(...arguments),this.type=q.Comment}get nodeType(){return 8}},or=class extends rr{constructor(e,t){super(t),this.name=e,this.type=q.Directive}get nodeType(){return 1}},sr=class extends nr{constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},cr=class extends sr{constructor(){super(...arguments),this.type=q.CDATA}get nodeType(){return 4}},lr=class extends sr{constructor(){super(...arguments),this.type=q.Root}get nodeType(){return 9}},ur=class extends sr{constructor(e,t,n=[],r=e===`script`?q.Script:e===`style`?q.Style:q.Tag){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}};function dr(e){return Kn(e)}function fr(e){return e.type===q.CDATA}function pr(e){return e.type===q.Text}function mr(e){return e.type===q.Comment}function hr(e){return e.type===q.Directive}function gr(e){return e.type===q.Root}function _r(e){return Object.prototype.hasOwnProperty.call(e,`children`)}function vr(e,t=!1){let n;if(pr(e))n=new ir(e.data);else if(mr(e))n=new ar(e.data);else if(dr(e)){let r=t?yr(e.children):[],i=new ur(e.name,{...e.attribs},r);r.forEach(e=>e.parent=i),e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(fr(e)){let r=t?yr(e.children):[],i=new cr(r);r.forEach(e=>e.parent=i),n=i}else if(gr(e)){let r=t?yr(e.children):[],i=new lr(r);r.forEach(e=>e.parent=i),e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(hr(e)){let t=new or(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function yr(e){let t=e.map(e=>vr(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}const br={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};var xr=class{constructor(e,t,n){this.dom=[],this.root=new lr(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=br),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??br,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new lr(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=new ur(e,t,void 0,this.options.xmlMode?q.Tag:void 0);this.addNode(n),this.tagStack.push(n)}ontext(e){let{lastNode:t}=this;if(t&&t.type===q.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{let t=new ir(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===q.Comment){this.lastNode.data+=e;return}let t=new ar(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new ir(``),t=new cr([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new or(e,t);this.addNode(n)}handleCallback(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}};const Sr=/["&'<>$\x80-\uFFFF]/g,Cr=new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]),wr=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t);function J(e){let t=``,n=0,r;for(;(r=Sr.exec(e))!==null;){let i=r.index,a=e.charCodeAt(i),o=Cr.get(a);o===void 0?(t+=`${e.substring(n,i)}&#x${wr(e,i).toString(16)};`,n=Sr.lastIndex+=Number((a&64512)==55296)):(t+=e.substring(n,i)+o,n=i+1)}return t+e.substr(n)}function Tr(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}const Er=Tr(/["&\u00A0]/g,new Map([[34,`"`],[38,`&`],[160,` `]])),Dr=Tr(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]])),Or=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),kr=new Map(`definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),Ar=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function jr(e){return e.replace(/"/g,`"`)}function Mr(e,t){if(!e)return;let n=(t.encodeEntities??t.decodeEntities)===!1?jr:t.xmlMode||t.encodeEntities!==`utf8`?J:Er;return Object.keys(e).map(r=>{let i=e[r]??``;return t.xmlMode===`foreign`&&(r=kr.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}const Nr=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function Pr(e,t={}){let n=`length`in e?e:[e],r=``;for(let e=0;e<n.length;e++)r+=Fr(n[e],t);return r}function Fr(e,t){switch(e.type){case qn:return Pr(e.children,t);case tr:case Yn:return zr(e);case Xn:return Hr(e);case er:return Vr(e);case Zn:case Qn:case $n:return Rr(e,t);case Jn:return Br(e,t)}}const Ir=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),Lr=new Set([`svg`,`math`]);function Rr(e,t){t.xmlMode===`foreign`&&(e.name=Or.get(e.name)??e.name,e.parent&&Ir.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&Lr.has(e.name)&&(t={...t,xmlMode:`foreign`});let n=`<${e.name}`,r=Mr(e.attribs,t);return r&&(n+=` ${r}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&Nr.has(e.name))?(t.xmlMode||(n+=` `),n+=`/>`):(n+=`>`,e.children.length>0&&(n+=Pr(e.children,t)),(t.xmlMode||!Nr.has(e.name))&&(n+=`</${e.name}>`)),n}function zr(e){return`<${e.data}>`}function Br(e,t){let n=e.data||``;return(t.encodeEntities??t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&Ar.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!==`utf8`?J(n):Dr(n)),n}function Vr(e){return`<![CDATA[${e.children[0].data}]]>`}function Hr(e){return`<!--${e.data}-->`}function Ur(e,t){return Pr(e,t)}function Wr(e,t){return _r(e)?e.children.map(e=>Ur(e,t)).join(``):``}function Gr(e){return Array.isArray(e)?e.map(Gr).join(``):dr(e)?e.name===`br`?`
|
|
6
|
+
`:Gr(e.children):fr(e)?Gr(e.children):pr(e)?e.data:``}function Kr(e){return Array.isArray(e)?e.map(Kr).join(``):_r(e)&&!mr(e)?Kr(e.children):pr(e)?e.data:``}function qr(e){return Array.isArray(e)?e.map(qr).join(``):_r(e)&&(e.type===q.Tag||fr(e))?qr(e.children):pr(e)?e.data:``}function Jr(e){return _r(e)?e.children:[]}function Yr(e){return e.parent||null}function Xr(e){let t=Yr(e);if(t!=null)return Jr(t);let n=[e],{prev:r,next:i}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;i!=null;)n.push(i),{next:i}=i;return n}function Zr(e,t){return e.attribs?.[t]}function Qr(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function $r(e){return e.name}function ei(e){let{next:t}=e;for(;t!==null&&!dr(t);)({next:t}=t);return t}function ti(e){let{prev:t}=e;for(;t!==null&&!dr(t);)({prev:t}=t);return t}function ni(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function ri(e,t){let n=t.prev=e.prev;n&&(n.next=t);let r=t.next=e.next;r&&(r.prev=t);let i=t.parent=e.parent;if(i){let n=i.children;n[n.lastIndexOf(e)]=t,e.parent=null}}function ii(e,t){if(ni(t),t.next=null,t.parent=e,e.children.push(t)>1){let n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function ai(e,t){ni(t);let{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){let e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function oi(e,t){if(ni(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){let n=e.children[1];n.prev=t,t.next=n}else t.next=null}function si(e,t){ni(t);let{parent:n}=e;if(n){let r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function ci(e,t,n=!0,r=1/0){return li(e,Array.isArray(t)?t:[t],n,r)}function li(e,t,n,r){let i=[],a=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=a[0].length){if(o.length===1)return i;a.shift(),o.shift();continue}let t=a[0][o[0]++];if(e(t)&&(i.push(t),--r<=0))return i;n&&_r(t)&&t.children.length>0&&(o.unshift(0),a.unshift(t.children))}}function ui(e,t){return t.find(e)}function di(e,t,n=!0){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t];if(dr(i)&&e(i))return i;if(n&&_r(i)&&i.children.length>0){let t=di(e,i.children,!0);if(t)return t}}return null}function fi(e,t){return(Array.isArray(t)?t:[t]).some(t=>dr(t)&&e(t)||_r(t)&&fi(e,t.children))}function pi(e,t){let n=[],r=[Array.isArray(t)?t:[t]],i=[0];for(;;){if(i[0]>=r[0].length){if(r.length===1)return n;r.shift(),i.shift();continue}let t=r[0][i[0]++];dr(t)&&e(t)&&n.push(t),_r(t)&&t.children.length>0&&(i.unshift(0),r.unshift(t.children))}}const mi={tag_name(e){return typeof e==`function`?t=>dr(t)&&e(t.name):e===`*`?dr:t=>dr(t)&&t.name===e},tag_type(e){return typeof e==`function`?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e==`function`?t=>pr(t)&&e(t.data):t=>pr(t)&&t.data===e}};function hi(e,t){return typeof t==`function`?n=>dr(n)&&t(n.attribs[e]):n=>dr(n)&&n.attribs[e]===t}function gi(e,t){return n=>e(n)||t(n)}function _i(e){let t=Object.keys(e).map(t=>{let n=e[t];return Object.prototype.hasOwnProperty.call(mi,t)?mi[t](n):hi(t,n)});return t.length===0?null:t.reduce(gi)}function vi(e,t){let n=_i(e);return n?n(t):!0}function yi(e,t,n,r=1/0){let i=_i(e);return i?ci(i,t,n,r):[]}function bi(e,t,n=!0){return Array.isArray(t)||(t=[t]),di(hi(`id`,e),t,n)}function xi(e,t,n=!0,r=1/0){return ci(mi.tag_name(e),t,n,r)}function Si(e,t,n=!0,r=1/0){return ci(hi(`class`,e),t,n,r)}function Ci(e,t,n=!0,r=1/0){return ci(mi.tag_type(e),t,n,r)}function wi(e){let t=e.length;for(;--t>=0;){let n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var Ti;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(Ti||={});function Ei(e,t){let n=[],r=[];if(e===t)return 0;let i=_r(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=_r(t)?t:t.parent;i;)r.unshift(i),i=i.parent;let a=Math.min(n.length,r.length),o=0;for(;o<a&&n[o]===r[o];)o++;if(o===0)return Ti.DISCONNECTED;let s=n[o-1],c=s.children,l=n[o],u=r[o];return c.indexOf(l)>c.indexOf(u)?s===t?Ti.FOLLOWING|Ti.CONTAINED_BY:Ti.FOLLOWING:s===e?Ti.PRECEDING|Ti.CONTAINS:Ti.PRECEDING}function Di(e){return e=e.filter((e,t,n)=>!n.includes(e,t+1)),e.sort((e,t)=>{let n=Ei(e,t);return n&Ti.PRECEDING?-1:n&Ti.FOLLOWING?1:0}),e}function Oi(e){let t=Pi(Li,e);return t?t.name===`feed`?ki(t):Ai(t):null}function ki(e){let t=e.children,n={type:`atom`,items:xi(`entry`,t).map(e=>{let{children:t}=e,n={media:Ni(t)};Ii(n,`id`,`id`,t),Ii(n,`title`,`title`,t);let r=Pi(`link`,t)?.attribs.href;r&&(n.link=r);let i=Fi(`summary`,t)||Fi(`content`,t);i&&(n.description=i);let a=Fi(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};Ii(n,`id`,`id`,t),Ii(n,`title`,`title`,t);let r=Pi(`link`,t)?.attribs.href;r&&(n.link=r),Ii(n,`description`,`subtitle`,t);let i=Fi(`updated`,t);return i&&(n.updated=new Date(i)),Ii(n,`author`,`email`,t,!0),n}function Ai(e){let t=Pi(`channel`,e.children)?.children??[],n={type:e.name.substr(0,3),id:``,items:xi(`item`,e.children).map(e=>{let{children:t}=e,n={media:Ni(t)};Ii(n,`id`,`guid`,t),Ii(n,`title`,`title`,t),Ii(n,`link`,`link`,t),Ii(n,`description`,`description`,t);let r=Fi(`pubDate`,t)||Fi(`dc:date`,t);return r&&(n.pubDate=new Date(r)),n})};Ii(n,`title`,`title`,t),Ii(n,`link`,`link`,t),Ii(n,`description`,`description`,t);let r=Fi(`lastBuildDate`,t);return r&&(n.updated=new Date(r)),Ii(n,`author`,`managingEditor`,t,!0),n}const ji=[`url`,`type`,`lang`],Mi=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function Ni(e){return xi(`media:content`,e).map(e=>{let{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(let e of ji)t[e]&&(n[e]=t[e]);for(let e of Mi)t[e]&&(n[e]=parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function Pi(e,t){return xi(e,t,!0,1)[0]}function Fi(e,t,n=!1){return Kr(xi(e,t,n,1)).trim()}function Ii(e,t,n,r,i=!1){let a=Fi(n,r,i);a&&(e[t]=a)}function Li(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}var Ri=re({DocumentPosition:()=>Ti,append:()=>ai,appendChild:()=>ii,compareDocumentPosition:()=>Ei,existsOne:()=>fi,filter:()=>ci,find:()=>li,findAll:()=>pi,findOne:()=>di,findOneChild:()=>ui,getAttributeValue:()=>Zr,getChildren:()=>Jr,getElementById:()=>bi,getElements:()=>yi,getElementsByClassName:()=>Si,getElementsByTagName:()=>xi,getElementsByTagType:()=>Ci,getFeed:()=>Oi,getInnerHTML:()=>Wr,getName:()=>$r,getOuterHTML:()=>Ur,getParent:()=>Yr,getSiblings:()=>Xr,getText:()=>Gr,hasAttrib:()=>Qr,hasChildren:()=>_r,innerText:()=>qr,isCDATA:()=>fr,isComment:()=>mr,isDocument:()=>gr,isTag:()=>dr,isText:()=>pr,nextElementSibling:()=>ei,prepend:()=>si,prependChild:()=>oi,prevElementSibling:()=>ti,removeElement:()=>ni,removeSubsets:()=>wi,replaceElement:()=>ri,testElement:()=>vi,textContent:()=>Kr,uniqueSort:()=>Di}),zi=re({DefaultHandler:()=>xr,DomHandler:()=>xr,DomUtils:()=>Ri,ElementType:()=>Gn,Parser:()=>Wn,QuoteType:()=>jn,Tokenizer:()=>Nn,createDocumentStream:()=>Hi,createDomStream:()=>Ui,getFeed:()=>Oi,parseDOM:()=>Vi,parseDocument:()=>Bi,parseFeed:()=>Gi});function Bi(e,t){let n=new xr(void 0,t);return new Wn(n,t).end(e),n.root}function Vi(e,t){return Bi(e,t).children}function Hi(e,t,n){let r=new xr(t=>e(t,r.root),t,n);return new Wn(r,t)}function Ui(e,t,n){return new Wn(new xr(e,t,n),t)}const Wi={xmlMode:!0};function Gi(e,t=Wi){return Oi(Vi(e,t))}const Ki=new Set(`ARTICLE.ASIDE.BLOCKQUOTE.BODY.BR.BUTTON.CANVAS.CAPTION.COL.COLGROUP.DD.DIV.DL.DT.EMBED.FIELDSET.FIGCAPTION.FIGURE.FOOTER.FORM.H1.H2.H3.H4.H5.H6.LI.UL.OL.P`.split(`.`)),qi=`http://www.w3.org/2000/svg`,{assign:Ji,create:Yi,defineProperties:Xi,entries:Zi,getOwnPropertyDescriptors:Qi,keys:$i,setPrototypeOf:ea}=Object,ta=String,na=e=>e.nodeType===1?e[U]:e,ra=({ownerDocument:e})=>e[tn].ignoreCase,ia=(e,t)=>{e[W]=t,t[an]=e},aa=(e,t,n)=>{ia(e,t),ia(na(t),n)},oa=(e,t,n,r)=>{ia(e,t),ia(na(n),r)},sa=(e,t,n)=>{ia(e,t),ia(t,n)},ca=({localName:e,ownerDocument:t})=>t[tn].ignoreCase?e.toUpperCase():e,la=(e,t)=>{e&&(e[W]=t),t&&(t[an]=e)},ua=(e,t)=>{let n=e.createDocumentFragment(),r=e.createElement(``);r.innerHTML=t;let{firstChild:i,lastChild:a}=r;if(i){oa(n,i,a,n[U]);let e=i;do e.parentNode=n;while(e!==a&&(e=na(e)[W]))}return n},da=new WeakMap;let fa=!1;const pa=new WeakMap,ma=new WeakMap,ha=(e,t,n,r)=>{fa&&ma.has(e)&&e.attributeChangedCallback&&e.constructor.observedAttributes.includes(t)&&e.attributeChangedCallback(t,n,r)},ga=(e,t)=>n=>{if(ma.has(n)){let r=ma.get(n);r.connected!==t&&n.isConnected===t&&(r.connected=t,e in n&&n[e]())}},_a=ga(`connectedCallback`,!0),va=e=>{if(fa){_a(e),da.has(e)&&(e=da.get(e).shadowRoot);let{[W]:t,[U]:n}=e;for(;t!==n;)t.nodeType===1&&_a(t),t=t[W]}},ya=ga(`disconnectedCallback`,!1),ba=e=>{if(fa){ya(e),da.has(e)&&(e=da.get(e).shadowRoot);let{[W]:t,[U]:n}=e;for(;t!==n;)t.nodeType===1&&ya(t),t=t[W]}};var xa=class{constructor(e){this.ownerDocument=e,this.registry=new Map,this.waiting=new Map,this.active=!1}define(e,t,n={}){let{ownerDocument:r,registry:i,waiting:a}=this;if(i.has(e))throw Error(`unable to redefine `+e);if(pa.has(t))throw Error(`unable to redefine the same class: `+t);this.active=fa=!0;let{extends:o}=n;pa.set(t,{ownerDocument:r,options:{is:o?e:``},localName:o||e});let s=o?t=>t.localName===o&&t.getAttribute(`is`)===e:t=>t.localName===e;if(i.set(e,{Class:t,check:s}),a.has(e)){for(let n of a.get(e))n(t);a.delete(e)}r.querySelectorAll(o?`${o}[is="${e}"]`:e).forEach(this.upgrade,this)}upgrade(e){if(ma.has(e))return;let{ownerDocument:t,registry:n}=this,r=e.getAttribute(`is`)||e.localName;if(n.has(r)){let{Class:i,check:a}=n.get(r);if(a(e)){let{attributes:n,isConnected:a}=e;for(let t of n)e.removeAttributeNode(t);let o=Zi(e);for(let[t]of o)delete e[t];ea(e,i.prototype),t[un]={element:e,values:o},new i(t,r),ma.set(e,{connected:a});for(let t of n)e.setAttributeNode(t);a&&e.connectedCallback&&e.connectedCallback()}}}whenDefined(e){let{registry:t,waiting:n}=this;return new Promise(r=>{t.has(e)?r(t.get(e).Class):(n.has(e)||n.set(e,[]),n.get(e).push(r))})}get(e){let t=this.registry.get(e);return t&&t.Class}getName(e){if(pa.has(e)){let{localName:t}=pa.get(e);return t}return null}};const{Parser:Sa}=zi,Ca=(e,t,n)=>{let r=e[U];return t.parentNode=e,aa(r[an],t,r),n&&t.nodeType===1&&va(t),t},wa=(e,t,n,r,i)=>{n[dn]=r,n.ownerElement=e,sa(t[an],n,t),n.name===`class`&&(e.className=r),i&&ha(e,n.name,null,r)},Ta=(e,t,n)=>{let{active:r,registry:i}=e[Yt],a=e,o=null,s=!1,c=new Sa({onprocessinginstruction(t,n){t.toLowerCase()===`!doctype`&&(e.doctype=n.slice(t.length).trim())},onopentag(n,s){let c=!0;if(t){if(o)a=Ca(a,e.createElementNS(qi,n),r),a.ownerSVGElement=o,c=!1;else if(n===`svg`||n===`SVG`)o=e.createElementNS(qi,n),a=Ca(a,o,r),c=!1;else if(r){let e=n.includes(`-`)?n:s.is||``;if(e&&i.has(e)){let{Class:t}=i.get(e);a=Ca(a,new t,r),delete s.is,c=!1}}}c&&(a=Ca(a,e.createElement(n),!1));let l=a[U];for(let t of $i(s))wa(a,l,e.createAttribute(t),s[t],r)},oncomment(t){Ca(a,e.createComment(t),r)},ontext(t){s?Ca(a,e.createCDATASection(t),r):Ca(a,e.createTextNode(t),r)},oncdatastart(){s=!0},oncdataend(){s=!1},onclosetag(){t&&a===o&&(o=null),a=a.parentNode}},{lowerCaseAttributeNames:!1,decodeEntities:!0,xmlMode:!t});return c.write(n),c.end(),e},Ea=new Map,Da=(e,t)=>{for(let n of[].concat(e))Ea.set(n,t),Ea.set(n.toUpperCase(),t)},Oa=({[W]:e,[U]:t},n)=>{for(;e!==t;){switch(e.nodeType){case 2:ka(e,n);break;case 3:case 8:case 4:Aa(e,n);break;case 1:Na(e,n),e=na(e);break;case 10:Ma(e,n);break}e=e[W]}let r=n.length-1,i=n[r];typeof i==`number`&&i<0?n[r]+=-1:n.push(-1)},ka=(e,t)=>{t.push(2,e.name);let n=e[dn].trim();n&&t.push(n)},Aa=(e,t)=>{let n=e[dn];n.trim()&&t.push(e.nodeType,n)},ja=(e,t)=>{t.push(e.nodeType),Oa(e,t)},Ma=({name:e,publicId:t,systemId:n},r)=>{r.push(10,e),t&&r.push(t),n&&r.push(n)},Na=(e,t)=>{t.push(1,e.localName),Oa(e,t)},Pa=(e,t,n,r,i,a,o)=>({type:e,target:t,addedNodes:r,removedNodes:i,attributeName:a,oldValue:o,previousSibling:n?.previousSibling||null,nextSibling:n?.nextSibling||null}),Fa=(e,t,n,r,i,a)=>{if(!r||r.includes(n)){let{callback:r,records:o,scheduled:s}=e;o.push(Pa(`attributes`,t,null,[],[],n,i?a:void 0)),s||(e.scheduled=!0,Promise.resolve().then(()=>{e.scheduled=!1,r(o.splice(0),e)}))}},Ia=(e,t,n)=>{let{ownerDocument:r}=e,{active:i,observers:a}=r[nn];if(i){for(let i of a)for(let[a,{childList:o,subtree:s,attributes:c,attributeFilter:l,attributeOldValue:u}]of i.nodes)if(o){if(s&&(a===r||a.contains(e))||!s&&a.children.includes(e)){Fa(i,e,t,l,u,n);break}}else if(c&&a===e){Fa(i,e,t,l,u,n);break}}},La=(e,t)=>{let{ownerDocument:n}=e,{active:r,observers:i}=n[nn];if(r){for(let r of i)for(let[i,{subtree:a,childList:o,characterData:s}]of r.nodes)if(o&&(t&&(i===t||a&&i.contains(t))||!t&&(a&&(i===n||i.contains(e))||!a&&i[s?`childNodes`:`children`].includes(e)))){let{callback:n,records:a,scheduled:o}=r;a.push(Pa(`childList`,i,e,t?[]:[e],t?[e]:[])),o||(r.scheduled=!0,Promise.resolve().then(()=>{r.scheduled=!1,n(a.splice(0),r)}));break}}};var Ra=class{constructor(e){let t=new Set;this.observers=t,this.active=!1,this.class=class{constructor(e){this.callback=e,this.nodes=new Map,this.records=[],this.scheduled=!1}disconnect(){this.records.splice(0),this.nodes.clear(),t.delete(this),e[nn].active=!!t.size}observe(n,r={subtree:!1,childList:!1,attributes:!1,attributeFilter:null,attributeOldValue:!1,characterData:!1}){(`attributeOldValue`in r||`attributeFilter`in r)&&(r.attributes=!0),r.childList=!!r.childList,r.subtree=!!r.subtree,this.nodes.set(n,r),t.add(this),e[nn].active=!0}takeRecords(){return this.records.splice(0)}}}};const za=new Set(`allowfullscreen.allowpaymentrequest.async.autofocus.autoplay.checked.class.contenteditable.controls.default.defer.disabled.draggable.formnovalidate.hidden.id.ismap.itemscope.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.selected.style.truespeed`.split(`.`)),Ba=(e,t)=>{let{[dn]:n,name:r}=t;t.ownerElement=e,sa(e,t,e[W]),r===`class`&&(e.className=n),Ia(e,r,null),ha(e,r,null,n)},Va=(e,t)=>{let{[dn]:n,name:r}=t;ia(t[an],t[W]),t.ownerElement=t[an]=t[W]=null,r===`class`&&(e[Jt]=null),Ia(e,r,n),ha(e,r,n,null)},Ha={get(e,t){return e.hasAttribute(t)},set(e,t,n){n?e.setAttribute(t,``):e.removeAttribute(t)}},Ua={get(e,t){return parseFloat(e.getAttribute(t)||0)},set(e,t,n){e.setAttribute(t,n)}},Y={get(e,t){return e.getAttribute(t)||``},set(e,t,n){e.setAttribute(t,n)}},Wa=new WeakMap;function Ga(e,t){return typeof t==`function`?t.call(e.target,e):t.handleEvent(e),e._stopImmediatePropagationFlag}function Ka({currentTarget:e,target:t}){let n=Wa.get(e);if(n&&n.has(this.type)){let r=n.get(this.type);e===t?this.eventPhase=this.AT_TARGET:this.eventPhase=this.BUBBLING_PHASE,this.currentTarget=e,this.target=t;for(let[e,t]of r)if(t&&t.once&&r.delete(e),Ga(this,e))break;return delete this.currentTarget,delete this.target,this.cancelBubble}}var qa=class{constructor(){Wa.set(this,new Map)}_getParent(){return null}addEventListener(e,t,n){let r=Wa.get(this);r.has(e)||r.set(e,new Map),r.get(e).set(t,n)}removeEventListener(e,t){let n=Wa.get(this);if(n.has(e)){let r=n.get(e);r.delete(t)&&!r.size&&n.delete(e)}}dispatchEvent(e){let t=this;for(e.eventPhase=e.CAPTURING_PHASE;t;)t.dispatchEvent&&e._path.push({currentTarget:t,target:this}),t=e.bubbles&&t._getParent&&t._getParent();return e._path.some(Ka,e),e._path=[],e.eventPhase=e.NONE,!e.defaultPrevented}},Ja=class extends Array{item(e){return e<this.length?this[e]:null}};const Ya=({parentNode:e})=>{let t=0;for(;e;)t++,e=e.parentNode;return t};var Xa=class extends qa{static get ELEMENT_NODE(){return 1}static get ATTRIBUTE_NODE(){return 2}static get TEXT_NODE(){return 3}static get CDATA_SECTION_NODE(){return 4}static get COMMENT_NODE(){return 8}static get DOCUMENT_NODE(){return 9}static get DOCUMENT_FRAGMENT_NODE(){return 11}static get DOCUMENT_TYPE_NODE(){return 10}constructor(e,t,n){super(),this.ownerDocument=e,this.localName=t,this.nodeType=n,this.parentNode=null,this[W]=null,this[an]=null}get ELEMENT_NODE(){return 1}get ATTRIBUTE_NODE(){return 2}get TEXT_NODE(){return 3}get CDATA_SECTION_NODE(){return 4}get COMMENT_NODE(){return 8}get DOCUMENT_NODE(){return 9}get DOCUMENT_FRAGMENT_NODE(){return 11}get DOCUMENT_TYPE_NODE(){return 10}get baseURI(){let e=this.nodeType===9?this:this.ownerDocument;if(e){let t=e.querySelector(`base`);if(t)return t.getAttribute(`href`);let{location:n}=e.defaultView;if(n)return n.href}return null}get isConnected(){return!1}get nodeName(){return this.localName}get parentElement(){return null}get previousSibling(){return null}get previousElementSibling(){return null}get nextSibling(){return null}get nextElementSibling(){return null}get childNodes(){return new Ja}get firstChild(){return null}get lastChild(){return null}get nodeValue(){return null}set nodeValue(e){}get textContent(){return null}set textContent(e){}normalize(){}cloneNode(){return null}contains(){return!1}insertBefore(e,t){return e}appendChild(e){return e}replaceChild(e,t){return t}removeChild(e){return e}toString(){return``}hasChildNodes(){return!!this.lastChild}isSameNode(e){return this===e}compareDocumentPosition(e){let t=0;if(this!==e){let n=Ya(this),r=Ya(e);if(n<r)t+=4,this.contains(e)&&(t+=16);else if(r<n)t+=2,e.contains(this)&&(t+=8);else if(n&&r){let{childNodes:n}=this.parentNode;n.indexOf(this)<n.indexOf(e)?t+=4:t+=2}(!n||!r)&&(t+=32,t+=1)}return t}isEqualNode(e){if(this===e)return!0;if(this.nodeType===e.nodeType){switch(this.nodeType){case 9:case 11:{let t=this.childNodes,n=e.childNodes;return t.length===n.length&&t.every((e,t)=>e.isEqualNode(n[t]))}}return this.toString()===e.toString()}return!1}_getParent(){return this.parentNode}getRootNode(){let e=this;for(;e.parentNode;)e=e.parentNode;return e}};const{replace:Za}=``,Qa=/[<>&\xA0]/g,$a={"\xA0":` `,"&":`&`,"<":`<`,">":`>`},eo=e=>$a[e],to=e=>Za.call(e,Qa,eo),no=/"/g;var ro=class e extends Xa{constructor(e,t,n=``){super(e,t,2),this.ownerElement=null,this.name=ta(t),this[dn]=ta(n),this[qt]=!1}get value(){return this[dn]}set value(e){let{[dn]:t,name:n,ownerElement:r}=this;this[dn]=ta(e),this[qt]=!0,r&&(Ia(r,n,t),ha(r,n,t,this[dn]))}cloneNode(){let{ownerDocument:t,name:n,[dn]:r}=this;return new e(t,n,r)}toString(){let{name:e,[dn]:t}=this;return za.has(e)&&!t?ra(this)?e:`${e}=""`:`${e}="${(ra(this)?t:to(t)).replace(no,`"`)}"`}toJSON(){let e=[];return ka(this,e),e}};const io=({ownerDocument:e,parentNode:t})=>{for(;t;){if(t===e)return!0;t=t.parentNode||t.host}return!1},ao=({parentNode:e})=>{if(e)switch(e.nodeType){case 9:case 11:return null}return e},oo=({[an]:e})=>{switch(e?e.nodeType:0){case-1:return e[cn];case 3:case 8:case 4:return e}return null},so=e=>{let t=na(e)[W];return t&&(t.nodeType===-1?null:t)},co=e=>{let t=so(e);for(;t&&t.nodeType!==1;)t=so(t);return t},lo=e=>{let t=oo(e);for(;t&&t.nodeType!==1;)t=oo(t);return t},uo=(e,t)=>{let n=e.createDocumentFragment();return n.append(...t),n},fo=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&r.insertBefore(uo(n,t),e)},po=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&r.insertBefore(uo(n,t),na(e)[W])},mo=(e,t)=>{let{ownerDocument:n,parentNode:r}=e;r&&(t.includes(e)&&mo(e,[e=e.cloneNode()]),r.insertBefore(uo(n,t),e),e.remove())},ho=(e,t,n)=>{let{parentNode:r,nodeType:i}=t;(e||n)&&(la(e,n),t[an]=null,na(t)[W]=null),r&&(t.parentNode=null,La(t,r),i===1&&ba(t))};var go=class extends Xa{constructor(e,t,n,r){super(e,t,n),this[dn]=ta(r)}get isConnected(){return io(this)}get parentElement(){return ao(this)}get previousSibling(){return oo(this)}get nextSibling(){return so(this)}get previousElementSibling(){return lo(this)}get nextElementSibling(){return co(this)}before(...e){fo(this,e)}after(...e){po(this,e)}replaceWith(...e){mo(this,e)}remove(){ho(this[an],this,this[W])}get data(){return this[dn]}set data(e){this[dn]=ta(e),La(this,this.parentNode)}get nodeValue(){return this.data}set nodeValue(e){this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}get length(){return this.data.length}substringData(e,t){return this.data.substr(e,t)}appendData(e){this.data+=e}insertData(e,t){let{data:n}=this;this.data=n.slice(0,e)+t+n.slice(e)}deleteData(e,t){let{data:n}=this;this.data=n.slice(0,e)+n.slice(e+t)}replaceData(e,t,n){let{data:r}=this;this.data=r.slice(0,e)+n+r.slice(e+t)}toJSON(){let e=[];return Aa(this,e),e}},_o=class e extends go{constructor(e,t=``){super(e,`#cdatasection`,4,t)}cloneNode(){let{ownerDocument:t,[dn]:n}=this;return new e(t,n)}toString(){return`<![CDATA[${this[dn]}]]>`}},vo=class e extends go{constructor(e,t=``){super(e,`#comment`,8,t)}cloneNode(){let{ownerDocument:t,[dn]:n}=this;return new e(t,n)}toString(){return`<!--${this[dn]}-->`}},yo=O(((e,t)=>{t.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}})),bo=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.AttributeAction=e.IgnoreCaseMode=e.SelectorType=void 0,(function(e){e.Attribute=`attribute`,e.Pseudo=`pseudo`,e.PseudoElement=`pseudo-element`,e.Tag=`tag`,e.Universal=`universal`,e.Adjacent=`adjacent`,e.Child=`child`,e.Descendant=`descendant`,e.Parent=`parent`,e.Sibling=`sibling`,e.ColumnCombinator=`column-combinator`})(e.SelectorType||={}),e.IgnoreCaseMode={Unknown:null,QuirksMode:`quirks`,IgnoreCase:!0,CaseSensitive:!1},(function(e){e.Any=`any`,e.Element=`element`,e.End=`end`,e.Equals=`equals`,e.Exists=`exists`,e.Hyphen=`hyphen`,e.Not=`not`,e.Start=`start`})(e.AttributeAction||={})})),xo=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.parse=e.isTraversal=void 0;var t=bo(),n=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,r=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,i=new Map([[126,t.AttributeAction.Element],[94,t.AttributeAction.Start],[36,t.AttributeAction.End],[42,t.AttributeAction.Any],[33,t.AttributeAction.Not],[124,t.AttributeAction.Hyphen]]),a=new Set([`has`,`not`,`matches`,`is`,`where`,`host`,`host-context`]);function o(e){switch(e.type){case t.SelectorType.Adjacent:case t.SelectorType.Child:case t.SelectorType.Descendant:case t.SelectorType.Parent:case t.SelectorType.Sibling:case t.SelectorType.ColumnCombinator:return!0;default:return!1}}e.isTraversal=o;var s=new Set([`contains`,`icontains`]);function c(e,t,n){var r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function l(e){return e.replace(r,c)}function u(e){return e===39||e===34}function d(e){return e===32||e===9||e===10||e===12||e===13}function f(e){var t=[],n=p(t,`${e}`,0);if(n<e.length)throw Error(`Unmatched selector: ${e.slice(n)}`);return t}e.parse=f;function p(e,r,c){var f=[];function m(e){var t=r.slice(c+e).match(n);if(!t)throw Error(`Expected name, found ${r.slice(c)}`);var i=t[0];return c+=e+i.length,l(i)}function h(e){for(c+=e;c<r.length&&d(r.charCodeAt(c));)c++}function g(){c+=1;for(var e=c,t=1;t>0&&c<r.length;c++)r.charCodeAt(c)===40&&!_(c)?t++:r.charCodeAt(c)===41&&!_(c)&&t--;if(t)throw Error(`Parenthesis not matched`);return l(r.slice(e,c-1))}function _(e){for(var t=0;r.charCodeAt(--e)===92;)t++;return(t&1)==1}function v(){if(f.length>0&&o(f[f.length-1]))throw Error(`Did not expect successive traversals.`)}function y(e){if(f.length>0&&f[f.length-1].type===t.SelectorType.Descendant){f[f.length-1].type=e;return}v(),f.push({type:e})}function b(e,n){f.push({type:t.SelectorType.Attribute,name:e,action:n,value:m(1),namespace:null,ignoreCase:`quirks`})}function x(){if(f.length&&f[f.length-1].type===t.SelectorType.Descendant&&f.pop(),f.length===0)throw Error(`Empty sub-selector`);e.push(f)}if(h(0),r.length===c)return c;loop:for(;c<r.length;){var S=r.charCodeAt(c);switch(S){case 32:case 9:case 10:case 12:case 13:(f.length===0||f[0].type!==t.SelectorType.Descendant)&&(v(),f.push({type:t.SelectorType.Descendant})),h(1);break;case 62:y(t.SelectorType.Child),h(1);break;case 60:y(t.SelectorType.Parent),h(1);break;case 126:y(t.SelectorType.Sibling),h(1);break;case 43:y(t.SelectorType.Adjacent),h(1);break;case 46:b(`class`,t.AttributeAction.Element);break;case 35:b(`id`,t.AttributeAction.Equals);break;case 91:h(1);var C=void 0,w=null;r.charCodeAt(c)===124?C=m(1):r.startsWith(`*|`,c)?(w=`*`,C=m(2)):(C=m(0),r.charCodeAt(c)===124&&r.charCodeAt(c+1)!==61&&(w=C,C=m(1))),h(0);var T=t.AttributeAction.Exists,E=i.get(r.charCodeAt(c));if(E){if(T=E,r.charCodeAt(c+1)!==61)throw Error("Expected `=`");h(2)}else r.charCodeAt(c)===61&&(T=t.AttributeAction.Equals,h(1));var ee=``,te=null;if(T!==`exists`){if(u(r.charCodeAt(c))){for(var ne=r.charCodeAt(c),D=c+1;D<r.length&&(r.charCodeAt(D)!==ne||_(D));)D+=1;if(r.charCodeAt(D)!==ne)throw Error(`Attribute value didn't end`);ee=l(r.slice(c+1,D)),c=D+1}else{for(var O=c;c<r.length&&(!d(r.charCodeAt(c))&&r.charCodeAt(c)!==93||_(c));)c+=1;ee=l(r.slice(O,c))}h(0);var re=r.charCodeAt(c)|32;re===115?(te=!1,h(1)):re===105&&(te=!0,h(1))}if(r.charCodeAt(c)!==93)throw Error(`Attribute selector didn't terminate`);c+=1;var ie={type:t.SelectorType.Attribute,name:C,action:T,value:ee,namespace:w,ignoreCase:te};f.push(ie);break;case 58:if(r.charCodeAt(c+1)===58){f.push({type:t.SelectorType.PseudoElement,name:m(2).toLowerCase(),data:r.charCodeAt(c)===40?g():null});continue}var ae=m(1).toLowerCase(),k=null;if(r.charCodeAt(c)===40)if(a.has(ae)){if(u(r.charCodeAt(c+1)))throw Error(`Pseudo-selector ${ae} cannot be quoted`);if(k=[],c=p(k,r,c+1),r.charCodeAt(c)!==41)throw Error(`Missing closing parenthesis in :${ae} (${r})`);c+=1}else{if(k=g(),s.has(ae)){var oe=k.charCodeAt(0);oe===k.charCodeAt(k.length-1)&&u(oe)&&(k=k.slice(1,-1))}k=l(k)}f.push({type:t.SelectorType.Pseudo,name:ae,data:k});break;case 44:x(),f=[],h(1);break;default:if(r.startsWith(`/*`,c)){var se=r.indexOf(`*/`,c+2);if(se<0)throw Error(`Comment was not terminated`);c=se+2,f.length===0&&h(0);break}var w=null,ce=void 0;if(S===42)c+=1,ce=`*`;else if(S===124){if(ce=``,r.charCodeAt(c+1)===124){y(t.SelectorType.ColumnCombinator),h(2);break}}else if(n.test(r.slice(c)))ce=m(0);else break loop;r.charCodeAt(c)===124&&r.charCodeAt(c+1)!==124&&(w=ce,r.charCodeAt(c+1)===42?(ce=`*`,c+=2):ce=m(1)),f.push(ce===`*`?{type:t.SelectorType.Universal,namespace:w}:{type:t.SelectorType.Tag,name:ce,namespace:w})}}return x(),c}})),So=O((e=>{var t=e&&e.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=void 0;var n=bo(),r=[`\\`,`"`],i=t(t([],r,!0),[`(`,`)`],!1),a=new Set(r.map(function(e){return e.charCodeAt(0)})),o=new Set(i.map(function(e){return e.charCodeAt(0)})),s=new Set(t(t([],i,!0),[`~`,`^`,`$`,`*`,`+`,`!`,`|`,`:`,`[`,`]`,` `,`.`],!1).map(function(e){return e.charCodeAt(0)}));function c(e){return e.map(function(e){return e.map(l).join(``)}).join(`, `)}e.stringify=c;function l(e,t,r){switch(e.type){case n.SelectorType.Child:return t===0?`> `:` > `;case n.SelectorType.Parent:return t===0?`< `:` < `;case n.SelectorType.Sibling:return t===0?`~ `:` ~ `;case n.SelectorType.Adjacent:return t===0?`+ `:` + `;case n.SelectorType.Descendant:return` `;case n.SelectorType.ColumnCombinator:return t===0?`|| `:` || `;case n.SelectorType.Universal:return e.namespace===`*`&&t+1<r.length&&`name`in r[t+1]?``:`${f(e.namespace)}*`;case n.SelectorType.Tag:return d(e);case n.SelectorType.PseudoElement:return`::${p(e.name,s)}${e.data===null?``:`(${p(e.data,o)})`}`;case n.SelectorType.Pseudo:return`:${p(e.name,s)}${e.data===null?``:`(${typeof e.data==`string`?p(e.data,o):c(e.data)})`}`;case n.SelectorType.Attribute:if(e.name===`id`&&e.action===n.AttributeAction.Equals&&e.ignoreCase===`quirks`&&!e.namespace)return`#${p(e.value,s)}`;if(e.name===`class`&&e.action===n.AttributeAction.Element&&e.ignoreCase===`quirks`&&!e.namespace)return`.${p(e.value,s)}`;var i=d(e);return e.action===n.AttributeAction.Exists?`[${i}]`:`[${i}${u(e.action)}="${p(e.value,a)}"${e.ignoreCase===null?``:e.ignoreCase?` i`:` s`}]`}}function u(e){switch(e){case n.AttributeAction.Equals:return``;case n.AttributeAction.Element:return`~`;case n.AttributeAction.Start:return`^`;case n.AttributeAction.End:return`$`;case n.AttributeAction.Any:return`*`;case n.AttributeAction.Not:return`!`;case n.AttributeAction.Hyphen:return`|`;case n.AttributeAction.Exists:throw Error(`Shouldn't be here`)}}function d(e){return`${f(e.namespace)}${p(e.name,s)}`}function f(e){return e===null?``:`${e===`*`?`*`:p(e,s)}|`}function p(e,t){for(var n=0,r=``,i=0;i<e.length;i++)t.has(e.charCodeAt(i))&&(r+=`${e.slice(n,i)}\\${e.charAt(i)}`,n=i+1);return r.length>0?r+e.slice(n):e}})),Co=O((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=e.parse=e.isTraversal=void 0,n(bo(),e);var r=xo();Object.defineProperty(e,`isTraversal`,{enumerable:!0,get:function(){return r.isTraversal}}),Object.defineProperty(e,`parse`,{enumerable:!0,get:function(){return r.parse}});var i=So();Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return i.stringify}})})),X=ae(yo(),1),Z=Co();const wo=new Map([[Z.SelectorType.Universal,50],[Z.SelectorType.Tag,30],[Z.SelectorType.Attribute,1],[Z.SelectorType.Pseudo,0]]);function To(e){return!wo.has(e.type)}const Eo=new Map([[Z.AttributeAction.Exists,10],[Z.AttributeAction.Equals,8],[Z.AttributeAction.Not,7],[Z.AttributeAction.Start,6],[Z.AttributeAction.End,6],[Z.AttributeAction.Any,5]]);function Do(e){let t=e.map(Oo);for(let n=1;n<e.length;n++){let r=t[n];if(!(r<0))for(let i=n-1;i>=0&&r<t[i];i--){let n=e[i+1];e[i+1]=e[i],e[i]=n,t[i+1]=t[i],t[i]=r}}}function Oo(e){let t=wo.get(e.type)??-1;return e.type===Z.SelectorType.Attribute?(t=Eo.get(e.action)??4,e.action===Z.AttributeAction.Equals&&e.name===`id`&&(t=9),e.ignoreCase&&(t>>=1)):e.type===Z.SelectorType.Pseudo&&(e.data?e.name===`has`||e.name===`contains`?t=0:Array.isArray(e.data)?(t=Math.min(...e.data.map(e=>Math.min(...e.map(Oo)))),t<0&&(t=0)):t=2:t=3),t}const ko=/[-[\]{}()*+?.,\\^$|#\s]/g;function Ao(e){return e.replace(ko,`\\$&`)}const jo=new Set(`accept.accept-charset.align.alink.axis.bgcolor.charset.checked.clear.codetype.color.compact.declare.defer.dir.direction.disabled.enctype.face.frame.hreflang.http-equiv.lang.language.link.media.method.multiple.nohref.noresize.noshade.nowrap.readonly.rel.rev.rules.scope.scrolling.selected.shape.target.text.type.valign.valuetype.vlink`.split(`.`));function Mo(e,t){return typeof e.ignoreCase==`boolean`?e.ignoreCase:e.ignoreCase===`quirks`?!!t.quirksMode:!t.xmlMode&&jo.has(e.name)}const No={equals(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return Mo(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length===a.length&&n.toLowerCase()===a&&e(t)}):t=>r.getAttributeValue(t,i)===a&&e(t)},hyphen(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return Mo(t,n)?(a=a.toLowerCase(),function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o).toLowerCase()===a&&e(t)}):function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o)===a&&e(t)}},element(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(/\s/.test(a))return X.default.falseFunc;let o=RegExp(`(?:^|\\s)${Ao(a)}(?:$|\\s)`,Mo(t,n)?`i`:``);return function(t){let n=r.getAttributeValue(t,i);return n!=null&&n.length>=a.length&&o.test(n)&&e(t)}},exists(e,{name:t},{adapter:n}){return r=>n.hasAttrib(r,t)&&e(r)},start(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return o===0?X.default.falseFunc:Mo(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length>=o&&n.substr(0,o).toLowerCase()===a&&e(t)}):t=>!!r.getAttributeValue(t,i)?.startsWith(a)&&e(t)},end(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=-a.length;return o===0?X.default.falseFunc:Mo(t,n)?(a=a.toLowerCase(),t=>r.getAttributeValue(t,i)?.substr(o).toLowerCase()===a&&e(t)):t=>!!r.getAttributeValue(t,i)?.endsWith(a)&&e(t)},any(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(a===``)return X.default.falseFunc;if(Mo(t,n)){let t=new RegExp(Ao(a),`i`);return function(n){let o=r.getAttributeValue(n,i);return o!=null&&o.length>=a.length&&t.test(o)&&e(n)}}return t=>!!r.getAttributeValue(t,i)?.includes(a)&&e(t)},not(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return a===``?t=>!!r.getAttributeValue(t,i)&&e(t):Mo(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return(n==null||n.length!==a.length||n.toLowerCase()!==a)&&e(t)}):t=>r.getAttributeValue(t,i)!==a&&e(t)}},Po=new Set([9,10,12,13,32]);function Fo(e){if(e=e.trim().toLowerCase(),e===`even`)return[2,0];if(e===`odd`)return[2,1];let t=0,n=0,r=a(),i=o();if(t<e.length&&e.charAt(t)===`n`&&(t++,n=r*(i??1),s(),t<e.length?(r=a(),s(),i=o()):r=i=0),i===null||t<e.length)throw Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*i];function a(){return e.charAt(t)===`-`?(t++,-1):(e.charAt(t)===`+`&&t++,1)}function o(){let n=t,r=0;for(;t<e.length&&e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57;)r=r*10+(e.charCodeAt(t)-48),t++;return t===n?null:r}function s(){for(;t<e.length&&Po.has(e.charCodeAt(t));)t++}}function Io(e){let t=e[0],n=e[1]-1;if(n<0&&t<=0)return X.default.falseFunc;if(t===-1)return e=>e<=n;if(t===0)return e=>e===n;if(t===1)return n<0?X.default.trueFunc:e=>e>=n;let r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>=n&&e%r===i:e=>e<=n&&e%r===i}function Lo(e){return Io(Fo(e))}function Ro(e,t){return n=>{let r=t.getParent(n);return r!=null&&t.isTag(r)&&e(n)}}const zo={contains(e,t,{adapter:n}){return function(r){return e(r)&&n.getText(r).includes(t)}},icontains(e,t,{adapter:n}){let r=t.toLowerCase();return function(t){return e(t)&&n.getText(t).toLowerCase().includes(r)}},"nth-child"(e,t,{adapter:n,equals:r}){let i=Lo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?Ro(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length&&!r(t,a[e]);e++)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-last-child"(e,t,{adapter:n,equals:r}){let i=Lo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?Ro(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0&&!r(t,a[e]);e--)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-of-type"(e,t,{adapter:n,equals:r}){let i=Lo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?Ro(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length;e++){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},"nth-last-of-type"(e,t,{adapter:n,equals:r}){let i=Lo(t);return i===X.default.falseFunc?X.default.falseFunc:i===X.default.trueFunc?Ro(e,n):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0;e--){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},root(e,t,{adapter:n}){return t=>{let r=n.getParent(t);return(r==null||!n.isTag(r))&&e(t)}},scope(e,t,n,r){let{equals:i}=n;return!r||r.length===0?zo.root(e,t,n):r.length===1?t=>i(r[0],t)&&e(t):t=>r.includes(t)&&e(t)},hover:Bo(`isHovered`),visited:Bo(`isVisited`),active:Bo(`isActive`)};function Bo(e){return function(t,n,{adapter:r}){let i=r[e];return typeof i==`function`?function(e){return i(e)&&t(e)}:X.default.falseFunc}}const Vo={empty(e,{adapter:t}){return!t.getChildren(e).some(e=>t.isTag(e)||t.getText(e)!==``)},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;let r=t.getSiblings(e).find(e=>t.isTag(e));return r!=null&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){let r=t.getSiblings(e);for(let i=r.length-1;i>=0;i--){if(n(e,r[i]))return!0;if(t.isTag(r[i]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=0;a<r.length;a++){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=r.length-1;a>=0;a--){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){let r=t.getName(e);return t.getSiblings(e).every(i=>n(e,i)||!t.isTag(i)||t.getName(i)!==r)},"only-child"(e,{adapter:t,equals:n}){return t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))}};function Ho(e,t,n,r){if(n===null){if(e.length>r)throw Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw Error(`Pseudo-class :${t} doesn't have any arguments`)}const Uo={"any-link":`:is(a, area, link)[href]`,link:`:any-link:not(:visited)`,disabled:`:is(
|
|
7
7
|
:is(button, input, select, textarea, optgroup, option)[disabled],
|
|
8
8
|
optgroup[disabled] > option,
|
|
9
9
|
fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
|
|
10
|
-
)`,enabled:`:not(:disabled)`,checked:`:is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)`,required:`:is(input, select, textarea)[required]`,optional:`:is(input, select, textarea):not([required])`,selected:`option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)`,checkbox:`[type=checkbox]`,file:`[type=file]`,password:`[type=password]`,radio:`[type=radio]`,reset:`[type=reset]`,image:`[type=image]`,submit:`[type=submit]`,parent:`:not(:empty)`,header:`:is(h1, h2, h3, h4, h5, h6)`,button:`:is(button, input[type=button])`,input:`:is(input, textarea, select, button)`,text:`input:is(:not([type!='']), [type=text])`},so={};function co(e,t){return e===X.default.falseFunc?X.default.falseFunc:n=>t.isTag(n)&&e(n)}function lo(e,t){let n=t.getSiblings(e);if(n.length<=1)return[];let r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function uo(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const fo=(e,t,n,r,i)=>{let a=i(t,uo(n),r);return a===X.default.trueFunc?e:a===X.default.falseFunc?X.default.falseFunc:t=>a(t)&&e(t)},po={is:fo,matches:fo,where:fo,not(e,t,n,r,i){let a=i(t,uo(n),r);return a===X.default.falseFunc?e:a===X.default.trueFunc?X.default.falseFunc:t=>!a(t)&&e(t)},has(e,t,n,r,i){let{adapter:a}=n,o=uo(n);o.relativeSelector=!0;let s=t.some(e=>e.some(Ha))?[so]:void 0,c=i(t,o,s);if(c===X.default.falseFunc)return X.default.falseFunc;let l=co(c,a);if(s&&c!==X.default.trueFunc){let{shouldTestNextSiblings:t=!1}=c;return n=>{if(!e(n))return!1;s[0]=n;let r=a.getChildren(n),i=t?[...r,...lo(n,a)]:r;return a.existsOne(l,i)}}return t=>e(t)&&a.existsOne(l,a.getChildren(t))}};function mo(e,t,n,r,i){let{name:a,data:o}=t;if(Array.isArray(o)){if(!(a in po))throw Error(`Unknown pseudo-class :${a}(${o})`);return po[a](e,o,n,r,i)}let s=n.pseudos?.[a],c=typeof s==`string`?s:oo[a];if(typeof c==`string`){if(o!=null)throw Error(`Pseudo ${a} doesn't have any arguments`);let t=(0,Z.parse)(c);return po.is(e,t,n,r,i)}if(typeof s==`function`)return ao(s,a,o,1),t=>s(t,o)&&e(t);if(a in no)return no[a](e,o,n,r);if(a in io){let t=io[a];return ao(t,a,o,2),r=>t(r,n,o)&&e(r)}throw Error(`Unknown pseudo-class :${a}`)}function ho(e,t){let n=t.getParent(e);return n&&t.isTag(n)?n:null}function go(e,t,n,r,i){let{adapter:a,equals:o}=n;switch(t.type){case Z.SelectorType.PseudoElement:throw Error(`Pseudo-elements are not supported by css-select`);case Z.SelectorType.ColumnCombinator:throw Error(`Column combinators are not yet supported by css-select`);case Z.SelectorType.Attribute:if(t.namespace!=null)throw Error(`Namespaced attributes are not yet supported by css-select`);return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),Xa[t.action](e,t,n);case Z.SelectorType.Pseudo:return mo(e,t,n,r,i);case Z.SelectorType.Tag:{if(t.namespace!=null)throw Error(`Namespaced tag names are not yet supported by css-select`);let{name:r}=t;return(!n.xmlMode||n.lowerCaseTags)&&(r=r.toLowerCase()),function(t){return a.getName(t)===r&&e(t)}}case Z.SelectorType.Descendant:{if(n.cacheResults===!1||typeof WeakSet>`u`)return function(t){let n=t;for(;n=ho(n,a);)if(e(n))return!0;return!1};let t=new WeakSet;return function(n){let r=n;for(;r=ho(r,a);)if(!t.has(r)){if(a.isTag(r)&&e(r))return!0;t.add(r)}return!1}}case`_flexibleDescendant`:return function(t){let n=t;do if(e(n))return!0;while(n=ho(n,a));return!1};case Z.SelectorType.Parent:return function(t){return a.getChildren(t).some(t=>a.isTag(t)&&e(t))};case Z.SelectorType.Child:return function(t){let n=a.getParent(t);return n!=null&&a.isTag(n)&&e(n)};case Z.SelectorType.Sibling:return function(t){let n=a.getSiblings(t);for(let r=0;r<n.length;r++){let i=n[r];if(o(t,i))break;if(a.isTag(i)&&e(i))return!0}return!1};case Z.SelectorType.Adjacent:return a.prevElementSibling?function(t){let n=a.prevElementSibling(t);return n!=null&&e(n)}:function(t){let n=a.getSiblings(t),r;for(let e=0;e<n.length;e++){let i=n[e];if(o(t,i))break;a.isTag(i)&&(r=i)}return!!r&&e(r)};case Z.SelectorType.Universal:if(t.namespace!=null&&t.namespace!==`*`)throw Error(`Namespaced universal selectors are not yet supported by css-select`);return e}}function _o(e,t,n){return co(vo(e,t,n),t.adapter)}function vo(e,t,n){return wo(typeof e==`string`?(0,Z.parse)(e):e,t,n)}function yo(e){return e.type===Z.SelectorType.Pseudo&&(e.name===`scope`||Array.isArray(e.data)&&e.data.some(e=>e.some(yo)))}const bo={type:Z.SelectorType.Descendant},xo={type:`_flexibleDescendant`},So={type:Z.SelectorType.Pseudo,name:`scope`,data:null};function Co(e,{adapter:t},n){let r=!!n?.every(e=>{let n=t.isTag(e)&&t.getParent(e);return e===so||n&&t.isTag(n)});for(let t of e){if(!(t.length>0&&Ha(t[0])&&t[0].type!==Z.SelectorType.Descendant))if(r&&!t.some(yo))t.unshift(bo);else continue;t.unshift(So)}}function wo(e,t,n){e.forEach(Wa),n=t.context??n;let r=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)Co(e,t,i);else if(e.some(e=>e.length>0&&Ha(e[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let a=!1,o=e.map(e=>{if(e.length>=2){let[t,n]=e;t.type!==Z.SelectorType.Pseudo||t.name!==`scope`||(r&&n.type===Z.SelectorType.Descendant?e[1]=xo:(n.type===Z.SelectorType.Adjacent||n.type===Z.SelectorType.Sibling)&&(a=!0))}return To(e,t,i)}).reduce(Eo,X.default.falseFunc);return o.shouldTestNextSiblings=a,o}function To(e,t,n){return e.reduce((e,r)=>e===X.default.falseFunc?X.default.falseFunc:go(e,r,t,n,wo),t.rootFunc??X.default.trueFunc)}function Eo(e,t){return t===X.default.falseFunc||e===X.default.trueFunc?e:e===X.default.falseFunc||t===X.default.trueFunc?t:function(n){return e(n)||t(n)}}const Do=(e,t)=>e===t,Oo={adapter:ni,equals:Do};function ko(e){let t=e??Oo;return t.adapter??=ni,t.equals??=t.adapter?.equals??Do,t}function Ao(e){return function(t,n,r){return e(t,ko(n),r)}}const jo=Ao(_o);function Mo(e,t,n){let r=ko(n);return(typeof t==`function`?t:_o(t,r))(e)}const{isArray:No}=Array,Po=({nodeType:e})=>e===1,Fo=(e,t)=>t.some(t=>Po(t)&&(e(t)||Fo(e,Lo(t)))),Io=(e,t)=>t===`class`?e.classList.value:e.getAttribute(t),Lo=({childNodes:e})=>e,Ro=e=>{let{localName:t}=e;return xi(e)?t.toLowerCase():t},zo=({parentNode:e})=>e,Bo=e=>{let{parentNode:t}=e;return t?Lo(t):e},Vo=e=>No(e)?e.map(Vo).join(``):Po(e)?Vo(Lo(e)):e.nodeType===3?e.data:``,Ho=(e,t)=>e.hasAttribute(t),Uo=e=>{let{length:t}=e;for(;t--;){let n=e[t];if(t&&-1<e.lastIndexOf(n,t-1)){e.splice(t,1);continue}for(let{parentNode:r}=n;r;r=r.parentNode)if(e.includes(r)){e.splice(t,1);break}}return e},Wo=(e,t)=>{let n=[];for(let r of t)Po(r)&&(e(r)&&n.push(r),n.push(...Wo(e,Lo(r))));return n},Go=(e,t)=>{for(let n of t)if(e(n)||(n=Go(e,Lo(n))))return n;return null},Ko={isTag:Po,existsOne:Fo,getAttributeValue:Io,getChildren:Lo,getName:Ro,getParent:zo,getSiblings:Bo,getText:Vo,hasAttrib:Ho,removeSubsets:Uo,findAll:Wo,findOne:Go},qo=(e,t)=>jo(t,{context:t.includes(`:scope`)?e:void 0,xmlMode:!xi(e),adapter:Ko}),Jo=(e,t)=>Mo(e,t,{strict:!0,context:t.includes(`:scope`)?e:void 0,xmlMode:!xi(e),adapter:Ko});var Yo=class e extends Na{constructor(e,t=``){super(e,`#text`,3,t)}get wholeText(){let e=[],{previousSibling:t,nextSibling:n}=this;for(;t&&t.nodeType===3;)e.unshift(t[V]),t=t.previousSibling;for(e.push(this[V]);n&&n.nodeType===3;)e.push(n[V]),n=n.nextSibling;return e.join(``)}cloneNode(){let{ownerDocument:t,[V]:n}=this;return new e(t,n)}toString(){return ya(this[V])}};const Xo=e=>e instanceof ma,Zo=(e,t,n)=>{let{ownerDocument:r}=e;for(let i of n)e.insertBefore(Xo(i)?i:new Yo(r,i),t)};var Qo=class extends ma{constructor(e,t,n){super(e,t,n),this[Ot]=null,this[z]=this[L]={[z]:null,[Dt]:this,[At]:this,nodeType:-1,ownerDocument:this.ownerDocument,parentNode:null}}get childNodes(){let e=new fa,{firstChild:t}=this;for(;t;)e.push(t),t=Ta(t);return e}get children(){let e=new fa,{firstElementChild:t}=this;for(;t;)e.push(t),t=Ea(t);return e}get firstChild(){let{[z]:e,[L]:t}=this;for(;e.nodeType===2;)e=e[z];return e===t?null:e}get firstElementChild(){let{firstChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=Ta(e)}return null}get lastChild(){let e=this[L][Dt];switch(e.nodeType){case-1:return e[At];case 2:return null}return e===this?null:e}get lastElementChild(){let{lastChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=wa(e)}return null}get childElementCount(){return this.children.length}prepend(...e){Zo(this,this.firstChild,e)}append(...e){Zo(this,this[L],e)}replaceChildren(...e){let{[z]:t,[L]:n}=this;for(;t!==n&&t.nodeType===2;)t=t[z];for(;t!==n;){let e=bi(t)[z];t.remove(),t=e}e.length&&Zo(this,n,e)}getElementsByClassName(e){let t=new fa,{[z]:n,[L]:r}=this;for(;n!==r;)n.nodeType===1&&n.hasAttribute(`class`)&&n.classList.has(e)&&t.push(n),n=n[z];return t}getElementsByTagName(e){let t=new fa,{[z]:n,[L]:r}=this;for(;n!==r;)n.nodeType===1&&(n.localName===e||Ei(n)===e)&&t.push(n),n=n[z];return t}querySelector(e){let t=qo(this,e),{[z]:n,[L]:r}=this;for(;n!==r;){if(n.nodeType===1&&t(n))return n;n=n.nodeType===1&&n.localName===`template`?n[L]:n[z]}return null}querySelectorAll(e){let t=qo(this,e),n=new fa,{[z]:r,[L]:i}=this;for(;r!==i;)r.nodeType===1&&t(r)&&n.push(r),r=r.nodeType===1&&r.localName===`template`?r[L]:r[z];return n}appendChild(e){return this.insertBefore(e,this[L])}contains(e){let t=e;for(;t&&t!==this;)t=t.parentNode;return t===this}insertBefore(e,t=null){if(e===t)return e;if(e===this)throw Error(`unable to append a node to itself`);let n=t||this[L];switch(e.nodeType){case 1:e.remove(),e.parentNode=this,Ci(n[Dt],e,n),ta(e,null),Ii(e);break;case 11:{let{[Ot]:t,firstChild:r,lastChild:i}=e;if(r){wi(n[Dt],r,i,n),Si(e,e[L]),t&&t.replaceChildren();do r.parentNode=this,ta(r,null),r.nodeType===1&&Ii(r);while(r!==i&&(r=Ta(r)))}break}case 3:case 8:case 4:e.remove();default:e.parentNode=this,Ti(n[Dt],e,n),ta(e,null);break}return e}normalize(){let{[z]:e,[L]:t}=this;for(;e!==t;){let{[z]:t,[Dt]:n,nodeType:r}=e;r===3&&(e[V]?n&&n.nodeType===3&&(n.textContent+=e.textContent,e.remove()):e.remove()),e=t}}removeChild(e){if(e.parentNode!==this)throw Error(`node is not a child`);return e.remove(),e}replaceChild(e,t){let n=bi(t)[z];return t.remove(),this.insertBefore(e,n),t}},$o=class extends Qo{getElementById(e){let{[z]:t,[L]:n}=this;for(;t!==n;){if(t.nodeType===1&&t.id===e)return t;t=t[z]}return null}cloneNode(e){let{ownerDocument:t,constructor:n}=this,r=new n(t);if(e){let{[L]:t}=r;for(let n of this.childNodes)r.insertBefore(n.cloneNode(e),t)}return r}toString(){let{childNodes:e,localName:t}=this;return`<${t}>${e.join(``)}</${t}>`}toJSON(){let e=[];return Yi(this,e),e}},es=class extends $o{constructor(e){super(e,`#document-fragment`,11)}},ts=class e extends ma{constructor(e,t,n=``,r=``){super(e,`#document-type`,10),this.name=t,this.publicId=n,this.systemId=r}cloneNode(){let{ownerDocument:t,name:n,publicId:r,systemId:i}=this;return new e(t,n,r,i)}toString(){let{name:e,publicId:t,systemId:n}=this,r=0<t.length,i=[e];return r&&i.push(`PUBLIC`,`"${t}"`),n.length&&(r||i.push(`SYSTEM`),i.push(`"${n}"`)),`<!DOCTYPE ${i.join(` `)}>`}toJSON(){let e=[];return Xi(this,e),e}};const ns=e=>e.childNodes.join(``),rs=(e,t)=>{let{ownerDocument:n}=e,{constructor:r}=n,i=new r;i[_t]=n[_t];let{childNodes:a}=Ui(i,xi(e),t);e.replaceChildren(...a.map(is,n))};function is(e){switch(e.ownerDocument=this,e.nodeType){case 1:case 11:e.childNodes.forEach(is,this);break}return e}var as=e=>e.replace(/(([A-Z0-9])([A-Z0-9][a-z]))|(([a-z0-9]+)([A-Z]))/g,`$2$5-$3$6`).toLowerCase();const os=new WeakMap,ss=e=>`data-${as(e)}`,cs=e=>e.slice(5).replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),ls={get(e,t){if(t in e)return os.get(e).getAttribute(ss(t))},set(e,t,n){return e[t]=n,os.get(e).setAttribute(ss(t),n),!0},deleteProperty(e,t){return t in e&&os.get(e).removeAttribute(ss(t)),delete e[t]}};var us=class{constructor(e){for(let{name:t,value:n}of e.attributes)/^data-/.test(t)&&(this[cs(t)]=n);return os.set(this,e),new Proxy(this,ls)}};vi(us.prototype,null);const{add:ds}=Set.prototype,fs=(e,t)=>{for(let n of t)n&&ds.call(e,n)},ps=({[Et]:e,value:t})=>{let n=e.getAttributeNode(`class`);n?n.value=t:ia(e,new xa(e.ownerDocument,`class`,t))};var ms=class extends Set{constructor(e){super(),this[Et]=e;let t=e.getAttributeNode(`class`);t&&fs(this,t.value.split(/\s+/))}get length(){return this.size}get value(){return[...this].join(` `)}add(...e){fs(this,e),ps(this)}contains(e){return this.has(e)}remove(...e){for(let t of e)this.delete(t);ps(this)}toggle(e,t){if(this.has(e)){if(t)return!0;this.delete(e),ps(this)}else if(t||arguments.length===1)return super.add(e),ps(this),!0;return!1}replace(e,t){return this.has(e)?(this.delete(e),super.add(t),ps(this),!0):!1}supports(){return!0}};const hs=new WeakMap,gs=e=>[...e.keys()].filter(e=>e!==Ot),_s=e=>{let t=hs.get(e).getAttributeNode(`style`);if((!t||t[ht]||e.get(Ot)!==t)&&(e.clear(),t)){e.set(Ot,t);for(let n of t[V].split(/\s*;\s*/)){let[t,...r]=n.split(`:`);if(r.length>0){t=t.trim();let n=r.join(`:`).trim();t&&n&&e.set(t,n)}}}return t},vs={get(e,t){return t in bs?e[t]:(_s(e),t===`length`?gs(e).length:/^\d+$/.test(t)?gs(e)[t]:e.get(as(t)))},set(e,t,n){if(t===`cssText`)e[t]=n;else{let r=_s(e);if(n==null?e.delete(as(t)):e.set(as(t),n),!r){let t=hs.get(e);r=t.ownerDocument.createAttribute(`style`),t.setAttributeNode(r),e.set(Ot,r)}r[ht]=!1,r[V]=e.toString()}return!0}};var ys=class extends Map{constructor(e){return super(),hs.set(this,e),new Proxy(this,vs)}get cssText(){return this.toString()}set cssText(e){hs.get(this).setAttribute(`style`,e)}getPropertyValue(e){let t=this[Ot];return vs.get(t,e)}setProperty(e,t){let n=this[Ot];vs.set(n,e,t)}removeProperty(e){let t=this[Ot];vs.set(t,e,null)}[Symbol.iterator](){let e=this[Ot];_s(e);let t=gs(e),{length:n}=t,r=0;return{next(){let e=r===n;return{done:e,value:e?null:t[r++]}}}}get[Ot](){return this}toString(){let e=this[Ot];_s(e);let t=[];return e.forEach(xs,t),t.join(`;`)}};const{prototype:bs}=ys;function xs(e,t){t!==Ot&&this.push(`${t}:${e}`)}function Ss(e){return e.currentTarget}var Cs=class{static get BUBBLING_PHASE(){return 3}static get AT_TARGET(){return 2}static get CAPTURING_PHASE(){return 1}static get NONE(){return 0}constructor(e,t={}){this.type=e,this.bubbles=!!t.bubbles,this.cancelBubble=!1,this._stopImmediatePropagationFlag=!1,this.cancelable=!!t.cancelable,this.eventPhase=this.NONE,this.timeStamp=Date.now(),this.defaultPrevented=!1,this.originalTarget=null,this.returnValue=null,this.srcElement=null,this.target=null,this._path=[]}get BUBBLING_PHASE(){return 3}get AT_TARGET(){return 2}get CAPTURING_PHASE(){return 1}get NONE(){return 0}preventDefault(){this.defaultPrevented=!0}composedPath(){return this._path.map(Ss)}stopPropagation(){this.cancelBubble=!0}stopImmediatePropagation(){this.stopPropagation(),this._stopImmediatePropagationFlag=!0}},ws=class extends Array{constructor(e){super(),this.ownerElement=e}getNamedItem(e){return this.ownerElement.getAttributeNode(e)}setNamedItem(e){this.ownerElement.setAttributeNode(e),this.unshift(e)}removeNamedItem(e){let t=this.getNamedItem(e);this.ownerElement.removeAttribute(e),this.splice(this.indexOf(t),1)}item(e){return e<this.length?this[e]:null}getNamedItemNS(e,t){return this.getNamedItem(t)}setNamedItemNS(e,t){return this.setNamedItem(t)}removeNamedItemNS(e,t){return this.removeNamedItem(t)}},Ts=class extends $o{constructor(e){super(e.ownerDocument,`#shadow-root`,11),this.host=e}get innerHTML(){return ns(this)}set innerHTML(e){rs(this,e)}};const Es={get(e,t){return t in e?e[t]:e.find(({name:e})=>e===t)}},Ds=(e,t,n)=>{if(`ownerSVGElement`in t){let r=e.createElementNS(di,n);return r.ownerSVGElement=t.ownerSVGElement,r}return e.createElement(n)},Os=({localName:e,ownerDocument:t})=>t[wt].voidElements.test(e);var ks=class extends Qo{constructor(e,t){super(e,t,1),this[gt]=null,this[yt]=null,this[jt]=null}get isConnected(){return Sa(this)}get parentElement(){return Ca(this)}get previousSibling(){return wa(this)}get nextSibling(){return Ta(this)}get namespaceURI(){return`http://www.w3.org/1999/xhtml`}get previousElementSibling(){return Da(this)}get nextElementSibling(){return Ea(this)}before(...e){ka(this,e)}after(...e){Aa(this,e)}replaceWith(...e){ja(this,e)}remove(){Ma(this[Dt],this,this[L][z])}get id(){return Y.get(this,`id`)}set id(e){Y.set(this,`id`,e)}get className(){return this.classList.value}set className(e){let{classList:t}=this;t.clear(),t.add(...yi(e).split(/\s+/))}get nodeName(){return Ei(this)}get tagName(){return Ei(this)}get classList(){return this[gt]||(this[gt]=new ms(this))}get dataset(){return this[yt]||(this[yt]=new us(this))}getBoundingClientRect(){return{x:0,y:0,bottom:0,height:0,left:0,right:0,top:0,width:0}}get nonce(){return Y.get(this,`nonce`)}set nonce(e){Y.set(this,`nonce`,e)}get style(){return this[jt]||(this[jt]=new ys(this))}get tabIndex(){return sa.get(this,`tabindex`)||-1}set tabIndex(e){sa.set(this,`tabindex`,e)}get slot(){return Y.get(this,`slot`)}set slot(e){Y.set(this,`slot`,e)}get innerText(){let e=[],{[z]:t,[L]:n}=this;for(;t!==n;)t.nodeType===3?e.push(t.textContent.replace(/\s+/g,` `)):e.length&&t[z]!=n&&ui.has(t.tagName)&&e.push(`
|
|
11
|
-
`),t=t[z];return e.join(``)}get textContent(){let e=[],{[z]:t,[L]:n}=this;for(;t!==n;){let n=t.nodeType;(n===3||n===4)&&e.push(t.textContent),t=t[z]}return e.join(``)}set textContent(e){this.replaceChildren(),e!=null&&e!==``&&this.appendChild(new Yo(this.ownerDocument,e))}get innerHTML(){return ns(this)}set innerHTML(e){rs(this,e)}get outerHTML(){return this.toString()}set outerHTML(e){let t=this.ownerDocument.createElement(``);t.innerHTML=e,this.replaceWith(...t.childNodes)}get attributes(){let e=new ws(this),t=this[z];for(;t.nodeType===2;)e.push(t),t=t[z];return new Proxy(e,Es)}focus(){this.dispatchEvent(new Cs(`focus`))}getAttribute(e){if(e===`class`)return this.className;let t=this.getAttributeNode(e);return t&&(xi(this)?t.value:ya(t.value))}getAttributeNode(e){let t=this[z];for(;t.nodeType===2;){if(t.name===e)return t;t=t[z]}return null}getAttributeNames(){let e=new fa,t=this[z];for(;t.nodeType===2;)e.push(t.name),t=t[z];return e}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributes(){return this[z].nodeType===2}removeAttribute(e){e===`class`&&this[gt]&&this[gt].clear();let t=this[z];for(;t.nodeType===2;){if(t.name===e){aa(this,t);return}t=t[z]}}removeAttributeNode(e){let t=this[z];for(;t.nodeType===2;){if(t===e){aa(this,t);return}t=t[z]}}setAttribute(e,t){if(e===`class`)this.className=t;else{let n=this.getAttributeNode(e);n?n.value=t:ia(this,new xa(this.ownerDocument,e,t))}}setAttributeNode(e){let{name:t}=e,n=this.getAttributeNode(t);if(n!==e){n&&this.removeAttributeNode(n);let{ownerElement:t}=e;t&&t.removeAttributeNode(e),ia(this,e)}return n}toggleAttribute(e,t){return this.hasAttribute(e)?t?!0:(this.removeAttribute(e),!1):t||arguments.length===1?(this.setAttribute(e,``),!0):!1}get shadowRoot(){if(ki.has(this)){let{mode:e,shadowRoot:t}=ki.get(this);if(e===`open`)return t}return null}attachShadow(e){if(ki.has(this))throw Error(`operation not supported`);let t=new Ts(this);return ki.set(this,{mode:e.mode,shadowRoot:t}),t}matches(e){return Jo(this,e)}closest(e){let t=this,n=qo(t,e);for(;t&&!n(t);)t=t.parentElement;return t}insertAdjacentElement(e,t){let{parentElement:n}=this;switch(e){case`beforebegin`:if(n){n.insertBefore(t,this);break}return null;case`afterbegin`:this.insertBefore(t,this.firstChild);break;case`beforeend`:this.insertBefore(t,null);break;case`afterend`:if(n){n.insertBefore(t,this.nextSibling);break}return null}return t}insertAdjacentHTML(e,t){this.insertAdjacentElement(e,Oi(this.ownerDocument,t))}insertAdjacentText(e,t){let n=this.ownerDocument.createTextNode(t);this.insertAdjacentElement(e,n)}cloneNode(e=!1){let{ownerDocument:t,localName:n}=this,r=e=>{e.parentNode=a,Si(o,e),o=e},i=Ds(t,this,n),a=i,o=i,{[z]:s,[L]:c}=this;for(;s!==c&&(e||s.nodeType===2);){switch(s.nodeType){case-1:Si(o,a[L]),o=a[L],a=a.parentNode;break;case 1:{let e=Ds(t,s,s.localName);r(e),a=e;break}case 2:{let t=s.cloneNode(e);t.ownerElement=a,r(t);break}case 3:case 8:case 4:r(s.cloneNode(e));break}s=s[z]}return Si(o,i[L]),i}toString(){let e=[],{[L]:t}=this,n={[z]:this},r=!1;do switch(n=n[z],n.nodeType){case 2:{let t=` `+n;switch(t){case` id`:case` class`:case` style`:break;default:e.push(t)}break}case-1:{let t=n[At];r?(`ownerSVGElement`in t?e.push(` />`):Os(t)?e.push(xi(t)?`>`:` />`):e.push(`></${t.localName}>`),r=!1):e.push(`</${t.localName}>`);break}case 1:r&&e.push(`>`),n.toString===this.toString?(e.push(`<${n.localName}`),r=!0):(e.push(n.toString()),n=n[L],r=!1);break;case 3:case 8:case 4:e.push((r?`>`:``)+n),r=!1;break}while(n!==t);return e.join(``)}toJSON(){let e=[];return Zi(this,e),e}getAttributeNS(e,t){return this.getAttribute(t)}getElementsByTagNameNS(e,t){return this.getElementsByTagName(t)}hasAttributeNS(e,t){return this.hasAttribute(t)}removeAttributeNS(e,t){this.removeAttribute(t)}setAttributeNS(e,t,n){this.setAttribute(t,n)}setAttributeNodeNS(e){return this.setAttributeNode(e)}};const As=new WeakMap,js={get(e,t){return e[t]},set(e,t,n){return e[t]=n,!0}};var Ms=class extends ks{constructor(e,t,n=null){super(e,t),this.ownerSVGElement=n}get className(){return As.has(this)||As.set(this,new Proxy({baseVal:``,animVal:``},js)),As.get(this)}set className(e){let{classList:t}=this;t.clear(),t.add(...yi(e).split(/\s+/))}get namespaceURI(){return`http://www.w3.org/2000/svg`}getAttribute(e){return e===`class`?[...this.classList].join(` `):super.getAttribute(e)}setAttribute(e,t){if(e===`class`)this.className=t;else if(e===`style`){let{className:e}=this;e.baseVal=e.animVal=t}super.setAttribute(e,t)}};const Ns=()=>{throw TypeError(`Illegal constructor`)};function Ps(){Ns()}vi(Ps,xa),Ps.prototype=xa.prototype;function Fs(){Ns()}vi(Fs,Pa),Fs.prototype=Pa.prototype;function Is(){Ns()}vi(Is,Na),Is.prototype=Na.prototype;function Ls(){Ns()}vi(Ls,Fa),Ls.prototype=Fa.prototype;function Rs(){Ns()}vi(Rs,es),Rs.prototype=es.prototype;function zs(){Ns()}vi(zs,ts),zs.prototype=ts.prototype;function Bs(){Ns()}vi(Bs,ks),Bs.prototype=ks.prototype;function Vs(){Ns()}vi(Vs,ma),Vs.prototype=ma.prototype;function Hs(){Ns()}vi(Hs,Ts),Hs.prototype=Ts.prototype;function Us(){Ns()}vi(Us,Yo),Us.prototype=Yo.prototype;function Ws(){Ns()}vi(Ws,Ms),Ws.prototype=Ms.prototype;const Gs={Attr:Ps,CDATASection:Fs,CharacterData:Is,Comment:Ls,DocumentFragment:Rs,DocumentType:zs,Element:Bs,Node:Vs,ShadowRoot:Hs,Text:Us,SVGElement:Ws},Ks=new WeakMap,Q={get(e,t){return Ks.has(e)&&Ks.get(e)[t]||null},set(e,t,n){Ks.has(e)||Ks.set(e,{});let r=Ks.get(e),i=t.slice(2);r[t]&&e.removeEventListener(i,r[t],!1),(r[t]=n)&&e.addEventListener(i,n,!1)}};var $=class extends ks{static get observedAttributes(){return[]}constructor(e=null,t=``){super(e,t);let n=!e,r;if(n){let{constructor:n}=this;if(!ji.has(n))throw Error(`unable to initialize this Custom Element`);({ownerDocument:e,localName:t,options:r}=ji.get(n))}if(e[B]){let{element:t,values:n}=e[B];e[B]=null;for(let[e,r]of n)t[e]=r;return t}n&&(this.ownerDocument=this[L].ownerDocument=e,this.localName=t,Mi.set(this,{connected:!1}),r.is&&this.setAttribute(`is`,r.is))}blur(){this.dispatchEvent(new Cs(`blur`))}click(){let e=new Cs(`click`,{bubbles:!0,cancelable:!0});e.button=0,this.dispatchEvent(e)}get accessKeyLabel(){let{accessKey:e}=this;return e&&`Alt+Shift+${e}`}get isContentEditable(){return this.hasAttribute(`contenteditable`)}get contentEditable(){return oa.get(this,`contenteditable`)}set contentEditable(e){oa.set(this,`contenteditable`,e)}get draggable(){return oa.get(this,`draggable`)}set draggable(e){oa.set(this,`draggable`,e)}get hidden(){return oa.get(this,`hidden`)}set hidden(e){oa.set(this,`hidden`,e)}get spellcheck(){return oa.get(this,`spellcheck`)}set spellcheck(e){oa.set(this,`spellcheck`,e)}get accessKey(){return Y.get(this,`accesskey`)}set accessKey(e){Y.set(this,`accesskey`,e)}get dir(){return Y.get(this,`dir`)}set dir(e){Y.set(this,`dir`,e)}get lang(){return Y.get(this,`lang`)}set lang(e){Y.set(this,`lang`,e)}get title(){return Y.get(this,`title`)}set title(e){Y.set(this,`title`,e)}get onabort(){return Q.get(this,`onabort`)}set onabort(e){Q.set(this,`onabort`,e)}get onblur(){return Q.get(this,`onblur`)}set onblur(e){Q.set(this,`onblur`,e)}get oncancel(){return Q.get(this,`oncancel`)}set oncancel(e){Q.set(this,`oncancel`,e)}get oncanplay(){return Q.get(this,`oncanplay`)}set oncanplay(e){Q.set(this,`oncanplay`,e)}get oncanplaythrough(){return Q.get(this,`oncanplaythrough`)}set oncanplaythrough(e){Q.set(this,`oncanplaythrough`,e)}get onchange(){return Q.get(this,`onchange`)}set onchange(e){Q.set(this,`onchange`,e)}get onclick(){return Q.get(this,`onclick`)}set onclick(e){Q.set(this,`onclick`,e)}get onclose(){return Q.get(this,`onclose`)}set onclose(e){Q.set(this,`onclose`,e)}get oncontextmenu(){return Q.get(this,`oncontextmenu`)}set oncontextmenu(e){Q.set(this,`oncontextmenu`,e)}get oncuechange(){return Q.get(this,`oncuechange`)}set oncuechange(e){Q.set(this,`oncuechange`,e)}get ondblclick(){return Q.get(this,`ondblclick`)}set ondblclick(e){Q.set(this,`ondblclick`,e)}get ondrag(){return Q.get(this,`ondrag`)}set ondrag(e){Q.set(this,`ondrag`,e)}get ondragend(){return Q.get(this,`ondragend`)}set ondragend(e){Q.set(this,`ondragend`,e)}get ondragenter(){return Q.get(this,`ondragenter`)}set ondragenter(e){Q.set(this,`ondragenter`,e)}get ondragleave(){return Q.get(this,`ondragleave`)}set ondragleave(e){Q.set(this,`ondragleave`,e)}get ondragover(){return Q.get(this,`ondragover`)}set ondragover(e){Q.set(this,`ondragover`,e)}get ondragstart(){return Q.get(this,`ondragstart`)}set ondragstart(e){Q.set(this,`ondragstart`,e)}get ondrop(){return Q.get(this,`ondrop`)}set ondrop(e){Q.set(this,`ondrop`,e)}get ondurationchange(){return Q.get(this,`ondurationchange`)}set ondurationchange(e){Q.set(this,`ondurationchange`,e)}get onemptied(){return Q.get(this,`onemptied`)}set onemptied(e){Q.set(this,`onemptied`,e)}get onended(){return Q.get(this,`onended`)}set onended(e){Q.set(this,`onended`,e)}get onerror(){return Q.get(this,`onerror`)}set onerror(e){Q.set(this,`onerror`,e)}get onfocus(){return Q.get(this,`onfocus`)}set onfocus(e){Q.set(this,`onfocus`,e)}get oninput(){return Q.get(this,`oninput`)}set oninput(e){Q.set(this,`oninput`,e)}get oninvalid(){return Q.get(this,`oninvalid`)}set oninvalid(e){Q.set(this,`oninvalid`,e)}get onkeydown(){return Q.get(this,`onkeydown`)}set onkeydown(e){Q.set(this,`onkeydown`,e)}get onkeypress(){return Q.get(this,`onkeypress`)}set onkeypress(e){Q.set(this,`onkeypress`,e)}get onkeyup(){return Q.get(this,`onkeyup`)}set onkeyup(e){Q.set(this,`onkeyup`,e)}get onload(){return Q.get(this,`onload`)}set onload(e){Q.set(this,`onload`,e)}get onloadeddata(){return Q.get(this,`onloadeddata`)}set onloadeddata(e){Q.set(this,`onloadeddata`,e)}get onloadedmetadata(){return Q.get(this,`onloadedmetadata`)}set onloadedmetadata(e){Q.set(this,`onloadedmetadata`,e)}get onloadstart(){return Q.get(this,`onloadstart`)}set onloadstart(e){Q.set(this,`onloadstart`,e)}get onmousedown(){return Q.get(this,`onmousedown`)}set onmousedown(e){Q.set(this,`onmousedown`,e)}get onmouseenter(){return Q.get(this,`onmouseenter`)}set onmouseenter(e){Q.set(this,`onmouseenter`,e)}get onmouseleave(){return Q.get(this,`onmouseleave`)}set onmouseleave(e){Q.set(this,`onmouseleave`,e)}get onmousemove(){return Q.get(this,`onmousemove`)}set onmousemove(e){Q.set(this,`onmousemove`,e)}get onmouseout(){return Q.get(this,`onmouseout`)}set onmouseout(e){Q.set(this,`onmouseout`,e)}get onmouseover(){return Q.get(this,`onmouseover`)}set onmouseover(e){Q.set(this,`onmouseover`,e)}get onmouseup(){return Q.get(this,`onmouseup`)}set onmouseup(e){Q.set(this,`onmouseup`,e)}get onmousewheel(){return Q.get(this,`onmousewheel`)}set onmousewheel(e){Q.set(this,`onmousewheel`,e)}get onpause(){return Q.get(this,`onpause`)}set onpause(e){Q.set(this,`onpause`,e)}get onplay(){return Q.get(this,`onplay`)}set onplay(e){Q.set(this,`onplay`,e)}get onplaying(){return Q.get(this,`onplaying`)}set onplaying(e){Q.set(this,`onplaying`,e)}get onprogress(){return Q.get(this,`onprogress`)}set onprogress(e){Q.set(this,`onprogress`,e)}get onratechange(){return Q.get(this,`onratechange`)}set onratechange(e){Q.set(this,`onratechange`,e)}get onreset(){return Q.get(this,`onreset`)}set onreset(e){Q.set(this,`onreset`,e)}get onresize(){return Q.get(this,`onresize`)}set onresize(e){Q.set(this,`onresize`,e)}get onscroll(){return Q.get(this,`onscroll`)}set onscroll(e){Q.set(this,`onscroll`,e)}get onseeked(){return Q.get(this,`onseeked`)}set onseeked(e){Q.set(this,`onseeked`,e)}get onseeking(){return Q.get(this,`onseeking`)}set onseeking(e){Q.set(this,`onseeking`,e)}get onselect(){return Q.get(this,`onselect`)}set onselect(e){Q.set(this,`onselect`,e)}get onshow(){return Q.get(this,`onshow`)}set onshow(e){Q.set(this,`onshow`,e)}get onstalled(){return Q.get(this,`onstalled`)}set onstalled(e){Q.set(this,`onstalled`,e)}get onsubmit(){return Q.get(this,`onsubmit`)}set onsubmit(e){Q.set(this,`onsubmit`,e)}get onsuspend(){return Q.get(this,`onsuspend`)}set onsuspend(e){Q.set(this,`onsuspend`,e)}get ontimeupdate(){return Q.get(this,`ontimeupdate`)}set ontimeupdate(e){Q.set(this,`ontimeupdate`,e)}get ontoggle(){return Q.get(this,`ontoggle`)}set ontoggle(e){Q.set(this,`ontoggle`,e)}get onvolumechange(){return Q.get(this,`onvolumechange`)}set onvolumechange(e){Q.set(this,`onvolumechange`,e)}get onwaiting(){return Q.get(this,`onwaiting`)}set onwaiting(e){Q.set(this,`onwaiting`,e)}get onauxclick(){return Q.get(this,`onauxclick`)}set onauxclick(e){Q.set(this,`onauxclick`,e)}get ongotpointercapture(){return Q.get(this,`ongotpointercapture`)}set ongotpointercapture(e){Q.set(this,`ongotpointercapture`,e)}get onlostpointercapture(){return Q.get(this,`onlostpointercapture`)}set onlostpointercapture(e){Q.set(this,`onlostpointercapture`,e)}get onpointercancel(){return Q.get(this,`onpointercancel`)}set onpointercancel(e){Q.set(this,`onpointercancel`,e)}get onpointerdown(){return Q.get(this,`onpointerdown`)}set onpointerdown(e){Q.set(this,`onpointerdown`,e)}get onpointerenter(){return Q.get(this,`onpointerenter`)}set onpointerenter(e){Q.set(this,`onpointerenter`,e)}get onpointerleave(){return Q.get(this,`onpointerleave`)}set onpointerleave(e){Q.set(this,`onpointerleave`,e)}get onpointermove(){return Q.get(this,`onpointermove`)}set onpointermove(e){Q.set(this,`onpointermove`,e)}get onpointerout(){return Q.get(this,`onpointerout`)}set onpointerout(e){Q.set(this,`onpointerout`,e)}get onpointerover(){return Q.get(this,`onpointerover`)}set onpointerover(e){Q.set(this,`onpointerover`,e)}get onpointerup(){return Q.get(this,`onpointerup`)}set onpointerup(e){Q.set(this,`onpointerup`,e)}};const qs=`template`;var Js=class extends ${constructor(e){super(e,qs);let t=this.ownerDocument.createDocumentFragment();(this[vt]=t)[Ot]=this}get content(){if(this.hasChildNodes()&&!this[vt].hasChildNodes())for(let e of this.childNodes)this[vt].appendChild(e.cloneNode(!0));return this[vt]}};Gi(qs,Js);var Ys=class extends ${constructor(e,t=`html`){super(e,t)}};const{toString:Xs}=$.prototype;var Zs=class extends ${get innerHTML(){return this.textContent}set innerHTML(e){this.textContent=e}toString(){return Xs.call(this.cloneNode()).replace(`><`,()=>`>${this.textContent}<`)}};const Qs=`script`;var $s=class extends Zs{constructor(e,t=Qs){super(e,t)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get defer(){return oa.get(this,`defer`)}set defer(e){oa.set(this,`defer`,e)}get crossOrigin(){return Y.get(this,`crossorigin`)}set crossOrigin(e){Y.set(this,`crossorigin`,e)}get nomodule(){return oa.get(this,`nomodule`)}set nomodule(e){oa.set(this,`nomodule`,e)}get referrerPolicy(){return Y.get(this,`referrerpolicy`)}set referrerPolicy(e){Y.set(this,`referrerpolicy`,e)}get nonce(){return Y.get(this,`nonce`)}set nonce(e){Y.set(this,`nonce`,e)}get async(){return oa.get(this,`async`)}set async(e){oa.set(this,`async`,e)}get text(){return this.textContent}set text(e){this.textContent=e}};Gi(Qs,$s);var ec=class extends ${constructor(e,t=`frame`){super(e,t)}};const tc=`iframe`;var nc=class extends ${constructor(e,t=tc){super(e,t)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcdoc(){return Y.get(this,`srcdoc`)}set srcdoc(e){Y.set(this,`srcdoc`,e)}get name(){return Y.get(this,`name`)}set name(e){Y.set(this,`name`,e)}get allow(){return Y.get(this,`allow`)}set allow(e){Y.set(this,`allow`,e)}get allowFullscreen(){return oa.get(this,`allowfullscreen`)}set allowFullscreen(e){oa.set(this,`allowfullscreen`,e)}get referrerPolicy(){return Y.get(this,`referrerpolicy`)}set referrerPolicy(e){Y.set(this,`referrerpolicy`,e)}get loading(){return Y.get(this,`loading`)}set loading(e){Y.set(this,`loading`,e)}};Gi(tc,nc);var rc=class extends ${constructor(e,t=`object`){super(e,t)}},ic=class extends ${constructor(e,t=`head`){super(e,t)}},ac=class extends ${constructor(e,t=`body`){super(e,t)}},oc=E((e=>{var t={};t.StyleSheet=function(){this.parentStyleSheet=null},e.StyleSheet=t.StyleSheet})),sc=E((e=>{var t={};t.CSSRule=function(){this.parentRule=null,this.parentStyleSheet=null},t.CSSRule.UNKNOWN_RULE=0,t.CSSRule.STYLE_RULE=1,t.CSSRule.CHARSET_RULE=2,t.CSSRule.IMPORT_RULE=3,t.CSSRule.MEDIA_RULE=4,t.CSSRule.FONT_FACE_RULE=5,t.CSSRule.PAGE_RULE=6,t.CSSRule.KEYFRAMES_RULE=7,t.CSSRule.KEYFRAME_RULE=8,t.CSSRule.MARGIN_RULE=9,t.CSSRule.NAMESPACE_RULE=10,t.CSSRule.COUNTER_STYLE_RULE=11,t.CSSRule.SUPPORTS_RULE=12,t.CSSRule.DOCUMENT_RULE=13,t.CSSRule.FONT_FEATURE_VALUES_RULE=14,t.CSSRule.VIEWPORT_RULE=15,t.CSSRule.REGION_STYLE_RULE=16,t.CSSRule.prototype={constructor:t.CSSRule},e.CSSRule=t.CSSRule})),cc=E((e=>{var t={CSSStyleDeclaration:Tc().CSSStyleDeclaration,CSSRule:sc().CSSRule};t.CSSStyleRule=function(){t.CSSRule.call(this),this.selectorText=``,this.style=new t.CSSStyleDeclaration,this.style.parentRule=this},t.CSSStyleRule.prototype=new t.CSSRule,t.CSSStyleRule.prototype.constructor=t.CSSStyleRule,t.CSSStyleRule.prototype.type=1,Object.defineProperty(t.CSSStyleRule.prototype,`cssText`,{get:function(){return this.selectorText?this.selectorText+` {`+this.style.cssText+`}`:``},set:function(e){var n=t.CSSStyleRule.parse(e);this.style=n.style,this.selectorText=n.selectorText}}),t.CSSStyleRule.parse=function(e){for(var n=0,r=`selector`,i,a=n,o=``,s={selector:!0,value:!0},c=new t.CSSStyleRule,l,u=``,d;d=e.charAt(n);n++)switch(d){case` `:case` `:case`\r`:case`
|
|
10
|
+
)`,enabled:`:not(:disabled)`,checked:`:is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)`,required:`:is(input, select, textarea)[required]`,optional:`:is(input, select, textarea):not([required])`,selected:`option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)`,checkbox:`[type=checkbox]`,file:`[type=file]`,password:`[type=password]`,radio:`[type=radio]`,reset:`[type=reset]`,image:`[type=image]`,submit:`[type=submit]`,parent:`:not(:empty)`,header:`:is(h1, h2, h3, h4, h5, h6)`,button:`:is(button, input[type=button])`,input:`:is(input, textarea, select, button)`,text:`input:is(:not([type!='']), [type=text])`},Wo={};function Go(e,t){return e===X.default.falseFunc?X.default.falseFunc:n=>t.isTag(n)&&e(n)}function Ko(e,t){let n=t.getSiblings(e);if(n.length<=1)return[];let r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function qo(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const Jo=(e,t,n,r,i)=>{let a=i(t,qo(n),r);return a===X.default.trueFunc?e:a===X.default.falseFunc?X.default.falseFunc:t=>a(t)&&e(t)},Yo={is:Jo,matches:Jo,where:Jo,not(e,t,n,r,i){let a=i(t,qo(n),r);return a===X.default.falseFunc?e:a===X.default.trueFunc?X.default.falseFunc:t=>!a(t)&&e(t)},has(e,t,n,r,i){let{adapter:a}=n,o=qo(n);o.relativeSelector=!0;let s=t.some(e=>e.some(To))?[Wo]:void 0,c=i(t,o,s);if(c===X.default.falseFunc)return X.default.falseFunc;let l=Go(c,a);if(s&&c!==X.default.trueFunc){let{shouldTestNextSiblings:t=!1}=c;return n=>{if(!e(n))return!1;s[0]=n;let r=a.getChildren(n),i=t?[...r,...Ko(n,a)]:r;return a.existsOne(l,i)}}return t=>e(t)&&a.existsOne(l,a.getChildren(t))}};function Xo(e,t,n,r,i){let{name:a,data:o}=t;if(Array.isArray(o)){if(!(a in Yo))throw Error(`Unknown pseudo-class :${a}(${o})`);return Yo[a](e,o,n,r,i)}let s=n.pseudos?.[a],c=typeof s==`string`?s:Uo[a];if(typeof c==`string`){if(o!=null)throw Error(`Pseudo ${a} doesn't have any arguments`);let t=(0,Z.parse)(c);return Yo.is(e,t,n,r,i)}if(typeof s==`function`)return Ho(s,a,o,1),t=>s(t,o)&&e(t);if(a in zo)return zo[a](e,o,n,r);if(a in Vo){let t=Vo[a];return Ho(t,a,o,2),r=>t(r,n,o)&&e(r)}throw Error(`Unknown pseudo-class :${a}`)}function Zo(e,t){let n=t.getParent(e);return n&&t.isTag(n)?n:null}function Qo(e,t,n,r,i){let{adapter:a,equals:o}=n;switch(t.type){case Z.SelectorType.PseudoElement:throw Error(`Pseudo-elements are not supported by css-select`);case Z.SelectorType.ColumnCombinator:throw Error(`Column combinators are not yet supported by css-select`);case Z.SelectorType.Attribute:if(t.namespace!=null)throw Error(`Namespaced attributes are not yet supported by css-select`);return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),No[t.action](e,t,n);case Z.SelectorType.Pseudo:return Xo(e,t,n,r,i);case Z.SelectorType.Tag:{if(t.namespace!=null)throw Error(`Namespaced tag names are not yet supported by css-select`);let{name:r}=t;return(!n.xmlMode||n.lowerCaseTags)&&(r=r.toLowerCase()),function(t){return a.getName(t)===r&&e(t)}}case Z.SelectorType.Descendant:{if(n.cacheResults===!1||typeof WeakSet>`u`)return function(t){let n=t;for(;n=Zo(n,a);)if(e(n))return!0;return!1};let t=new WeakSet;return function(n){let r=n;for(;r=Zo(r,a);)if(!t.has(r)){if(a.isTag(r)&&e(r))return!0;t.add(r)}return!1}}case`_flexibleDescendant`:return function(t){let n=t;do if(e(n))return!0;while(n=Zo(n,a));return!1};case Z.SelectorType.Parent:return function(t){return a.getChildren(t).some(t=>a.isTag(t)&&e(t))};case Z.SelectorType.Child:return function(t){let n=a.getParent(t);return n!=null&&a.isTag(n)&&e(n)};case Z.SelectorType.Sibling:return function(t){let n=a.getSiblings(t);for(let r=0;r<n.length;r++){let i=n[r];if(o(t,i))break;if(a.isTag(i)&&e(i))return!0}return!1};case Z.SelectorType.Adjacent:return a.prevElementSibling?function(t){let n=a.prevElementSibling(t);return n!=null&&e(n)}:function(t){let n=a.getSiblings(t),r;for(let e=0;e<n.length;e++){let i=n[e];if(o(t,i))break;a.isTag(i)&&(r=i)}return!!r&&e(r)};case Z.SelectorType.Universal:if(t.namespace!=null&&t.namespace!==`*`)throw Error(`Namespaced universal selectors are not yet supported by css-select`);return e}}function $o(e,t,n){return Go(es(e,t,n),t.adapter)}function es(e,t,n){return os(typeof e==`string`?(0,Z.parse)(e):e,t,n)}function ts(e){return e.type===Z.SelectorType.Pseudo&&(e.name===`scope`||Array.isArray(e.data)&&e.data.some(e=>e.some(ts)))}const ns={type:Z.SelectorType.Descendant},rs={type:`_flexibleDescendant`},is={type:Z.SelectorType.Pseudo,name:`scope`,data:null};function as(e,{adapter:t},n){let r=!!n?.every(e=>{let n=t.isTag(e)&&t.getParent(e);return e===Wo||n&&t.isTag(n)});for(let t of e){if(!(t.length>0&&To(t[0])&&t[0].type!==Z.SelectorType.Descendant))if(r&&!t.some(ts))t.unshift(ns);else continue;t.unshift(is)}}function os(e,t,n){e.forEach(Do),n=t.context??n;let r=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)as(e,t,i);else if(e.some(e=>e.length>0&&To(e[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let a=!1,o=e.map(e=>{if(e.length>=2){let[t,n]=e;t.type!==Z.SelectorType.Pseudo||t.name!==`scope`||(r&&n.type===Z.SelectorType.Descendant?e[1]=rs:(n.type===Z.SelectorType.Adjacent||n.type===Z.SelectorType.Sibling)&&(a=!0))}return ss(e,t,i)}).reduce(cs,X.default.falseFunc);return o.shouldTestNextSiblings=a,o}function ss(e,t,n){return e.reduce((e,r)=>e===X.default.falseFunc?X.default.falseFunc:Qo(e,r,t,n,os),t.rootFunc??X.default.trueFunc)}function cs(e,t){return t===X.default.falseFunc||e===X.default.trueFunc?e:e===X.default.falseFunc||t===X.default.trueFunc?t:function(n){return e(n)||t(n)}}const ls=(e,t)=>e===t,us={adapter:Ri,equals:ls};function ds(e){let t=e??us;return t.adapter??=Ri,t.equals??=t.adapter?.equals??ls,t}function fs(e){return function(t,n,r){return e(t,ds(n),r)}}const ps=fs($o);function ms(e,t,n){let r=ds(n);return(typeof t==`function`?t:$o(t,r))(e)}const{isArray:hs}=Array,gs=({nodeType:e})=>e===1,_s=(e,t)=>t.some(t=>gs(t)&&(e(t)||_s(e,ys(t)))),vs=(e,t)=>t===`class`?e.classList.value:e.getAttribute(t),ys=({childNodes:e})=>e,bs=e=>{let{localName:t}=e;return ra(e)?t.toLowerCase():t},xs=({parentNode:e})=>e,Ss=e=>{let{parentNode:t}=e;return t?ys(t):e},Cs=e=>hs(e)?e.map(Cs).join(``):gs(e)?Cs(ys(e)):e.nodeType===3?e.data:``,ws=(e,t)=>e.hasAttribute(t),Ts=e=>{let{length:t}=e;for(;t--;){let n=e[t];if(t&&-1<e.lastIndexOf(n,t-1)){e.splice(t,1);continue}for(let{parentNode:r}=n;r;r=r.parentNode)if(e.includes(r)){e.splice(t,1);break}}return e},Es=(e,t)=>{let n=[];for(let r of t)gs(r)&&(e(r)&&n.push(r),n.push(...Es(e,ys(r))));return n},Ds=(e,t)=>{for(let n of t)if(e(n)||(n=Ds(e,ys(n))))return n;return null},Os={isTag:gs,existsOne:_s,getAttributeValue:vs,getChildren:ys,getName:bs,getParent:xs,getSiblings:Ss,getText:Cs,hasAttrib:ws,removeSubsets:Ts,findAll:Es,findOne:Ds},ks=(e,t)=>ps(t,{context:t.includes(`:scope`)?e:void 0,xmlMode:!ra(e),adapter:Os}),As=(e,t)=>ms(e,t,{strict:!0,context:t.includes(`:scope`)?e:void 0,xmlMode:!ra(e),adapter:Os});var js=class e extends go{constructor(e,t=``){super(e,`#text`,3,t)}get wholeText(){let e=[],{previousSibling:t,nextSibling:n}=this;for(;t&&t.nodeType===3;)e.unshift(t[dn]),t=t.previousSibling;for(e.push(this[dn]);n&&n.nodeType===3;)e.push(n[dn]),n=n.nextSibling;return e.join(``)}cloneNode(){let{ownerDocument:t,[dn]:n}=this;return new e(t,n)}toString(){return to(this[dn])}};const Ms=e=>e instanceof Xa,Ns=(e,t,n)=>{let{ownerDocument:r}=e;for(let i of n)e.insertBefore(Ms(i)?i:new js(r,i),t)};var Ps=class extends Xa{constructor(e,t,n){super(e,t,n),this[on]=null,this[W]=this[U]={[W]:null,[an]:this,[cn]:this,nodeType:-1,ownerDocument:this.ownerDocument,parentNode:null}}get childNodes(){let e=new Ja,{firstChild:t}=this;for(;t;)e.push(t),t=so(t);return e}get children(){let e=new Ja,{firstElementChild:t}=this;for(;t;)e.push(t),t=co(t);return e}get firstChild(){let{[W]:e,[U]:t}=this;for(;e.nodeType===2;)e=e[W];return e===t?null:e}get firstElementChild(){let{firstChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=so(e)}return null}get lastChild(){let e=this[U][an];switch(e.nodeType){case-1:return e[cn];case 2:return null}return e===this?null:e}get lastElementChild(){let{lastChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=oo(e)}return null}get childElementCount(){return this.children.length}prepend(...e){Ns(this,this.firstChild,e)}append(...e){Ns(this,this[U],e)}replaceChildren(...e){let{[W]:t,[U]:n}=this;for(;t!==n&&t.nodeType===2;)t=t[W];for(;t!==n;){let e=na(t)[W];t.remove(),t=e}e.length&&Ns(this,n,e)}getElementsByClassName(e){let t=new Ja,{[W]:n,[U]:r}=this;for(;n!==r;)n.nodeType===1&&n.hasAttribute(`class`)&&n.classList.has(e)&&t.push(n),n=n[W];return t}getElementsByTagName(e){let t=new Ja,{[W]:n,[U]:r}=this;for(;n!==r;)n.nodeType===1&&(n.localName===e||ca(n)===e)&&t.push(n),n=n[W];return t}querySelector(e){let t=ks(this,e),{[W]:n,[U]:r}=this;for(;n!==r;){if(n.nodeType===1&&t(n))return n;n=n.nodeType===1&&n.localName===`template`?n[U]:n[W]}return null}querySelectorAll(e){let t=ks(this,e),n=new Ja,{[W]:r,[U]:i}=this;for(;r!==i;)r.nodeType===1&&t(r)&&n.push(r),r=r.nodeType===1&&r.localName===`template`?r[U]:r[W];return n}appendChild(e){return this.insertBefore(e,this[U])}contains(e){let t=e;for(;t&&t!==this;)t=t.parentNode;return t===this}insertBefore(e,t=null){if(e===t)return e;if(e===this)throw Error(`unable to append a node to itself`);let n=t||this[U];switch(e.nodeType){case 1:e.remove(),e.parentNode=this,aa(n[an],e,n),La(e,null),va(e);break;case 11:{let{[on]:t,firstChild:r,lastChild:i}=e;if(r){oa(n[an],r,i,n),ia(e,e[U]),t&&t.replaceChildren();do r.parentNode=this,La(r,null),r.nodeType===1&&va(r);while(r!==i&&(r=so(r)))}break}case 3:case 8:case 4:e.remove();default:e.parentNode=this,sa(n[an],e,n),La(e,null);break}return e}normalize(){let{[W]:e,[U]:t}=this;for(;e!==t;){let{[W]:t,[an]:n,nodeType:r}=e;r===3&&(e[dn]?n&&n.nodeType===3&&(n.textContent+=e.textContent,e.remove()):e.remove()),e=t}}removeChild(e){if(e.parentNode!==this)throw Error(`node is not a child`);return e.remove(),e}replaceChild(e,t){let n=na(t)[W];return t.remove(),this.insertBefore(e,n),t}},Fs=class extends Ps{getElementById(e){let{[W]:t,[U]:n}=this;for(;t!==n;){if(t.nodeType===1&&t.id===e)return t;t=t[W]}return null}cloneNode(e){let{ownerDocument:t,constructor:n}=this,r=new n(t);if(e){let{[U]:t}=r;for(let n of this.childNodes)r.insertBefore(n.cloneNode(e),t)}return r}toString(){let{childNodes:e,localName:t}=this;return`<${t}>${e.join(``)}</${t}>`}toJSON(){let e=[];return ja(this,e),e}},Is=class extends Fs{constructor(e){super(e,`#document-fragment`,11)}},Ls=class e extends Xa{constructor(e,t,n=``,r=``){super(e,`#document-type`,10),this.name=t,this.publicId=n,this.systemId=r}cloneNode(){let{ownerDocument:t,name:n,publicId:r,systemId:i}=this;return new e(t,n,r,i)}toString(){let{name:e,publicId:t,systemId:n}=this,r=0<t.length,i=[e];return r&&i.push(`PUBLIC`,`"${t}"`),n.length&&(r||i.push(`SYSTEM`),i.push(`"${n}"`)),`<!DOCTYPE ${i.join(` `)}>`}toJSON(){let e=[];return Ma(this,e),e}};const Rs=e=>e.childNodes.join(``),zs=(e,t)=>{let{ownerDocument:n}=e,{constructor:r}=n,i=new r;i[Yt]=n[Yt];let{childNodes:a}=Ta(i,ra(e),t);e.replaceChildren(...a.map(Bs,n))};function Bs(e){switch(e.ownerDocument=this,e.nodeType){case 1:case 11:e.childNodes.forEach(Bs,this);break}return e}var Vs=e=>e.replace(/(([A-Z0-9])([A-Z0-9][a-z]))|(([a-z0-9]+)([A-Z]))/g,`$2$5-$3$6`).toLowerCase();const Hs=new WeakMap,Us=e=>`data-${Vs(e)}`,Ws=e=>e.slice(5).replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),Gs={get(e,t){if(t in e)return Hs.get(e).getAttribute(Us(t))},set(e,t,n){return e[t]=n,Hs.get(e).setAttribute(Us(t),n),!0},deleteProperty(e,t){return t in e&&Hs.get(e).removeAttribute(Us(t)),delete e[t]}};var Ks=class{constructor(e){for(let{name:t,value:n}of e.attributes)/^data-/.test(t)&&(this[Ws(t)]=n);return Hs.set(this,e),new Proxy(this,Gs)}};ea(Ks.prototype,null);const{add:qs}=Set.prototype,Js=(e,t)=>{for(let n of t)n&&qs.call(e,n)},Ys=({[rn]:e,value:t})=>{let n=e.getAttributeNode(`class`);n?n.value=t:Ba(e,new ro(e.ownerDocument,`class`,t))};var Xs=class extends Set{constructor(e){super(),this[rn]=e;let t=e.getAttributeNode(`class`);t&&Js(this,t.value.split(/\s+/))}get length(){return this.size}get value(){return[...this].join(` `)}add(...e){Js(this,e),Ys(this)}contains(e){return this.has(e)}remove(...e){for(let t of e)this.delete(t);Ys(this)}toggle(e,t){if(this.has(e)){if(t)return!0;this.delete(e),Ys(this)}else if(t||arguments.length===1)return super.add(e),Ys(this),!0;return!1}replace(e,t){return this.has(e)?(this.delete(e),super.add(t),Ys(this),!0):!1}supports(){return!0}};const Zs=new WeakMap,Qs=e=>[...e.keys()].filter(e=>e!==on),$s=e=>{let t=Zs.get(e).getAttributeNode(`style`);if((!t||t[qt]||e.get(on)!==t)&&(e.clear(),t)){e.set(on,t);for(let n of t[dn].split(/\s*;\s*/)){let[t,...r]=n.split(`:`);if(r.length>0){t=t.trim();let n=r.join(`:`).trim();t&&n&&e.set(t,n)}}}return t},ec={get(e,t){return t in nc?e[t]:($s(e),t===`length`?Qs(e).length:/^\d+$/.test(t)?Qs(e)[t]:e.get(Vs(t)))},set(e,t,n){if(t===`cssText`)e[t]=n;else{let r=$s(e);if(n==null?e.delete(Vs(t)):e.set(Vs(t),n),!r){let t=Zs.get(e);r=t.ownerDocument.createAttribute(`style`),t.setAttributeNode(r),e.set(on,r)}r[qt]=!1,r[dn]=e.toString()}return!0}};var tc=class extends Map{constructor(e){return super(),Zs.set(this,e),new Proxy(this,ec)}get cssText(){return this.toString()}set cssText(e){Zs.get(this).setAttribute(`style`,e)}getPropertyValue(e){let t=this[on];return ec.get(t,e)}setProperty(e,t){let n=this[on];ec.set(n,e,t)}removeProperty(e){let t=this[on];ec.set(t,e,null)}[Symbol.iterator](){let e=this[on];$s(e);let t=Qs(e),{length:n}=t,r=0;return{next(){let e=r===n;return{done:e,value:e?null:t[r++]}}}}get[on](){return this}toString(){let e=this[on];$s(e);let t=[];return e.forEach(rc,t),t.join(`;`)}};const{prototype:nc}=tc;function rc(e,t){t!==on&&this.push(`${t}:${e}`)}function ic(e){return e.currentTarget}var ac=class{static get BUBBLING_PHASE(){return 3}static get AT_TARGET(){return 2}static get CAPTURING_PHASE(){return 1}static get NONE(){return 0}constructor(e,t={}){this.type=e,this.bubbles=!!t.bubbles,this.cancelBubble=!1,this._stopImmediatePropagationFlag=!1,this.cancelable=!!t.cancelable,this.eventPhase=this.NONE,this.timeStamp=Date.now(),this.defaultPrevented=!1,this.originalTarget=null,this.returnValue=null,this.srcElement=null,this.target=null,this._path=[]}get BUBBLING_PHASE(){return 3}get AT_TARGET(){return 2}get CAPTURING_PHASE(){return 1}get NONE(){return 0}preventDefault(){this.defaultPrevented=!0}composedPath(){return this._path.map(ic)}stopPropagation(){this.cancelBubble=!0}stopImmediatePropagation(){this.stopPropagation(),this._stopImmediatePropagationFlag=!0}},oc=class extends Array{constructor(e){super(),this.ownerElement=e}getNamedItem(e){return this.ownerElement.getAttributeNode(e)}setNamedItem(e){this.ownerElement.setAttributeNode(e),this.unshift(e)}removeNamedItem(e){let t=this.getNamedItem(e);this.ownerElement.removeAttribute(e),this.splice(this.indexOf(t),1)}item(e){return e<this.length?this[e]:null}getNamedItemNS(e,t){return this.getNamedItem(t)}setNamedItemNS(e,t){return this.setNamedItem(t)}removeNamedItemNS(e,t){return this.removeNamedItem(t)}},sc=class extends Fs{constructor(e){super(e.ownerDocument,`#shadow-root`,11),this.host=e}get innerHTML(){return Rs(this)}set innerHTML(e){zs(this,e)}};const cc={get(e,t){return t in e?e[t]:e.find(({name:e})=>e===t)}},lc=(e,t,n)=>{if(`ownerSVGElement`in t){let r=e.createElementNS(qi,n);return r.ownerSVGElement=t.ownerSVGElement,r}return e.createElement(n)},uc=({localName:e,ownerDocument:t})=>t[tn].voidElements.test(e);var dc=class extends Ps{constructor(e,t){super(e,t,1),this[Jt]=null,this[Zt]=null,this[ln]=null}get isConnected(){return io(this)}get parentElement(){return ao(this)}get previousSibling(){return oo(this)}get nextSibling(){return so(this)}get namespaceURI(){return`http://www.w3.org/1999/xhtml`}get previousElementSibling(){return lo(this)}get nextElementSibling(){return co(this)}before(...e){fo(this,e)}after(...e){po(this,e)}replaceWith(...e){mo(this,e)}remove(){ho(this[an],this,this[U][W])}get id(){return Y.get(this,`id`)}set id(e){Y.set(this,`id`,e)}get className(){return this.classList.value}set className(e){let{classList:t}=this;t.clear(),t.add(...ta(e).split(/\s+/))}get nodeName(){return ca(this)}get tagName(){return ca(this)}get classList(){return this[Jt]||(this[Jt]=new Xs(this))}get dataset(){return this[Zt]||(this[Zt]=new Ks(this))}getBoundingClientRect(){return{x:0,y:0,bottom:0,height:0,left:0,right:0,top:0,width:0}}get nonce(){return Y.get(this,`nonce`)}set nonce(e){Y.set(this,`nonce`,e)}get style(){return this[ln]||(this[ln]=new tc(this))}get tabIndex(){return Ua.get(this,`tabindex`)||-1}set tabIndex(e){Ua.set(this,`tabindex`,e)}get slot(){return Y.get(this,`slot`)}set slot(e){Y.set(this,`slot`,e)}get innerText(){let e=[],{[W]:t,[U]:n}=this;for(;t!==n;)t.nodeType===3?e.push(t.textContent.replace(/\s+/g,` `)):e.length&&t[W]!=n&&Ki.has(t.tagName)&&e.push(`
|
|
11
|
+
`),t=t[W];return e.join(``)}get textContent(){let e=[],{[W]:t,[U]:n}=this;for(;t!==n;){let n=t.nodeType;(n===3||n===4)&&e.push(t.textContent),t=t[W]}return e.join(``)}set textContent(e){this.replaceChildren(),e!=null&&e!==``&&this.appendChild(new js(this.ownerDocument,e))}get innerHTML(){return Rs(this)}set innerHTML(e){zs(this,e)}get outerHTML(){return this.toString()}set outerHTML(e){let t=this.ownerDocument.createElement(``);t.innerHTML=e,this.replaceWith(...t.childNodes)}get attributes(){let e=new oc(this),t=this[W];for(;t.nodeType===2;)e.push(t),t=t[W];return new Proxy(e,cc)}focus(){this.dispatchEvent(new ac(`focus`))}getAttribute(e){if(e===`class`)return this.className;let t=this.getAttributeNode(e);return t&&(ra(this)?t.value:to(t.value))}getAttributeNode(e){let t=this[W];for(;t.nodeType===2;){if(t.name===e)return t;t=t[W]}return null}getAttributeNames(){let e=new Ja,t=this[W];for(;t.nodeType===2;)e.push(t.name),t=t[W];return e}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributes(){return this[W].nodeType===2}removeAttribute(e){e===`class`&&this[Jt]&&this[Jt].clear();let t=this[W];for(;t.nodeType===2;){if(t.name===e){Va(this,t);return}t=t[W]}}removeAttributeNode(e){let t=this[W];for(;t.nodeType===2;){if(t===e){Va(this,t);return}t=t[W]}}setAttribute(e,t){if(e===`class`)this.className=t;else{let n=this.getAttributeNode(e);n?n.value=t:Ba(this,new ro(this.ownerDocument,e,t))}}setAttributeNode(e){let{name:t}=e,n=this.getAttributeNode(t);if(n!==e){n&&this.removeAttributeNode(n);let{ownerElement:t}=e;t&&t.removeAttributeNode(e),Ba(this,e)}return n}toggleAttribute(e,t){return this.hasAttribute(e)?t?!0:(this.removeAttribute(e),!1):t||arguments.length===1?(this.setAttribute(e,``),!0):!1}get shadowRoot(){if(da.has(this)){let{mode:e,shadowRoot:t}=da.get(this);if(e===`open`)return t}return null}attachShadow(e){if(da.has(this))throw Error(`operation not supported`);let t=new sc(this);return da.set(this,{mode:e.mode,shadowRoot:t}),t}matches(e){return As(this,e)}closest(e){let t=this,n=ks(t,e);for(;t&&!n(t);)t=t.parentElement;return t}insertAdjacentElement(e,t){let{parentElement:n}=this;switch(e){case`beforebegin`:if(n){n.insertBefore(t,this);break}return null;case`afterbegin`:this.insertBefore(t,this.firstChild);break;case`beforeend`:this.insertBefore(t,null);break;case`afterend`:if(n){n.insertBefore(t,this.nextSibling);break}return null}return t}insertAdjacentHTML(e,t){this.insertAdjacentElement(e,ua(this.ownerDocument,t))}insertAdjacentText(e,t){let n=this.ownerDocument.createTextNode(t);this.insertAdjacentElement(e,n)}cloneNode(e=!1){let{ownerDocument:t,localName:n}=this,r=e=>{e.parentNode=a,ia(o,e),o=e},i=lc(t,this,n),a=i,o=i,{[W]:s,[U]:c}=this;for(;s!==c&&(e||s.nodeType===2);){switch(s.nodeType){case-1:ia(o,a[U]),o=a[U],a=a.parentNode;break;case 1:{let e=lc(t,s,s.localName);r(e),a=e;break}case 2:{let t=s.cloneNode(e);t.ownerElement=a,r(t);break}case 3:case 8:case 4:r(s.cloneNode(e));break}s=s[W]}return ia(o,i[U]),i}toString(){let e=[],{[U]:t}=this,n={[W]:this},r=!1;do switch(n=n[W],n.nodeType){case 2:{let t=` `+n;switch(t){case` id`:case` class`:case` style`:break;default:e.push(t)}break}case-1:{let t=n[cn];r?(`ownerSVGElement`in t?e.push(` />`):uc(t)?e.push(ra(t)?`>`:` />`):e.push(`></${t.localName}>`),r=!1):e.push(`</${t.localName}>`);break}case 1:r&&e.push(`>`),n.toString===this.toString?(e.push(`<${n.localName}`),r=!0):(e.push(n.toString()),n=n[U],r=!1);break;case 3:case 8:case 4:e.push((r?`>`:``)+n),r=!1;break}while(n!==t);return e.join(``)}toJSON(){let e=[];return Na(this,e),e}getAttributeNS(e,t){return this.getAttribute(t)}getElementsByTagNameNS(e,t){return this.getElementsByTagName(t)}hasAttributeNS(e,t){return this.hasAttribute(t)}removeAttributeNS(e,t){this.removeAttribute(t)}setAttributeNS(e,t,n){this.setAttribute(t,n)}setAttributeNodeNS(e){return this.setAttributeNode(e)}};const fc=new WeakMap,pc={get(e,t){return e[t]},set(e,t,n){return e[t]=n,!0}};var mc=class extends dc{constructor(e,t,n=null){super(e,t),this.ownerSVGElement=n}get className(){return fc.has(this)||fc.set(this,new Proxy({baseVal:``,animVal:``},pc)),fc.get(this)}set className(e){let{classList:t}=this;t.clear(),t.add(...ta(e).split(/\s+/))}get namespaceURI(){return`http://www.w3.org/2000/svg`}getAttribute(e){return e===`class`?[...this.classList].join(` `):super.getAttribute(e)}setAttribute(e,t){if(e===`class`)this.className=t;else if(e===`style`){let{className:e}=this;e.baseVal=e.animVal=t}super.setAttribute(e,t)}};const hc=()=>{throw TypeError(`Illegal constructor`)};function gc(){hc()}ea(gc,ro),gc.prototype=ro.prototype;function _c(){hc()}ea(_c,_o),_c.prototype=_o.prototype;function vc(){hc()}ea(vc,go),vc.prototype=go.prototype;function yc(){hc()}ea(yc,vo),yc.prototype=vo.prototype;function bc(){hc()}ea(bc,Is),bc.prototype=Is.prototype;function xc(){hc()}ea(xc,Ls),xc.prototype=Ls.prototype;function Sc(){hc()}ea(Sc,dc),Sc.prototype=dc.prototype;function Cc(){hc()}ea(Cc,Xa),Cc.prototype=Xa.prototype;function wc(){hc()}ea(wc,sc),wc.prototype=sc.prototype;function Tc(){hc()}ea(Tc,js),Tc.prototype=js.prototype;function Ec(){hc()}ea(Ec,mc),Ec.prototype=mc.prototype;const Dc={Attr:gc,CDATASection:_c,CharacterData:vc,Comment:yc,DocumentFragment:bc,DocumentType:xc,Element:Sc,Node:Cc,ShadowRoot:wc,Text:Tc,SVGElement:Ec},Oc=new WeakMap,Q={get(e,t){return Oc.has(e)&&Oc.get(e)[t]||null},set(e,t,n){Oc.has(e)||Oc.set(e,{});let r=Oc.get(e),i=t.slice(2);r[t]&&e.removeEventListener(i,r[t],!1),(r[t]=n)&&e.addEventListener(i,n,!1)}};var $=class extends dc{static get observedAttributes(){return[]}constructor(e=null,t=``){super(e,t);let n=!e,r;if(n){let{constructor:n}=this;if(!pa.has(n))throw Error(`unable to initialize this Custom Element`);({ownerDocument:e,localName:t,options:r}=pa.get(n))}if(e[un]){let{element:t,values:n}=e[un];e[un]=null;for(let[e,r]of n)t[e]=r;return t}n&&(this.ownerDocument=this[U].ownerDocument=e,this.localName=t,ma.set(this,{connected:!1}),r.is&&this.setAttribute(`is`,r.is))}blur(){this.dispatchEvent(new ac(`blur`))}click(){let e=new ac(`click`,{bubbles:!0,cancelable:!0});e.button=0,this.dispatchEvent(e)}get accessKeyLabel(){let{accessKey:e}=this;return e&&`Alt+Shift+${e}`}get isContentEditable(){return this.hasAttribute(`contenteditable`)}get contentEditable(){return Ha.get(this,`contenteditable`)}set contentEditable(e){Ha.set(this,`contenteditable`,e)}get draggable(){return Ha.get(this,`draggable`)}set draggable(e){Ha.set(this,`draggable`,e)}get hidden(){return Ha.get(this,`hidden`)}set hidden(e){Ha.set(this,`hidden`,e)}get spellcheck(){return Ha.get(this,`spellcheck`)}set spellcheck(e){Ha.set(this,`spellcheck`,e)}get accessKey(){return Y.get(this,`accesskey`)}set accessKey(e){Y.set(this,`accesskey`,e)}get dir(){return Y.get(this,`dir`)}set dir(e){Y.set(this,`dir`,e)}get lang(){return Y.get(this,`lang`)}set lang(e){Y.set(this,`lang`,e)}get title(){return Y.get(this,`title`)}set title(e){Y.set(this,`title`,e)}get onabort(){return Q.get(this,`onabort`)}set onabort(e){Q.set(this,`onabort`,e)}get onblur(){return Q.get(this,`onblur`)}set onblur(e){Q.set(this,`onblur`,e)}get oncancel(){return Q.get(this,`oncancel`)}set oncancel(e){Q.set(this,`oncancel`,e)}get oncanplay(){return Q.get(this,`oncanplay`)}set oncanplay(e){Q.set(this,`oncanplay`,e)}get oncanplaythrough(){return Q.get(this,`oncanplaythrough`)}set oncanplaythrough(e){Q.set(this,`oncanplaythrough`,e)}get onchange(){return Q.get(this,`onchange`)}set onchange(e){Q.set(this,`onchange`,e)}get onclick(){return Q.get(this,`onclick`)}set onclick(e){Q.set(this,`onclick`,e)}get onclose(){return Q.get(this,`onclose`)}set onclose(e){Q.set(this,`onclose`,e)}get oncontextmenu(){return Q.get(this,`oncontextmenu`)}set oncontextmenu(e){Q.set(this,`oncontextmenu`,e)}get oncuechange(){return Q.get(this,`oncuechange`)}set oncuechange(e){Q.set(this,`oncuechange`,e)}get ondblclick(){return Q.get(this,`ondblclick`)}set ondblclick(e){Q.set(this,`ondblclick`,e)}get ondrag(){return Q.get(this,`ondrag`)}set ondrag(e){Q.set(this,`ondrag`,e)}get ondragend(){return Q.get(this,`ondragend`)}set ondragend(e){Q.set(this,`ondragend`,e)}get ondragenter(){return Q.get(this,`ondragenter`)}set ondragenter(e){Q.set(this,`ondragenter`,e)}get ondragleave(){return Q.get(this,`ondragleave`)}set ondragleave(e){Q.set(this,`ondragleave`,e)}get ondragover(){return Q.get(this,`ondragover`)}set ondragover(e){Q.set(this,`ondragover`,e)}get ondragstart(){return Q.get(this,`ondragstart`)}set ondragstart(e){Q.set(this,`ondragstart`,e)}get ondrop(){return Q.get(this,`ondrop`)}set ondrop(e){Q.set(this,`ondrop`,e)}get ondurationchange(){return Q.get(this,`ondurationchange`)}set ondurationchange(e){Q.set(this,`ondurationchange`,e)}get onemptied(){return Q.get(this,`onemptied`)}set onemptied(e){Q.set(this,`onemptied`,e)}get onended(){return Q.get(this,`onended`)}set onended(e){Q.set(this,`onended`,e)}get onerror(){return Q.get(this,`onerror`)}set onerror(e){Q.set(this,`onerror`,e)}get onfocus(){return Q.get(this,`onfocus`)}set onfocus(e){Q.set(this,`onfocus`,e)}get oninput(){return Q.get(this,`oninput`)}set oninput(e){Q.set(this,`oninput`,e)}get oninvalid(){return Q.get(this,`oninvalid`)}set oninvalid(e){Q.set(this,`oninvalid`,e)}get onkeydown(){return Q.get(this,`onkeydown`)}set onkeydown(e){Q.set(this,`onkeydown`,e)}get onkeypress(){return Q.get(this,`onkeypress`)}set onkeypress(e){Q.set(this,`onkeypress`,e)}get onkeyup(){return Q.get(this,`onkeyup`)}set onkeyup(e){Q.set(this,`onkeyup`,e)}get onload(){return Q.get(this,`onload`)}set onload(e){Q.set(this,`onload`,e)}get onloadeddata(){return Q.get(this,`onloadeddata`)}set onloadeddata(e){Q.set(this,`onloadeddata`,e)}get onloadedmetadata(){return Q.get(this,`onloadedmetadata`)}set onloadedmetadata(e){Q.set(this,`onloadedmetadata`,e)}get onloadstart(){return Q.get(this,`onloadstart`)}set onloadstart(e){Q.set(this,`onloadstart`,e)}get onmousedown(){return Q.get(this,`onmousedown`)}set onmousedown(e){Q.set(this,`onmousedown`,e)}get onmouseenter(){return Q.get(this,`onmouseenter`)}set onmouseenter(e){Q.set(this,`onmouseenter`,e)}get onmouseleave(){return Q.get(this,`onmouseleave`)}set onmouseleave(e){Q.set(this,`onmouseleave`,e)}get onmousemove(){return Q.get(this,`onmousemove`)}set onmousemove(e){Q.set(this,`onmousemove`,e)}get onmouseout(){return Q.get(this,`onmouseout`)}set onmouseout(e){Q.set(this,`onmouseout`,e)}get onmouseover(){return Q.get(this,`onmouseover`)}set onmouseover(e){Q.set(this,`onmouseover`,e)}get onmouseup(){return Q.get(this,`onmouseup`)}set onmouseup(e){Q.set(this,`onmouseup`,e)}get onmousewheel(){return Q.get(this,`onmousewheel`)}set onmousewheel(e){Q.set(this,`onmousewheel`,e)}get onpause(){return Q.get(this,`onpause`)}set onpause(e){Q.set(this,`onpause`,e)}get onplay(){return Q.get(this,`onplay`)}set onplay(e){Q.set(this,`onplay`,e)}get onplaying(){return Q.get(this,`onplaying`)}set onplaying(e){Q.set(this,`onplaying`,e)}get onprogress(){return Q.get(this,`onprogress`)}set onprogress(e){Q.set(this,`onprogress`,e)}get onratechange(){return Q.get(this,`onratechange`)}set onratechange(e){Q.set(this,`onratechange`,e)}get onreset(){return Q.get(this,`onreset`)}set onreset(e){Q.set(this,`onreset`,e)}get onresize(){return Q.get(this,`onresize`)}set onresize(e){Q.set(this,`onresize`,e)}get onscroll(){return Q.get(this,`onscroll`)}set onscroll(e){Q.set(this,`onscroll`,e)}get onseeked(){return Q.get(this,`onseeked`)}set onseeked(e){Q.set(this,`onseeked`,e)}get onseeking(){return Q.get(this,`onseeking`)}set onseeking(e){Q.set(this,`onseeking`,e)}get onselect(){return Q.get(this,`onselect`)}set onselect(e){Q.set(this,`onselect`,e)}get onshow(){return Q.get(this,`onshow`)}set onshow(e){Q.set(this,`onshow`,e)}get onstalled(){return Q.get(this,`onstalled`)}set onstalled(e){Q.set(this,`onstalled`,e)}get onsubmit(){return Q.get(this,`onsubmit`)}set onsubmit(e){Q.set(this,`onsubmit`,e)}get onsuspend(){return Q.get(this,`onsuspend`)}set onsuspend(e){Q.set(this,`onsuspend`,e)}get ontimeupdate(){return Q.get(this,`ontimeupdate`)}set ontimeupdate(e){Q.set(this,`ontimeupdate`,e)}get ontoggle(){return Q.get(this,`ontoggle`)}set ontoggle(e){Q.set(this,`ontoggle`,e)}get onvolumechange(){return Q.get(this,`onvolumechange`)}set onvolumechange(e){Q.set(this,`onvolumechange`,e)}get onwaiting(){return Q.get(this,`onwaiting`)}set onwaiting(e){Q.set(this,`onwaiting`,e)}get onauxclick(){return Q.get(this,`onauxclick`)}set onauxclick(e){Q.set(this,`onauxclick`,e)}get ongotpointercapture(){return Q.get(this,`ongotpointercapture`)}set ongotpointercapture(e){Q.set(this,`ongotpointercapture`,e)}get onlostpointercapture(){return Q.get(this,`onlostpointercapture`)}set onlostpointercapture(e){Q.set(this,`onlostpointercapture`,e)}get onpointercancel(){return Q.get(this,`onpointercancel`)}set onpointercancel(e){Q.set(this,`onpointercancel`,e)}get onpointerdown(){return Q.get(this,`onpointerdown`)}set onpointerdown(e){Q.set(this,`onpointerdown`,e)}get onpointerenter(){return Q.get(this,`onpointerenter`)}set onpointerenter(e){Q.set(this,`onpointerenter`,e)}get onpointerleave(){return Q.get(this,`onpointerleave`)}set onpointerleave(e){Q.set(this,`onpointerleave`,e)}get onpointermove(){return Q.get(this,`onpointermove`)}set onpointermove(e){Q.set(this,`onpointermove`,e)}get onpointerout(){return Q.get(this,`onpointerout`)}set onpointerout(e){Q.set(this,`onpointerout`,e)}get onpointerover(){return Q.get(this,`onpointerover`)}set onpointerover(e){Q.set(this,`onpointerover`,e)}get onpointerup(){return Q.get(this,`onpointerup`)}set onpointerup(e){Q.set(this,`onpointerup`,e)}};const kc=`template`;var Ac=class extends ${constructor(e){super(e,kc);let t=this.ownerDocument.createDocumentFragment();(this[Xt]=t)[on]=this}get content(){if(this.hasChildNodes()&&!this[Xt].hasChildNodes())for(let e of this.childNodes)this[Xt].appendChild(e.cloneNode(!0));return this[Xt]}};Da(kc,Ac);var jc=class extends ${constructor(e,t=`html`){super(e,t)}};const{toString:Mc}=$.prototype;var Nc=class extends ${get innerHTML(){return this.textContent}set innerHTML(e){this.textContent=e}toString(){return Mc.call(this.cloneNode()).replace(`><`,()=>`>${this.textContent}<`)}};const Pc=`script`;var Fc=class extends Nc{constructor(e,t=Pc){super(e,t)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get defer(){return Ha.get(this,`defer`)}set defer(e){Ha.set(this,`defer`,e)}get crossOrigin(){return Y.get(this,`crossorigin`)}set crossOrigin(e){Y.set(this,`crossorigin`,e)}get nomodule(){return Ha.get(this,`nomodule`)}set nomodule(e){Ha.set(this,`nomodule`,e)}get referrerPolicy(){return Y.get(this,`referrerpolicy`)}set referrerPolicy(e){Y.set(this,`referrerpolicy`,e)}get nonce(){return Y.get(this,`nonce`)}set nonce(e){Y.set(this,`nonce`,e)}get async(){return Ha.get(this,`async`)}set async(e){Ha.set(this,`async`,e)}get text(){return this.textContent}set text(e){this.textContent=e}};Da(Pc,Fc);var Ic=class extends ${constructor(e,t=`frame`){super(e,t)}};const Lc=`iframe`;var Rc=class extends ${constructor(e,t=Lc){super(e,t)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcdoc(){return Y.get(this,`srcdoc`)}set srcdoc(e){Y.set(this,`srcdoc`,e)}get name(){return Y.get(this,`name`)}set name(e){Y.set(this,`name`,e)}get allow(){return Y.get(this,`allow`)}set allow(e){Y.set(this,`allow`,e)}get allowFullscreen(){return Ha.get(this,`allowfullscreen`)}set allowFullscreen(e){Ha.set(this,`allowfullscreen`,e)}get referrerPolicy(){return Y.get(this,`referrerpolicy`)}set referrerPolicy(e){Y.set(this,`referrerpolicy`,e)}get loading(){return Y.get(this,`loading`)}set loading(e){Y.set(this,`loading`,e)}};Da(Lc,Rc);var zc=class extends ${constructor(e,t=`object`){super(e,t)}},Bc=class extends ${constructor(e,t=`head`){super(e,t)}},Vc=class extends ${constructor(e,t=`body`){super(e,t)}},Hc=O((e=>{var t={};t.StyleSheet=function(){this.parentStyleSheet=null},e.StyleSheet=t.StyleSheet})),Uc=O((e=>{var t={};t.CSSRule=function(){this.parentRule=null,this.parentStyleSheet=null},t.CSSRule.UNKNOWN_RULE=0,t.CSSRule.STYLE_RULE=1,t.CSSRule.CHARSET_RULE=2,t.CSSRule.IMPORT_RULE=3,t.CSSRule.MEDIA_RULE=4,t.CSSRule.FONT_FACE_RULE=5,t.CSSRule.PAGE_RULE=6,t.CSSRule.KEYFRAMES_RULE=7,t.CSSRule.KEYFRAME_RULE=8,t.CSSRule.MARGIN_RULE=9,t.CSSRule.NAMESPACE_RULE=10,t.CSSRule.COUNTER_STYLE_RULE=11,t.CSSRule.SUPPORTS_RULE=12,t.CSSRule.DOCUMENT_RULE=13,t.CSSRule.FONT_FEATURE_VALUES_RULE=14,t.CSSRule.VIEWPORT_RULE=15,t.CSSRule.REGION_STYLE_RULE=16,t.CSSRule.prototype={constructor:t.CSSRule},e.CSSRule=t.CSSRule})),Wc=O((e=>{var t={CSSStyleDeclaration:sl().CSSStyleDeclaration,CSSRule:Uc().CSSRule};t.CSSStyleRule=function(){t.CSSRule.call(this),this.selectorText=``,this.style=new t.CSSStyleDeclaration,this.style.parentRule=this},t.CSSStyleRule.prototype=new t.CSSRule,t.CSSStyleRule.prototype.constructor=t.CSSStyleRule,t.CSSStyleRule.prototype.type=1,Object.defineProperty(t.CSSStyleRule.prototype,`cssText`,{get:function(){return this.selectorText?this.selectorText+` {`+this.style.cssText+`}`:``},set:function(e){var n=t.CSSStyleRule.parse(e);this.style=n.style,this.selectorText=n.selectorText}}),t.CSSStyleRule.parse=function(e){for(var n=0,r=`selector`,i,a=n,o=``,s={selector:!0,value:!0},c=new t.CSSStyleRule,l,u=``,d;d=e.charAt(n);n++)switch(d){case` `:case` `:case`\r`:case`
|
|
12
12
|
`:case`\f`:if(s[r])switch(e.charAt(n-1)){case` `:case` `:case`\r`:case`
|
|
13
|
-
`:case`\f`:break;default:o+=` `;break}break;case`"`:if(a=n+1,i=e.indexOf(`"`,a)+1,!i)throw`" is missing`;o+=e.slice(n,i),n=i-1;break;case`'`:if(a=n+1,i=e.indexOf(`'`,a)+1,!i)throw`' is missing`;o+=e.slice(n,i),n=i-1;break;case`/`:if(e.charAt(n+1)===`*`){if(n+=2,i=e.indexOf(`*/`,n),i===-1)throw SyntaxError(`Missing */`);n=i+1}else o+=d;break;case`{`:r===`selector`&&(c.selectorText=o.trim(),o=``,r=`name`);break;case`:`:r===`name`?(l=o.trim(),o=``,r=`value`):o+=d;break;case`!`:r===`value`&&e.indexOf(`!important`,n)===n?(u=`important`,n+=9):o+=d;break;case`;`:r===`value`?(c.style.setProperty(l,o.trim(),u),u=``,o=``,r=`name`):o+=d;break;case`}`:if(r===`value`)c.style.setProperty(l,o.trim(),u),u=``,o=``;else if(r===`name`)break;else o+=d;r=`selector`;break;default:o+=d;break}return c},e.CSSStyleRule=t.CSSStyleRule})),
|
|
14
|
-
`;return e},e.CSSStyleSheet=t.CSSStyleSheet,t.parse=
|
|
15
|
-
`:case`\f`:n===`after-import`?n=`url`:r+=a;break;case`@`:!n&&e.indexOf(`@import`,t)===t&&(n=`after-import`,t+=6,r=``);break;case`u`:if(n===`url`&&e.indexOf(`url(`,t)===t){if(i=e.indexOf(`)`,t+1),i===-1)throw t+`: ")" not found`;t+=4;var o=e.slice(t,i);o[0]===o[o.length-1]&&(o[0]===`"`||o[0]===`'`)&&(o=o.slice(1,-1)),this.href=o,t=i,n=`media`}break;case`"`:if(n===`url`){if(i=e.indexOf(`"`,t+1),!i)throw t+`: '"' not found`;this.href=e.slice(t+1,i),t=i,n=`media`}break;case`'`:if(n===`url`){if(i=e.indexOf(`'`,t+1),!i)throw t+`: "'" not found`;this.href=e.slice(t+1,i),t=i,n=`media`}break;case`;`:n===`media`&&r&&(this.media.mediaText=r.trim());break;default:n===`media`&&(r+=a);break}}}),e.CSSImportRule=t.CSSImportRule})),
|
|
13
|
+
`:case`\f`:break;default:o+=` `;break}break;case`"`:if(a=n+1,i=e.indexOf(`"`,a)+1,!i)throw`" is missing`;o+=e.slice(n,i),n=i-1;break;case`'`:if(a=n+1,i=e.indexOf(`'`,a)+1,!i)throw`' is missing`;o+=e.slice(n,i),n=i-1;break;case`/`:if(e.charAt(n+1)===`*`){if(n+=2,i=e.indexOf(`*/`,n),i===-1)throw SyntaxError(`Missing */`);n=i+1}else o+=d;break;case`{`:r===`selector`&&(c.selectorText=o.trim(),o=``,r=`name`);break;case`:`:r===`name`?(l=o.trim(),o=``,r=`value`):o+=d;break;case`!`:r===`value`&&e.indexOf(`!important`,n)===n?(u=`important`,n+=9):o+=d;break;case`;`:r===`value`?(c.style.setProperty(l,o.trim(),u),u=``,o=``,r=`name`):o+=d;break;case`}`:if(r===`value`)c.style.setProperty(l,o.trim(),u),u=``,o=``;else if(r===`name`)break;else o+=d;r=`selector`;break;default:o+=d;break}return c},e.CSSStyleRule=t.CSSStyleRule})),Gc=O((e=>{var t={StyleSheet:Hc().StyleSheet,CSSStyleRule:Wc().CSSStyleRule};t.CSSStyleSheet=function(){t.StyleSheet.call(this),this.cssRules=[]},t.CSSStyleSheet.prototype=new t.StyleSheet,t.CSSStyleSheet.prototype.constructor=t.CSSStyleSheet,t.CSSStyleSheet.prototype.insertRule=function(e,n){if(n<0||n>this.cssRules.length)throw RangeError(`INDEX_SIZE_ERR`);var r=t.parse(e).cssRules[0];return r.parentStyleSheet=this,this.cssRules.splice(n,0,r),n},t.CSSStyleSheet.prototype.deleteRule=function(e){if(e<0||e>=this.cssRules.length)throw RangeError(`INDEX_SIZE_ERR`);this.cssRules.splice(e,1)},t.CSSStyleSheet.prototype.toString=function(){for(var e=``,t=this.cssRules,n=0;n<t.length;n++)e+=t[n].cssText+`
|
|
14
|
+
`;return e},e.CSSStyleSheet=t.CSSStyleSheet,t.parse=ol().parse})),Kc=O((e=>{var t={};t.MediaList=function(){this.length=0},t.MediaList.prototype={constructor:t.MediaList,get mediaText(){return Array.prototype.join.call(this,`, `)},set mediaText(e){for(var t=e.split(`,`),n=this.length=t.length,r=0;r<n;r++)this[r]=t[r].trim()},appendMedium:function(e){Array.prototype.indexOf.call(this,e)===-1&&(this[this.length]=e,this.length++)},deleteMedium:function(e){var t=Array.prototype.indexOf.call(this,e);t!==-1&&Array.prototype.splice.call(this,t,1)}},e.MediaList=t.MediaList})),qc=O((e=>{var t={CSSRule:Uc().CSSRule,CSSStyleSheet:Gc().CSSStyleSheet,MediaList:Kc().MediaList};t.CSSImportRule=function(){t.CSSRule.call(this),this.href=``,this.media=new t.MediaList,this.styleSheet=new t.CSSStyleSheet},t.CSSImportRule.prototype=new t.CSSRule,t.CSSImportRule.prototype.constructor=t.CSSImportRule,t.CSSImportRule.prototype.type=3,Object.defineProperty(t.CSSImportRule.prototype,`cssText`,{get:function(){var e=this.media.mediaText;return`@import url(`+this.href+`)`+(e?` `+e:``)+`;`},set:function(e){for(var t=0,n=``,r=``,i,a;a=e.charAt(t);t++)switch(a){case` `:case` `:case`\r`:case`
|
|
15
|
+
`:case`\f`:n===`after-import`?n=`url`:r+=a;break;case`@`:!n&&e.indexOf(`@import`,t)===t&&(n=`after-import`,t+=6,r=``);break;case`u`:if(n===`url`&&e.indexOf(`url(`,t)===t){if(i=e.indexOf(`)`,t+1),i===-1)throw t+`: ")" not found`;t+=4;var o=e.slice(t,i);o[0]===o[o.length-1]&&(o[0]===`"`||o[0]===`'`)&&(o=o.slice(1,-1)),this.href=o,t=i,n=`media`}break;case`"`:if(n===`url`){if(i=e.indexOf(`"`,t+1),!i)throw t+`: '"' not found`;this.href=e.slice(t+1,i),t=i,n=`media`}break;case`'`:if(n===`url`){if(i=e.indexOf(`'`,t+1),!i)throw t+`: "'" not found`;this.href=e.slice(t+1,i),t=i,n=`media`}break;case`;`:n===`media`&&r&&(this.media.mediaText=r.trim());break;default:n===`media`&&(r+=a);break}}}),e.CSSImportRule=t.CSSImportRule})),Jc=O((e=>{var t={CSSRule:Uc().CSSRule};t.CSSGroupingRule=function(){t.CSSRule.call(this),this.cssRules=[]},t.CSSGroupingRule.prototype=new t.CSSRule,t.CSSGroupingRule.prototype.constructor=t.CSSGroupingRule,t.CSSGroupingRule.prototype.insertRule=function(e,n){if(n<0||n>this.cssRules.length)throw RangeError(`INDEX_SIZE_ERR`);var r=t.parse(e).cssRules[0];return r.parentRule=this,this.cssRules.splice(n,0,r),n},t.CSSGroupingRule.prototype.deleteRule=function(e){if(e<0||e>=this.cssRules.length)throw RangeError(`INDEX_SIZE_ERR`);this.cssRules.splice(e,1)[0].parentRule=null},e.CSSGroupingRule=t.CSSGroupingRule})),Yc=O((e=>{var t={CSSRule:Uc().CSSRule,CSSGroupingRule:Jc().CSSGroupingRule};t.CSSConditionRule=function(){t.CSSGroupingRule.call(this),this.cssRules=[]},t.CSSConditionRule.prototype=new t.CSSGroupingRule,t.CSSConditionRule.prototype.constructor=t.CSSConditionRule,t.CSSConditionRule.prototype.conditionText=``,t.CSSConditionRule.prototype.cssText=``,e.CSSConditionRule=t.CSSConditionRule})),Xc=O((e=>{var t={CSSRule:Uc().CSSRule,CSSGroupingRule:Jc().CSSGroupingRule,CSSConditionRule:Yc().CSSConditionRule,MediaList:Kc().MediaList};t.CSSMediaRule=function(){t.CSSConditionRule.call(this),this.media=new t.MediaList},t.CSSMediaRule.prototype=new t.CSSConditionRule,t.CSSMediaRule.prototype.constructor=t.CSSMediaRule,t.CSSMediaRule.prototype.type=4,Object.defineProperties(t.CSSMediaRule.prototype,{conditionText:{get:function(){return this.media.mediaText},set:function(e){this.media.mediaText=e},configurable:!0,enumerable:!0},cssText:{get:function(){for(var e=[],t=0,n=this.cssRules.length;t<n;t++)e.push(this.cssRules[t].cssText);return`@media `+this.media.mediaText+` {`+e.join(``)+`}`},configurable:!0,enumerable:!0}}),e.CSSMediaRule=t.CSSMediaRule})),Zc=O((e=>{var t={CSSRule:Uc().CSSRule,CSSGroupingRule:Jc().CSSGroupingRule,CSSConditionRule:Yc().CSSConditionRule};t.CSSSupportsRule=function(){t.CSSConditionRule.call(this)},t.CSSSupportsRule.prototype=new t.CSSConditionRule,t.CSSSupportsRule.prototype.constructor=t.CSSSupportsRule,t.CSSSupportsRule.prototype.type=12,Object.defineProperty(t.CSSSupportsRule.prototype,`cssText`,{get:function(){for(var e=[],t=0,n=this.cssRules.length;t<n;t++)e.push(this.cssRules[t].cssText);return`@supports `+this.conditionText+` {`+e.join(``)+`}`}}),e.CSSSupportsRule=t.CSSSupportsRule})),Qc=O((e=>{var t={CSSStyleDeclaration:sl().CSSStyleDeclaration,CSSRule:Uc().CSSRule};t.CSSFontFaceRule=function(){t.CSSRule.call(this),this.style=new t.CSSStyleDeclaration,this.style.parentRule=this},t.CSSFontFaceRule.prototype=new t.CSSRule,t.CSSFontFaceRule.prototype.constructor=t.CSSFontFaceRule,t.CSSFontFaceRule.prototype.type=5,Object.defineProperty(t.CSSFontFaceRule.prototype,`cssText`,{get:function(){return`@font-face {`+this.style.cssText+`}`}}),e.CSSFontFaceRule=t.CSSFontFaceRule})),$c=O((e=>{var t={CSSRule:Uc().CSSRule};t.CSSHostRule=function(){t.CSSRule.call(this),this.cssRules=[]},t.CSSHostRule.prototype=new t.CSSRule,t.CSSHostRule.prototype.constructor=t.CSSHostRule,t.CSSHostRule.prototype.type=1001,Object.defineProperty(t.CSSHostRule.prototype,`cssText`,{get:function(){for(var e=[],t=0,n=this.cssRules.length;t<n;t++)e.push(this.cssRules[t].cssText);return`@host {`+e.join(``)+`}`}}),e.CSSHostRule=t.CSSHostRule})),el=O((e=>{var t={CSSRule:Uc().CSSRule,CSSStyleDeclaration:sl().CSSStyleDeclaration};t.CSSKeyframeRule=function(){t.CSSRule.call(this),this.keyText=``,this.style=new t.CSSStyleDeclaration,this.style.parentRule=this},t.CSSKeyframeRule.prototype=new t.CSSRule,t.CSSKeyframeRule.prototype.constructor=t.CSSKeyframeRule,t.CSSKeyframeRule.prototype.type=8,Object.defineProperty(t.CSSKeyframeRule.prototype,`cssText`,{get:function(){return this.keyText+` {`+this.style.cssText+`} `}}),e.CSSKeyframeRule=t.CSSKeyframeRule})),tl=O((e=>{var t={CSSRule:Uc().CSSRule};t.CSSKeyframesRule=function(){t.CSSRule.call(this),this.name=``,this.cssRules=[]},t.CSSKeyframesRule.prototype=new t.CSSRule,t.CSSKeyframesRule.prototype.constructor=t.CSSKeyframesRule,t.CSSKeyframesRule.prototype.type=7,Object.defineProperty(t.CSSKeyframesRule.prototype,`cssText`,{get:function(){for(var e=[],t=0,n=this.cssRules.length;t<n;t++)e.push(` `+this.cssRules[t].cssText);return`@`+(this._vendorPrefix||``)+`keyframes `+this.name+` {
|
|
16
16
|
`+e.join(`
|
|
17
17
|
`)+`
|
|
18
|
-
}`}}),e.CSSKeyframesRule=t.CSSKeyframesRule})),
|
|
18
|
+
}`}}),e.CSSKeyframesRule=t.CSSKeyframesRule})),nl=O((e=>{var t={};t.CSSValue=function(){},t.CSSValue.prototype={constructor:t.CSSValue,set cssText(e){var t=this._getConstructorName();throw Error(`DOMException: property "cssText" of "`+t+`" is readonly and can not be replaced with "`+e+`"!`)},get cssText(){var e=this._getConstructorName();throw Error(`getter "cssText" of "`+e+`" is not implemented!`)},_getConstructorName:function(){return this.constructor.toString().match(/function\s([^\(]+)/)[1]}},e.CSSValue=t.CSSValue})),rl=O((e=>{var t={CSSValue:nl().CSSValue};t.CSSValueExpression=function(e,t){this._token=e,this._idx=t},t.CSSValueExpression.prototype=new t.CSSValue,t.CSSValueExpression.prototype.constructor=t.CSSValueExpression,t.CSSValueExpression.prototype.parse=function(){for(var e=this._token,t=this._idx,n=``,r=``,i=``,a,o=[];;++t){if(n=e.charAt(t),n===``){i=`css expression error: unfinished expression!`;break}switch(n){case`(`:o.push(n),r+=n;break;case`)`:o.pop(n),r+=n;break;case`/`:(a=this._parseJSComment(e,t))?a.error?i=`css expression error: unfinished comment in expression!`:t=a.idx:(a=this._parseJSRexExp(e,t))?(t=a.idx,r+=a.text):r+=n;break;case`'`:case`"`:a=this._parseJSString(e,t,n),a?(t=a.idx,r+=a.text):r+=n;break;default:r+=n;break}if(i||o.length===0)break}return i?{error:i}:{idx:t,expression:r}},t.CSSValueExpression.prototype._parseJSComment=function(e,t){var n=e.charAt(t+1),r;if(n===`/`||n===`*`){var i=t,a,o;return n===`/`?o=`
|
|
19
19
|
`:n===`*`&&(o=`*/`),a=e.indexOf(o,i+1+1),a===-1?{error:`css expression error: unfinished comment in expression!`}:(a=a+o.length-1,r=e.substring(t,a+1),{idx:a,text:r})}else return!1},t.CSSValueExpression.prototype._parseJSString=function(e,t,n){var r=this._findMatchedIdx(e,t,n),i;return r===-1?!1:(i=e.substring(t,r+n.length),{idx:r,text:i})},t.CSSValueExpression.prototype._parseJSRexExp=function(e,t){var n=e.substring(0,t).replace(/\s+$/,``);return[/^$/,/\($/,/\[$/,/\!$/,/\+$/,/\-$/,/\*$/,/\/\s+/,/\%$/,/\=$/,/\>$/,/<$/,/\&$/,/\|$/,/\^$/,/\~$/,/\?$/,/\,$/,/delete$/,/in$/,/instanceof$/,/new$/,/typeof$/,/void$/].some(function(e){return e.test(n)})?this._parseJSString(e,t,`/`):!1},t.CSSValueExpression.prototype._findMatchedIdx=function(e,t,n){for(var r=t,i,a=-1;;)if(i=e.indexOf(n,r+1),i===-1){i=a;break}else{var o=e.substring(t+1,i).match(/\\+$/);if(!o||o[0]%2==0)break;r=i}return e.indexOf(`
|
|
20
|
-
`,t+1)<i&&(i=a),i},e.CSSValueExpression=t.CSSValueExpression})),
|
|
20
|
+
`,t+1)<i&&(i=a),i},e.CSSValueExpression=t.CSSValueExpression})),il=O((e=>{var t={};t.MatcherList=function(){this.length=0},t.MatcherList.prototype={constructor:t.MatcherList,get matcherText(){return Array.prototype.join.call(this,`, `)},set matcherText(e){for(var t=e.split(`,`),n=this.length=t.length,r=0;r<n;r++)this[r]=t[r].trim()},appendMatcher:function(e){Array.prototype.indexOf.call(this,e)===-1&&(this[this.length]=e,this.length++)},deleteMatcher:function(e){var t=Array.prototype.indexOf.call(this,e);t!==-1&&Array.prototype.splice.call(this,t,1)}},e.MatcherList=t.MatcherList})),al=O((e=>{var t={CSSRule:Uc().CSSRule,MatcherList:il().MatcherList};t.CSSDocumentRule=function(){t.CSSRule.call(this),this.matcher=new t.MatcherList,this.cssRules=[]},t.CSSDocumentRule.prototype=new t.CSSRule,t.CSSDocumentRule.prototype.constructor=t.CSSDocumentRule,t.CSSDocumentRule.prototype.type=10,Object.defineProperty(t.CSSDocumentRule.prototype,`cssText`,{get:function(){for(var e=[],t=0,n=this.cssRules.length;t<n;t++)e.push(this.cssRules[t].cssText);return`@-moz-document `+this.matcher.matcherText+` {`+e.join(``)+`}`}}),e.CSSDocumentRule=t.CSSDocumentRule})),ol=O((e=>{var t={};t.parse=function(e){for(var n=0,r=`before-selector`,i,a=``,o=0,s={selector:!0,value:!0,"value-parenthesis":!0,atRule:!0,"importRule-begin":!0,importRule:!0,atBlock:!0,conditionBlock:!0,"documentRule-begin":!0},c=new t.CSSStyleSheet,l=c,u,d=[],f=!1,p,m,h=``,g,_,v,y,b,x,S,C,w=/@(-(?:\w+-)+)?keyframes/g,T=function(t){var r=e.substring(0,n).split(`
|
|
21
21
|
`),i=r.length,a=r.pop().length+1,o=Error(t+` (line `+i+`, char `+a+`)`);throw o.line=i,o.char=a,o.styleSheet=c,o},E;E=e.charAt(n);n++)switch(E){case` `:case` `:case`\r`:case`
|
|
22
|
-
`:case`\f`:s[r]&&(a+=E);break;case`"`:i=n+1;do i=e.indexOf(`"`,i)+1,i||T(`Unmatched "`);while(e[i-2]===`\\`);switch(a+=e.slice(n,i),n=i-1,r){case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}break;case`'`:i=n+1;do i=e.indexOf(`'`,i)+1,i||T(`Unmatched '`);while(e[i-2]===`\\`);switch(a+=e.slice(n,i),n=i-1,r){case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}break;case`/`:e.charAt(n+1)===`*`?(n+=2,i=e.indexOf(`*/`,n),i===-1?T(`Missing */`):n=i+1):a+=E,r===`importRule-begin`&&(a+=` `,r=`importRule`);break;case`@`:if(e.indexOf(`@-moz-document`,n)===n){r=`documentRule-begin`,S=new t.CSSDocumentRule,S.__starts=n,n+=13,a=``;break}else if(e.indexOf(`@media`,n)===n){r=`atBlock`,_=new t.CSSMediaRule,_.__starts=n,n+=5,a=``;break}else if(e.indexOf(`@supports`,n)===n){r=`conditionBlock`,v=new t.CSSSupportsRule,v.__starts=n,n+=8,a=``;break}else if(e.indexOf(`@host`,n)===n){r=`hostRule-begin`,n+=4,C=new t.CSSHostRule,C.__starts=n,a=``;break}else if(e.indexOf(`@import`,n)===n){r=`importRule-begin`,n+=6,a+=`@import`;break}else if(e.indexOf(`@font-face`,n)===n){r=`fontFaceRule-begin`,n+=9,b=new t.CSSFontFaceRule,b.__starts=n,a=``;break}else{w.lastIndex=n;var ee=w.exec(e);if(ee&&ee.index===n){r=`keyframesRule-begin`,x=new t.CSSKeyframesRule,x.__starts=n,x._vendorPrefix=ee[1],n+=ee[0].length-1,a=``;break}else r===`selector`&&(r=`atRule`)}a+=E;break;case`{`:r===`selector`||r===`atRule`?(g.selectorText=a.trim(),g.style.__starts=n,a=``,r=`before-name`):r===`atBlock`?(_.media.mediaText=a.trim(),u&&d.push(u),l=u=_,_.parentStyleSheet=c,a=``,r=`before-selector`):r===`conditionBlock`?(v.conditionText=a.trim(),u&&d.push(u),l=u=v,v.parentStyleSheet=c,a=``,r=`before-selector`):r===`hostRule-begin`?(u&&d.push(u),l=u=C,C.parentStyleSheet=c,a=``,r=`before-selector`):r===`fontFaceRule-begin`?(u&&(b.parentRule=u),b.parentStyleSheet=c,g=b,a=``,r=`before-name`):r===`keyframesRule-begin`?(x.name=a.trim(),u&&(d.push(u),x.parentRule=u),x.parentStyleSheet=c,l=u=x,a=``,r=`keyframeRule-begin`):r===`keyframeRule-begin`?(g=new t.CSSKeyframeRule,g.keyText=a.trim(),g.__starts=n,a=``,r=`before-name`):r===`documentRule-begin`&&(S.matcher.matcherText=a.trim(),u&&(d.push(u),S.parentRule=u),l=u=S,S.parentStyleSheet=c,a=``,r=`before-selector`);break;case`:`:r===`name`?(m=a.trim(),a=``,r=`before-value`):a+=E;break;case`(`:if(r===`value`)if(a.trim()===`expression`){var te=new t.CSSValueExpression(e,n).parse();te.error?T(te.error):(a+=te.expression,n=te.idx)}else r=`value-parenthesis`,o=1,a+=E;else r===`value-parenthesis`&&o++,a+=E;break;case`)`:r===`value-parenthesis`&&(o--,o===0&&(r=`value`)),a+=E;break;case`!`:r===`value`&&e.indexOf(`!important`,n)===n?(h=`important`,n+=9):a+=E;break;case`;`:switch(r){case`value`:g.style.setProperty(m,a.trim(),h),h=``,a=``,r=`before-name`;break;case`atRule`:a=``,r=`before-selector`;break;case`importRule`:y=new t.CSSImportRule,y.parentStyleSheet=y.styleSheet.parentStyleSheet=c,y.cssText=a+E,c.cssRules.push(y),a=``,r=`before-selector`;break;default:a+=E;break}break;case`}`:switch(r){case`value`:g.style.setProperty(m,a.trim(),h),h=``;case`before-name`:case`name`:g.__ends=n+1,u&&(g.parentRule=u),g.parentStyleSheet=c,l.cssRules.push(g),a=``,r=l.constructor===t.CSSKeyframesRule?`keyframeRule-begin`:`before-selector`;break;case`keyframeRule-begin`:case`before-selector`:case`selector`:for(u||T(`Unexpected }`),f=d.length>0;d.length>0;){if(u=d.pop(),u.constructor.name===`CSSMediaRule`||u.constructor.name===`CSSSupportsRule`){p=l,l=u,l.cssRules.push(p);break}d.length===0&&(f=!1)}f||(l.__ends=n+1,c.cssRules.push(l),l=c,u=null),a=``,r=`before-selector`;break}break;default:switch(r){case`before-selector`:r=`selector`,g=new t.CSSStyleRule,g.__starts=n;break;case`before-name`:r=`name`;break;case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}a+=E;break}return c},e.parse=t.parse,t.CSSStyleSheet=lc().CSSStyleSheet,t.CSSStyleRule=cc().CSSStyleRule,t.CSSImportRule=dc().CSSImportRule,t.CSSGroupingRule=fc().CSSGroupingRule,t.CSSMediaRule=mc().CSSMediaRule,t.CSSConditionRule=pc().CSSConditionRule,t.CSSSupportsRule=hc().CSSSupportsRule,t.CSSFontFaceRule=gc().CSSFontFaceRule,t.CSSHostRule=_c().CSSHostRule,t.CSSStyleDeclaration=Tc().CSSStyleDeclaration,t.CSSKeyframeRule=vc().CSSKeyframeRule,t.CSSKeyframesRule=yc().CSSKeyframesRule,t.CSSValueExpression=xc().CSSValueExpression,t.CSSDocumentRule=Cc().CSSDocumentRule})),Tc=E((e=>{var t={};t.CSSStyleDeclaration=function(){this.length=0,this.parentRule=null,this._importants={}},t.CSSStyleDeclaration.prototype={constructor:t.CSSStyleDeclaration,getPropertyValue:function(e){return this[e]||``},setProperty:function(e,t,n){this[e]?Array.prototype.indexOf.call(this,e)<0&&(this[this.length]=e,this.length++):(this[this.length]=e,this.length++),this[e]=t+``,this._importants[e]=n},removeProperty:function(e){if(!(e in this))return``;var t=Array.prototype.indexOf.call(this,e);if(t<0)return``;var n=this[e];return this[e]=``,Array.prototype.splice.call(this,t,1),n},getPropertyCSSValue:function(){},getPropertyPriority:function(e){return this._importants[e]||``},getPropertyShorthand:function(){},isPropertyImplicit:function(){},get cssText(){for(var e=[],t=0,n=this.length;t<n;++t){var r=this[t],i=this.getPropertyValue(r),a=this.getPropertyPriority(r);a&&=` !`+a,e[t]=r+`: `+i+a+`;`}return e.join(` `)},set cssText(e){var n,r;for(n=this.length;n--;)r=this[n],this[r]=``;Array.prototype.splice.call(this,0,this.length),this._importants={};var i=t.parse(`#bogus{`+e+`}`).cssRules[0].style,a=i.length;for(n=0;n<a;++n)r=i[n],this.setProperty(i[n],i.getPropertyValue(r),i.getPropertyPriority(r))}},e.CSSStyleDeclaration=t.CSSStyleDeclaration,t.parse=wc().parse})),Ec=E((e=>{var t={CSSStyleSheet:lc().CSSStyleSheet,CSSRule:sc().CSSRule,CSSStyleRule:cc().CSSStyleRule,CSSGroupingRule:fc().CSSGroupingRule,CSSConditionRule:pc().CSSConditionRule,CSSMediaRule:mc().CSSMediaRule,CSSSupportsRule:hc().CSSSupportsRule,CSSStyleDeclaration:Tc().CSSStyleDeclaration,CSSKeyframeRule:vc().CSSKeyframeRule,CSSKeyframesRule:yc().CSSKeyframesRule};t.clone=function e(n){var r=new t.CSSStyleSheet,i=n.cssRules;if(!i)return r;for(var a=0,o=i.length;a<o;a++){var s=i[a],c=r.cssRules[a]=new s.constructor,l=s.style;if(l){for(var u=c.style=new t.CSSStyleDeclaration,d=0,f=l.length;d<f;d++){var p=u[d]=l[d];u[p]=l[p],u._importants[p]=l.getPropertyPriority(p)}u.length=l.length}s.hasOwnProperty(`keyText`)&&(c.keyText=s.keyText),s.hasOwnProperty(`selectorText`)&&(c.selectorText=s.selectorText),s.hasOwnProperty(`mediaText`)&&(c.mediaText=s.mediaText),s.hasOwnProperty(`conditionText`)&&(c.conditionText=s.conditionText),s.hasOwnProperty(`cssRules`)&&(c.cssRules=e(s).cssRules)}return r},e.clone=t.clone})),Dc=E((e=>{e.CSSStyleDeclaration=Tc().CSSStyleDeclaration,e.CSSRule=sc().CSSRule,e.CSSGroupingRule=fc().CSSGroupingRule,e.CSSConditionRule=pc().CSSConditionRule,e.CSSStyleRule=cc().CSSStyleRule,e.MediaList=uc().MediaList,e.CSSMediaRule=mc().CSSMediaRule,e.CSSSupportsRule=hc().CSSSupportsRule,e.CSSImportRule=dc().CSSImportRule,e.CSSFontFaceRule=gc().CSSFontFaceRule,e.CSSHostRule=_c().CSSHostRule,e.StyleSheet=oc().StyleSheet,e.CSSStyleSheet=lc().CSSStyleSheet,e.CSSKeyframesRule=yc().CSSKeyframesRule,e.CSSKeyframeRule=vc().CSSKeyframeRule,e.MatcherList=Sc().MatcherList,e.CSSDocumentRule=Cc().CSSDocumentRule,e.CSSValue=bc().CSSValue,e.CSSValueExpression=xc().CSSValueExpression,e.parse=wc().parse,e.clone=Ec().clone}))();const Oc=`style`;var kc=class extends Zs{constructor(e,t=Oc){super(e,t),this[kt]=null}get sheet(){let e=this[kt];return e===null?this[kt]=(0,Dc.parse)(this.textContent):e}get innerHTML(){return super.innerHTML||``}set innerHTML(e){super.textContent=e,this[kt]=null}get innerText(){return super.innerText||``}set innerText(e){super.textContent=e,this[kt]=null}get textContent(){return super.textContent||``}set textContent(e){super.textContent=e,this[kt]=null}};Gi(Oc,kc);var Ac=class extends ${constructor(e,t=`time`){super(e,t)}get dateTime(){return Y.get(this,`datetime`)}set dateTime(e){Y.set(this,`datetime`,e)}};Gi(`time`,Ac);var jc=class extends ${constructor(e,t=`fieldset`){super(e,t)}},Mc=class extends ${constructor(e,t=`embed`){super(e,t)}},Nc=class extends ${constructor(e,t=`hr`){super(e,t)}},Pc=class extends ${constructor(e,t=`progress`){super(e,t)}},Fc=class extends ${constructor(e,t=`p`){super(e,t)}},Ic=class extends ${constructor(e,t=`table`){super(e,t)}},Lc=class extends ${constructor(e,t=`frameset`){super(e,t)}},Rc=class extends ${constructor(e,t=`li`){super(e,t)}},zc=class extends ${constructor(e,t=`base`){super(e,t)}},Bc=class extends ${constructor(e,t=`datalist`){super(e,t)}};const Vc=`input`;var Hc=class extends ${constructor(e,t=Vc){super(e,t)}get autofocus(){return oa.get(this,`autofocus`)||-1}set autofocus(e){oa.set(this,`autofocus`,e)}get disabled(){return oa.get(this,`disabled`)}set disabled(e){oa.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get placeholder(){return this.getAttribute(`placeholder`)}set placeholder(e){this.setAttribute(`placeholder`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}get value(){return Y.get(this,`value`)}set value(e){Y.set(this,`value`,e)}};Gi(Vc,Hc);var Uc=class extends ${constructor(e,t=`param`){super(e,t)}},Wc=class extends ${constructor(e,t=`media`){super(e,t)}},Gc=class extends ${constructor(e,t=`audio`){super(e,t)}},Kc=class extends ${constructor(e,t=`h1`){super(e,t)}};Gi([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],Kc);var qc=class extends ${constructor(e,t=`dir`){super(e,t)}},Jc=class extends ${constructor(e,t=`quote`){super(e,t)}},Yc=E(((e,t)=>{var n=class{constructor(e,t){this.width=e,this.height=t}getContext(){return null}toDataURL(){return``}};t.exports={createCanvas:(e,t)=>new n(e,t)}}));const{createCanvas:Xc}=ne(E(((e,t)=>{try{t.exports=D(`canvas`)}catch{t.exports=Yc()}}))(),1).default,Zc=`canvas`;var Qc=class extends ${constructor(e,t=Zc){super(e,t),this[R]=Xc(300,150)}get width(){return this[R].width}set width(e){sa.set(this,`width`,e),this[R].width=e}get height(){return this[R].height}set height(e){sa.set(this,`height`,e),this[R].height=e}getContext(e){return this[R].getContext(e)}toDataURL(...e){return this[R].toDataURL(...e)}};Gi(Zc,Qc);var $c=class extends ${constructor(e,t=`legend`){super(e,t)}};const el=`option`;var tl=class extends ${constructor(e,t=el){super(e,t)}get value(){return Y.get(this,`value`)}set value(e){Y.set(this,`value`,e)}get selected(){return oa.get(this,`selected`)}set selected(e){let t=this.parentElement?.querySelector(`option[selected]`);t&&t!==this&&(t.selected=!1),oa.set(this,`selected`,e)}};Gi(el,tl);var nl=class extends ${constructor(e,t=`span`){super(e,t)}},rl=class extends ${constructor(e,t=`meter`){super(e,t)}},il=class extends ${constructor(e,t=`video`){super(e,t)}},al=class extends ${constructor(e,t=`td`){super(e,t)}};const ol=`title`;var sl=class extends Zs{constructor(e,t=ol){super(e,t)}};Gi(ol,sl);var cl=class extends ${constructor(e,t=`output`){super(e,t)}},ll=class extends ${constructor(e,t=`tr`){super(e,t)}},ul=class extends ${constructor(e,t=`data`){super(e,t)}},dl=class extends ${constructor(e,t=`menu`){super(e,t)}};const fl=`select`;var pl=class extends ${constructor(e,t=fl){super(e,t)}get options(){let e=new fa,{firstElementChild:t}=this;for(;t;)t.tagName===`OPTGROUP`?e.push(...t.children):e.push(t),t=t.nextElementSibling;return e}get disabled(){return oa.get(this,`disabled`)}set disabled(e){oa.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get value(){return this.querySelector(`option[selected]`)?.value}};Gi(fl,pl);var ml=class extends ${constructor(e,t=`br`){super(e,t)}};const hl=`button`;var gl=class extends ${constructor(e,t=hl){super(e,t)}get disabled(){return oa.get(this,`disabled`)}set disabled(e){oa.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}};Gi(hl,gl);var _l=class extends ${constructor(e,t=`map`){super(e,t)}},vl=class extends ${constructor(e,t=`optgroup`){super(e,t)}},yl=class extends ${constructor(e,t=`dl`){super(e,t)}};const bl=`textarea`;var xl=class extends Zs{constructor(e,t=bl){super(e,t)}get disabled(){return oa.get(this,`disabled`)}set disabled(e){oa.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get placeholder(){return this.getAttribute(`placeholder`)}set placeholder(e){this.setAttribute(`placeholder`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}get value(){return this.textContent}set value(e){this.textContent=e}};Gi(bl,xl);var Sl=class extends ${constructor(e,t=`font`){super(e,t)}},Cl=class extends ${constructor(e,t=`div`){super(e,t)}};const wl=`link`;var Tl=class extends ${constructor(e,t=wl){super(e,t)}get disabled(){return oa.get(this,`disabled`)}set disabled(e){oa.set(this,`disabled`,e)}get href(){return Y.get(this,`href`).trim()}set href(e){Y.set(this,`href`,e)}get hreflang(){return Y.get(this,`hreflang`)}set hreflang(e){Y.set(this,`hreflang`,e)}get media(){return Y.get(this,`media`)}set media(e){Y.set(this,`media`,e)}get rel(){return Y.get(this,`rel`)}set rel(e){Y.set(this,`rel`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}};Gi(wl,Tl);const El=`slot`;var Dl=class extends ${constructor(e,t=El){super(e,t)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}assign(){}assignedNodes(e){let t=!!this.name,n=this.getRootNode().host?.childNodes??[],r;if(r=t?[...n].filter(e=>e.slot===this.name):[...n].filter(e=>!e.slot),e?.flatten){let e=[];for(let t of r)t.localName===`slot`?e.push(...t.assignedNodes({flatten:!0})):e.push(t);r=e}return r.length?r:[...this.childNodes]}assignedElements(e){let t=this.assignedNodes(e).filter(e=>e.nodeType===1);return t.length?t:[...this.children]}};Gi(El,Dl);var Ol=class extends ${constructor(e,t=`form`){super(e,t)}},kl=class extends ${constructor(e,t=`img`){super(e,t)}get alt(){return Y.get(this,`alt`)}set alt(e){Y.set(this,`alt`,e)}get sizes(){return Y.get(this,`sizes`)}set sizes(e){Y.set(this,`sizes`,e)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcset(){return Y.get(this,`srcset`)}set srcset(e){Y.set(this,`srcset`,e)}get title(){return Y.get(this,`title`)}set title(e){Y.set(this,`title`,e)}get width(){return sa.get(this,`width`)}set width(e){sa.set(this,`width`,e)}get height(){return sa.get(this,`height`)}set height(e){sa.set(this,`height`,e)}};Gi(`img`,kl);var Al=class extends ${constructor(e,t=`pre`){super(e,t)}},jl=class extends ${constructor(e,t=`ul`){super(e,t)}};const Ml=`meta`;var Nl=class extends ${constructor(e,t=Ml){super(e,t)}get name(){return Y.get(this,`name`)}set name(e){Y.set(this,`name`,e)}get httpEquiv(){return Y.get(this,`http-equiv`)}set httpEquiv(e){Y.set(this,`http-equiv`,e)}get content(){return Y.get(this,`content`)}set content(e){Y.set(this,`content`,e)}get charset(){return Y.get(this,`charset`)}set charset(e){Y.set(this,`charset`,e)}get media(){return Y.get(this,`media`)}set media(e){Y.set(this,`media`,e)}};Gi(Ml,Nl);var Pl=class extends ${constructor(e,t=`picture`){super(e,t)}},Fl=class extends ${constructor(e,t=`area`){super(e,t)}},Il=class extends ${constructor(e,t=`ol`){super(e,t)}},Ll=class extends ${constructor(e,t=`caption`){super(e,t)}},Rl=class extends ${constructor(e,t=`a`){super(e,t)}get href(){return encodeURI(decodeURI(Y.get(this,`href`))).trim()}set href(e){Y.set(this,`href`,decodeURI(e))}get download(){return encodeURI(decodeURI(Y.get(this,`download`)))}set download(e){Y.set(this,`download`,decodeURI(e))}get target(){return Y.get(this,`target`)}set target(e){Y.set(this,`target`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}get rel(){return Y.get(this,`rel`)}set rel(e){Y.set(this,`rel`,e)}};Gi(`a`,Rl);var zl=class extends ${constructor(e,t=`label`){super(e,t)}},Bl=class extends ${constructor(e,t=`unknown`){super(e,t)}},Vl=class extends ${constructor(e,t=`mod`){super(e,t)}},Hl=class extends ${constructor(e,t=`details`){super(e,t)}};const Ul=`source`;var Wl=class extends ${constructor(e,t=Ul){super(e,t)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcset(){return Y.get(this,`srcset`)}set srcset(e){Y.set(this,`srcset`,e)}get sizes(){return Y.get(this,`sizes`)}set sizes(e){Y.set(this,`sizes`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}};Gi(Ul,Wl);const Gl={HTMLElement:$,HTMLTemplateElement:Js,HTMLHtmlElement:Ys,HTMLScriptElement:$s,HTMLFrameElement:ec,HTMLIFrameElement:nc,HTMLObjectElement:rc,HTMLHeadElement:ic,HTMLBodyElement:ac,HTMLStyleElement:kc,HTMLTimeElement:Ac,HTMLFieldSetElement:jc,HTMLEmbedElement:Mc,HTMLHRElement:Nc,HTMLProgressElement:Pc,HTMLParagraphElement:Fc,HTMLTableElement:Ic,HTMLFrameSetElement:Lc,HTMLLIElement:Rc,HTMLBaseElement:zc,HTMLDataListElement:Bc,HTMLInputElement:Hc,HTMLParamElement:Uc,HTMLMediaElement:Wc,HTMLAudioElement:Gc,HTMLHeadingElement:Kc,HTMLDirectoryElement:qc,HTMLQuoteElement:Jc,HTMLCanvasElement:Qc,HTMLLegendElement:$c,HTMLOptionElement:tl,HTMLSpanElement:nl,HTMLMeterElement:rl,HTMLVideoElement:il,HTMLTableCellElement:al,HTMLTitleElement:sl,HTMLOutputElement:cl,HTMLTableRowElement:ll,HTMLDataElement:ul,HTMLMenuElement:dl,HTMLSelectElement:pl,HTMLBRElement:ml,HTMLButtonElement:gl,HTMLMapElement:_l,HTMLOptGroupElement:vl,HTMLDListElement:yl,HTMLTextAreaElement:xl,HTMLFontElement:Sl,HTMLDivElement:Cl,HTMLLinkElement:Tl,HTMLSlotElement:Dl,HTMLFormElement:Ol,HTMLImageElement:kl,HTMLPreElement:Al,HTMLUListElement:jl,HTMLMetaElement:Nl,HTMLPictureElement:Pl,HTMLAreaElement:Fl,HTMLOListElement:Il,HTMLTableCaptionElement:Ll,HTMLAnchorElement:Rl,HTMLLabelElement:zl,HTMLUnknownElement:Bl,HTMLModElement:Vl,HTMLDetailsElement:Hl,HTMLSourceElement:Wl,HTMLTrackElement:class extends ${constructor(e,t=`track`){super(e,t)}},HTMLMarqueeElement:class extends ${constructor(e,t=`marquee`){super(e,t)}}},Kl={test:()=>!0},ql={"text/html":{docType:`<!DOCTYPE html>`,ignoreCase:!0,voidElements:/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i},"image/svg+xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Kl},"text/xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Kl},"application/xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Kl},"application/xhtml+xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Kl}};var Jl=class extends Cs{constructor(e,t={}){super(e,t),this.detail=t.detail}},Yl=class extends Cs{constructor(e,t={}){super(e,t),this.inputType=t.inputType,this.data=t.data,this.dataTransfer=t.dataTransfer,this.isComposing=t.isComposing||!1,this.ranges=t.ranges}};const Xl=e=>class extends kl{constructor(t,n){switch(super(e),arguments.length){case 1:this.height=t,this.width=t;break;case 2:this.height=n,this.width=t;break}}},Zl=({[At]:e,[L]:t},n=null)=>{Di(e[Dt],t[z]);do{let r=bi(e),i=r===t?r:r[z];n?n.insertBefore(e,n[L]):e.remove(),e=i}while(e!==t)};var Ql=class e{constructor(){this[At]=null,this[L]=null,this.commonAncestorContainer=null}insertNode(e){this[L].parentNode.insertBefore(e,this[At])}selectNode(e){this[At]=e,this[L]=bi(e)}selectNodeContents(e){this.selectNode(e),this.commonAncestorContainer=e}surroundContents(e){e.replaceChildren(this.extractContents())}setStartBefore(e){this[At]=e}setStartAfter(e){this[At]=e.nextSibling}setEndBefore(e){this[L]=bi(e.previousSibling)}setEndAfter(e){this[L]=bi(e)}cloneContents(){let{[At]:e,[L]:t}=this,n=e.ownerDocument.createDocumentFragment();for(;e!==t;)n.insertBefore(e.cloneNode(!0),n[L]),e=bi(e),e!==t&&(e=e[z]);return n}deleteContents(){Zl(this)}extractContents(){let e=this[At].ownerDocument.createDocumentFragment();return Zl(this,e),e}createContextualFragment(e){let{commonAncestorContainer:t}=this,n=`ownerSVGElement`in t,r=n?t.ownerDocument:t,i=Oi(r,e);if(n){let e=[...i.childNodes];i=r.createDocumentFragment(),Object.setPrototypeOf(i,Ms.prototype),i.ownerSVGElement=r;for(let t of e)Object.setPrototypeOf(t,Ms.prototype),t.ownerSVGElement=r,i.appendChild(t)}else this.selectNode(i);return i}cloneRange(){let t=new e;return t[At]=this[At],t[L]=this[L],t}};const $l=({nodeType:e},t)=>{switch(e){case 1:return t&1;case 3:return t&4;case 8:return t&128;case 4:return t&8}return 0};var eu=class{constructor(e,t=-1){this.root=e,this.currentNode=e,this.whatToShow=t;let{[z]:n,[L]:r}=e;if(e.nodeType===9){let{documentElement:t}=e;n=t,r=t[L]}let i=[];for(;n&&n!==r;)$l(n,t)&&i.push(n),n=n[z];this[Ot]={i:0,nodes:i}}nextNode(){let e=this[Ot];return this.currentNode=e.i<e.nodes.length?e.nodes[e.i++]:null,this.currentNode}};const tu=(e,t,n)=>{let{[z]:r,[L]:i}=t;return e.call({ownerDocument:t,[z]:r,[L]:i},n)},nu=fi({},Gs,Gl,{CustomEvent:Jl,Event:Cs,EventTarget:da,InputEvent:Yl,NamedNodeMap:ws,NodeList:fa}),ru=new WeakMap;var iu=class extends $o{constructor(e){super(null,`#document`,9),this[_t]={active:!1,registry:null},this[Tt]={active:!1,class:null},this[wt]=ql[e],this[bt]=null,this[xt]=null,this[Ct]=null,this[R]=null,this[B]=null}get defaultView(){return ru.has(this)||ru.set(this,new Proxy(globalThis,{set:(e,t,n)=>{switch(t){case`addEventListener`:case`removeEventListener`:case`dispatchEvent`:this[St][t]=n;break;default:e[t]=n;break}return!0},get:(e,t)=>{switch(t){case`addEventListener`:case`removeEventListener`:case`dispatchEvent`:if(!this[St]){let e=this[St]=new da;e.dispatchEvent=e.dispatchEvent.bind(e),e.addEventListener=e.addEventListener.bind(e),e.removeEventListener=e.removeEventListener.bind(e)}return this[St][t];case`document`:return this;case`navigator`:return{userAgent:`Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36`};case`window`:return ru.get(this);case`customElements`:return this[_t].registry||(this[_t]=new zi(this)),this[_t];case`performance`:return e.performance;case`DOMParser`:return this[xt];case`Image`:return this[R]||(this[R]=Xl(this)),this[R];case`MutationObserver`:return this[Tt].class||(this[Tt]=new na(this)),this[Tt].class}return this[Ct]&&this[Ct][t]||nu[t]||e[t]}})),ru.get(this)}get doctype(){let e=this[bt];if(e)return e;let{firstChild:t}=this;return t&&t.nodeType===10?this[bt]=t:null}set doctype(e){if(/^([a-z:]+)(\s+system|\s+public(\s+"([^"]+)")?)?(\s+"([^"]+)")?/i.test(e)){let{$1:e,$4:t,$6:n}=RegExp;this[bt]=new ts(this,e,t,n),Ti(this,this[bt],this[z])}}get documentElement(){return this.firstElementChild}get isConnected(){return!0}_getParent(){return this[St]}createAttribute(e){return new xa(this,e)}createCDATASection(e){return new Pa(this,e)}createComment(e){return new Fa(this,e)}createDocumentFragment(){return new es(this)}createDocumentType(e,t,n){return new ts(this,e,t,n)}createElement(e){return new ks(this,e)}createRange(){let e=new Ql;return e.commonAncestorContainer=this,e}createTextNode(e){return new Yo(this,e)}createTreeWalker(e,t=-1){return new eu(e,t)}createNodeIterator(e,t=-1){return this.createTreeWalker(e,t)}createEvent(e){let t=pi(e===`Event`?new Cs(``):new Jl(``));return t.initEvent=t.initCustomEvent=(e,n=!1,r=!1,i)=>{t.bubbles=!!n,mi(t,{type:{value:e},canBubble:{value:n},cancelable:{value:r},detail:{value:i}})},t}cloneNode(e=!1){let{constructor:t,[_t]:n,[bt]:r}=this,i=new t;if(i[_t]=n,e){let e=i[L],{childNodes:t}=this;for(let{length:n}=t,r=0;r<n;r++)i.insertBefore(t[r].cloneNode(!0),e);r&&(i[bt]=t[0])}return i}importNode(e){let t=1<arguments.length&&!!arguments[1],n=e.cloneNode(t),{[_t]:r}=this,{active:i}=r,a=e=>{let{ownerDocument:t,nodeType:n}=e;e.ownerDocument=this,i&&t!==this&&n===1&&r.upgrade(e)};if(a(n),t)switch(n.nodeType){case 1:case 11:{let{[z]:e,[L]:t}=n;for(;e!==t;)e.nodeType===1&&a(e),e=e[z];break}}return n}toString(){return this.childNodes.join(``)}querySelector(e){return tu(super.querySelector,this,e)}querySelectorAll(e){return tu(super.querySelectorAll,this,e)}getElementsByTagNameNS(e,t){return this.getElementsByTagName(t)}createAttributeNS(e,t){return this.createAttribute(t)}createElementNS(e,t,n){return e===`http://www.w3.org/2000/svg`?new Ms(this,t,null):this.createElement(t,n)}};vi(nu.Document=function(){Ns()},iu).prototype=iu.prototype;const{parse:au}=JSON;function ou(){Ns()}vi(ou,iu).prototype=iu.prototype;const su={"application/prs.cww":[`cww`],"application/prs.xsf+xml":[`xsf`],"application/vnd.1000minds.decision-model+xml":[`1km`],"application/vnd.3gpp.pic-bw-large":[`plb`],"application/vnd.3gpp.pic-bw-small":[`psb`],"application/vnd.3gpp.pic-bw-var":[`pvb`],"application/vnd.3gpp2.tcap":[`tcap`],"application/vnd.3m.post-it-notes":[`pwn`],"application/vnd.accpac.simply.aso":[`aso`],"application/vnd.accpac.simply.imp":[`imp`],"application/vnd.acucobol":[`acu`],"application/vnd.acucorp":[`atc`,`acutc`],"application/vnd.adobe.air-application-installer-package+zip":[`air`],"application/vnd.adobe.formscentral.fcdt":[`fcdt`],"application/vnd.adobe.fxp":[`fxp`,`fxpl`],"application/vnd.adobe.xdp+xml":[`xdp`],"application/vnd.adobe.xfdf":[`*xfdf`],"application/vnd.age":[`age`],"application/vnd.ahead.space":[`ahead`],"application/vnd.airzip.filesecure.azf":[`azf`],"application/vnd.airzip.filesecure.azs":[`azs`],"application/vnd.amazon.ebook":[`azw`],"application/vnd.americandynamics.acc":[`acc`],"application/vnd.amiga.ami":[`ami`],"application/vnd.android.package-archive":[`apk`],"application/vnd.anser-web-certificate-issue-initiation":[`cii`],"application/vnd.anser-web-funds-transfer-initiation":[`fti`],"application/vnd.antix.game-component":[`atx`],"application/vnd.apple.installer+xml":[`mpkg`],"application/vnd.apple.keynote":[`key`],"application/vnd.apple.mpegurl":[`m3u8`],"application/vnd.apple.numbers":[`numbers`],"application/vnd.apple.pages":[`pages`],"application/vnd.apple.pkpass":[`pkpass`],"application/vnd.aristanetworks.swi":[`swi`],"application/vnd.astraea-software.iota":[`iota`],"application/vnd.audiograph":[`aep`],"application/vnd.autodesk.fbx":[`fbx`],"application/vnd.balsamiq.bmml+xml":[`bmml`],"application/vnd.blueice.multipass":[`mpm`],"application/vnd.bmi":[`bmi`],"application/vnd.businessobjects":[`rep`],"application/vnd.chemdraw+xml":[`cdxml`],"application/vnd.chipnuts.karaoke-mmd":[`mmd`],"application/vnd.cinderella":[`cdy`],"application/vnd.citationstyles.style+xml":[`csl`],"application/vnd.claymore":[`cla`],"application/vnd.cloanto.rp9":[`rp9`],"application/vnd.clonk.c4group":[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`],"application/vnd.cluetrust.cartomobile-config":[`c11amc`],"application/vnd.cluetrust.cartomobile-config-pkg":[`c11amz`],"application/vnd.commonspace":[`csp`],"application/vnd.contact.cmsg":[`cdbcmsg`],"application/vnd.cosmocaller":[`cmc`],"application/vnd.crick.clicker":[`clkx`],"application/vnd.crick.clicker.keyboard":[`clkk`],"application/vnd.crick.clicker.palette":[`clkp`],"application/vnd.crick.clicker.template":[`clkt`],"application/vnd.crick.clicker.wordbank":[`clkw`],"application/vnd.criticaltools.wbs+xml":[`wbs`],"application/vnd.ctc-posml":[`pml`],"application/vnd.cups-ppd":[`ppd`],"application/vnd.curl.car":[`car`],"application/vnd.curl.pcurl":[`pcurl`],"application/vnd.dart":[`dart`],"application/vnd.data-vision.rdz":[`rdz`],"application/vnd.dbf":[`dbf`],"application/vnd.dcmp+xml":[`dcmp`],"application/vnd.dece.data":[`uvf`,`uvvf`,`uvd`,`uvvd`],"application/vnd.dece.ttml+xml":[`uvt`,`uvvt`],"application/vnd.dece.unspecified":[`uvx`,`uvvx`],"application/vnd.dece.zip":[`uvz`,`uvvz`],"application/vnd.denovo.fcselayout-link":[`fe_launch`],"application/vnd.dna":[`dna`],"application/vnd.dolby.mlp":[`mlp`],"application/vnd.dpgraph":[`dpg`],"application/vnd.dreamfactory":[`dfac`],"application/vnd.ds-keypoint":[`kpxx`],"application/vnd.dvb.ait":[`ait`],"application/vnd.dvb.service":[`svc`],"application/vnd.dynageo":[`geo`],"application/vnd.ecowin.chart":[`mag`],"application/vnd.enliven":[`nml`],"application/vnd.epson.esf":[`esf`],"application/vnd.epson.msf":[`msf`],"application/vnd.epson.quickanime":[`qam`],"application/vnd.epson.salt":[`slt`],"application/vnd.epson.ssf":[`ssf`],"application/vnd.eszigno3+xml":[`es3`,`et3`],"application/vnd.ezpix-album":[`ez2`],"application/vnd.ezpix-package":[`ez3`],"application/vnd.fdf":[`*fdf`],"application/vnd.fdsn.mseed":[`mseed`],"application/vnd.fdsn.seed":[`seed`,`dataless`],"application/vnd.flographit":[`gph`],"application/vnd.fluxtime.clip":[`ftc`],"application/vnd.framemaker":[`fm`,`frame`,`maker`,`book`],"application/vnd.frogans.fnc":[`fnc`],"application/vnd.frogans.ltf":[`ltf`],"application/vnd.fsc.weblaunch":[`fsc`],"application/vnd.fujitsu.oasys":[`oas`],"application/vnd.fujitsu.oasys2":[`oa2`],"application/vnd.fujitsu.oasys3":[`oa3`],"application/vnd.fujitsu.oasysgp":[`fg5`],"application/vnd.fujitsu.oasysprs":[`bh2`],"application/vnd.fujixerox.ddd":[`ddd`],"application/vnd.fujixerox.docuworks":[`xdw`],"application/vnd.fujixerox.docuworks.binder":[`xbd`],"application/vnd.fuzzysheet":[`fzs`],"application/vnd.genomatix.tuxedo":[`txd`],"application/vnd.geogebra.file":[`ggb`],"application/vnd.geogebra.slides":[`ggs`],"application/vnd.geogebra.tool":[`ggt`],"application/vnd.geometry-explorer":[`gex`,`gre`],"application/vnd.geonext":[`gxt`],"application/vnd.geoplan":[`g2w`],"application/vnd.geospace":[`g3w`],"application/vnd.gmx":[`gmx`],"application/vnd.google-apps.document":[`gdoc`],"application/vnd.google-apps.drawing":[`gdraw`],"application/vnd.google-apps.form":[`gform`],"application/vnd.google-apps.jam":[`gjam`],"application/vnd.google-apps.map":[`gmap`],"application/vnd.google-apps.presentation":[`gslides`],"application/vnd.google-apps.script":[`gscript`],"application/vnd.google-apps.site":[`gsite`],"application/vnd.google-apps.spreadsheet":[`gsheet`],"application/vnd.google-earth.kml+xml":[`kml`],"application/vnd.google-earth.kmz":[`kmz`],"application/vnd.gov.sk.xmldatacontainer+xml":[`xdcf`],"application/vnd.grafeq":[`gqf`,`gqs`],"application/vnd.groove-account":[`gac`],"application/vnd.groove-help":[`ghf`],"application/vnd.groove-identity-message":[`gim`],"application/vnd.groove-injector":[`grv`],"application/vnd.groove-tool-message":[`gtm`],"application/vnd.groove-tool-template":[`tpl`],"application/vnd.groove-vcard":[`vcg`],"application/vnd.hal+xml":[`hal`],"application/vnd.handheld-entertainment+xml":[`zmm`],"application/vnd.hbci":[`hbci`],"application/vnd.hhe.lesson-player":[`les`],"application/vnd.hp-hpgl":[`hpgl`],"application/vnd.hp-hpid":[`hpid`],"application/vnd.hp-hps":[`hps`],"application/vnd.hp-jlyt":[`jlt`],"application/vnd.hp-pcl":[`pcl`],"application/vnd.hp-pclxl":[`pclxl`],"application/vnd.hydrostatix.sof-data":[`sfd-hdstx`],"application/vnd.ibm.minipay":[`mpy`],"application/vnd.ibm.modcap":[`afp`,`listafp`,`list3820`],"application/vnd.ibm.rights-management":[`irm`],"application/vnd.ibm.secure-container":[`sc`],"application/vnd.iccprofile":[`icc`,`icm`],"application/vnd.igloader":[`igl`],"application/vnd.immervision-ivp":[`ivp`],"application/vnd.immervision-ivu":[`ivu`],"application/vnd.insors.igm":[`igm`],"application/vnd.intercon.formnet":[`xpw`,`xpx`],"application/vnd.intergeo":[`i2g`],"application/vnd.intu.qbo":[`qbo`],"application/vnd.intu.qfx":[`qfx`],"application/vnd.ipunplugged.rcprofile":[`rcprofile`],"application/vnd.irepository.package+xml":[`irp`],"application/vnd.is-xpr":[`xpr`],"application/vnd.isac.fcs":[`fcs`],"application/vnd.jam":[`jam`],"application/vnd.jcp.javame.midlet-rms":[`rms`],"application/vnd.jisp":[`jisp`],"application/vnd.joost.joda-archive":[`joda`],"application/vnd.kahootz":[`ktz`,`ktr`],"application/vnd.kde.karbon":[`karbon`],"application/vnd.kde.kchart":[`chrt`],"application/vnd.kde.kformula":[`kfo`],"application/vnd.kde.kivio":[`flw`],"application/vnd.kde.kontour":[`kon`],"application/vnd.kde.kpresenter":[`kpr`,`kpt`],"application/vnd.kde.kspread":[`ksp`],"application/vnd.kde.kword":[`kwd`,`kwt`],"application/vnd.kenameaapp":[`htke`],"application/vnd.kidspiration":[`kia`],"application/vnd.kinar":[`kne`,`knp`],"application/vnd.koan":[`skp`,`skd`,`skt`,`skm`],"application/vnd.kodak-descriptor":[`sse`],"application/vnd.las.las+xml":[`lasxml`],"application/vnd.llamagraphics.life-balance.desktop":[`lbd`],"application/vnd.llamagraphics.life-balance.exchange+xml":[`lbe`],"application/vnd.lotus-1-2-3":[`123`],"application/vnd.lotus-approach":[`apr`],"application/vnd.lotus-freelance":[`pre`],"application/vnd.lotus-notes":[`nsf`],"application/vnd.lotus-organizer":[`org`],"application/vnd.lotus-screencam":[`scm`],"application/vnd.lotus-wordpro":[`lwp`],"application/vnd.macports.portpkg":[`portpkg`],"application/vnd.mapbox-vector-tile":[`mvt`],"application/vnd.mcd":[`mcd`],"application/vnd.medcalcdata":[`mc1`],"application/vnd.mediastation.cdkey":[`cdkey`],"application/vnd.mfer":[`mwf`],"application/vnd.mfmp":[`mfm`],"application/vnd.micrografx.flo":[`flo`],"application/vnd.micrografx.igx":[`igx`],"application/vnd.mif":[`mif`],"application/vnd.mobius.daf":[`daf`],"application/vnd.mobius.dis":[`dis`],"application/vnd.mobius.mbk":[`mbk`],"application/vnd.mobius.mqy":[`mqy`],"application/vnd.mobius.msl":[`msl`],"application/vnd.mobius.plc":[`plc`],"application/vnd.mobius.txf":[`txf`],"application/vnd.mophun.application":[`mpn`],"application/vnd.mophun.certificate":[`mpc`],"application/vnd.mozilla.xul+xml":[`xul`],"application/vnd.ms-artgalry":[`cil`],"application/vnd.ms-cab-compressed":[`cab`],"application/vnd.ms-excel":[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`],"application/vnd.ms-excel.addin.macroenabled.12":[`xlam`],"application/vnd.ms-excel.sheet.binary.macroenabled.12":[`xlsb`],"application/vnd.ms-excel.sheet.macroenabled.12":[`xlsm`],"application/vnd.ms-excel.template.macroenabled.12":[`xltm`],"application/vnd.ms-fontobject":[`eot`],"application/vnd.ms-htmlhelp":[`chm`],"application/vnd.ms-ims":[`ims`],"application/vnd.ms-lrm":[`lrm`],"application/vnd.ms-officetheme":[`thmx`],"application/vnd.ms-outlook":[`msg`],"application/vnd.ms-pki.seccat":[`cat`],"application/vnd.ms-pki.stl":[`*stl`],"application/vnd.ms-powerpoint":[`ppt`,`pps`,`pot`],"application/vnd.ms-powerpoint.addin.macroenabled.12":[`ppam`],"application/vnd.ms-powerpoint.presentation.macroenabled.12":[`pptm`],"application/vnd.ms-powerpoint.slide.macroenabled.12":[`sldm`],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":[`ppsm`],"application/vnd.ms-powerpoint.template.macroenabled.12":[`potm`],"application/vnd.ms-project":[`*mpp`,`mpt`],"application/vnd.ms-visio.viewer":[`vdx`],"application/vnd.ms-word.document.macroenabled.12":[`docm`],"application/vnd.ms-word.template.macroenabled.12":[`dotm`],"application/vnd.ms-works":[`wps`,`wks`,`wcm`,`wdb`],"application/vnd.ms-wpl":[`wpl`],"application/vnd.ms-xpsdocument":[`xps`],"application/vnd.mseq":[`mseq`],"application/vnd.musician":[`mus`],"application/vnd.muvee.style":[`msty`],"application/vnd.mynfc":[`taglet`],"application/vnd.nato.bindingdataobject+xml":[`bdo`],"application/vnd.neurolanguage.nlu":[`nlu`],"application/vnd.nitf":[`ntf`,`nitf`],"application/vnd.noblenet-directory":[`nnd`],"application/vnd.noblenet-sealer":[`nns`],"application/vnd.noblenet-web":[`nnw`],"application/vnd.nokia.n-gage.ac+xml":[`*ac`],"application/vnd.nokia.n-gage.data":[`ngdat`],"application/vnd.nokia.n-gage.symbian.install":[`n-gage`],"application/vnd.nokia.radio-preset":[`rpst`],"application/vnd.nokia.radio-presets":[`rpss`],"application/vnd.novadigm.edm":[`edm`],"application/vnd.novadigm.edx":[`edx`],"application/vnd.novadigm.ext":[`ext`],"application/vnd.oasis.opendocument.chart":[`odc`],"application/vnd.oasis.opendocument.chart-template":[`otc`],"application/vnd.oasis.opendocument.database":[`odb`],"application/vnd.oasis.opendocument.formula":[`odf`],"application/vnd.oasis.opendocument.formula-template":[`odft`],"application/vnd.oasis.opendocument.graphics":[`odg`],"application/vnd.oasis.opendocument.graphics-template":[`otg`],"application/vnd.oasis.opendocument.image":[`odi`],"application/vnd.oasis.opendocument.image-template":[`oti`],"application/vnd.oasis.opendocument.presentation":[`odp`],"application/vnd.oasis.opendocument.presentation-template":[`otp`],"application/vnd.oasis.opendocument.spreadsheet":[`ods`],"application/vnd.oasis.opendocument.spreadsheet-template":[`ots`],"application/vnd.oasis.opendocument.text":[`odt`],"application/vnd.oasis.opendocument.text-master":[`odm`],"application/vnd.oasis.opendocument.text-template":[`ott`],"application/vnd.oasis.opendocument.text-web":[`oth`],"application/vnd.olpc-sugar":[`xo`],"application/vnd.oma.dd2+xml":[`dd2`],"application/vnd.openblox.game+xml":[`obgx`],"application/vnd.openofficeorg.extension":[`oxt`],"application/vnd.openstreetmap.data+xml":[`osm`],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`pptx`],"application/vnd.openxmlformats-officedocument.presentationml.slide":[`sldx`],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":[`ppsx`],"application/vnd.openxmlformats-officedocument.presentationml.template":[`potx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[`xlsx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":[`xltx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[`docx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":[`dotx`],"application/vnd.osgeo.mapguide.package":[`mgp`],"application/vnd.osgi.dp":[`dp`],"application/vnd.osgi.subsystem":[`esa`],"application/vnd.palm":[`pdb`,`pqa`,`oprc`],"application/vnd.pawaafile":[`paw`],"application/vnd.pg.format":[`str`],"application/vnd.pg.osasli":[`ei6`],"application/vnd.picsel":[`efif`],"application/vnd.pmi.widget":[`wg`],"application/vnd.pocketlearn":[`plf`],"application/vnd.powerbuilder6":[`pbd`],"application/vnd.previewsystems.box":[`box`],"application/vnd.procrate.brushset":[`brushset`],"application/vnd.procreate.brush":[`brush`],"application/vnd.procreate.dream":[`drm`],"application/vnd.proteus.magazine":[`mgz`],"application/vnd.publishare-delta-tree":[`qps`],"application/vnd.pvi.ptid1":[`ptid`],"application/vnd.pwg-xhtml-print+xml":[`xhtm`],"application/vnd.quark.quarkxpress":[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`],"application/vnd.rar":[`rar`],"application/vnd.realvnc.bed":[`bed`],"application/vnd.recordare.musicxml":[`mxl`],"application/vnd.recordare.musicxml+xml":[`musicxml`],"application/vnd.rig.cryptonote":[`cryptonote`],"application/vnd.rim.cod":[`cod`],"application/vnd.rn-realmedia":[`rm`],"application/vnd.rn-realmedia-vbr":[`rmvb`],"application/vnd.route66.link66+xml":[`link66`],"application/vnd.sailingtracker.track":[`st`],"application/vnd.seemail":[`see`],"application/vnd.sema":[`sema`],"application/vnd.semd":[`semd`],"application/vnd.semf":[`semf`],"application/vnd.shana.informed.formdata":[`ifm`],"application/vnd.shana.informed.formtemplate":[`itp`],"application/vnd.shana.informed.interchange":[`iif`],"application/vnd.shana.informed.package":[`ipk`],"application/vnd.simtech-mindmapper":[`twd`,`twds`],"application/vnd.smaf":[`mmf`],"application/vnd.smart.teacher":[`teacher`],"application/vnd.software602.filler.form+xml":[`fo`],"application/vnd.solent.sdkm+xml":[`sdkm`,`sdkd`],"application/vnd.spotfire.dxp":[`dxp`],"application/vnd.spotfire.sfs":[`sfs`],"application/vnd.stardivision.calc":[`sdc`],"application/vnd.stardivision.draw":[`sda`],"application/vnd.stardivision.impress":[`sdd`],"application/vnd.stardivision.math":[`smf`],"application/vnd.stardivision.writer":[`sdw`,`vor`],"application/vnd.stardivision.writer-global":[`sgl`],"application/vnd.stepmania.package":[`smzip`],"application/vnd.stepmania.stepchart":[`sm`],"application/vnd.sun.wadl+xml":[`wadl`],"application/vnd.sun.xml.calc":[`sxc`],"application/vnd.sun.xml.calc.template":[`stc`],"application/vnd.sun.xml.draw":[`sxd`],"application/vnd.sun.xml.draw.template":[`std`],"application/vnd.sun.xml.impress":[`sxi`],"application/vnd.sun.xml.impress.template":[`sti`],"application/vnd.sun.xml.math":[`sxm`],"application/vnd.sun.xml.writer":[`sxw`],"application/vnd.sun.xml.writer.global":[`sxg`],"application/vnd.sun.xml.writer.template":[`stw`],"application/vnd.sus-calendar":[`sus`,`susp`],"application/vnd.svd":[`svd`],"application/vnd.symbian.install":[`sis`,`sisx`],"application/vnd.syncml+xml":[`xsm`],"application/vnd.syncml.dm+wbxml":[`bdm`],"application/vnd.syncml.dm+xml":[`xdm`],"application/vnd.syncml.dmddf+xml":[`ddf`],"application/vnd.tao.intent-module-archive":[`tao`],"application/vnd.tcpdump.pcap":[`pcap`,`cap`,`dmp`],"application/vnd.tmobile-livetv":[`tmo`],"application/vnd.trid.tpt":[`tpt`],"application/vnd.triscape.mxs":[`mxs`],"application/vnd.trueapp":[`tra`],"application/vnd.ufdl":[`ufd`,`ufdl`],"application/vnd.uiq.theme":[`utz`],"application/vnd.umajin":[`umj`],"application/vnd.unity":[`unityweb`],"application/vnd.uoml+xml":[`uoml`,`uo`],"application/vnd.vcx":[`vcx`],"application/vnd.visio":[`vsd`,`vst`,`vss`,`vsw`,`vsdx`,`vtx`],"application/vnd.visionary":[`vis`],"application/vnd.vsf":[`vsf`],"application/vnd.wap.wbxml":[`wbxml`],"application/vnd.wap.wmlc":[`wmlc`],"application/vnd.wap.wmlscriptc":[`wmlsc`],"application/vnd.webturbo":[`wtb`],"application/vnd.wolfram.player":[`nbp`],"application/vnd.wordperfect":[`wpd`],"application/vnd.wqd":[`wqd`],"application/vnd.wt.stf":[`stf`],"application/vnd.xara":[`xar`],"application/vnd.xfdl":[`xfdl`],"application/vnd.yamaha.hv-dic":[`hvd`],"application/vnd.yamaha.hv-script":[`hvs`],"application/vnd.yamaha.hv-voice":[`hvp`],"application/vnd.yamaha.openscoreformat":[`osf`],"application/vnd.yamaha.openscoreformat.osfpvg+xml":[`osfpvg`],"application/vnd.yamaha.smaf-audio":[`saf`],"application/vnd.yamaha.smaf-phrase":[`spf`],"application/vnd.yellowriver-custom-menu":[`cmp`],"application/vnd.zul":[`zir`,`zirz`],"application/vnd.zzazz.deck+xml":[`zaz`],"application/x-7z-compressed":[`7z`],"application/x-abiword":[`abw`],"application/x-ace-compressed":[`ace`],"application/x-apple-diskimage":[`*dmg`],"application/x-arj":[`arj`],"application/x-authorware-bin":[`aab`,`x32`,`u32`,`vox`],"application/x-authorware-map":[`aam`],"application/x-authorware-seg":[`aas`],"application/x-bcpio":[`bcpio`],"application/x-bdoc":[`*bdoc`],"application/x-bittorrent":[`torrent`],"application/x-blender":[`blend`],"application/x-blorb":[`blb`,`blorb`],"application/x-bzip":[`bz`],"application/x-bzip2":[`bz2`,`boz`],"application/x-cbr":[`cbr`,`cba`,`cbt`,`cbz`,`cb7`],"application/x-cdlink":[`vcd`],"application/x-cfs-compressed":[`cfs`],"application/x-chat":[`chat`],"application/x-chess-pgn":[`pgn`],"application/x-chrome-extension":[`crx`],"application/x-cocoa":[`cco`],"application/x-compressed":[`*rar`],"application/x-conference":[`nsc`],"application/x-cpio":[`cpio`],"application/x-csh":[`csh`],"application/x-debian-package":[`*deb`,`udeb`],"application/x-dgc-compressed":[`dgc`],"application/x-director":[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`],"application/x-doom":[`wad`],"application/x-dtbncx+xml":[`ncx`],"application/x-dtbook+xml":[`dtb`],"application/x-dtbresource+xml":[`res`],"application/x-dvi":[`dvi`],"application/x-envoy":[`evy`],"application/x-eva":[`eva`],"application/x-font-bdf":[`bdf`],"application/x-font-ghostscript":[`gsf`],"application/x-font-linux-psf":[`psf`],"application/x-font-pcf":[`pcf`],"application/x-font-snf":[`snf`],"application/x-font-type1":[`pfa`,`pfb`,`pfm`,`afm`],"application/x-freearc":[`arc`],"application/x-futuresplash":[`spl`],"application/x-gca-compressed":[`gca`],"application/x-glulx":[`ulx`],"application/x-gnumeric":[`gnumeric`],"application/x-gramps-xml":[`gramps`],"application/x-gtar":[`gtar`],"application/x-hdf":[`hdf`],"application/x-httpd-php":[`php`],"application/x-install-instructions":[`install`],"application/x-ipynb+json":[`ipynb`],"application/x-iso9660-image":[`*iso`],"application/x-iwork-keynote-sffkey":[`*key`],"application/x-iwork-numbers-sffnumbers":[`*numbers`],"application/x-iwork-pages-sffpages":[`*pages`],"application/x-java-archive-diff":[`jardiff`],"application/x-java-jnlp-file":[`jnlp`],"application/x-keepass2":[`kdbx`],"application/x-latex":[`latex`],"application/x-lua-bytecode":[`luac`],"application/x-lzh-compressed":[`lzh`,`lha`],"application/x-makeself":[`run`],"application/x-mie":[`mie`],"application/x-mobipocket-ebook":[`*prc`,`mobi`],"application/x-ms-application":[`application`],"application/x-ms-shortcut":[`lnk`],"application/x-ms-wmd":[`wmd`],"application/x-ms-wmz":[`wmz`],"application/x-ms-xbap":[`xbap`],"application/x-msaccess":[`mdb`],"application/x-msbinder":[`obd`],"application/x-mscardfile":[`crd`],"application/x-msclip":[`clp`],"application/x-msdos-program":[`*exe`],"application/x-msdownload":[`*exe`,`*dll`,`com`,`bat`,`*msi`],"application/x-msmediaview":[`mvb`,`m13`,`m14`],"application/x-msmetafile":[`*wmf`,`*wmz`,`*emf`,`emz`],"application/x-msmoney":[`mny`],"application/x-mspublisher":[`pub`],"application/x-msschedule":[`scd`],"application/x-msterminal":[`trm`],"application/x-mswrite":[`wri`],"application/x-netcdf":[`nc`,`cdf`],"application/x-ns-proxy-autoconfig":[`pac`],"application/x-nzb":[`nzb`],"application/x-perl":[`pl`,`pm`],"application/x-pilot":[`*prc`,`*pdb`],"application/x-pkcs12":[`p12`,`pfx`],"application/x-pkcs7-certificates":[`p7b`,`spc`],"application/x-pkcs7-certreqresp":[`p7r`],"application/x-rar-compressed":[`*rar`],"application/x-redhat-package-manager":[`rpm`],"application/x-research-info-systems":[`ris`],"application/x-sea":[`sea`],"application/x-sh":[`sh`],"application/x-shar":[`shar`],"application/x-shockwave-flash":[`swf`],"application/x-silverlight-app":[`xap`],"application/x-sql":[`*sql`],"application/x-stuffit":[`sit`],"application/x-stuffitx":[`sitx`],"application/x-subrip":[`srt`],"application/x-sv4cpio":[`sv4cpio`],"application/x-sv4crc":[`sv4crc`],"application/x-t3vm-image":[`t3`],"application/x-tads":[`gam`],"application/x-tar":[`tar`],"application/x-tcl":[`tcl`,`tk`],"application/x-tex":[`tex`],"application/x-tex-tfm":[`tfm`],"application/x-texinfo":[`texinfo`,`texi`],"application/x-tgif":[`*obj`],"application/x-ustar":[`ustar`],"application/x-virtualbox-hdd":[`hdd`],"application/x-virtualbox-ova":[`ova`],"application/x-virtualbox-ovf":[`ovf`],"application/x-virtualbox-vbox":[`vbox`],"application/x-virtualbox-vbox-extpack":[`vbox-extpack`],"application/x-virtualbox-vdi":[`vdi`],"application/x-virtualbox-vhd":[`vhd`],"application/x-virtualbox-vmdk":[`vmdk`],"application/x-wais-source":[`src`],"application/x-web-app-manifest+json":[`webapp`],"application/x-x509-ca-cert":[`der`,`crt`,`pem`],"application/x-xfig":[`fig`],"application/x-xliff+xml":[`*xlf`],"application/x-xpinstall":[`xpi`],"application/x-xz":[`xz`],"application/x-zip-compressed":[`*zip`],"application/x-zmachine":[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`],"audio/vnd.dece.audio":[`uva`,`uvva`],"audio/vnd.digital-winds":[`eol`],"audio/vnd.dra":[`dra`],"audio/vnd.dts":[`dts`],"audio/vnd.dts.hd":[`dtshd`],"audio/vnd.lucent.voice":[`lvp`],"audio/vnd.ms-playready.media.pya":[`pya`],"audio/vnd.nuera.ecelp4800":[`ecelp4800`],"audio/vnd.nuera.ecelp7470":[`ecelp7470`],"audio/vnd.nuera.ecelp9600":[`ecelp9600`],"audio/vnd.rip":[`rip`],"audio/x-aac":[`*aac`],"audio/x-aiff":[`aif`,`aiff`,`aifc`],"audio/x-caf":[`caf`],"audio/x-flac":[`flac`],"audio/x-m4a":[`*m4a`],"audio/x-matroska":[`mka`],"audio/x-mpegurl":[`m3u`],"audio/x-ms-wax":[`wax`],"audio/x-ms-wma":[`wma`],"audio/x-pn-realaudio":[`ram`,`ra`],"audio/x-pn-realaudio-plugin":[`rmp`],"audio/x-realaudio":[`*ra`],"audio/x-wav":[`*wav`],"chemical/x-cdx":[`cdx`],"chemical/x-cif":[`cif`],"chemical/x-cmdf":[`cmdf`],"chemical/x-cml":[`cml`],"chemical/x-csml":[`csml`],"chemical/x-xyz":[`xyz`],"image/prs.btif":[`btif`,`btf`],"image/prs.pti":[`pti`],"image/vnd.adobe.photoshop":[`psd`],"image/vnd.airzip.accelerator.azv":[`azv`],"image/vnd.blockfact.facti":[`facti`],"image/vnd.dece.graphic":[`uvi`,`uvvi`,`uvg`,`uvvg`],"image/vnd.djvu":[`djvu`,`djv`],"image/vnd.dvb.subtitle":[`*sub`],"image/vnd.dwg":[`dwg`],"image/vnd.dxf":[`dxf`],"image/vnd.fastbidsheet":[`fbs`],"image/vnd.fpx":[`fpx`],"image/vnd.fst":[`fst`],"image/vnd.fujixerox.edmics-mmr":[`mmr`],"image/vnd.fujixerox.edmics-rlc":[`rlc`],"image/vnd.microsoft.icon":[`ico`],"image/vnd.ms-dds":[`dds`],"image/vnd.ms-modi":[`mdi`],"image/vnd.ms-photo":[`wdp`],"image/vnd.net-fpx":[`npx`],"image/vnd.pco.b16":[`b16`],"image/vnd.tencent.tap":[`tap`],"image/vnd.valve.source.texture":[`vtf`],"image/vnd.wap.wbmp":[`wbmp`],"image/vnd.xiff":[`xif`],"image/vnd.zbrush.pcx":[`pcx`],"image/x-3ds":[`3ds`],"image/x-adobe-dng":[`dng`],"image/x-cmu-raster":[`ras`],"image/x-cmx":[`cmx`],"image/x-freehand":[`fh`,`fhc`,`fh4`,`fh5`,`fh7`],"image/x-icon":[`*ico`],"image/x-jng":[`jng`],"image/x-mrsid-image":[`sid`],"image/x-ms-bmp":[`*bmp`],"image/x-pcx":[`*pcx`],"image/x-pict":[`pic`,`pct`],"image/x-portable-anymap":[`pnm`],"image/x-portable-bitmap":[`pbm`],"image/x-portable-graymap":[`pgm`],"image/x-portable-pixmap":[`ppm`],"image/x-rgb":[`rgb`],"image/x-tga":[`tga`],"image/x-xbitmap":[`xbm`],"image/x-xpixmap":[`xpm`],"image/x-xwindowdump":[`xwd`],"message/vnd.wfa.wsc":[`wsc`],"model/vnd.bary":[`bary`],"model/vnd.cld":[`cld`],"model/vnd.collada+xml":[`dae`],"model/vnd.dwf":[`dwf`],"model/vnd.gdl":[`gdl`],"model/vnd.gtw":[`gtw`],"model/vnd.mts":[`*mts`],"model/vnd.opengex":[`ogex`],"model/vnd.parasolid.transmit.binary":[`x_b`],"model/vnd.parasolid.transmit.text":[`x_t`],"model/vnd.pytha.pyox":[`pyo`,`pyox`],"model/vnd.sap.vds":[`vds`],"model/vnd.usda":[`usda`],"model/vnd.usdz+zip":[`usdz`],"model/vnd.valve.source.compiled-map":[`bsp`],"model/vnd.vtu":[`vtu`],"text/prs.lines.tag":[`dsc`],"text/vnd.curl":[`curl`],"text/vnd.curl.dcurl":[`dcurl`],"text/vnd.curl.mcurl":[`mcurl`],"text/vnd.curl.scurl":[`scurl`],"text/vnd.dvb.subtitle":[`sub`],"text/vnd.familysearch.gedcom":[`ged`],"text/vnd.fly":[`fly`],"text/vnd.fmi.flexstor":[`flx`],"text/vnd.graphviz":[`gv`],"text/vnd.in3d.3dml":[`3dml`],"text/vnd.in3d.spot":[`spot`],"text/vnd.sun.j2me.app-descriptor":[`jad`],"text/vnd.wap.wml":[`wml`],"text/vnd.wap.wmlscript":[`wmls`],"text/x-asm":[`s`,`asm`],"text/x-c":[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`],"text/x-component":[`htc`],"text/x-fortran":[`f`,`for`,`f77`,`f90`],"text/x-handlebars-template":[`hbs`],"text/x-java-source":[`java`],"text/x-lua":[`lua`],"text/x-markdown":[`mkd`],"text/x-nfo":[`nfo`],"text/x-opml":[`opml`],"text/x-org":[`*org`],"text/x-pascal":[`p`,`pas`],"text/x-processing":[`pde`],"text/x-sass":[`sass`],"text/x-scss":[`scss`],"text/x-setext":[`etx`],"text/x-sfv":[`sfv`],"text/x-suse-ymp":[`ymp`],"text/x-uuencode":[`uu`],"text/x-vcalendar":[`vcs`],"text/x-vcard":[`vcf`],"video/vnd.dece.hd":[`uvh`,`uvvh`],"video/vnd.dece.mobile":[`uvm`,`uvvm`],"video/vnd.dece.pd":[`uvp`,`uvvp`],"video/vnd.dece.sd":[`uvs`,`uvvs`],"video/vnd.dece.video":[`uvv`,`uvvv`],"video/vnd.dvb.file":[`dvb`],"video/vnd.fvt":[`fvt`],"video/vnd.mpegurl":[`mxu`,`m4u`],"video/vnd.ms-playready.media.pyv":[`pyv`],"video/vnd.uvvu.mp4":[`uvu`,`uvvu`],"video/vnd.vivo":[`viv`],"video/x-f4v":[`f4v`],"video/x-fli":[`fli`],"video/x-flv":[`flv`],"video/x-m4v":[`m4v`],"video/x-matroska":[`mkv`,`mk3d`,`mks`],"video/x-mng":[`mng`],"video/x-ms-asf":[`asf`,`asx`],"video/x-ms-vob":[`vob`],"video/x-ms-wm":[`wm`],"video/x-ms-wmv":[`wmv`],"video/x-ms-wmx":[`wmx`],"video/x-ms-wvx":[`wvx`],"video/x-msvideo":[`avi`],"video/x-sgi-movie":[`movie`],"video/x-smv":[`smv`],"x-conference/x-cooltalk":[`ice`]};Object.freeze(su);const cu={"application/andrew-inset":[`ez`],"application/appinstaller":[`appinstaller`],"application/applixware":[`aw`],"application/appx":[`appx`],"application/appxbundle":[`appxbundle`],"application/atom+xml":[`atom`],"application/atomcat+xml":[`atomcat`],"application/atomdeleted+xml":[`atomdeleted`],"application/atomsvc+xml":[`atomsvc`],"application/atsc-dwd+xml":[`dwd`],"application/atsc-held+xml":[`held`],"application/atsc-rsat+xml":[`rsat`],"application/automationml-aml+xml":[`aml`],"application/automationml-amlx+zip":[`amlx`],"application/bdoc":[`bdoc`],"application/calendar+xml":[`xcs`],"application/ccxml+xml":[`ccxml`],"application/cdfx+xml":[`cdfx`],"application/cdmi-capability":[`cdmia`],"application/cdmi-container":[`cdmic`],"application/cdmi-domain":[`cdmid`],"application/cdmi-object":[`cdmio`],"application/cdmi-queue":[`cdmiq`],"application/cpl+xml":[`cpl`],"application/cu-seeme":[`cu`],"application/cwl":[`cwl`],"application/dash+xml":[`mpd`],"application/dash-patch+xml":[`mpp`],"application/davmount+xml":[`davmount`],"application/dicom":[`dcm`],"application/docbook+xml":[`dbk`],"application/dssc+der":[`dssc`],"application/dssc+xml":[`xdssc`],"application/ecmascript":[`ecma`],"application/emma+xml":[`emma`],"application/emotionml+xml":[`emotionml`],"application/epub+zip":[`epub`],"application/exi":[`exi`],"application/express":[`exp`],"application/fdf":[`fdf`],"application/fdt+xml":[`fdt`],"application/font-tdpfr":[`pfr`],"application/geo+json":[`geojson`],"application/gml+xml":[`gml`],"application/gpx+xml":[`gpx`],"application/gxf":[`gxf`],"application/gzip":[`gz`],"application/hjson":[`hjson`],"application/hyperstudio":[`stk`],"application/inkml+xml":[`ink`,`inkml`],"application/ipfix":[`ipfix`],"application/its+xml":[`its`],"application/java-archive":[`jar`,`war`,`ear`],"application/java-serialized-object":[`ser`],"application/java-vm":[`class`],"application/javascript":[`*js`],"application/json":[`json`,`map`],"application/json5":[`json5`],"application/jsonml+json":[`jsonml`],"application/ld+json":[`jsonld`],"application/lgr+xml":[`lgr`],"application/lost+xml":[`lostxml`],"application/mac-binhex40":[`hqx`],"application/mac-compactpro":[`cpt`],"application/mads+xml":[`mads`],"application/manifest+json":[`webmanifest`],"application/marc":[`mrc`],"application/marcxml+xml":[`mrcx`],"application/mathematica":[`ma`,`nb`,`mb`],"application/mathml+xml":[`mathml`],"application/mbox":[`mbox`],"application/media-policy-dataset+xml":[`mpf`],"application/mediaservercontrol+xml":[`mscml`],"application/metalink+xml":[`metalink`],"application/metalink4+xml":[`meta4`],"application/mets+xml":[`mets`],"application/mmt-aei+xml":[`maei`],"application/mmt-usd+xml":[`musd`],"application/mods+xml":[`mods`],"application/mp21":[`m21`,`mp21`],"application/mp4":[`*mp4`,`*mpg4`,`mp4s`,`m4p`],"application/msix":[`msix`],"application/msixbundle":[`msixbundle`],"application/msword":[`doc`,`dot`],"application/mxf":[`mxf`],"application/n-quads":[`nq`],"application/n-triples":[`nt`],"application/node":[`cjs`],"application/octet-stream":[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`],"application/oda":[`oda`],"application/oebps-package+xml":[`opf`],"application/ogg":[`ogx`],"application/omdoc+xml":[`omdoc`],"application/onenote":[`onetoc`,`onetoc2`,`onetmp`,`onepkg`,`one`,`onea`],"application/oxps":[`oxps`],"application/p2p-overlay+xml":[`relo`],"application/patch-ops-error+xml":[`xer`],"application/pdf":[`pdf`],"application/pgp-encrypted":[`pgp`],"application/pgp-keys":[`asc`],"application/pgp-signature":[`sig`,`*asc`],"application/pics-rules":[`prf`],"application/pkcs10":[`p10`],"application/pkcs7-mime":[`p7m`,`p7c`],"application/pkcs7-signature":[`p7s`],"application/pkcs8":[`p8`],"application/pkix-attr-cert":[`ac`],"application/pkix-cert":[`cer`],"application/pkix-crl":[`crl`],"application/pkix-pkipath":[`pkipath`],"application/pkixcmp":[`pki`],"application/pls+xml":[`pls`],"application/postscript":[`ai`,`eps`,`ps`],"application/provenance+xml":[`provx`],"application/pskc+xml":[`pskcxml`],"application/raml+yaml":[`raml`],"application/rdf+xml":[`rdf`,`owl`],"application/reginfo+xml":[`rif`],"application/relax-ng-compact-syntax":[`rnc`],"application/resource-lists+xml":[`rl`],"application/resource-lists-diff+xml":[`rld`],"application/rls-services+xml":[`rs`],"application/route-apd+xml":[`rapd`],"application/route-s-tsid+xml":[`sls`],"application/route-usd+xml":[`rusd`],"application/rpki-ghostbusters":[`gbr`],"application/rpki-manifest":[`mft`],"application/rpki-roa":[`roa`],"application/rsd+xml":[`rsd`],"application/rss+xml":[`rss`],"application/rtf":[`rtf`],"application/sbml+xml":[`sbml`],"application/scvp-cv-request":[`scq`],"application/scvp-cv-response":[`scs`],"application/scvp-vp-request":[`spq`],"application/scvp-vp-response":[`spp`],"application/sdp":[`sdp`],"application/senml+xml":[`senmlx`],"application/sensml+xml":[`sensmlx`],"application/set-payment-initiation":[`setpay`],"application/set-registration-initiation":[`setreg`],"application/shf+xml":[`shf`],"application/sieve":[`siv`,`sieve`],"application/smil+xml":[`smi`,`smil`],"application/sparql-query":[`rq`],"application/sparql-results+xml":[`srx`],"application/sql":[`sql`],"application/srgs":[`gram`],"application/srgs+xml":[`grxml`],"application/sru+xml":[`sru`],"application/ssdl+xml":[`ssdl`],"application/ssml+xml":[`ssml`],"application/swid+xml":[`swidtag`],"application/tei+xml":[`tei`,`teicorpus`],"application/thraud+xml":[`tfi`],"application/timestamped-data":[`tsd`],"application/toml":[`toml`],"application/trig":[`trig`],"application/ttml+xml":[`ttml`],"application/ubjson":[`ubj`],"application/urc-ressheet+xml":[`rsheet`],"application/urc-targetdesc+xml":[`td`],"application/voicexml+xml":[`vxml`],"application/wasm":[`wasm`],"application/watcherinfo+xml":[`wif`],"application/widget":[`wgt`],"application/winhlp":[`hlp`],"application/wsdl+xml":[`wsdl`],"application/wspolicy+xml":[`wspolicy`],"application/xaml+xml":[`xaml`],"application/xcap-att+xml":[`xav`],"application/xcap-caps+xml":[`xca`],"application/xcap-diff+xml":[`xdf`],"application/xcap-el+xml":[`xel`],"application/xcap-ns+xml":[`xns`],"application/xenc+xml":[`xenc`],"application/xfdf":[`xfdf`],"application/xhtml+xml":[`xhtml`,`xht`],"application/xliff+xml":[`xlf`],"application/xml":[`xml`,`xsl`,`xsd`,`rng`],"application/xml-dtd":[`dtd`],"application/xop+xml":[`xop`],"application/xproc+xml":[`xpl`],"application/xslt+xml":[`*xsl`,`xslt`],"application/xspf+xml":[`xspf`],"application/xv+xml":[`mxml`,`xhvml`,`xvml`,`xvm`],"application/yang":[`yang`],"application/yin+xml":[`yin`],"application/zip":[`zip`],"application/zip+dotlottie":[`lottie`],"audio/3gpp":[`*3gpp`],"audio/aac":[`adts`,`aac`],"audio/adpcm":[`adp`],"audio/amr":[`amr`],"audio/basic":[`au`,`snd`],"audio/midi":[`mid`,`midi`,`kar`,`rmi`],"audio/mobile-xmf":[`mxmf`],"audio/mp3":[`*mp3`],"audio/mp4":[`m4a`,`mp4a`,`m4b`],"audio/mpeg":[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`],"audio/ogg":[`oga`,`ogg`,`spx`,`opus`],"audio/s3m":[`s3m`],"audio/silk":[`sil`],"audio/wav":[`wav`],"audio/wave":[`*wav`],"audio/webm":[`weba`],"audio/xm":[`xm`],"font/collection":[`ttc`],"font/otf":[`otf`],"font/ttf":[`ttf`],"font/woff":[`woff`],"font/woff2":[`woff2`],"image/aces":[`exr`],"image/apng":[`apng`],"image/avci":[`avci`],"image/avcs":[`avcs`],"image/avif":[`avif`],"image/bmp":[`bmp`,`dib`],"image/cgm":[`cgm`],"image/dicom-rle":[`drle`],"image/dpx":[`dpx`],"image/emf":[`emf`],"image/fits":[`fits`],"image/g3fax":[`g3`],"image/gif":[`gif`],"image/heic":[`heic`],"image/heic-sequence":[`heics`],"image/heif":[`heif`],"image/heif-sequence":[`heifs`],"image/hej2k":[`hej2`],"image/ief":[`ief`],"image/jaii":[`jaii`],"image/jais":[`jais`],"image/jls":[`jls`],"image/jp2":[`jp2`,`jpg2`],"image/jpeg":[`jpg`,`jpeg`,`jpe`],"image/jph":[`jph`],"image/jphc":[`jhc`],"image/jpm":[`jpm`,`jpgm`],"image/jpx":[`jpx`,`jpf`],"image/jxl":[`jxl`],"image/jxr":[`jxr`],"image/jxra":[`jxra`],"image/jxrs":[`jxrs`],"image/jxs":[`jxs`],"image/jxsc":[`jxsc`],"image/jxsi":[`jxsi`],"image/jxss":[`jxss`],"image/ktx":[`ktx`],"image/ktx2":[`ktx2`],"image/pjpeg":[`jfif`],"image/png":[`png`],"image/sgi":[`sgi`],"image/svg+xml":[`svg`,`svgz`],"image/t38":[`t38`],"image/tiff":[`tif`,`tiff`],"image/tiff-fx":[`tfx`],"image/webp":[`webp`],"image/wmf":[`wmf`],"message/disposition-notification":[`disposition-notification`],"message/global":[`u8msg`],"message/global-delivery-status":[`u8dsn`],"message/global-disposition-notification":[`u8mdn`],"message/global-headers":[`u8hdr`],"message/rfc822":[`eml`,`mime`,`mht`,`mhtml`],"model/3mf":[`3mf`],"model/gltf+json":[`gltf`],"model/gltf-binary":[`glb`],"model/iges":[`igs`,`iges`],"model/jt":[`jt`],"model/mesh":[`msh`,`mesh`,`silo`],"model/mtl":[`mtl`],"model/obj":[`obj`],"model/prc":[`prc`],"model/step":[`step`,`stp`,`stpnc`,`p21`,`210`],"model/step+xml":[`stpx`],"model/step+zip":[`stpz`],"model/step-xml+zip":[`stpxz`],"model/stl":[`stl`],"model/u3d":[`u3d`],"model/vrml":[`wrl`,`vrml`],"model/x3d+binary":[`*x3db`,`x3dbz`],"model/x3d+fastinfoset":[`x3db`],"model/x3d+vrml":[`*x3dv`,`x3dvz`],"model/x3d+xml":[`x3d`,`x3dz`],"model/x3d-vrml":[`x3dv`],"text/cache-manifest":[`appcache`,`manifest`],"text/calendar":[`ics`,`ifb`],"text/coffeescript":[`coffee`,`litcoffee`],"text/css":[`css`],"text/csv":[`csv`],"text/html":[`html`,`htm`,`shtml`],"text/jade":[`jade`],"text/javascript":[`js`,`mjs`],"text/jsx":[`jsx`],"text/less":[`less`],"text/markdown":[`md`,`markdown`],"text/mathml":[`mml`],"text/mdx":[`mdx`],"text/n3":[`n3`],"text/plain":[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`],"text/richtext":[`rtx`],"text/rtf":[`*rtf`],"text/sgml":[`sgml`,`sgm`],"text/shex":[`shex`],"text/slim":[`slim`,`slm`],"text/spdx":[`spdx`],"text/stylus":[`stylus`,`styl`],"text/tab-separated-values":[`tsv`],"text/troff":[`t`,`tr`,`roff`,`man`,`me`,`ms`],"text/turtle":[`ttl`],"text/uri-list":[`uri`,`uris`,`urls`],"text/vcard":[`vcard`],"text/vtt":[`vtt`],"text/wgsl":[`wgsl`],"text/xml":[`*xml`],"text/yaml":[`yaml`,`yml`],"video/3gpp":[`3gp`,`3gpp`],"video/3gpp2":[`3g2`],"video/h261":[`h261`],"video/h263":[`h263`],"video/h264":[`h264`],"video/iso.segment":[`m4s`],"video/jpeg":[`jpgv`],"video/jpm":[`*jpm`,`*jpgm`],"video/mj2":[`mj2`,`mjp2`],"video/mp2t":[`ts`,`m2t`,`m2ts`,`mts`],"video/mp4":[`mp4`,`mp4v`,`mpg4`],"video/mpeg":[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`],"video/ogg":[`ogv`],"video/quicktime":[`qt`,`mov`],"video/webm":[`webm`]};Object.freeze(cu);var lu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},uu,du,fu,pu=class{constructor(...e){uu.set(this,new Map),du.set(this,new Map),fu.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,r]of Object.entries(e)){n=n.toLowerCase(),r=r.map(e=>e.toLowerCase()),lu(this,fu,`f`).has(n)||lu(this,fu,`f`).set(n,new Set);let e=lu(this,fu,`f`).get(n),i=!0;for(let a of r){let r=a.startsWith(`*`);if(a=r?a.slice(1):a,e?.add(a),i&&lu(this,du,`f`).set(n,a),i=!1,r)continue;let o=lu(this,uu,`f`).get(a);if(o&&o!=n&&!t)throw Error(`"${n} -> ${a}" conflicts with "${o} -> ${a}". Pass \`force=true\` to override this definition.`);lu(this,uu,`f`).set(a,n)}}return this}getType(e){if(typeof e!=`string`)return null;let t=e.replace(/^.*[/\\]/s,``).toLowerCase(),n=t.replace(/^.*\./s,``).toLowerCase(),r=t.length<e.length;return!(n.length<t.length-1)&&r?null:lu(this,uu,`f`).get(n)??null}getExtension(e){return typeof e==`string`?(e=e?.split?.(`;`)[0],(e&&lu(this,du,`f`).get(e.trim().toLowerCase()))??null):null}getAllExtensions(e){return typeof e==`string`?lu(this,fu,`f`).get(e.toLowerCase())??null:null}_freeze(){this.define=()=>{throw Error(`define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances`)},Object.freeze(this);for(let e of lu(this,fu,`f`).values())Object.freeze(e);return this}_getTestState(){return{types:lu(this,uu,`f`),extensions:lu(this,du,`f`)}}};uu=new WeakMap,du=new WeakMap,fu=new WeakMap,new pu(cu,su)._freeze();var mu=E(((e,t)=>{t.exports=n,n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3;function n(e,t){if(this.type=``,this.target=null,this.currentTarget=null,this.eventPhase=n.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}n.prototype=Object.create(Object.prototype,{constructor:{value:n},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(e,t,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=e,this.bubbles=t,this.cancelable=n)}}})})),hu=E(((e,t)=>{var n=mu();t.exports=r;function r(){n.call(this),this.view=null,this.detail=0}r.prototype=Object.create(n.prototype,{constructor:{value:r},initUIEvent:{value:function(e,t,n,r,i){this.initEvent(e,t,n),this.view=r,this.detail=i}}})})),gu=E(((e,t)=>{var n=hu();t.exports=r;function r(){n.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(n.prototype,{constructor:{value:r},initMouseEvent:{value:function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){switch(this.initEvent(e,t,n,r,i),this.screenX=a,this.screenY=o,this.clientX=s,this.clientY=c,this.ctrlKey=l,this.altKey=u,this.shiftKey=d,this.metaKey=f,this.button=p,p){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=m}},getModifierState:{value:function(e){switch(e){case`Alt`:return this.altKey;case`Control`:return this.ctrlKey;case`Shift`:return this.shiftKey;case`Meta`:return this.metaKey;default:return!1}}}})})),_u=E(((e,t)=>{t.exports=E;var n=1,r=3,i=4,a=5,o=7,s=8,c=9,l=11,u=12,d=13,f=14,p=15,m=17,h=18,g=19,_=20,v=21,y=22,b=23,x=24,S=25,C=[null,`INDEX_SIZE_ERR`,null,`HIERARCHY_REQUEST_ERR`,`WRONG_DOCUMENT_ERR`,`INVALID_CHARACTER_ERR`,null,`NO_MODIFICATION_ALLOWED_ERR`,`NOT_FOUND_ERR`,`NOT_SUPPORTED_ERR`,`INUSE_ATTRIBUTE_ERR`,`INVALID_STATE_ERR`,`SYNTAX_ERR`,`INVALID_MODIFICATION_ERR`,`NAMESPACE_ERR`,`INVALID_ACCESS_ERR`,null,`TYPE_MISMATCH_ERR`,`SECURITY_ERR`,`NETWORK_ERR`,`ABORT_ERR`,`URL_MISMATCH_ERR`,`QUOTA_EXCEEDED_ERR`,`TIMEOUT_ERR`,`INVALID_NODE_TYPE_ERR`,`DATA_CLONE_ERR`],w=[null,`INDEX_SIZE_ERR (1): the index is not in the allowed range`,null,`HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model`,`WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required`,`INVALID_CHARACTER_ERR (5): the string contains invalid characters`,null,`NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified`,`NOT_FOUND_ERR (8): the object can not be found here`,`NOT_SUPPORTED_ERR (9): this operation is not supported`,`INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute`,`INVALID_STATE_ERR (11): the object is in an invalid state`,`SYNTAX_ERR (12): the string did not match the expected pattern`,`INVALID_MODIFICATION_ERR (13): the object can not be modified in this way`,`NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML`,`INVALID_ACCESS_ERR (15): the object does not support the operation or argument`,null,`TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type`,`SECURITY_ERR (18): the operation is insecure`,`NETWORK_ERR (19): a network error occurred`,`ABORT_ERR (20): the user aborted an operation`,`URL_MISMATCH_ERR (21): the given URL does not match another URL`,`QUOTA_EXCEEDED_ERR (22): the quota has been exceeded`,`TIMEOUT_ERR (23): a timeout occurred`,`INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation`,`DATA_CLONE_ERR (25): the object can not be cloned.`],T={INDEX_SIZE_ERR:n,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:i,INVALID_CHARACTER_ERR:a,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:o,NOT_FOUND_ERR:s,NOT_SUPPORTED_ERR:c,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:l,SYNTAX_ERR:u,INVALID_MODIFICATION_ERR:d,NAMESPACE_ERR:f,INVALID_ACCESS_ERR:p,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:m,SECURITY_ERR:h,NETWORK_ERR:g,ABORT_ERR:_,URL_MISMATCH_ERR:v,QUOTA_EXCEEDED_ERR:y,TIMEOUT_ERR:b,INVALID_NODE_TYPE_ERR:x,DATA_CLONE_ERR:S};function E(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=w[e],this.name=C[e]}for(var ee in E.prototype.__proto__=Error.prototype,T){var te={value:T[ee]};Object.defineProperty(E,ee,te),Object.defineProperty(E.prototype,ee,te)}})),vu=E((e=>{e.isApiWritable=!globalThis.__domino_frozen__})),yu=E((e=>{var t=_u(),n=t,r=vu().isApiWritable;e.NAMESPACE={HTML:`http://www.w3.org/1999/xhtml`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`,MATHML:`http://www.w3.org/1998/Math/MathML`,SVG:`http://www.w3.org/2000/svg`,XLINK:`http://www.w3.org/1999/xlink`},e.IndexSizeError=function(){throw new t(n.INDEX_SIZE_ERR)},e.HierarchyRequestError=function(){throw new t(n.HIERARCHY_REQUEST_ERR)},e.WrongDocumentError=function(){throw new t(n.WRONG_DOCUMENT_ERR)},e.InvalidCharacterError=function(){throw new t(n.INVALID_CHARACTER_ERR)},e.NoModificationAllowedError=function(){throw new t(n.NO_MODIFICATION_ALLOWED_ERR)},e.NotFoundError=function(){throw new t(n.NOT_FOUND_ERR)},e.NotSupportedError=function(){throw new t(n.NOT_SUPPORTED_ERR)},e.InvalidStateError=function(){throw new t(n.INVALID_STATE_ERR)},e.SyntaxError=function(){throw new t(n.SYNTAX_ERR)},e.InvalidModificationError=function(){throw new t(n.INVALID_MODIFICATION_ERR)},e.NamespaceError=function(){throw new t(n.NAMESPACE_ERR)},e.InvalidAccessError=function(){throw new t(n.INVALID_ACCESS_ERR)},e.TypeMismatchError=function(){throw new t(n.TYPE_MISMATCH_ERR)},e.SecurityError=function(){throw new t(n.SECURITY_ERR)},e.NetworkError=function(){throw new t(n.NETWORK_ERR)},e.AbortError=function(){throw new t(n.ABORT_ERR)},e.UrlMismatchError=function(){throw new t(n.URL_MISMATCH_ERR)},e.QuotaExceededError=function(){throw new t(n.QUOTA_EXCEEDED_ERR)},e.TimeoutError=function(){throw new t(n.TIMEOUT_ERR)},e.InvalidNodeTypeError=function(){throw new t(n.INVALID_NODE_TYPE_ERR)},e.DataCloneError=function(){throw new t(n.DATA_CLONE_ERR)},e.nyi=function(){throw Error(`NotYetImplemented`)},e.shouldOverride=function(){throw Error(`Abstract function; should be overriding in subclass.`)},e.assert=function(e,t){if(!e)throw Error(`Assertion failed: `+(t||``)+`
|
|
23
|
-
`+Error().stack)},e.expose=function(e,t){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],writable:r})},e.merge=function(e,t){for(var n in t)e[n]=t[n]},e.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)},e.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(e){return e.toLowerCase()})},e.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(e){return e.toUpperCase()})}})),
|
|
22
|
+
`:case`\f`:s[r]&&(a+=E);break;case`"`:i=n+1;do i=e.indexOf(`"`,i)+1,i||T(`Unmatched "`);while(e[i-2]===`\\`);switch(a+=e.slice(n,i),n=i-1,r){case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}break;case`'`:i=n+1;do i=e.indexOf(`'`,i)+1,i||T(`Unmatched '`);while(e[i-2]===`\\`);switch(a+=e.slice(n,i),n=i-1,r){case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}break;case`/`:e.charAt(n+1)===`*`?(n+=2,i=e.indexOf(`*/`,n),i===-1?T(`Missing */`):n=i+1):a+=E,r===`importRule-begin`&&(a+=` `,r=`importRule`);break;case`@`:if(e.indexOf(`@-moz-document`,n)===n){r=`documentRule-begin`,S=new t.CSSDocumentRule,S.__starts=n,n+=13,a=``;break}else if(e.indexOf(`@media`,n)===n){r=`atBlock`,_=new t.CSSMediaRule,_.__starts=n,n+=5,a=``;break}else if(e.indexOf(`@supports`,n)===n){r=`conditionBlock`,v=new t.CSSSupportsRule,v.__starts=n,n+=8,a=``;break}else if(e.indexOf(`@host`,n)===n){r=`hostRule-begin`,n+=4,C=new t.CSSHostRule,C.__starts=n,a=``;break}else if(e.indexOf(`@import`,n)===n){r=`importRule-begin`,n+=6,a+=`@import`;break}else if(e.indexOf(`@font-face`,n)===n){r=`fontFaceRule-begin`,n+=9,b=new t.CSSFontFaceRule,b.__starts=n,a=``;break}else{w.lastIndex=n;var ee=w.exec(e);if(ee&&ee.index===n){r=`keyframesRule-begin`,x=new t.CSSKeyframesRule,x.__starts=n,x._vendorPrefix=ee[1],n+=ee[0].length-1,a=``;break}else r===`selector`&&(r=`atRule`)}a+=E;break;case`{`:r===`selector`||r===`atRule`?(g.selectorText=a.trim(),g.style.__starts=n,a=``,r=`before-name`):r===`atBlock`?(_.media.mediaText=a.trim(),u&&d.push(u),l=u=_,_.parentStyleSheet=c,a=``,r=`before-selector`):r===`conditionBlock`?(v.conditionText=a.trim(),u&&d.push(u),l=u=v,v.parentStyleSheet=c,a=``,r=`before-selector`):r===`hostRule-begin`?(u&&d.push(u),l=u=C,C.parentStyleSheet=c,a=``,r=`before-selector`):r===`fontFaceRule-begin`?(u&&(b.parentRule=u),b.parentStyleSheet=c,g=b,a=``,r=`before-name`):r===`keyframesRule-begin`?(x.name=a.trim(),u&&(d.push(u),x.parentRule=u),x.parentStyleSheet=c,l=u=x,a=``,r=`keyframeRule-begin`):r===`keyframeRule-begin`?(g=new t.CSSKeyframeRule,g.keyText=a.trim(),g.__starts=n,a=``,r=`before-name`):r===`documentRule-begin`&&(S.matcher.matcherText=a.trim(),u&&(d.push(u),S.parentRule=u),l=u=S,S.parentStyleSheet=c,a=``,r=`before-selector`);break;case`:`:r===`name`?(m=a.trim(),a=``,r=`before-value`):a+=E;break;case`(`:if(r===`value`)if(a.trim()===`expression`){var te=new t.CSSValueExpression(e,n).parse();te.error?T(te.error):(a+=te.expression,n=te.idx)}else r=`value-parenthesis`,o=1,a+=E;else r===`value-parenthesis`&&o++,a+=E;break;case`)`:r===`value-parenthesis`&&(o--,o===0&&(r=`value`)),a+=E;break;case`!`:r===`value`&&e.indexOf(`!important`,n)===n?(h=`important`,n+=9):a+=E;break;case`;`:switch(r){case`value`:g.style.setProperty(m,a.trim(),h),h=``,a=``,r=`before-name`;break;case`atRule`:a=``,r=`before-selector`;break;case`importRule`:y=new t.CSSImportRule,y.parentStyleSheet=y.styleSheet.parentStyleSheet=c,y.cssText=a+E,c.cssRules.push(y),a=``,r=`before-selector`;break;default:a+=E;break}break;case`}`:switch(r){case`value`:g.style.setProperty(m,a.trim(),h),h=``;case`before-name`:case`name`:g.__ends=n+1,u&&(g.parentRule=u),g.parentStyleSheet=c,l.cssRules.push(g),a=``,r=l.constructor===t.CSSKeyframesRule?`keyframeRule-begin`:`before-selector`;break;case`keyframeRule-begin`:case`before-selector`:case`selector`:for(u||T(`Unexpected }`),f=d.length>0;d.length>0;){if(u=d.pop(),u.constructor.name===`CSSMediaRule`||u.constructor.name===`CSSSupportsRule`){p=l,l=u,l.cssRules.push(p);break}d.length===0&&(f=!1)}f||(l.__ends=n+1,c.cssRules.push(l),l=c,u=null),a=``,r=`before-selector`;break}break;default:switch(r){case`before-selector`:r=`selector`,g=new t.CSSStyleRule,g.__starts=n;break;case`before-name`:r=`name`;break;case`before-value`:r=`value`;break;case`importRule-begin`:r=`importRule`;break}a+=E;break}return c},e.parse=t.parse,t.CSSStyleSheet=Gc().CSSStyleSheet,t.CSSStyleRule=Wc().CSSStyleRule,t.CSSImportRule=qc().CSSImportRule,t.CSSGroupingRule=Jc().CSSGroupingRule,t.CSSMediaRule=Xc().CSSMediaRule,t.CSSConditionRule=Yc().CSSConditionRule,t.CSSSupportsRule=Zc().CSSSupportsRule,t.CSSFontFaceRule=Qc().CSSFontFaceRule,t.CSSHostRule=$c().CSSHostRule,t.CSSStyleDeclaration=sl().CSSStyleDeclaration,t.CSSKeyframeRule=el().CSSKeyframeRule,t.CSSKeyframesRule=tl().CSSKeyframesRule,t.CSSValueExpression=rl().CSSValueExpression,t.CSSDocumentRule=al().CSSDocumentRule})),sl=O((e=>{var t={};t.CSSStyleDeclaration=function(){this.length=0,this.parentRule=null,this._importants={}},t.CSSStyleDeclaration.prototype={constructor:t.CSSStyleDeclaration,getPropertyValue:function(e){return this[e]||``},setProperty:function(e,t,n){this[e]?Array.prototype.indexOf.call(this,e)<0&&(this[this.length]=e,this.length++):(this[this.length]=e,this.length++),this[e]=t+``,this._importants[e]=n},removeProperty:function(e){if(!(e in this))return``;var t=Array.prototype.indexOf.call(this,e);if(t<0)return``;var n=this[e];return this[e]=``,Array.prototype.splice.call(this,t,1),n},getPropertyCSSValue:function(){},getPropertyPriority:function(e){return this._importants[e]||``},getPropertyShorthand:function(){},isPropertyImplicit:function(){},get cssText(){for(var e=[],t=0,n=this.length;t<n;++t){var r=this[t],i=this.getPropertyValue(r),a=this.getPropertyPriority(r);a&&=` !`+a,e[t]=r+`: `+i+a+`;`}return e.join(` `)},set cssText(e){var n,r;for(n=this.length;n--;)r=this[n],this[r]=``;Array.prototype.splice.call(this,0,this.length),this._importants={};var i=t.parse(`#bogus{`+e+`}`).cssRules[0].style,a=i.length;for(n=0;n<a;++n)r=i[n],this.setProperty(i[n],i.getPropertyValue(r),i.getPropertyPriority(r))}},e.CSSStyleDeclaration=t.CSSStyleDeclaration,t.parse=ol().parse})),cl=O((e=>{var t={CSSStyleSheet:Gc().CSSStyleSheet,CSSRule:Uc().CSSRule,CSSStyleRule:Wc().CSSStyleRule,CSSGroupingRule:Jc().CSSGroupingRule,CSSConditionRule:Yc().CSSConditionRule,CSSMediaRule:Xc().CSSMediaRule,CSSSupportsRule:Zc().CSSSupportsRule,CSSStyleDeclaration:sl().CSSStyleDeclaration,CSSKeyframeRule:el().CSSKeyframeRule,CSSKeyframesRule:tl().CSSKeyframesRule};t.clone=function e(n){var r=new t.CSSStyleSheet,i=n.cssRules;if(!i)return r;for(var a=0,o=i.length;a<o;a++){var s=i[a],c=r.cssRules[a]=new s.constructor,l=s.style;if(l){for(var u=c.style=new t.CSSStyleDeclaration,d=0,f=l.length;d<f;d++){var p=u[d]=l[d];u[p]=l[p],u._importants[p]=l.getPropertyPriority(p)}u.length=l.length}s.hasOwnProperty(`keyText`)&&(c.keyText=s.keyText),s.hasOwnProperty(`selectorText`)&&(c.selectorText=s.selectorText),s.hasOwnProperty(`mediaText`)&&(c.mediaText=s.mediaText),s.hasOwnProperty(`conditionText`)&&(c.conditionText=s.conditionText),s.hasOwnProperty(`cssRules`)&&(c.cssRules=e(s).cssRules)}return r},e.clone=t.clone})),ll=O((e=>{e.CSSStyleDeclaration=sl().CSSStyleDeclaration,e.CSSRule=Uc().CSSRule,e.CSSGroupingRule=Jc().CSSGroupingRule,e.CSSConditionRule=Yc().CSSConditionRule,e.CSSStyleRule=Wc().CSSStyleRule,e.MediaList=Kc().MediaList,e.CSSMediaRule=Xc().CSSMediaRule,e.CSSSupportsRule=Zc().CSSSupportsRule,e.CSSImportRule=qc().CSSImportRule,e.CSSFontFaceRule=Qc().CSSFontFaceRule,e.CSSHostRule=$c().CSSHostRule,e.StyleSheet=Hc().StyleSheet,e.CSSStyleSheet=Gc().CSSStyleSheet,e.CSSKeyframesRule=tl().CSSKeyframesRule,e.CSSKeyframeRule=el().CSSKeyframeRule,e.MatcherList=il().MatcherList,e.CSSDocumentRule=al().CSSDocumentRule,e.CSSValue=nl().CSSValue,e.CSSValueExpression=rl().CSSValueExpression,e.parse=ol().parse,e.clone=cl().clone}))();const ul=`style`;var dl=class extends Nc{constructor(e,t=ul){super(e,t),this[sn]=null}get sheet(){let e=this[sn];return e===null?this[sn]=(0,ll.parse)(this.textContent):e}get innerHTML(){return super.innerHTML||``}set innerHTML(e){super.textContent=e,this[sn]=null}get innerText(){return super.innerText||``}set innerText(e){super.textContent=e,this[sn]=null}get textContent(){return super.textContent||``}set textContent(e){super.textContent=e,this[sn]=null}};Da(ul,dl);var fl=class extends ${constructor(e,t=`time`){super(e,t)}get dateTime(){return Y.get(this,`datetime`)}set dateTime(e){Y.set(this,`datetime`,e)}};Da(`time`,fl);var pl=class extends ${constructor(e,t=`fieldset`){super(e,t)}},ml=class extends ${constructor(e,t=`embed`){super(e,t)}},hl=class extends ${constructor(e,t=`hr`){super(e,t)}},gl=class extends ${constructor(e,t=`progress`){super(e,t)}},_l=class extends ${constructor(e,t=`p`){super(e,t)}},vl=class extends ${constructor(e,t=`table`){super(e,t)}},yl=class extends ${constructor(e,t=`frameset`){super(e,t)}},bl=class extends ${constructor(e,t=`li`){super(e,t)}},xl=class extends ${constructor(e,t=`base`){super(e,t)}},Sl=class extends ${constructor(e,t=`datalist`){super(e,t)}};const Cl=`input`;var wl=class extends ${constructor(e,t=Cl){super(e,t)}get autofocus(){return Ha.get(this,`autofocus`)||-1}set autofocus(e){Ha.set(this,`autofocus`,e)}get disabled(){return Ha.get(this,`disabled`)}set disabled(e){Ha.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get placeholder(){return this.getAttribute(`placeholder`)}set placeholder(e){this.setAttribute(`placeholder`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}get value(){return Y.get(this,`value`)}set value(e){Y.set(this,`value`,e)}};Da(Cl,wl);var Tl=class extends ${constructor(e,t=`param`){super(e,t)}},El=class extends ${constructor(e,t=`media`){super(e,t)}},Dl=class extends ${constructor(e,t=`audio`){super(e,t)}},Ol=class extends ${constructor(e,t=`h1`){super(e,t)}};Da([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],Ol);var kl=class extends ${constructor(e,t=`dir`){super(e,t)}},Al=class extends ${constructor(e,t=`quote`){super(e,t)}},jl=O(((e,t)=>{var n=class{constructor(e,t){this.width=e,this.height=t}getContext(){return null}toDataURL(){return``}};t.exports={createCanvas:(e,t)=>new n(e,t)}}));const{createCanvas:Ml}=ae(O(((e,t)=>{try{t.exports=k(`canvas`)}catch{t.exports=jl()}}))(),1).default,Nl=`canvas`;var Pl=class extends ${constructor(e,t=Nl){super(e,t),this[en]=Ml(300,150)}get width(){return this[en].width}set width(e){Ua.set(this,`width`,e),this[en].width=e}get height(){return this[en].height}set height(e){Ua.set(this,`height`,e),this[en].height=e}getContext(e){return this[en].getContext(e)}toDataURL(...e){return this[en].toDataURL(...e)}};Da(Nl,Pl);var Fl=class extends ${constructor(e,t=`legend`){super(e,t)}};const Il=`option`;var Ll=class extends ${constructor(e,t=Il){super(e,t)}get value(){return Y.get(this,`value`)}set value(e){Y.set(this,`value`,e)}get selected(){return Ha.get(this,`selected`)}set selected(e){let t=this.parentElement?.querySelector(`option[selected]`);t&&t!==this&&(t.selected=!1),Ha.set(this,`selected`,e)}};Da(Il,Ll);var Rl=class extends ${constructor(e,t=`span`){super(e,t)}},zl=class extends ${constructor(e,t=`meter`){super(e,t)}},Bl=class extends ${constructor(e,t=`video`){super(e,t)}},Vl=class extends ${constructor(e,t=`td`){super(e,t)}};const Hl=`title`;var Ul=class extends Nc{constructor(e,t=Hl){super(e,t)}};Da(Hl,Ul);var Wl=class extends ${constructor(e,t=`output`){super(e,t)}},Gl=class extends ${constructor(e,t=`tr`){super(e,t)}},Kl=class extends ${constructor(e,t=`data`){super(e,t)}},ql=class extends ${constructor(e,t=`menu`){super(e,t)}};const Jl=`select`;var Yl=class extends ${constructor(e,t=Jl){super(e,t)}get options(){let e=new Ja,{firstElementChild:t}=this;for(;t;)t.tagName===`OPTGROUP`?e.push(...t.children):e.push(t),t=t.nextElementSibling;return e}get disabled(){return Ha.get(this,`disabled`)}set disabled(e){Ha.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get value(){return this.querySelector(`option[selected]`)?.value}};Da(Jl,Yl);var Xl=class extends ${constructor(e,t=`br`){super(e,t)}};const Zl=`button`;var Ql=class extends ${constructor(e,t=Zl){super(e,t)}get disabled(){return Ha.get(this,`disabled`)}set disabled(e){Ha.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}};Da(Zl,Ql);var $l=class extends ${constructor(e,t=`map`){super(e,t)}},eu=class extends ${constructor(e,t=`optgroup`){super(e,t)}},tu=class extends ${constructor(e,t=`dl`){super(e,t)}};const nu=`textarea`;var ru=class extends Nc{constructor(e,t=nu){super(e,t)}get disabled(){return Ha.get(this,`disabled`)}set disabled(e){Ha.set(this,`disabled`,e)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}get placeholder(){return this.getAttribute(`placeholder`)}set placeholder(e){this.setAttribute(`placeholder`,e)}get type(){return this.getAttribute(`type`)}set type(e){this.setAttribute(`type`,e)}get value(){return this.textContent}set value(e){this.textContent=e}};Da(nu,ru);var iu=class extends ${constructor(e,t=`font`){super(e,t)}},au=class extends ${constructor(e,t=`div`){super(e,t)}};const ou=`link`;var su=class extends ${constructor(e,t=ou){super(e,t)}get disabled(){return Ha.get(this,`disabled`)}set disabled(e){Ha.set(this,`disabled`,e)}get href(){return Y.get(this,`href`).trim()}set href(e){Y.set(this,`href`,e)}get hreflang(){return Y.get(this,`hreflang`)}set hreflang(e){Y.set(this,`hreflang`,e)}get media(){return Y.get(this,`media`)}set media(e){Y.set(this,`media`,e)}get rel(){return Y.get(this,`rel`)}set rel(e){Y.set(this,`rel`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}};Da(ou,su);const cu=`slot`;var lu=class extends ${constructor(e,t=cu){super(e,t)}get name(){return this.getAttribute(`name`)}set name(e){this.setAttribute(`name`,e)}assign(){}assignedNodes(e){let t=!!this.name,n=this.getRootNode().host?.childNodes??[],r;if(r=t?[...n].filter(e=>e.slot===this.name):[...n].filter(e=>!e.slot),e?.flatten){let e=[];for(let t of r)t.localName===`slot`?e.push(...t.assignedNodes({flatten:!0})):e.push(t);r=e}return r.length?r:[...this.childNodes]}assignedElements(e){let t=this.assignedNodes(e).filter(e=>e.nodeType===1);return t.length?t:[...this.children]}};Da(cu,lu);var uu=class extends ${constructor(e,t=`form`){super(e,t)}},du=class extends ${constructor(e,t=`img`){super(e,t)}get alt(){return Y.get(this,`alt`)}set alt(e){Y.set(this,`alt`,e)}get sizes(){return Y.get(this,`sizes`)}set sizes(e){Y.set(this,`sizes`,e)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcset(){return Y.get(this,`srcset`)}set srcset(e){Y.set(this,`srcset`,e)}get title(){return Y.get(this,`title`)}set title(e){Y.set(this,`title`,e)}get width(){return Ua.get(this,`width`)}set width(e){Ua.set(this,`width`,e)}get height(){return Ua.get(this,`height`)}set height(e){Ua.set(this,`height`,e)}};Da(`img`,du);var fu=class extends ${constructor(e,t=`pre`){super(e,t)}},pu=class extends ${constructor(e,t=`ul`){super(e,t)}};const mu=`meta`;var hu=class extends ${constructor(e,t=mu){super(e,t)}get name(){return Y.get(this,`name`)}set name(e){Y.set(this,`name`,e)}get httpEquiv(){return Y.get(this,`http-equiv`)}set httpEquiv(e){Y.set(this,`http-equiv`,e)}get content(){return Y.get(this,`content`)}set content(e){Y.set(this,`content`,e)}get charset(){return Y.get(this,`charset`)}set charset(e){Y.set(this,`charset`,e)}get media(){return Y.get(this,`media`)}set media(e){Y.set(this,`media`,e)}};Da(mu,hu);var gu=class extends ${constructor(e,t=`picture`){super(e,t)}},_u=class extends ${constructor(e,t=`area`){super(e,t)}},vu=class extends ${constructor(e,t=`ol`){super(e,t)}},yu=class extends ${constructor(e,t=`caption`){super(e,t)}},bu=class extends ${constructor(e,t=`a`){super(e,t)}get href(){return encodeURI(decodeURI(Y.get(this,`href`))).trim()}set href(e){Y.set(this,`href`,decodeURI(e))}get download(){return encodeURI(decodeURI(Y.get(this,`download`)))}set download(e){Y.set(this,`download`,decodeURI(e))}get target(){return Y.get(this,`target`)}set target(e){Y.set(this,`target`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}get rel(){return Y.get(this,`rel`)}set rel(e){Y.set(this,`rel`,e)}};Da(`a`,bu);var xu=class extends ${constructor(e,t=`label`){super(e,t)}},Su=class extends ${constructor(e,t=`unknown`){super(e,t)}},Cu=class extends ${constructor(e,t=`mod`){super(e,t)}},wu=class extends ${constructor(e,t=`details`){super(e,t)}};const Tu=`source`;var Eu=class extends ${constructor(e,t=Tu){super(e,t)}get src(){return Y.get(this,`src`)}set src(e){Y.set(this,`src`,e)}get srcset(){return Y.get(this,`srcset`)}set srcset(e){Y.set(this,`srcset`,e)}get sizes(){return Y.get(this,`sizes`)}set sizes(e){Y.set(this,`sizes`,e)}get type(){return Y.get(this,`type`)}set type(e){Y.set(this,`type`,e)}};Da(Tu,Eu);const Du={HTMLElement:$,HTMLTemplateElement:Ac,HTMLHtmlElement:jc,HTMLScriptElement:Fc,HTMLFrameElement:Ic,HTMLIFrameElement:Rc,HTMLObjectElement:zc,HTMLHeadElement:Bc,HTMLBodyElement:Vc,HTMLStyleElement:dl,HTMLTimeElement:fl,HTMLFieldSetElement:pl,HTMLEmbedElement:ml,HTMLHRElement:hl,HTMLProgressElement:gl,HTMLParagraphElement:_l,HTMLTableElement:vl,HTMLFrameSetElement:yl,HTMLLIElement:bl,HTMLBaseElement:xl,HTMLDataListElement:Sl,HTMLInputElement:wl,HTMLParamElement:Tl,HTMLMediaElement:El,HTMLAudioElement:Dl,HTMLHeadingElement:Ol,HTMLDirectoryElement:kl,HTMLQuoteElement:Al,HTMLCanvasElement:Pl,HTMLLegendElement:Fl,HTMLOptionElement:Ll,HTMLSpanElement:Rl,HTMLMeterElement:zl,HTMLVideoElement:Bl,HTMLTableCellElement:Vl,HTMLTitleElement:Ul,HTMLOutputElement:Wl,HTMLTableRowElement:Gl,HTMLDataElement:Kl,HTMLMenuElement:ql,HTMLSelectElement:Yl,HTMLBRElement:Xl,HTMLButtonElement:Ql,HTMLMapElement:$l,HTMLOptGroupElement:eu,HTMLDListElement:tu,HTMLTextAreaElement:ru,HTMLFontElement:iu,HTMLDivElement:au,HTMLLinkElement:su,HTMLSlotElement:lu,HTMLFormElement:uu,HTMLImageElement:du,HTMLPreElement:fu,HTMLUListElement:pu,HTMLMetaElement:hu,HTMLPictureElement:gu,HTMLAreaElement:_u,HTMLOListElement:vu,HTMLTableCaptionElement:yu,HTMLAnchorElement:bu,HTMLLabelElement:xu,HTMLUnknownElement:Su,HTMLModElement:Cu,HTMLDetailsElement:wu,HTMLSourceElement:Eu,HTMLTrackElement:class extends ${constructor(e,t=`track`){super(e,t)}},HTMLMarqueeElement:class extends ${constructor(e,t=`marquee`){super(e,t)}}},Ou={test:()=>!0},ku={"text/html":{docType:`<!DOCTYPE html>`,ignoreCase:!0,voidElements:/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i},"image/svg+xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Ou},"text/xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Ou},"application/xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Ou},"application/xhtml+xml":{docType:`<?xml version="1.0" encoding="utf-8"?>`,ignoreCase:!1,voidElements:Ou}};var Au=class extends ac{constructor(e,t={}){super(e,t),this.detail=t.detail}},ju=class extends ac{constructor(e,t={}){super(e,t),this.inputType=t.inputType,this.data=t.data,this.dataTransfer=t.dataTransfer,this.isComposing=t.isComposing||!1,this.ranges=t.ranges}};const Mu=e=>class extends du{constructor(t,n){switch(super(e),arguments.length){case 1:this.height=t,this.width=t;break;case 2:this.height=n,this.width=t;break}}},Nu=({[cn]:e,[U]:t},n=null)=>{la(e[an],t[W]);do{let r=na(e),i=r===t?r:r[W];n?n.insertBefore(e,n[U]):e.remove(),e=i}while(e!==t)};var Pu=class e{constructor(){this[cn]=null,this[U]=null,this.commonAncestorContainer=null}insertNode(e){this[U].parentNode.insertBefore(e,this[cn])}selectNode(e){this[cn]=e,this[U]=na(e)}selectNodeContents(e){this.selectNode(e),this.commonAncestorContainer=e}surroundContents(e){e.replaceChildren(this.extractContents())}setStartBefore(e){this[cn]=e}setStartAfter(e){this[cn]=e.nextSibling}setEndBefore(e){this[U]=na(e.previousSibling)}setEndAfter(e){this[U]=na(e)}cloneContents(){let{[cn]:e,[U]:t}=this,n=e.ownerDocument.createDocumentFragment();for(;e!==t;)n.insertBefore(e.cloneNode(!0),n[U]),e=na(e),e!==t&&(e=e[W]);return n}deleteContents(){Nu(this)}extractContents(){let e=this[cn].ownerDocument.createDocumentFragment();return Nu(this,e),e}createContextualFragment(e){let{commonAncestorContainer:t}=this,n=`ownerSVGElement`in t,r=n?t.ownerDocument:t,i=ua(r,e);if(n){let e=[...i.childNodes];i=r.createDocumentFragment(),Object.setPrototypeOf(i,mc.prototype),i.ownerSVGElement=r;for(let t of e)Object.setPrototypeOf(t,mc.prototype),t.ownerSVGElement=r,i.appendChild(t)}else this.selectNode(i);return i}cloneRange(){let t=new e;return t[cn]=this[cn],t[U]=this[U],t}};const Fu=({nodeType:e},t)=>{switch(e){case 1:return t&1;case 3:return t&4;case 8:return t&128;case 4:return t&8}return 0};var Iu=class{constructor(e,t=-1){this.root=e,this.currentNode=e,this.whatToShow=t;let{[W]:n,[U]:r}=e;if(e.nodeType===9){let{documentElement:t}=e;n=t,r=t[U]}let i=[];for(;n&&n!==r;)Fu(n,t)&&i.push(n),n=n[W];this[on]={i:0,nodes:i}}nextNode(){let e=this[on];return this.currentNode=e.i<e.nodes.length?e.nodes[e.i++]:null,this.currentNode}};const Lu=(e,t,n)=>{let{[W]:r,[U]:i}=t;return e.call({ownerDocument:t,[W]:r,[U]:i},n)},Ru=Ji({},Dc,Du,{CustomEvent:Au,Event:ac,EventTarget:qa,InputEvent:ju,NamedNodeMap:oc,NodeList:Ja}),zu=new WeakMap;var Bu=class extends Fs{constructor(e){super(null,`#document`,9),this[Yt]={active:!1,registry:null},this[nn]={active:!1,class:null},this[tn]=ku[e],this[V]=null,this[H]=null,this[$t]=null,this[en]=null,this[un]=null}get defaultView(){return zu.has(this)||zu.set(this,new Proxy(globalThis,{set:(e,t,n)=>{switch(t){case`addEventListener`:case`removeEventListener`:case`dispatchEvent`:this[Qt][t]=n;break;default:e[t]=n;break}return!0},get:(e,t)=>{switch(t){case`addEventListener`:case`removeEventListener`:case`dispatchEvent`:if(!this[Qt]){let e=this[Qt]=new qa;e.dispatchEvent=e.dispatchEvent.bind(e),e.addEventListener=e.addEventListener.bind(e),e.removeEventListener=e.removeEventListener.bind(e)}return this[Qt][t];case`document`:return this;case`navigator`:return{userAgent:`Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36`};case`window`:return zu.get(this);case`customElements`:return this[Yt].registry||(this[Yt]=new xa(this)),this[Yt];case`performance`:return e.performance;case`DOMParser`:return this[H];case`Image`:return this[en]||(this[en]=Mu(this)),this[en];case`MutationObserver`:return this[nn].class||(this[nn]=new Ra(this)),this[nn].class}return this[$t]&&this[$t][t]||Ru[t]||e[t]}})),zu.get(this)}get doctype(){let e=this[V];if(e)return e;let{firstChild:t}=this;return t&&t.nodeType===10?this[V]=t:null}set doctype(e){if(/^([a-z:]+)(\s+system|\s+public(\s+"([^"]+)")?)?(\s+"([^"]+)")?/i.test(e)){let{$1:e,$4:t,$6:n}=RegExp;this[V]=new Ls(this,e,t,n),sa(this,this[V],this[W])}}get documentElement(){return this.firstElementChild}get isConnected(){return!0}_getParent(){return this[Qt]}createAttribute(e){return new ro(this,e)}createCDATASection(e){return new _o(this,e)}createComment(e){return new vo(this,e)}createDocumentFragment(){return new Is(this)}createDocumentType(e,t,n){return new Ls(this,e,t,n)}createElement(e){return new dc(this,e)}createRange(){let e=new Pu;return e.commonAncestorContainer=this,e}createTextNode(e){return new js(this,e)}createTreeWalker(e,t=-1){return new Iu(e,t)}createNodeIterator(e,t=-1){return this.createTreeWalker(e,t)}createEvent(e){let t=Yi(e===`Event`?new ac(``):new Au(``));return t.initEvent=t.initCustomEvent=(e,n=!1,r=!1,i)=>{t.bubbles=!!n,Xi(t,{type:{value:e},canBubble:{value:n},cancelable:{value:r},detail:{value:i}})},t}cloneNode(e=!1){let{constructor:t,[Yt]:n,[V]:r}=this,i=new t;if(i[Yt]=n,e){let e=i[U],{childNodes:t}=this;for(let{length:n}=t,r=0;r<n;r++)i.insertBefore(t[r].cloneNode(!0),e);r&&(i[V]=t[0])}return i}importNode(e){let t=1<arguments.length&&!!arguments[1],n=e.cloneNode(t),{[Yt]:r}=this,{active:i}=r,a=e=>{let{ownerDocument:t,nodeType:n}=e;e.ownerDocument=this,i&&t!==this&&n===1&&r.upgrade(e)};if(a(n),t)switch(n.nodeType){case 1:case 11:{let{[W]:e,[U]:t}=n;for(;e!==t;)e.nodeType===1&&a(e),e=e[W];break}}return n}toString(){return this.childNodes.join(``)}querySelector(e){return Lu(super.querySelector,this,e)}querySelectorAll(e){return Lu(super.querySelectorAll,this,e)}getElementsByTagNameNS(e,t){return this.getElementsByTagName(t)}createAttributeNS(e,t){return this.createAttribute(t)}createElementNS(e,t,n){return e===`http://www.w3.org/2000/svg`?new mc(this,t,null):this.createElement(t,n)}};ea(Ru.Document=function(){hc()},Bu).prototype=Bu.prototype;const{parse:Vu}=JSON;function Hu(){hc()}ea(Hu,Bu).prototype=Bu.prototype;const Uu={"application/prs.cww":[`cww`],"application/prs.xsf+xml":[`xsf`],"application/vnd.1000minds.decision-model+xml":[`1km`],"application/vnd.3gpp.pic-bw-large":[`plb`],"application/vnd.3gpp.pic-bw-small":[`psb`],"application/vnd.3gpp.pic-bw-var":[`pvb`],"application/vnd.3gpp2.tcap":[`tcap`],"application/vnd.3m.post-it-notes":[`pwn`],"application/vnd.accpac.simply.aso":[`aso`],"application/vnd.accpac.simply.imp":[`imp`],"application/vnd.acucobol":[`acu`],"application/vnd.acucorp":[`atc`,`acutc`],"application/vnd.adobe.air-application-installer-package+zip":[`air`],"application/vnd.adobe.formscentral.fcdt":[`fcdt`],"application/vnd.adobe.fxp":[`fxp`,`fxpl`],"application/vnd.adobe.xdp+xml":[`xdp`],"application/vnd.adobe.xfdf":[`*xfdf`],"application/vnd.age":[`age`],"application/vnd.ahead.space":[`ahead`],"application/vnd.airzip.filesecure.azf":[`azf`],"application/vnd.airzip.filesecure.azs":[`azs`],"application/vnd.amazon.ebook":[`azw`],"application/vnd.americandynamics.acc":[`acc`],"application/vnd.amiga.ami":[`ami`],"application/vnd.android.package-archive":[`apk`],"application/vnd.anser-web-certificate-issue-initiation":[`cii`],"application/vnd.anser-web-funds-transfer-initiation":[`fti`],"application/vnd.antix.game-component":[`atx`],"application/vnd.apple.installer+xml":[`mpkg`],"application/vnd.apple.keynote":[`key`],"application/vnd.apple.mpegurl":[`m3u8`],"application/vnd.apple.numbers":[`numbers`],"application/vnd.apple.pages":[`pages`],"application/vnd.apple.pkpass":[`pkpass`],"application/vnd.aristanetworks.swi":[`swi`],"application/vnd.astraea-software.iota":[`iota`],"application/vnd.audiograph":[`aep`],"application/vnd.autodesk.fbx":[`fbx`],"application/vnd.balsamiq.bmml+xml":[`bmml`],"application/vnd.blueice.multipass":[`mpm`],"application/vnd.bmi":[`bmi`],"application/vnd.businessobjects":[`rep`],"application/vnd.chemdraw+xml":[`cdxml`],"application/vnd.chipnuts.karaoke-mmd":[`mmd`],"application/vnd.cinderella":[`cdy`],"application/vnd.citationstyles.style+xml":[`csl`],"application/vnd.claymore":[`cla`],"application/vnd.cloanto.rp9":[`rp9`],"application/vnd.clonk.c4group":[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`],"application/vnd.cluetrust.cartomobile-config":[`c11amc`],"application/vnd.cluetrust.cartomobile-config-pkg":[`c11amz`],"application/vnd.commonspace":[`csp`],"application/vnd.contact.cmsg":[`cdbcmsg`],"application/vnd.cosmocaller":[`cmc`],"application/vnd.crick.clicker":[`clkx`],"application/vnd.crick.clicker.keyboard":[`clkk`],"application/vnd.crick.clicker.palette":[`clkp`],"application/vnd.crick.clicker.template":[`clkt`],"application/vnd.crick.clicker.wordbank":[`clkw`],"application/vnd.criticaltools.wbs+xml":[`wbs`],"application/vnd.ctc-posml":[`pml`],"application/vnd.cups-ppd":[`ppd`],"application/vnd.curl.car":[`car`],"application/vnd.curl.pcurl":[`pcurl`],"application/vnd.dart":[`dart`],"application/vnd.data-vision.rdz":[`rdz`],"application/vnd.dbf":[`dbf`],"application/vnd.dcmp+xml":[`dcmp`],"application/vnd.dece.data":[`uvf`,`uvvf`,`uvd`,`uvvd`],"application/vnd.dece.ttml+xml":[`uvt`,`uvvt`],"application/vnd.dece.unspecified":[`uvx`,`uvvx`],"application/vnd.dece.zip":[`uvz`,`uvvz`],"application/vnd.denovo.fcselayout-link":[`fe_launch`],"application/vnd.dna":[`dna`],"application/vnd.dolby.mlp":[`mlp`],"application/vnd.dpgraph":[`dpg`],"application/vnd.dreamfactory":[`dfac`],"application/vnd.ds-keypoint":[`kpxx`],"application/vnd.dvb.ait":[`ait`],"application/vnd.dvb.service":[`svc`],"application/vnd.dynageo":[`geo`],"application/vnd.ecowin.chart":[`mag`],"application/vnd.enliven":[`nml`],"application/vnd.epson.esf":[`esf`],"application/vnd.epson.msf":[`msf`],"application/vnd.epson.quickanime":[`qam`],"application/vnd.epson.salt":[`slt`],"application/vnd.epson.ssf":[`ssf`],"application/vnd.eszigno3+xml":[`es3`,`et3`],"application/vnd.ezpix-album":[`ez2`],"application/vnd.ezpix-package":[`ez3`],"application/vnd.fdf":[`*fdf`],"application/vnd.fdsn.mseed":[`mseed`],"application/vnd.fdsn.seed":[`seed`,`dataless`],"application/vnd.flographit":[`gph`],"application/vnd.fluxtime.clip":[`ftc`],"application/vnd.framemaker":[`fm`,`frame`,`maker`,`book`],"application/vnd.frogans.fnc":[`fnc`],"application/vnd.frogans.ltf":[`ltf`],"application/vnd.fsc.weblaunch":[`fsc`],"application/vnd.fujitsu.oasys":[`oas`],"application/vnd.fujitsu.oasys2":[`oa2`],"application/vnd.fujitsu.oasys3":[`oa3`],"application/vnd.fujitsu.oasysgp":[`fg5`],"application/vnd.fujitsu.oasysprs":[`bh2`],"application/vnd.fujixerox.ddd":[`ddd`],"application/vnd.fujixerox.docuworks":[`xdw`],"application/vnd.fujixerox.docuworks.binder":[`xbd`],"application/vnd.fuzzysheet":[`fzs`],"application/vnd.genomatix.tuxedo":[`txd`],"application/vnd.geogebra.file":[`ggb`],"application/vnd.geogebra.slides":[`ggs`],"application/vnd.geogebra.tool":[`ggt`],"application/vnd.geometry-explorer":[`gex`,`gre`],"application/vnd.geonext":[`gxt`],"application/vnd.geoplan":[`g2w`],"application/vnd.geospace":[`g3w`],"application/vnd.gmx":[`gmx`],"application/vnd.google-apps.document":[`gdoc`],"application/vnd.google-apps.drawing":[`gdraw`],"application/vnd.google-apps.form":[`gform`],"application/vnd.google-apps.jam":[`gjam`],"application/vnd.google-apps.map":[`gmap`],"application/vnd.google-apps.presentation":[`gslides`],"application/vnd.google-apps.script":[`gscript`],"application/vnd.google-apps.site":[`gsite`],"application/vnd.google-apps.spreadsheet":[`gsheet`],"application/vnd.google-earth.kml+xml":[`kml`],"application/vnd.google-earth.kmz":[`kmz`],"application/vnd.gov.sk.xmldatacontainer+xml":[`xdcf`],"application/vnd.grafeq":[`gqf`,`gqs`],"application/vnd.groove-account":[`gac`],"application/vnd.groove-help":[`ghf`],"application/vnd.groove-identity-message":[`gim`],"application/vnd.groove-injector":[`grv`],"application/vnd.groove-tool-message":[`gtm`],"application/vnd.groove-tool-template":[`tpl`],"application/vnd.groove-vcard":[`vcg`],"application/vnd.hal+xml":[`hal`],"application/vnd.handheld-entertainment+xml":[`zmm`],"application/vnd.hbci":[`hbci`],"application/vnd.hhe.lesson-player":[`les`],"application/vnd.hp-hpgl":[`hpgl`],"application/vnd.hp-hpid":[`hpid`],"application/vnd.hp-hps":[`hps`],"application/vnd.hp-jlyt":[`jlt`],"application/vnd.hp-pcl":[`pcl`],"application/vnd.hp-pclxl":[`pclxl`],"application/vnd.hydrostatix.sof-data":[`sfd-hdstx`],"application/vnd.ibm.minipay":[`mpy`],"application/vnd.ibm.modcap":[`afp`,`listafp`,`list3820`],"application/vnd.ibm.rights-management":[`irm`],"application/vnd.ibm.secure-container":[`sc`],"application/vnd.iccprofile":[`icc`,`icm`],"application/vnd.igloader":[`igl`],"application/vnd.immervision-ivp":[`ivp`],"application/vnd.immervision-ivu":[`ivu`],"application/vnd.insors.igm":[`igm`],"application/vnd.intercon.formnet":[`xpw`,`xpx`],"application/vnd.intergeo":[`i2g`],"application/vnd.intu.qbo":[`qbo`],"application/vnd.intu.qfx":[`qfx`],"application/vnd.ipunplugged.rcprofile":[`rcprofile`],"application/vnd.irepository.package+xml":[`irp`],"application/vnd.is-xpr":[`xpr`],"application/vnd.isac.fcs":[`fcs`],"application/vnd.jam":[`jam`],"application/vnd.jcp.javame.midlet-rms":[`rms`],"application/vnd.jisp":[`jisp`],"application/vnd.joost.joda-archive":[`joda`],"application/vnd.kahootz":[`ktz`,`ktr`],"application/vnd.kde.karbon":[`karbon`],"application/vnd.kde.kchart":[`chrt`],"application/vnd.kde.kformula":[`kfo`],"application/vnd.kde.kivio":[`flw`],"application/vnd.kde.kontour":[`kon`],"application/vnd.kde.kpresenter":[`kpr`,`kpt`],"application/vnd.kde.kspread":[`ksp`],"application/vnd.kde.kword":[`kwd`,`kwt`],"application/vnd.kenameaapp":[`htke`],"application/vnd.kidspiration":[`kia`],"application/vnd.kinar":[`kne`,`knp`],"application/vnd.koan":[`skp`,`skd`,`skt`,`skm`],"application/vnd.kodak-descriptor":[`sse`],"application/vnd.las.las+xml":[`lasxml`],"application/vnd.llamagraphics.life-balance.desktop":[`lbd`],"application/vnd.llamagraphics.life-balance.exchange+xml":[`lbe`],"application/vnd.lotus-1-2-3":[`123`],"application/vnd.lotus-approach":[`apr`],"application/vnd.lotus-freelance":[`pre`],"application/vnd.lotus-notes":[`nsf`],"application/vnd.lotus-organizer":[`org`],"application/vnd.lotus-screencam":[`scm`],"application/vnd.lotus-wordpro":[`lwp`],"application/vnd.macports.portpkg":[`portpkg`],"application/vnd.mapbox-vector-tile":[`mvt`],"application/vnd.mcd":[`mcd`],"application/vnd.medcalcdata":[`mc1`],"application/vnd.mediastation.cdkey":[`cdkey`],"application/vnd.mfer":[`mwf`],"application/vnd.mfmp":[`mfm`],"application/vnd.micrografx.flo":[`flo`],"application/vnd.micrografx.igx":[`igx`],"application/vnd.mif":[`mif`],"application/vnd.mobius.daf":[`daf`],"application/vnd.mobius.dis":[`dis`],"application/vnd.mobius.mbk":[`mbk`],"application/vnd.mobius.mqy":[`mqy`],"application/vnd.mobius.msl":[`msl`],"application/vnd.mobius.plc":[`plc`],"application/vnd.mobius.txf":[`txf`],"application/vnd.mophun.application":[`mpn`],"application/vnd.mophun.certificate":[`mpc`],"application/vnd.mozilla.xul+xml":[`xul`],"application/vnd.ms-artgalry":[`cil`],"application/vnd.ms-cab-compressed":[`cab`],"application/vnd.ms-excel":[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`],"application/vnd.ms-excel.addin.macroenabled.12":[`xlam`],"application/vnd.ms-excel.sheet.binary.macroenabled.12":[`xlsb`],"application/vnd.ms-excel.sheet.macroenabled.12":[`xlsm`],"application/vnd.ms-excel.template.macroenabled.12":[`xltm`],"application/vnd.ms-fontobject":[`eot`],"application/vnd.ms-htmlhelp":[`chm`],"application/vnd.ms-ims":[`ims`],"application/vnd.ms-lrm":[`lrm`],"application/vnd.ms-officetheme":[`thmx`],"application/vnd.ms-outlook":[`msg`],"application/vnd.ms-pki.seccat":[`cat`],"application/vnd.ms-pki.stl":[`*stl`],"application/vnd.ms-powerpoint":[`ppt`,`pps`,`pot`],"application/vnd.ms-powerpoint.addin.macroenabled.12":[`ppam`],"application/vnd.ms-powerpoint.presentation.macroenabled.12":[`pptm`],"application/vnd.ms-powerpoint.slide.macroenabled.12":[`sldm`],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":[`ppsm`],"application/vnd.ms-powerpoint.template.macroenabled.12":[`potm`],"application/vnd.ms-project":[`*mpp`,`mpt`],"application/vnd.ms-visio.viewer":[`vdx`],"application/vnd.ms-word.document.macroenabled.12":[`docm`],"application/vnd.ms-word.template.macroenabled.12":[`dotm`],"application/vnd.ms-works":[`wps`,`wks`,`wcm`,`wdb`],"application/vnd.ms-wpl":[`wpl`],"application/vnd.ms-xpsdocument":[`xps`],"application/vnd.mseq":[`mseq`],"application/vnd.musician":[`mus`],"application/vnd.muvee.style":[`msty`],"application/vnd.mynfc":[`taglet`],"application/vnd.nato.bindingdataobject+xml":[`bdo`],"application/vnd.neurolanguage.nlu":[`nlu`],"application/vnd.nitf":[`ntf`,`nitf`],"application/vnd.noblenet-directory":[`nnd`],"application/vnd.noblenet-sealer":[`nns`],"application/vnd.noblenet-web":[`nnw`],"application/vnd.nokia.n-gage.ac+xml":[`*ac`],"application/vnd.nokia.n-gage.data":[`ngdat`],"application/vnd.nokia.n-gage.symbian.install":[`n-gage`],"application/vnd.nokia.radio-preset":[`rpst`],"application/vnd.nokia.radio-presets":[`rpss`],"application/vnd.novadigm.edm":[`edm`],"application/vnd.novadigm.edx":[`edx`],"application/vnd.novadigm.ext":[`ext`],"application/vnd.oasis.opendocument.chart":[`odc`],"application/vnd.oasis.opendocument.chart-template":[`otc`],"application/vnd.oasis.opendocument.database":[`odb`],"application/vnd.oasis.opendocument.formula":[`odf`],"application/vnd.oasis.opendocument.formula-template":[`odft`],"application/vnd.oasis.opendocument.graphics":[`odg`],"application/vnd.oasis.opendocument.graphics-template":[`otg`],"application/vnd.oasis.opendocument.image":[`odi`],"application/vnd.oasis.opendocument.image-template":[`oti`],"application/vnd.oasis.opendocument.presentation":[`odp`],"application/vnd.oasis.opendocument.presentation-template":[`otp`],"application/vnd.oasis.opendocument.spreadsheet":[`ods`],"application/vnd.oasis.opendocument.spreadsheet-template":[`ots`],"application/vnd.oasis.opendocument.text":[`odt`],"application/vnd.oasis.opendocument.text-master":[`odm`],"application/vnd.oasis.opendocument.text-template":[`ott`],"application/vnd.oasis.opendocument.text-web":[`oth`],"application/vnd.olpc-sugar":[`xo`],"application/vnd.oma.dd2+xml":[`dd2`],"application/vnd.openblox.game+xml":[`obgx`],"application/vnd.openofficeorg.extension":[`oxt`],"application/vnd.openstreetmap.data+xml":[`osm`],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`pptx`],"application/vnd.openxmlformats-officedocument.presentationml.slide":[`sldx`],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":[`ppsx`],"application/vnd.openxmlformats-officedocument.presentationml.template":[`potx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[`xlsx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":[`xltx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[`docx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":[`dotx`],"application/vnd.osgeo.mapguide.package":[`mgp`],"application/vnd.osgi.dp":[`dp`],"application/vnd.osgi.subsystem":[`esa`],"application/vnd.palm":[`pdb`,`pqa`,`oprc`],"application/vnd.pawaafile":[`paw`],"application/vnd.pg.format":[`str`],"application/vnd.pg.osasli":[`ei6`],"application/vnd.picsel":[`efif`],"application/vnd.pmi.widget":[`wg`],"application/vnd.pocketlearn":[`plf`],"application/vnd.powerbuilder6":[`pbd`],"application/vnd.previewsystems.box":[`box`],"application/vnd.procrate.brushset":[`brushset`],"application/vnd.procreate.brush":[`brush`],"application/vnd.procreate.dream":[`drm`],"application/vnd.proteus.magazine":[`mgz`],"application/vnd.publishare-delta-tree":[`qps`],"application/vnd.pvi.ptid1":[`ptid`],"application/vnd.pwg-xhtml-print+xml":[`xhtm`],"application/vnd.quark.quarkxpress":[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`],"application/vnd.rar":[`rar`],"application/vnd.realvnc.bed":[`bed`],"application/vnd.recordare.musicxml":[`mxl`],"application/vnd.recordare.musicxml+xml":[`musicxml`],"application/vnd.rig.cryptonote":[`cryptonote`],"application/vnd.rim.cod":[`cod`],"application/vnd.rn-realmedia":[`rm`],"application/vnd.rn-realmedia-vbr":[`rmvb`],"application/vnd.route66.link66+xml":[`link66`],"application/vnd.sailingtracker.track":[`st`],"application/vnd.seemail":[`see`],"application/vnd.sema":[`sema`],"application/vnd.semd":[`semd`],"application/vnd.semf":[`semf`],"application/vnd.shana.informed.formdata":[`ifm`],"application/vnd.shana.informed.formtemplate":[`itp`],"application/vnd.shana.informed.interchange":[`iif`],"application/vnd.shana.informed.package":[`ipk`],"application/vnd.simtech-mindmapper":[`twd`,`twds`],"application/vnd.smaf":[`mmf`],"application/vnd.smart.teacher":[`teacher`],"application/vnd.software602.filler.form+xml":[`fo`],"application/vnd.solent.sdkm+xml":[`sdkm`,`sdkd`],"application/vnd.spotfire.dxp":[`dxp`],"application/vnd.spotfire.sfs":[`sfs`],"application/vnd.stardivision.calc":[`sdc`],"application/vnd.stardivision.draw":[`sda`],"application/vnd.stardivision.impress":[`sdd`],"application/vnd.stardivision.math":[`smf`],"application/vnd.stardivision.writer":[`sdw`,`vor`],"application/vnd.stardivision.writer-global":[`sgl`],"application/vnd.stepmania.package":[`smzip`],"application/vnd.stepmania.stepchart":[`sm`],"application/vnd.sun.wadl+xml":[`wadl`],"application/vnd.sun.xml.calc":[`sxc`],"application/vnd.sun.xml.calc.template":[`stc`],"application/vnd.sun.xml.draw":[`sxd`],"application/vnd.sun.xml.draw.template":[`std`],"application/vnd.sun.xml.impress":[`sxi`],"application/vnd.sun.xml.impress.template":[`sti`],"application/vnd.sun.xml.math":[`sxm`],"application/vnd.sun.xml.writer":[`sxw`],"application/vnd.sun.xml.writer.global":[`sxg`],"application/vnd.sun.xml.writer.template":[`stw`],"application/vnd.sus-calendar":[`sus`,`susp`],"application/vnd.svd":[`svd`],"application/vnd.symbian.install":[`sis`,`sisx`],"application/vnd.syncml+xml":[`xsm`],"application/vnd.syncml.dm+wbxml":[`bdm`],"application/vnd.syncml.dm+xml":[`xdm`],"application/vnd.syncml.dmddf+xml":[`ddf`],"application/vnd.tao.intent-module-archive":[`tao`],"application/vnd.tcpdump.pcap":[`pcap`,`cap`,`dmp`],"application/vnd.tmobile-livetv":[`tmo`],"application/vnd.trid.tpt":[`tpt`],"application/vnd.triscape.mxs":[`mxs`],"application/vnd.trueapp":[`tra`],"application/vnd.ufdl":[`ufd`,`ufdl`],"application/vnd.uiq.theme":[`utz`],"application/vnd.umajin":[`umj`],"application/vnd.unity":[`unityweb`],"application/vnd.uoml+xml":[`uoml`,`uo`],"application/vnd.vcx":[`vcx`],"application/vnd.visio":[`vsd`,`vst`,`vss`,`vsw`,`vsdx`,`vtx`],"application/vnd.visionary":[`vis`],"application/vnd.vsf":[`vsf`],"application/vnd.wap.wbxml":[`wbxml`],"application/vnd.wap.wmlc":[`wmlc`],"application/vnd.wap.wmlscriptc":[`wmlsc`],"application/vnd.webturbo":[`wtb`],"application/vnd.wolfram.player":[`nbp`],"application/vnd.wordperfect":[`wpd`],"application/vnd.wqd":[`wqd`],"application/vnd.wt.stf":[`stf`],"application/vnd.xara":[`xar`],"application/vnd.xfdl":[`xfdl`],"application/vnd.yamaha.hv-dic":[`hvd`],"application/vnd.yamaha.hv-script":[`hvs`],"application/vnd.yamaha.hv-voice":[`hvp`],"application/vnd.yamaha.openscoreformat":[`osf`],"application/vnd.yamaha.openscoreformat.osfpvg+xml":[`osfpvg`],"application/vnd.yamaha.smaf-audio":[`saf`],"application/vnd.yamaha.smaf-phrase":[`spf`],"application/vnd.yellowriver-custom-menu":[`cmp`],"application/vnd.zul":[`zir`,`zirz`],"application/vnd.zzazz.deck+xml":[`zaz`],"application/x-7z-compressed":[`7z`],"application/x-abiword":[`abw`],"application/x-ace-compressed":[`ace`],"application/x-apple-diskimage":[`*dmg`],"application/x-arj":[`arj`],"application/x-authorware-bin":[`aab`,`x32`,`u32`,`vox`],"application/x-authorware-map":[`aam`],"application/x-authorware-seg":[`aas`],"application/x-bcpio":[`bcpio`],"application/x-bdoc":[`*bdoc`],"application/x-bittorrent":[`torrent`],"application/x-blender":[`blend`],"application/x-blorb":[`blb`,`blorb`],"application/x-bzip":[`bz`],"application/x-bzip2":[`bz2`,`boz`],"application/x-cbr":[`cbr`,`cba`,`cbt`,`cbz`,`cb7`],"application/x-cdlink":[`vcd`],"application/x-cfs-compressed":[`cfs`],"application/x-chat":[`chat`],"application/x-chess-pgn":[`pgn`],"application/x-chrome-extension":[`crx`],"application/x-cocoa":[`cco`],"application/x-compressed":[`*rar`],"application/x-conference":[`nsc`],"application/x-cpio":[`cpio`],"application/x-csh":[`csh`],"application/x-debian-package":[`*deb`,`udeb`],"application/x-dgc-compressed":[`dgc`],"application/x-director":[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`],"application/x-doom":[`wad`],"application/x-dtbncx+xml":[`ncx`],"application/x-dtbook+xml":[`dtb`],"application/x-dtbresource+xml":[`res`],"application/x-dvi":[`dvi`],"application/x-envoy":[`evy`],"application/x-eva":[`eva`],"application/x-font-bdf":[`bdf`],"application/x-font-ghostscript":[`gsf`],"application/x-font-linux-psf":[`psf`],"application/x-font-pcf":[`pcf`],"application/x-font-snf":[`snf`],"application/x-font-type1":[`pfa`,`pfb`,`pfm`,`afm`],"application/x-freearc":[`arc`],"application/x-futuresplash":[`spl`],"application/x-gca-compressed":[`gca`],"application/x-glulx":[`ulx`],"application/x-gnumeric":[`gnumeric`],"application/x-gramps-xml":[`gramps`],"application/x-gtar":[`gtar`],"application/x-hdf":[`hdf`],"application/x-httpd-php":[`php`],"application/x-install-instructions":[`install`],"application/x-ipynb+json":[`ipynb`],"application/x-iso9660-image":[`*iso`],"application/x-iwork-keynote-sffkey":[`*key`],"application/x-iwork-numbers-sffnumbers":[`*numbers`],"application/x-iwork-pages-sffpages":[`*pages`],"application/x-java-archive-diff":[`jardiff`],"application/x-java-jnlp-file":[`jnlp`],"application/x-keepass2":[`kdbx`],"application/x-latex":[`latex`],"application/x-lua-bytecode":[`luac`],"application/x-lzh-compressed":[`lzh`,`lha`],"application/x-makeself":[`run`],"application/x-mie":[`mie`],"application/x-mobipocket-ebook":[`*prc`,`mobi`],"application/x-ms-application":[`application`],"application/x-ms-shortcut":[`lnk`],"application/x-ms-wmd":[`wmd`],"application/x-ms-wmz":[`wmz`],"application/x-ms-xbap":[`xbap`],"application/x-msaccess":[`mdb`],"application/x-msbinder":[`obd`],"application/x-mscardfile":[`crd`],"application/x-msclip":[`clp`],"application/x-msdos-program":[`*exe`],"application/x-msdownload":[`*exe`,`*dll`,`com`,`bat`,`*msi`],"application/x-msmediaview":[`mvb`,`m13`,`m14`],"application/x-msmetafile":[`*wmf`,`*wmz`,`*emf`,`emz`],"application/x-msmoney":[`mny`],"application/x-mspublisher":[`pub`],"application/x-msschedule":[`scd`],"application/x-msterminal":[`trm`],"application/x-mswrite":[`wri`],"application/x-netcdf":[`nc`,`cdf`],"application/x-ns-proxy-autoconfig":[`pac`],"application/x-nzb":[`nzb`],"application/x-perl":[`pl`,`pm`],"application/x-pilot":[`*prc`,`*pdb`],"application/x-pkcs12":[`p12`,`pfx`],"application/x-pkcs7-certificates":[`p7b`,`spc`],"application/x-pkcs7-certreqresp":[`p7r`],"application/x-rar-compressed":[`*rar`],"application/x-redhat-package-manager":[`rpm`],"application/x-research-info-systems":[`ris`],"application/x-sea":[`sea`],"application/x-sh":[`sh`],"application/x-shar":[`shar`],"application/x-shockwave-flash":[`swf`],"application/x-silverlight-app":[`xap`],"application/x-sql":[`*sql`],"application/x-stuffit":[`sit`],"application/x-stuffitx":[`sitx`],"application/x-subrip":[`srt`],"application/x-sv4cpio":[`sv4cpio`],"application/x-sv4crc":[`sv4crc`],"application/x-t3vm-image":[`t3`],"application/x-tads":[`gam`],"application/x-tar":[`tar`],"application/x-tcl":[`tcl`,`tk`],"application/x-tex":[`tex`],"application/x-tex-tfm":[`tfm`],"application/x-texinfo":[`texinfo`,`texi`],"application/x-tgif":[`*obj`],"application/x-ustar":[`ustar`],"application/x-virtualbox-hdd":[`hdd`],"application/x-virtualbox-ova":[`ova`],"application/x-virtualbox-ovf":[`ovf`],"application/x-virtualbox-vbox":[`vbox`],"application/x-virtualbox-vbox-extpack":[`vbox-extpack`],"application/x-virtualbox-vdi":[`vdi`],"application/x-virtualbox-vhd":[`vhd`],"application/x-virtualbox-vmdk":[`vmdk`],"application/x-wais-source":[`src`],"application/x-web-app-manifest+json":[`webapp`],"application/x-x509-ca-cert":[`der`,`crt`,`pem`],"application/x-xfig":[`fig`],"application/x-xliff+xml":[`*xlf`],"application/x-xpinstall":[`xpi`],"application/x-xz":[`xz`],"application/x-zip-compressed":[`*zip`],"application/x-zmachine":[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`],"audio/vnd.dece.audio":[`uva`,`uvva`],"audio/vnd.digital-winds":[`eol`],"audio/vnd.dra":[`dra`],"audio/vnd.dts":[`dts`],"audio/vnd.dts.hd":[`dtshd`],"audio/vnd.lucent.voice":[`lvp`],"audio/vnd.ms-playready.media.pya":[`pya`],"audio/vnd.nuera.ecelp4800":[`ecelp4800`],"audio/vnd.nuera.ecelp7470":[`ecelp7470`],"audio/vnd.nuera.ecelp9600":[`ecelp9600`],"audio/vnd.rip":[`rip`],"audio/x-aac":[`*aac`],"audio/x-aiff":[`aif`,`aiff`,`aifc`],"audio/x-caf":[`caf`],"audio/x-flac":[`flac`],"audio/x-m4a":[`*m4a`],"audio/x-matroska":[`mka`],"audio/x-mpegurl":[`m3u`],"audio/x-ms-wax":[`wax`],"audio/x-ms-wma":[`wma`],"audio/x-pn-realaudio":[`ram`,`ra`],"audio/x-pn-realaudio-plugin":[`rmp`],"audio/x-realaudio":[`*ra`],"audio/x-wav":[`*wav`],"chemical/x-cdx":[`cdx`],"chemical/x-cif":[`cif`],"chemical/x-cmdf":[`cmdf`],"chemical/x-cml":[`cml`],"chemical/x-csml":[`csml`],"chemical/x-xyz":[`xyz`],"image/prs.btif":[`btif`,`btf`],"image/prs.pti":[`pti`],"image/vnd.adobe.photoshop":[`psd`],"image/vnd.airzip.accelerator.azv":[`azv`],"image/vnd.blockfact.facti":[`facti`],"image/vnd.dece.graphic":[`uvi`,`uvvi`,`uvg`,`uvvg`],"image/vnd.djvu":[`djvu`,`djv`],"image/vnd.dvb.subtitle":[`*sub`],"image/vnd.dwg":[`dwg`],"image/vnd.dxf":[`dxf`],"image/vnd.fastbidsheet":[`fbs`],"image/vnd.fpx":[`fpx`],"image/vnd.fst":[`fst`],"image/vnd.fujixerox.edmics-mmr":[`mmr`],"image/vnd.fujixerox.edmics-rlc":[`rlc`],"image/vnd.microsoft.icon":[`ico`],"image/vnd.ms-dds":[`dds`],"image/vnd.ms-modi":[`mdi`],"image/vnd.ms-photo":[`wdp`],"image/vnd.net-fpx":[`npx`],"image/vnd.pco.b16":[`b16`],"image/vnd.tencent.tap":[`tap`],"image/vnd.valve.source.texture":[`vtf`],"image/vnd.wap.wbmp":[`wbmp`],"image/vnd.xiff":[`xif`],"image/vnd.zbrush.pcx":[`pcx`],"image/x-3ds":[`3ds`],"image/x-adobe-dng":[`dng`],"image/x-cmu-raster":[`ras`],"image/x-cmx":[`cmx`],"image/x-freehand":[`fh`,`fhc`,`fh4`,`fh5`,`fh7`],"image/x-icon":[`*ico`],"image/x-jng":[`jng`],"image/x-mrsid-image":[`sid`],"image/x-ms-bmp":[`*bmp`],"image/x-pcx":[`*pcx`],"image/x-pict":[`pic`,`pct`],"image/x-portable-anymap":[`pnm`],"image/x-portable-bitmap":[`pbm`],"image/x-portable-graymap":[`pgm`],"image/x-portable-pixmap":[`ppm`],"image/x-rgb":[`rgb`],"image/x-tga":[`tga`],"image/x-xbitmap":[`xbm`],"image/x-xpixmap":[`xpm`],"image/x-xwindowdump":[`xwd`],"message/vnd.wfa.wsc":[`wsc`],"model/vnd.bary":[`bary`],"model/vnd.cld":[`cld`],"model/vnd.collada+xml":[`dae`],"model/vnd.dwf":[`dwf`],"model/vnd.gdl":[`gdl`],"model/vnd.gtw":[`gtw`],"model/vnd.mts":[`*mts`],"model/vnd.opengex":[`ogex`],"model/vnd.parasolid.transmit.binary":[`x_b`],"model/vnd.parasolid.transmit.text":[`x_t`],"model/vnd.pytha.pyox":[`pyo`,`pyox`],"model/vnd.sap.vds":[`vds`],"model/vnd.usda":[`usda`],"model/vnd.usdz+zip":[`usdz`],"model/vnd.valve.source.compiled-map":[`bsp`],"model/vnd.vtu":[`vtu`],"text/prs.lines.tag":[`dsc`],"text/vnd.curl":[`curl`],"text/vnd.curl.dcurl":[`dcurl`],"text/vnd.curl.mcurl":[`mcurl`],"text/vnd.curl.scurl":[`scurl`],"text/vnd.dvb.subtitle":[`sub`],"text/vnd.familysearch.gedcom":[`ged`],"text/vnd.fly":[`fly`],"text/vnd.fmi.flexstor":[`flx`],"text/vnd.graphviz":[`gv`],"text/vnd.in3d.3dml":[`3dml`],"text/vnd.in3d.spot":[`spot`],"text/vnd.sun.j2me.app-descriptor":[`jad`],"text/vnd.wap.wml":[`wml`],"text/vnd.wap.wmlscript":[`wmls`],"text/x-asm":[`s`,`asm`],"text/x-c":[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`],"text/x-component":[`htc`],"text/x-fortran":[`f`,`for`,`f77`,`f90`],"text/x-handlebars-template":[`hbs`],"text/x-java-source":[`java`],"text/x-lua":[`lua`],"text/x-markdown":[`mkd`],"text/x-nfo":[`nfo`],"text/x-opml":[`opml`],"text/x-org":[`*org`],"text/x-pascal":[`p`,`pas`],"text/x-processing":[`pde`],"text/x-sass":[`sass`],"text/x-scss":[`scss`],"text/x-setext":[`etx`],"text/x-sfv":[`sfv`],"text/x-suse-ymp":[`ymp`],"text/x-uuencode":[`uu`],"text/x-vcalendar":[`vcs`],"text/x-vcard":[`vcf`],"video/vnd.dece.hd":[`uvh`,`uvvh`],"video/vnd.dece.mobile":[`uvm`,`uvvm`],"video/vnd.dece.pd":[`uvp`,`uvvp`],"video/vnd.dece.sd":[`uvs`,`uvvs`],"video/vnd.dece.video":[`uvv`,`uvvv`],"video/vnd.dvb.file":[`dvb`],"video/vnd.fvt":[`fvt`],"video/vnd.mpegurl":[`mxu`,`m4u`],"video/vnd.ms-playready.media.pyv":[`pyv`],"video/vnd.uvvu.mp4":[`uvu`,`uvvu`],"video/vnd.vivo":[`viv`],"video/x-f4v":[`f4v`],"video/x-fli":[`fli`],"video/x-flv":[`flv`],"video/x-m4v":[`m4v`],"video/x-matroska":[`mkv`,`mk3d`,`mks`],"video/x-mng":[`mng`],"video/x-ms-asf":[`asf`,`asx`],"video/x-ms-vob":[`vob`],"video/x-ms-wm":[`wm`],"video/x-ms-wmv":[`wmv`],"video/x-ms-wmx":[`wmx`],"video/x-ms-wvx":[`wvx`],"video/x-msvideo":[`avi`],"video/x-sgi-movie":[`movie`],"video/x-smv":[`smv`],"x-conference/x-cooltalk":[`ice`]};Object.freeze(Uu);const Wu={"application/andrew-inset":[`ez`],"application/appinstaller":[`appinstaller`],"application/applixware":[`aw`],"application/appx":[`appx`],"application/appxbundle":[`appxbundle`],"application/atom+xml":[`atom`],"application/atomcat+xml":[`atomcat`],"application/atomdeleted+xml":[`atomdeleted`],"application/atomsvc+xml":[`atomsvc`],"application/atsc-dwd+xml":[`dwd`],"application/atsc-held+xml":[`held`],"application/atsc-rsat+xml":[`rsat`],"application/automationml-aml+xml":[`aml`],"application/automationml-amlx+zip":[`amlx`],"application/bdoc":[`bdoc`],"application/calendar+xml":[`xcs`],"application/ccxml+xml":[`ccxml`],"application/cdfx+xml":[`cdfx`],"application/cdmi-capability":[`cdmia`],"application/cdmi-container":[`cdmic`],"application/cdmi-domain":[`cdmid`],"application/cdmi-object":[`cdmio`],"application/cdmi-queue":[`cdmiq`],"application/cpl+xml":[`cpl`],"application/cu-seeme":[`cu`],"application/cwl":[`cwl`],"application/dash+xml":[`mpd`],"application/dash-patch+xml":[`mpp`],"application/davmount+xml":[`davmount`],"application/dicom":[`dcm`],"application/docbook+xml":[`dbk`],"application/dssc+der":[`dssc`],"application/dssc+xml":[`xdssc`],"application/ecmascript":[`ecma`],"application/emma+xml":[`emma`],"application/emotionml+xml":[`emotionml`],"application/epub+zip":[`epub`],"application/exi":[`exi`],"application/express":[`exp`],"application/fdf":[`fdf`],"application/fdt+xml":[`fdt`],"application/font-tdpfr":[`pfr`],"application/geo+json":[`geojson`],"application/gml+xml":[`gml`],"application/gpx+xml":[`gpx`],"application/gxf":[`gxf`],"application/gzip":[`gz`],"application/hjson":[`hjson`],"application/hyperstudio":[`stk`],"application/inkml+xml":[`ink`,`inkml`],"application/ipfix":[`ipfix`],"application/its+xml":[`its`],"application/java-archive":[`jar`,`war`,`ear`],"application/java-serialized-object":[`ser`],"application/java-vm":[`class`],"application/javascript":[`*js`],"application/json":[`json`,`map`],"application/json5":[`json5`],"application/jsonml+json":[`jsonml`],"application/ld+json":[`jsonld`],"application/lgr+xml":[`lgr`],"application/lost+xml":[`lostxml`],"application/mac-binhex40":[`hqx`],"application/mac-compactpro":[`cpt`],"application/mads+xml":[`mads`],"application/manifest+json":[`webmanifest`],"application/marc":[`mrc`],"application/marcxml+xml":[`mrcx`],"application/mathematica":[`ma`,`nb`,`mb`],"application/mathml+xml":[`mathml`],"application/mbox":[`mbox`],"application/media-policy-dataset+xml":[`mpf`],"application/mediaservercontrol+xml":[`mscml`],"application/metalink+xml":[`metalink`],"application/metalink4+xml":[`meta4`],"application/mets+xml":[`mets`],"application/mmt-aei+xml":[`maei`],"application/mmt-usd+xml":[`musd`],"application/mods+xml":[`mods`],"application/mp21":[`m21`,`mp21`],"application/mp4":[`*mp4`,`*mpg4`,`mp4s`,`m4p`],"application/msix":[`msix`],"application/msixbundle":[`msixbundle`],"application/msword":[`doc`,`dot`],"application/mxf":[`mxf`],"application/n-quads":[`nq`],"application/n-triples":[`nt`],"application/node":[`cjs`],"application/octet-stream":[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`],"application/oda":[`oda`],"application/oebps-package+xml":[`opf`],"application/ogg":[`ogx`],"application/omdoc+xml":[`omdoc`],"application/onenote":[`onetoc`,`onetoc2`,`onetmp`,`onepkg`,`one`,`onea`],"application/oxps":[`oxps`],"application/p2p-overlay+xml":[`relo`],"application/patch-ops-error+xml":[`xer`],"application/pdf":[`pdf`],"application/pgp-encrypted":[`pgp`],"application/pgp-keys":[`asc`],"application/pgp-signature":[`sig`,`*asc`],"application/pics-rules":[`prf`],"application/pkcs10":[`p10`],"application/pkcs7-mime":[`p7m`,`p7c`],"application/pkcs7-signature":[`p7s`],"application/pkcs8":[`p8`],"application/pkix-attr-cert":[`ac`],"application/pkix-cert":[`cer`],"application/pkix-crl":[`crl`],"application/pkix-pkipath":[`pkipath`],"application/pkixcmp":[`pki`],"application/pls+xml":[`pls`],"application/postscript":[`ai`,`eps`,`ps`],"application/provenance+xml":[`provx`],"application/pskc+xml":[`pskcxml`],"application/raml+yaml":[`raml`],"application/rdf+xml":[`rdf`,`owl`],"application/reginfo+xml":[`rif`],"application/relax-ng-compact-syntax":[`rnc`],"application/resource-lists+xml":[`rl`],"application/resource-lists-diff+xml":[`rld`],"application/rls-services+xml":[`rs`],"application/route-apd+xml":[`rapd`],"application/route-s-tsid+xml":[`sls`],"application/route-usd+xml":[`rusd`],"application/rpki-ghostbusters":[`gbr`],"application/rpki-manifest":[`mft`],"application/rpki-roa":[`roa`],"application/rsd+xml":[`rsd`],"application/rss+xml":[`rss`],"application/rtf":[`rtf`],"application/sbml+xml":[`sbml`],"application/scvp-cv-request":[`scq`],"application/scvp-cv-response":[`scs`],"application/scvp-vp-request":[`spq`],"application/scvp-vp-response":[`spp`],"application/sdp":[`sdp`],"application/senml+xml":[`senmlx`],"application/sensml+xml":[`sensmlx`],"application/set-payment-initiation":[`setpay`],"application/set-registration-initiation":[`setreg`],"application/shf+xml":[`shf`],"application/sieve":[`siv`,`sieve`],"application/smil+xml":[`smi`,`smil`],"application/sparql-query":[`rq`],"application/sparql-results+xml":[`srx`],"application/sql":[`sql`],"application/srgs":[`gram`],"application/srgs+xml":[`grxml`],"application/sru+xml":[`sru`],"application/ssdl+xml":[`ssdl`],"application/ssml+xml":[`ssml`],"application/swid+xml":[`swidtag`],"application/tei+xml":[`tei`,`teicorpus`],"application/thraud+xml":[`tfi`],"application/timestamped-data":[`tsd`],"application/toml":[`toml`],"application/trig":[`trig`],"application/ttml+xml":[`ttml`],"application/ubjson":[`ubj`],"application/urc-ressheet+xml":[`rsheet`],"application/urc-targetdesc+xml":[`td`],"application/voicexml+xml":[`vxml`],"application/wasm":[`wasm`],"application/watcherinfo+xml":[`wif`],"application/widget":[`wgt`],"application/winhlp":[`hlp`],"application/wsdl+xml":[`wsdl`],"application/wspolicy+xml":[`wspolicy`],"application/xaml+xml":[`xaml`],"application/xcap-att+xml":[`xav`],"application/xcap-caps+xml":[`xca`],"application/xcap-diff+xml":[`xdf`],"application/xcap-el+xml":[`xel`],"application/xcap-ns+xml":[`xns`],"application/xenc+xml":[`xenc`],"application/xfdf":[`xfdf`],"application/xhtml+xml":[`xhtml`,`xht`],"application/xliff+xml":[`xlf`],"application/xml":[`xml`,`xsl`,`xsd`,`rng`],"application/xml-dtd":[`dtd`],"application/xop+xml":[`xop`],"application/xproc+xml":[`xpl`],"application/xslt+xml":[`*xsl`,`xslt`],"application/xspf+xml":[`xspf`],"application/xv+xml":[`mxml`,`xhvml`,`xvml`,`xvm`],"application/yang":[`yang`],"application/yin+xml":[`yin`],"application/zip":[`zip`],"application/zip+dotlottie":[`lottie`],"audio/3gpp":[`*3gpp`],"audio/aac":[`adts`,`aac`],"audio/adpcm":[`adp`],"audio/amr":[`amr`],"audio/basic":[`au`,`snd`],"audio/midi":[`mid`,`midi`,`kar`,`rmi`],"audio/mobile-xmf":[`mxmf`],"audio/mp3":[`*mp3`],"audio/mp4":[`m4a`,`mp4a`,`m4b`],"audio/mpeg":[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`],"audio/ogg":[`oga`,`ogg`,`spx`,`opus`],"audio/s3m":[`s3m`],"audio/silk":[`sil`],"audio/wav":[`wav`],"audio/wave":[`*wav`],"audio/webm":[`weba`],"audio/xm":[`xm`],"font/collection":[`ttc`],"font/otf":[`otf`],"font/ttf":[`ttf`],"font/woff":[`woff`],"font/woff2":[`woff2`],"image/aces":[`exr`],"image/apng":[`apng`],"image/avci":[`avci`],"image/avcs":[`avcs`],"image/avif":[`avif`],"image/bmp":[`bmp`,`dib`],"image/cgm":[`cgm`],"image/dicom-rle":[`drle`],"image/dpx":[`dpx`],"image/emf":[`emf`],"image/fits":[`fits`],"image/g3fax":[`g3`],"image/gif":[`gif`],"image/heic":[`heic`],"image/heic-sequence":[`heics`],"image/heif":[`heif`],"image/heif-sequence":[`heifs`],"image/hej2k":[`hej2`],"image/ief":[`ief`],"image/jaii":[`jaii`],"image/jais":[`jais`],"image/jls":[`jls`],"image/jp2":[`jp2`,`jpg2`],"image/jpeg":[`jpg`,`jpeg`,`jpe`],"image/jph":[`jph`],"image/jphc":[`jhc`],"image/jpm":[`jpm`,`jpgm`],"image/jpx":[`jpx`,`jpf`],"image/jxl":[`jxl`],"image/jxr":[`jxr`],"image/jxra":[`jxra`],"image/jxrs":[`jxrs`],"image/jxs":[`jxs`],"image/jxsc":[`jxsc`],"image/jxsi":[`jxsi`],"image/jxss":[`jxss`],"image/ktx":[`ktx`],"image/ktx2":[`ktx2`],"image/pjpeg":[`jfif`],"image/png":[`png`],"image/sgi":[`sgi`],"image/svg+xml":[`svg`,`svgz`],"image/t38":[`t38`],"image/tiff":[`tif`,`tiff`],"image/tiff-fx":[`tfx`],"image/webp":[`webp`],"image/wmf":[`wmf`],"message/disposition-notification":[`disposition-notification`],"message/global":[`u8msg`],"message/global-delivery-status":[`u8dsn`],"message/global-disposition-notification":[`u8mdn`],"message/global-headers":[`u8hdr`],"message/rfc822":[`eml`,`mime`,`mht`,`mhtml`],"model/3mf":[`3mf`],"model/gltf+json":[`gltf`],"model/gltf-binary":[`glb`],"model/iges":[`igs`,`iges`],"model/jt":[`jt`],"model/mesh":[`msh`,`mesh`,`silo`],"model/mtl":[`mtl`],"model/obj":[`obj`],"model/prc":[`prc`],"model/step":[`step`,`stp`,`stpnc`,`p21`,`210`],"model/step+xml":[`stpx`],"model/step+zip":[`stpz`],"model/step-xml+zip":[`stpxz`],"model/stl":[`stl`],"model/u3d":[`u3d`],"model/vrml":[`wrl`,`vrml`],"model/x3d+binary":[`*x3db`,`x3dbz`],"model/x3d+fastinfoset":[`x3db`],"model/x3d+vrml":[`*x3dv`,`x3dvz`],"model/x3d+xml":[`x3d`,`x3dz`],"model/x3d-vrml":[`x3dv`],"text/cache-manifest":[`appcache`,`manifest`],"text/calendar":[`ics`,`ifb`],"text/coffeescript":[`coffee`,`litcoffee`],"text/css":[`css`],"text/csv":[`csv`],"text/html":[`html`,`htm`,`shtml`],"text/jade":[`jade`],"text/javascript":[`js`,`mjs`],"text/jsx":[`jsx`],"text/less":[`less`],"text/markdown":[`md`,`markdown`],"text/mathml":[`mml`],"text/mdx":[`mdx`],"text/n3":[`n3`],"text/plain":[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`],"text/richtext":[`rtx`],"text/rtf":[`*rtf`],"text/sgml":[`sgml`,`sgm`],"text/shex":[`shex`],"text/slim":[`slim`,`slm`],"text/spdx":[`spdx`],"text/stylus":[`stylus`,`styl`],"text/tab-separated-values":[`tsv`],"text/troff":[`t`,`tr`,`roff`,`man`,`me`,`ms`],"text/turtle":[`ttl`],"text/uri-list":[`uri`,`uris`,`urls`],"text/vcard":[`vcard`],"text/vtt":[`vtt`],"text/wgsl":[`wgsl`],"text/xml":[`*xml`],"text/yaml":[`yaml`,`yml`],"video/3gpp":[`3gp`,`3gpp`],"video/3gpp2":[`3g2`],"video/h261":[`h261`],"video/h263":[`h263`],"video/h264":[`h264`],"video/iso.segment":[`m4s`],"video/jpeg":[`jpgv`],"video/jpm":[`*jpm`,`*jpgm`],"video/mj2":[`mj2`,`mjp2`],"video/mp2t":[`ts`,`m2t`,`m2ts`,`mts`],"video/mp4":[`mp4`,`mp4v`,`mpg4`],"video/mpeg":[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`],"video/ogg":[`ogv`],"video/quicktime":[`qt`,`mov`],"video/webm":[`webm`]};Object.freeze(Wu);var Gu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Ku,qu,Ju,Yu=class{constructor(...e){Ku.set(this,new Map),qu.set(this,new Map),Ju.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,r]of Object.entries(e)){n=n.toLowerCase(),r=r.map(e=>e.toLowerCase()),Gu(this,Ju,`f`).has(n)||Gu(this,Ju,`f`).set(n,new Set);let e=Gu(this,Ju,`f`).get(n),i=!0;for(let a of r){let r=a.startsWith(`*`);if(a=r?a.slice(1):a,e?.add(a),i&&Gu(this,qu,`f`).set(n,a),i=!1,r)continue;let o=Gu(this,Ku,`f`).get(a);if(o&&o!=n&&!t)throw Error(`"${n} -> ${a}" conflicts with "${o} -> ${a}". Pass \`force=true\` to override this definition.`);Gu(this,Ku,`f`).set(a,n)}}return this}getType(e){if(typeof e!=`string`)return null;let t=e.replace(/^.*[/\\]/s,``).toLowerCase(),n=t.replace(/^.*\./s,``).toLowerCase(),r=t.length<e.length;return!(n.length<t.length-1)&&r?null:Gu(this,Ku,`f`).get(n)??null}getExtension(e){return typeof e==`string`?(e=e?.split?.(`;`)[0],(e&&Gu(this,qu,`f`).get(e.trim().toLowerCase()))??null):null}getAllExtensions(e){return typeof e==`string`?Gu(this,Ju,`f`).get(e.toLowerCase())??null:null}_freeze(){this.define=()=>{throw Error(`define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances`)},Object.freeze(this);for(let e of Gu(this,Ju,`f`).values())Object.freeze(e);return this}_getTestState(){return{types:Gu(this,Ku,`f`),extensions:Gu(this,qu,`f`)}}};Ku=new WeakMap,qu=new WeakMap,Ju=new WeakMap,new Yu(Wu,Uu)._freeze();var Xu=O(((e,t)=>{t.exports=n,n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3;function n(e,t){if(this.type=``,this.target=null,this.currentTarget=null,this.eventPhase=n.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}n.prototype=Object.create(Object.prototype,{constructor:{value:n},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(e,t,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=e,this.bubbles=t,this.cancelable=n)}}})})),Zu=O(((e,t)=>{var n=Xu();t.exports=r;function r(){n.call(this),this.view=null,this.detail=0}r.prototype=Object.create(n.prototype,{constructor:{value:r},initUIEvent:{value:function(e,t,n,r,i){this.initEvent(e,t,n),this.view=r,this.detail=i}}})})),Qu=O(((e,t)=>{var n=Zu();t.exports=r;function r(){n.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(n.prototype,{constructor:{value:r},initMouseEvent:{value:function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){switch(this.initEvent(e,t,n,r,i),this.screenX=a,this.screenY=o,this.clientX=s,this.clientY=c,this.ctrlKey=l,this.altKey=u,this.shiftKey=d,this.metaKey=f,this.button=p,p){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=m}},getModifierState:{value:function(e){switch(e){case`Alt`:return this.altKey;case`Control`:return this.ctrlKey;case`Shift`:return this.shiftKey;case`Meta`:return this.metaKey;default:return!1}}}})})),$u=O(((e,t)=>{t.exports=E;var n=1,r=3,i=4,a=5,o=7,s=8,c=9,l=11,u=12,d=13,f=14,p=15,m=17,h=18,g=19,_=20,v=21,y=22,b=23,x=24,S=25,C=[null,`INDEX_SIZE_ERR`,null,`HIERARCHY_REQUEST_ERR`,`WRONG_DOCUMENT_ERR`,`INVALID_CHARACTER_ERR`,null,`NO_MODIFICATION_ALLOWED_ERR`,`NOT_FOUND_ERR`,`NOT_SUPPORTED_ERR`,`INUSE_ATTRIBUTE_ERR`,`INVALID_STATE_ERR`,`SYNTAX_ERR`,`INVALID_MODIFICATION_ERR`,`NAMESPACE_ERR`,`INVALID_ACCESS_ERR`,null,`TYPE_MISMATCH_ERR`,`SECURITY_ERR`,`NETWORK_ERR`,`ABORT_ERR`,`URL_MISMATCH_ERR`,`QUOTA_EXCEEDED_ERR`,`TIMEOUT_ERR`,`INVALID_NODE_TYPE_ERR`,`DATA_CLONE_ERR`],w=[null,`INDEX_SIZE_ERR (1): the index is not in the allowed range`,null,`HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model`,`WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required`,`INVALID_CHARACTER_ERR (5): the string contains invalid characters`,null,`NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified`,`NOT_FOUND_ERR (8): the object can not be found here`,`NOT_SUPPORTED_ERR (9): this operation is not supported`,`INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute`,`INVALID_STATE_ERR (11): the object is in an invalid state`,`SYNTAX_ERR (12): the string did not match the expected pattern`,`INVALID_MODIFICATION_ERR (13): the object can not be modified in this way`,`NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML`,`INVALID_ACCESS_ERR (15): the object does not support the operation or argument`,null,`TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type`,`SECURITY_ERR (18): the operation is insecure`,`NETWORK_ERR (19): a network error occurred`,`ABORT_ERR (20): the user aborted an operation`,`URL_MISMATCH_ERR (21): the given URL does not match another URL`,`QUOTA_EXCEEDED_ERR (22): the quota has been exceeded`,`TIMEOUT_ERR (23): a timeout occurred`,`INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation`,`DATA_CLONE_ERR (25): the object can not be cloned.`],T={INDEX_SIZE_ERR:n,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:i,INVALID_CHARACTER_ERR:a,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:o,NOT_FOUND_ERR:s,NOT_SUPPORTED_ERR:c,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:l,SYNTAX_ERR:u,INVALID_MODIFICATION_ERR:d,NAMESPACE_ERR:f,INVALID_ACCESS_ERR:p,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:m,SECURITY_ERR:h,NETWORK_ERR:g,ABORT_ERR:_,URL_MISMATCH_ERR:v,QUOTA_EXCEEDED_ERR:y,TIMEOUT_ERR:b,INVALID_NODE_TYPE_ERR:x,DATA_CLONE_ERR:S};function E(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=w[e],this.name=C[e]}for(var ee in E.prototype.__proto__=Error.prototype,T){var te={value:T[ee]};Object.defineProperty(E,ee,te),Object.defineProperty(E.prototype,ee,te)}})),ed=O((e=>{e.isApiWritable=!globalThis.__domino_frozen__})),td=O((e=>{var t=$u(),n=t,r=ed().isApiWritable;e.NAMESPACE={HTML:`http://www.w3.org/1999/xhtml`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`,MATHML:`http://www.w3.org/1998/Math/MathML`,SVG:`http://www.w3.org/2000/svg`,XLINK:`http://www.w3.org/1999/xlink`},e.IndexSizeError=function(){throw new t(n.INDEX_SIZE_ERR)},e.HierarchyRequestError=function(){throw new t(n.HIERARCHY_REQUEST_ERR)},e.WrongDocumentError=function(){throw new t(n.WRONG_DOCUMENT_ERR)},e.InvalidCharacterError=function(){throw new t(n.INVALID_CHARACTER_ERR)},e.NoModificationAllowedError=function(){throw new t(n.NO_MODIFICATION_ALLOWED_ERR)},e.NotFoundError=function(){throw new t(n.NOT_FOUND_ERR)},e.NotSupportedError=function(){throw new t(n.NOT_SUPPORTED_ERR)},e.InvalidStateError=function(){throw new t(n.INVALID_STATE_ERR)},e.SyntaxError=function(){throw new t(n.SYNTAX_ERR)},e.InvalidModificationError=function(){throw new t(n.INVALID_MODIFICATION_ERR)},e.NamespaceError=function(){throw new t(n.NAMESPACE_ERR)},e.InvalidAccessError=function(){throw new t(n.INVALID_ACCESS_ERR)},e.TypeMismatchError=function(){throw new t(n.TYPE_MISMATCH_ERR)},e.SecurityError=function(){throw new t(n.SECURITY_ERR)},e.NetworkError=function(){throw new t(n.NETWORK_ERR)},e.AbortError=function(){throw new t(n.ABORT_ERR)},e.UrlMismatchError=function(){throw new t(n.URL_MISMATCH_ERR)},e.QuotaExceededError=function(){throw new t(n.QUOTA_EXCEEDED_ERR)},e.TimeoutError=function(){throw new t(n.TIMEOUT_ERR)},e.InvalidNodeTypeError=function(){throw new t(n.INVALID_NODE_TYPE_ERR)},e.DataCloneError=function(){throw new t(n.DATA_CLONE_ERR)},e.nyi=function(){throw Error(`NotYetImplemented`)},e.shouldOverride=function(){throw Error(`Abstract function; should be overriding in subclass.`)},e.assert=function(e,t){if(!e)throw Error(`Assertion failed: `+(t||``)+`
|
|
23
|
+
`+Error().stack)},e.expose=function(e,t){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],writable:r})},e.merge=function(e,t){for(var n in t)e[n]=t[n]},e.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)},e.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(e){return e.toLowerCase()})},e.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(e){return e.toUpperCase()})}})),nd=O(((e,t)=>{var n=Xu(),r=Qu(),i=td();t.exports=a;function a(){}a.prototype={addEventListener:function(e,t,n){if(t){n===void 0&&(n=!1),this._listeners||=Object.create(null),this._listeners[e]||(this._listeners[e]=[]);for(var r=this._listeners[e],i=0,a=r.length;i<a;i++){var o=r[i];if(o.listener===t&&o.capture===n)return}var s={listener:t,capture:n};typeof t==`function`&&(s.f=t),r.push(s)}},removeEventListener:function(e,t,n){if(n===void 0&&(n=!1),this._listeners){var r=this._listeners[e];if(r)for(var i=0,a=r.length;i<a;i++){var o=r[i];if(o.listener===t&&o.capture===n){r.length===1?this._listeners[e]=void 0:r.splice(i,1);return}}}},dispatchEvent:function(e){return this._dispatchEvent(e,!1)},_dispatchEvent:function(e,t){typeof t!=`boolean`&&(t=!1);function a(e,t){var r=t.type,i=t.eventPhase;if(t.currentTarget=e,i!==n.CAPTURING_PHASE&&e._handlers&&e._handlers[r]){var a=e._handlers[r],o;if(typeof a==`function`)o=a.call(t.currentTarget,t);else{var s=a.handleEvent;if(typeof s!=`function`)throw TypeError(`handleEvent property of event handler object isnot a function.`);o=s.call(a,t)}switch(t.type){case`mouseover`:o===!0&&t.preventDefault();break;default:o===!1&&t.preventDefault();break}}var c=e._listeners&&e._listeners[r];if(c){c=c.slice();for(var l=0,u=c.length;l<u;l++){if(t._immediatePropagationStopped)return;var d=c[l];if(!(i===n.CAPTURING_PHASE&&!d.capture||i===n.BUBBLING_PHASE&&d.capture))if(d.f)d.f.call(t.currentTarget,t);else{var f=d.listener.handleEvent;if(typeof f!=`function`)throw TypeError(`handleEvent property of event listener object is not a function.`);f.call(d.listener,t)}}}}(!e._initialized||e._dispatching)&&i.InvalidStateError(),e.isTrusted=t,e._dispatching=!0,e.target=this;for(var o=[],s=this.parentNode;s;s=s.parentNode)o.push(s);e.eventPhase=n.CAPTURING_PHASE;for(var c=o.length-1;c>=0&&(a(o[c],e),!e._propagationStopped);c--);if(e._propagationStopped||(e.eventPhase=n.AT_TARGET,a(this,e)),e.bubbles&&!e._propagationStopped){e.eventPhase=n.BUBBLING_PHASE;for(var l=0,u=o.length;l<u&&(a(o[l],e),!e._propagationStopped);l++);}if(e._dispatching=!1,e.eventPhase=n.AT_TARGET,e.currentTarget=null,t&&!e.defaultPrevented&&e instanceof r)switch(e.type){case`mousedown`:this._armed={x:e.clientX,y:e.clientY,t:e.timeStamp};break;case`mouseout`:case`mouseover`:this._armed=null;break;case`mouseup`:this._isClick(e)&&this._doClick(e),this._armed=null;break}return!e.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type===`mouseup`&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1e3&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(!this._click_in_progress){this._click_in_progress=!0;for(var t=this;t&&!t._post_click_activation_steps;)t=t.parentNode;t&&t._pre_click_activation_steps&&t._pre_click_activation_steps();var n=this.ownerDocument.createEvent(`MouseEvent`);n.initMouseEvent(`click`,!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var r=this._dispatchEvent(n,!0);t&&(r?t._post_click_activation_steps&&t._post_click_activation_steps(n):t._cancelled_activation_steps&&t._cancelled_activation_steps())}},_setEventHandler:function(e,t){this._handlers||=Object.create(null),this._handlers[e]=t},_getEventHandler:function(e){return this._handlers&&this._handlers[e]||null}}})),rd=O(((e,t)=>{var n=td(),r=t.exports={valid:function(e){return n.assert(e,`list falsy`),n.assert(e._previousSibling,`previous falsy`),n.assert(e._nextSibling,`next falsy`),!0},insertBefore:function(e,t){n.assert(r.valid(e)&&r.valid(t));var i=e,a=e._previousSibling,o=t,s=t._previousSibling;i._previousSibling=s,a._nextSibling=o,s._nextSibling=i,o._previousSibling=a,n.assert(r.valid(e)&&r.valid(t))},replace:function(e,t){n.assert(r.valid(e)&&(t===null||r.valid(t))),t!==null&&r.insertBefore(t,e),r.remove(e),n.assert(r.valid(e)&&(t===null||r.valid(t)))},remove:function(e){n.assert(r.valid(e));var t=e._previousSibling;if(t!==e){var i=e._nextSibling;t._nextSibling=i,i._previousSibling=t,e._previousSibling=e._nextSibling=e,n.assert(r.valid(e))}}}})),id=O(((e,t)=>{t.exports={serializeOne:g,ɵescapeMatchingClosingTag:f,ɵescapeClosingCommentTag:m,ɵescapeProcessingInstructionContent:h};var n=td(),r=n.NAMESPACE,i={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},a={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={};let s=/[&<>\u00A0]/g,c=/[&"<>\u00A0]/g;function l(e){return s.test(e)?e.replace(s,e=>{switch(e){case`&`:return`&`;case`<`:return`<`;case`>`:return`>`;case`\xA0`:return` `}}):e}function u(e){return c.test(e)?e.replace(c,e=>{switch(e){case`<`:return`<`;case`>`:return`>`;case`&`:return`&`;case`"`:return`"`;case`\xA0`:return` `}}):e}function d(e){var t=e.namespaceURI;return t?t===r.XML?`xml:`+e.localName:t===r.XLINK?`xlink:`+e.localName:t===r.XMLNS?e.localName===`xmlns`?`xmlns`:`xmlns:`+e.localName:e.name:e.localName}function f(e,t){let n=`</`+t;if(!e.toLowerCase().includes(n))return e;let r=[...e],i=e.matchAll(new RegExp(n,`ig`));for(let e of i)r[e.index]=`<`;return r.join(``)}let p=/--!?>/;function m(e){return p.test(e)?e.replace(/(--\!?)>/g,`$1>`):e}function h(e){return e.includes(`>`)?e.replaceAll(`>`,`>`):e}function g(e,t){var s=``;switch(e.nodeType){case 1:var c=e.namespaceURI,p=c===r.HTML,g=p||c===r.SVG||c===r.MATHML?e.localName:e.tagName;s+=`<`+g;for(var _=0,v=e._numattrs;_<v;_++){var y=e._attr(_);s+=` `+d(y),y.value!==void 0&&(s+=`="`+u(y.value)+`"`)}if(s+=`>`,!(p&&a[g])){var b=e.serialize();i[g.toUpperCase()]&&(b=f(b,g)),p&&o[g]&&b.charAt(0)===`
|
|
24
24
|
`&&(s+=`
|
|
25
|
-
`),s+=b,s+=`</`+g+`>`}break;case 3:case 4:var x=t.nodeType===1&&t.namespaceURI===r.HTML?t.tagName:``;i[x]||x===`NOSCRIPT`&&t.ownerDocument._scripting_enabled?s+=e.data:s+=l(e.data);break;case 8:s+=`<!--`+m(e.data)+`-->`;break;case 7:let S=h(e.data);s+=`<?`+e.target+` `+S+`?>`;break;case 10:s+=`<!DOCTYPE `+e.name,s+=`>`;break;default:n.InvalidStateError()}return s}})),Cu=E(((e,t)=>{t.exports=o;var n=bu(),r=xu(),i=Su(),a=yu();function o(){n.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var s=o.ELEMENT_NODE=1,c=o.ATTRIBUTE_NODE=2,l=o.TEXT_NODE=3,u=o.CDATA_SECTION_NODE=4,d=o.ENTITY_REFERENCE_NODE=5,f=o.ENTITY_NODE=6,p=o.PROCESSING_INSTRUCTION_NODE=7,m=o.COMMENT_NODE=8,h=o.DOCUMENT_NODE=9,g=o.DOCUMENT_TYPE_NODE=10,_=o.DOCUMENT_FRAGMENT_NODE=11,v=o.NOTATION_NODE=12,y=o.DOCUMENT_POSITION_DISCONNECTED=1,b=o.DOCUMENT_POSITION_PRECEDING=2,x=o.DOCUMENT_POSITION_FOLLOWING=4,S=o.DOCUMENT_POSITION_CONTAINS=8,C=o.DOCUMENT_POSITION_CONTAINED_BY=16,w=o.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;o.prototype=Object.create(n.prototype,{baseURI:{get:a.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===s?this.parentNode:null}},hasChildNodes:{value:a.shouldOverride},firstChild:{get:a.shouldOverride},lastChild:{get:a.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===o.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,n=this.firstChild;n!==null;n=n.nextSibling)n.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(e,t,n){var r=this,i,o;if(!e.nodeType)throw TypeError(`not a node`);switch(r.nodeType){case h:case _:case s:break;default:a.HierarchyRequestError()}switch(e.isAncestor(r)&&a.HierarchyRequestError(),(t!==null||!n)&&t.parentNode!==r&&a.NotFoundError(),e.nodeType){case _:case g:case s:case l:case p:case m:break;default:a.HierarchyRequestError()}if(r.nodeType===h)switch(e.nodeType){case l:a.HierarchyRequestError();break;case _:switch(e._countChildrenOfType(l)>0&&a.HierarchyRequestError(),e._countChildrenOfType(s)){case 0:break;case 1:if(t!==null)for(n&&t.nodeType===g&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===g&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;default:a.HierarchyRequestError()}break;case s:if(t!==null)for(n&&t.nodeType===g&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===g&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;case g:if(t===null)r._countChildrenOfType(s)&&a.HierarchyRequestError();else for(o=r.firstChild;o!==null&&o!==t;o=o.nextSibling)o.nodeType===s&&a.HierarchyRequestError();i=r._countChildrenOfType(g),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==g)&&a.HierarchyRequestError();break}else e.nodeType===g&&a.HierarchyRequestError()}},insertBefore:{value:function(e,t){var n=this;n._ensureInsertValid(e,t,!0);var r=t;return r===e&&(r=e.nextSibling),n.doc.adoptNode(e),e._insertOrReplace(n,r,!1),e}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(e){var t=this;if(!e.nodeType)throw TypeError(`not a node`);return e.parentNode!==t&&a.NotFoundError(),e.remove(),e}},replaceChild:{value:function(e,t){var n=this;return n._ensureInsertValid(e,t,!1),e.doc!==n.doc&&n.doc.adoptNode(e),e._insertOrReplace(n,t,!0),t}},contains:{value:function(e){return e===null?!1:this===e?!0:(this.compareDocumentPosition(e)&C)!==0}},compareDocumentPosition:{value:function(e){if(this===e)return 0;if(this.doc!==e.doc||this.rooted!==e.rooted)return y+w;for(var t=[],n=[],r=this;r!==null;r=r.parentNode)t.push(r);for(r=e;r!==null;r=r.parentNode)n.push(r);if(t.reverse(),n.reverse(),t[0]!==n[0])return y+w;r=Math.min(t.length,n.length);for(var i=1;i<r;i++)if(t[i]!==n[i])return t[i].index<n[i].index?x:b;return t.length<n.length?x+C:b+S}},isSameNode:{value:function(e){return this===e}},isEqualNode:{value:function(e){if(!e||e.nodeType!==this.nodeType||!this.isEqual(e))return!1;for(var t=this.firstChild,n=e.firstChild;t&&n;t=t.nextSibling,n=n.nextSibling)if(!t.isEqualNode(n))return!1;return t===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var n=this.firstChild;n!==null;n=n.nextSibling)t._appendChild(n.cloneNode(!0));return t}},lookupPrefix:{value:function(e){var t;if(e===``||e==null)return null;switch(this.nodeType){case s:return this._lookupNamespacePrefix(e,this);case h:return t=this.documentElement,t?t.lookupPrefix(e):null;case f:case v:case _:case g:return null;case c:return t=this.ownerElement,t?t.lookupPrefix(e):null;default:return t=this.parentElement,t?t.lookupPrefix(e):null}}},lookupNamespaceURI:{value:function(e){(e===``||e===void 0)&&(e=null);var t;switch(this.nodeType){case s:return a.shouldOverride();case h:return t=this.documentElement,t?t.lookupNamespaceURI(e):null;case f:case v:case g:case _:return null;case c:return t=this.ownerElement,t?t.lookupNamespaceURI(e):null;default:return t=this.parentElement,t?t.lookupNamespaceURI(e):null}}},isDefaultNamespace:{value:function(e){return(e===``||e===void 0)&&(e=null),this.lookupNamespaceURI(null)===e}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var n=0;n<t.length;n++)t[n]._index=n;a.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&a.WrongDocumentError()}},removeChildren:{value:a.shouldOverride},_insertOrReplace:{value:function(e,t,n){var i=this,o,s;i.nodeType===_&&i.rooted&&a.HierarchyRequestError(),e._childNodes&&(o=t===null?e._childNodes.length:t.index,i.parentNode===e&&i.index<o&&o--),n&&(t.rooted&&t.doc.mutateRemove(t),t.parentNode=null);var c=t;c===null&&(c=e.firstChild);var l=i.rooted&&e.rooted;if(i.nodeType===_){for(var u=[0,n?1:0],d,f=i.firstChild;f!==null;f=d)d=f.nextSibling,u.push(f),f.parentNode=e;var p=u.length;if(n?r.replace(c,p>2?u[2]:null):p>2&&c!==null&&r.insertBefore(u[2],c),e._childNodes)for(u[0]=t===null?e._childNodes.length:t._index,e._childNodes.splice.apply(e._childNodes,u),s=2;s<p;s++)u[s]._index=u[0]+(s-2);else e._firstChild===t&&(p>2?e._firstChild=u[2]:n&&(e._firstChild=null));if(i._childNodes?i._childNodes.length=0:i._firstChild=null,e.rooted)for(e.modify(),s=2;s<p;s++)e.doc.mutateInsert(u[s])}else{if(t===i)return;l?i._remove():i.parentNode&&i.remove(),i.parentNode=e,n?(r.replace(c,i),e._childNodes?(i._index=o,e._childNodes[o]=i):e._firstChild===t&&(e._firstChild=i)):(c!==null&&r.insertBefore(i,c),e._childNodes?(i._index=o,e._childNodes.splice(o,0,i)):e._firstChild===t&&(e._firstChild=i)),l?(e.modify(),e.doc.mutateMove(i)):e.rooted&&(e.modify(),e.doc.mutateInsert(i))}}},lastModTime:{get:function(){return this._lastModTime||=this.doc.modclock,this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&=e}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===o.TEXT_NODE){if(t.nodeValue===``){this.removeChild(t);continue}var n=t.previousSibling;n!==null&&n.nodeType===o.TEXT_NODE&&(n.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e=``,t=this.firstChild;t!==null;t=t.nextSibling)e+=i.serializeOne(t,this);return e}},outerHTML:{get:function(){return i.serializeOne(this,{nodeType:0})},set:a.nyi},ELEMENT_NODE:{value:s},ATTRIBUTE_NODE:{value:c},TEXT_NODE:{value:l},CDATA_SECTION_NODE:{value:u},ENTITY_REFERENCE_NODE:{value:d},ENTITY_NODE:{value:f},PROCESSING_INSTRUCTION_NODE:{value:p},COMMENT_NODE:{value:m},DOCUMENT_NODE:{value:h},DOCUMENT_TYPE_NODE:{value:g},DOCUMENT_FRAGMENT_NODE:{value:_},NOTATION_NODE:{value:v},DOCUMENT_POSITION_DISCONNECTED:{value:y},DOCUMENT_POSITION_PRECEDING:{value:b},DOCUMENT_POSITION_FOLLOWING:{value:x},DOCUMENT_POSITION_CONTAINS:{value:S},DOCUMENT_POSITION_CONTAINED_BY:{value:C},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:w}})})),wu=E(((e,t)=>{t.exports=class extends Array{constructor(e){if(super(e&&e.length||0),e)for(var t in e)this[t]=e[t]}item(e){return this[e]||null}}})),Tu=E(((e,t)=>{function n(e){return this[e]||null}function r(e){return e||=[],e.item=n,e}t.exports=r})),Eu=E(((e,t)=>{var n;try{n=wu()}catch{n=Tu()}t.exports=n})),Du=E(((e,t)=>{t.exports=i;var n=Cu(),r=Eu();function i(){n.call(this),this._firstChild=this._childNodes=null}i.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,n=this._childNodes=new r;if(e)do n.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var e=this.rooted?this.ownerDocument:null,t=this.firstChild,n;t!==null;)n=t,t=n.nextSibling,e&&e.mutateRemove(n),n.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})})),Ou=E((e=>{e.isValidName=h,e.isValidQName=g;var t=/^[_:A-Za-z][-.:\w]+$/,n=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,r=`_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�`,i=`-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`,c=RegExp(`^[`+o+`][`+s+`]*$`),l=RegExp(`^(`+a+`|`+a+`:`+a+`)$`),u=/[\uD800-\uDB7F\uDC00-\uDFFF]/,d=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,f=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;r+=`\ud800--\udfff`,i+=`\ud800--\udfff`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`;var p=RegExp(`^[`+o+`][`+s+`]*$`),m=RegExp(`^(`+a+`|`+a+`:`+a+`)$`);function h(e){if(t.test(e)||c.test(e))return!0;if(!u.test(e)||!p.test(e))return!1;var n=e.match(d),r=e.match(f);return r!==null&&2*r.length===n.length}function g(e){if(n.test(e)||l.test(e))return!0;if(!u.test(e)||!m.test(e))return!1;var t=e.match(d),r=e.match(f);return r!==null&&2*r.length===t.length}})),ku=E((e=>{var t=yu();e.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(e){t[e.value||e]=e.alias||e});var r=e.missing;r===void 0&&(r=null);var i=e.invalid;return i===void 0&&(i=r),{get:function(){var n=this._getattr(e.name);return n===null?r:(n=t[n.toLowerCase()],n===void 0?i===null?n:i:n)},set:function(t){this._setattr(e.name,t)}}}else if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(t){t?this._setattr(e.name,``):this.removeAttribute(e.name)}};else if(e.type===Number||e.type===`long`||e.type===`unsigned long`||e.type===`limited unsigned long with fallback`)return n(e);else if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||``},set:function(t){e.treatNullAsEmptyString&&t===null&&(t=``),this._setattr(e.name,t)}};else if(typeof e.type==`function`)return e.type(e.name,e);throw Error(`Invalid attribute definition`)};function n(e){var n=typeof e.default==`function`?e.default:typeof e.default==`number`?function(){return e.default}:function(){t.assert(!1,typeof e.default)},r=e.type===`unsigned long`,i=e.type===`long`,a=e.type===`limited unsigned long with fallback`,o=e.min,s=e.max,c=e.setmin;return o===void 0&&(r&&(o=0),i&&(o=-2147483648),a&&(o=1)),s===void 0&&(r||i||a)&&(s=2147483647),{get:function(){var t=this._getattr(e.name),c=e.float?parseFloat(t):parseInt(t,10);if(t===null||!isFinite(c)||o!==void 0&&c<o||s!==void 0&&c>s)return n.call(this);if(r||i||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(t))return n.call(this);c|=0}return c},set:function(o){e.float||(o=Math.floor(o)),c!==void 0&&o<c&&t.IndexSizeError(e.name+` set to `+o),r?o=o<0||o>2147483647?n.call(this):o|0:a?o=o<1||o>2147483647?n.call(this):o|0:i&&(o=o<-2147483648||o>2147483647?n.call(this):o|0),this._setattr(e.name,String(o))}}}e.registerChangeHandler=function(e,t,n){var r=e.prototype;Object.prototype.hasOwnProperty.call(r,`_attributeChangeHandlers`)||(r._attributeChangeHandlers=Object.create(r._attributeChangeHandlers||null)),r._attributeChangeHandlers[t]=n}})),Au=E(((e,t)=>{t.exports=r;var n=Cu();function r(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}r.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){for(var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t=e.nodeType===n.DOCUMENT_NODE?e.documentElement:e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})})),ju=E(((e,t)=>{var n=yu();t.exports=r;function r(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue=``,this._update()}Object.defineProperties(r.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=s(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){return e=String(e),s(this).indexOf(e)>-1}},add:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]);e.indexOf(r)<0&&e.push(r)}this._update(e)}},remove:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]),i=e.indexOf(r);i>-1&&e.splice(i,1)}this._update(e)}},toggle:{value:function(e,t){return e=a(e),this.contains(e)?t===void 0||t===!1?(this.remove(e),!1):!0:t===void 0||t===!0?(this.add(e),!0):!1}},replace:{value:function(e,t){String(t)===``&&n.SyntaxError(),e=a(e),t=a(t);var r=s(this),i=r.indexOf(e);if(i<0)return!1;var o=r.indexOf(t);return o<0?r[i]=t:i<o?(r[i]=t,r.splice(o,1)):r.splice(i,1),this._update(r),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(i(this,e),this._setString(e.join(` `).trim())):i(this,s(this)),this._lastStringValue=this._getString()}}});function i(e,t){var n=e._length,r;for(e._length=t.length,r=0;r<t.length;r++)e[r]=t[r];for(;r<n;r++)e[r]=void 0}function a(e){return e=String(e),e===``&&n.SyntaxError(),/[ \t\r\n\f]/.test(e)&&n.InvalidCharacterError(),e}function o(e){for(var t=e._length,n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function s(e){var t=e._getString();if(t===e._lastStringValue)return o(e);var n=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,``);if(n===``)return[];var r=Object.create(null);return n.split(/[ \t\r\n\f]+/g).filter(function(e){var t=`$`+e;return r[t]?!1:(r[t]=!0,!0)})}})),Mu=E(((e,t)=>{var n=Object.create(null,{location:{get:function(){throw Error(`window.location is not supported.`)}}}),r=function(e,t){return e.compareDocumentPosition(t)},i=function(e,t){return r(e,t)&2?1:-1},a=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},o=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},s=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},c=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},l=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},u=function(e){if(!e)return e;var t=e[0];return t===`"`||t===`'`?(e=e[e.length-1]===t?e.slice(1,-1):e.slice(1),e.replace(x.str_escape,function(e){var t=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(e);if(!t)return e.slice(1);if(t[2])return``;var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})):x.ident.test(e)?d(e):e},d=function(e){return e.replace(x.escape,function(e){var t=/^\\([0-9A-Fa-f]+)/.exec(e);if(!t)return e[1];var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},f=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var n=this.length;n--;)if(this[n]===t)return n;return-1}})(),p=function(e,t){var n=x.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(n)},m=function(e,t,n){return e=e.source,e=e.replace(t,n.source||n),new RegExp(e)},h=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,``).replace(/(?:\/+|\/*#.*?)$/,``).split(`/`,t).join(`/`)},g=function(e,t){var n=e.replace(/\s+/g,``),r;return n===`even`?n=`2n+0`:n===`odd`?n=`2n+1`:n.indexOf(`n`)===-1&&(n=`0n`+n),r=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(n),{group:r[1]===`-`?-(r[2]||1):+(r[2]||1),offset:r[4]?r[3]===`-`?-r[4]:+r[4]:0}},_=function(e,t,n){var r=g(e),i=r.group,u=r.offset,d=n?c:s,f=n?o:a;return function(e){if(l(e))for(var n=d(e.parentNode),r=0;n;){if(t(n,e)&&r++,n===e)return r-=u,i&&r?r%i===0&&r<0==i<0:!r;n=f(n)}}},v={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,n,r){return t=y[t],function(i){var a;switch(e){case`for`:a=i.htmlFor;break;case`class`:a=i.className,a===``&&i.getAttribute(`class`)==null&&(a=null);break;case`href`:case`src`:a=i.getAttribute(e,2);break;case`title`:a=i.getAttribute(`title`)||null;break;case`id`:case`lang`:case`dir`:case`accessKey`:case`hidden`:case`tabIndex`:case`style`:if(i.getAttribute){a=i.getAttribute(e);break}default:if(i.hasAttribute&&!i.hasAttribute(e))break;a=i[e]==null?i.getAttribute&&i.getAttribute(e):i[e];break}if(a!=null)return a+=``,r&&(a=a.toLowerCase(),n=n.toLowerCase()),t(a,n)}},":first-child":function(e){return!o(e)&&l(e)},":last-child":function(e){return!a(e)&&l(e)},":only-child":function(e){return!o(e)&&!a(e)&&l(e)},":nth-child":function(e,t){return _(e,function(){return!0},t)},":nth-last-child":function(e){return v[`:nth-child`](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=ee(e);return function(e){return!t(e)}},":first-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=o(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=a(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return v[`:first-of-type`](e)&&v[`:last-of-type`](e)},":nth-of-type":function(e,t){return _(e,function(e,t){return e.nodeName===t.nodeName},t)},":nth-last-of-type":function(e){return v[`:nth-of-type`](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!v[`:checked`](e)},":enabled":function(e){return!e.disabled&&e.type!==`hidden`},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===n.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return ee(e)},":matches":function(e){return v[`:is`](e)},":nth-match":function(e,t){var n=e.split(/\s*,\s*/);return _(n.shift(),ee(n.join(`,`)),t)},":nth-last-match":function(e){return v[`:nth-match`](e,!0)},":links-here":function(e){return e+``==n.location+``},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var n=t||e.ownerDocument;return n.nodeType===9?e===n.documentElement:e===n},":any-link":function(e){return typeof e.href==`string`},":local-link":function(e){if(e.nodeName)return e.href&&e.host===n.location.host;var t=+e+1;return function(e){if(e.href){var r=n.location+``,i=e+``;return h(r,t)===h(i,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!v[`:valid`](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!v[`:in-range`](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute(`contenteditable`),n=e.contentEditable,r=e.nodeName.toLowerCase();return r=r!==`input`&&r!==`textarea`,(r||e.disabled)&&t==null&&n!==`true`},":read-write":function(e){return!v[`:read-only`](e)},":hover":function(){throw Error(`:hover is not supported.`)},":active":function(){throw Error(`:active is not supported.`)},":link":function(){throw Error(`:link is not supported.`)},":visited":function(){throw Error(`:visited is not supported.`)},":column":function(){throw Error(`:column is not supported.`)},":nth-column":function(){throw Error(`:nth-column is not supported.`)},":nth-last-column":function(){throw Error(`:nth-last-column is not supported.`)},":current":function(){throw Error(`:current is not supported.`)},":past":function(){throw Error(`:past is not supported.`)},":future":function(){throw Error(`:future is not supported.`)},":contains":function(e){return function(t){return(t.innerText||t.textContent||t.value||``).indexOf(e)!==-1}},":has":function(e){return function(t){return te(e,t).length>0}}},y={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var n,r,i,a;for(r=0;;r=n+1){if(n=e.indexOf(t,r),n===-1)return!1;if(i=e[n-1],a=e[n+t.length],(!i||i===` `)&&(!a||a===` `))return!0}},"|=":function(e,t){var n=e.indexOf(t),r;if(n===0)return r=e[n+t.length],r===`-`||!r},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var n=e.lastIndexOf(t);return n!==-1&&n+t.length===e.length},"!=":function(e,t){return e!==t}},b={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=o(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=o(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var n;function r(e){for(var t=e.ownerDocument.getElementsByTagName(`*`),i=t.length;i--;)if(n=t[i],r.test(e))return n=null,!0;n=null}return r.combinator=function(r){if(!(!n||!n.getAttribute)){var i=n.getAttribute(t)||``;if(i[0]===`#`&&(i=i.substring(1)),i===r.id&&e(n))return n}},r}},x={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};x.cssid=m(x.cssid,`nonascii`,x.nonascii),x.cssid=m(x.cssid,`escape`,x.escape),x.qname=m(x.qname,`cssid`,x.cssid),x.simple=m(x.simple,`cssid`,x.cssid),x.ref=m(x.ref,`cssid`,x.cssid),x.attr=m(x.attr,`cssid`,x.cssid),x.pseudo=m(x.pseudo,`cssid`,x.cssid),x.inside=m(x.inside,`[^"'>]*`,x.inside),x.attr=m(x.attr,`inside`,p(`\\[`,`\\]`)),x.pseudo=m(x.pseudo,`inside`,p(`\\(`,`\\)`)),x.simple=m(x.simple,`pseudo`,x.pseudo),x.simple=m(x.simple,`attr`,x.attr),x.ident=m(x.ident,`cssid`,x.cssid),x.str_escape=m(x.str_escape,`escape`,x.escape);var S=function(e){for(var t=e.replace(/^\s+|\s+$/g,``),n,r=[],i=[],a,o,s,c,l;t;){if(s=x.qname.exec(t))t=t.substring(s[0].length),o=d(s[1]),i.push(C(o,!0));else if(s=x.simple.exec(t))t=t.substring(s[0].length),o=`*`,i.push(C(o,!0)),i.push(C(s));else throw SyntaxError(`Invalid selector.`);for(;s=x.simple.exec(t);)t=t.substring(s[0].length),i.push(C(s));if(t[0]===`!`&&(t=t.substring(1),a=E(),a.qname=o,i.push(a.simple)),s=x.ref.exec(t)){t=t.substring(s[0].length),l=b.ref(w(i),d(s[1])),r.push(l.combinator),i=[];continue}if(s=x.combinator.exec(t)){if(t=t.substring(s[0].length),c=s[1]||s[2]||s[3],c===`,`){r.push(b.noop(w(i)));break}}else c=`noop`;if(!b[c])throw SyntaxError(`Bad combinator.`);r.push(b[c](w(i))),i=[]}return n=T(r),n.qname=o,n.sel=t,a&&(a.lname=n.qname,a.test=n,a.qname=a.qname,a.sel=n.sel,n=a),l&&(l.test=n,l.qname=n.qname,l.sel=n.sel,n=l),n},C=function(e,t){if(t)return e===`*`?v[`*`]:v.type(e);if(e[1])return e[1][0]===`.`?v.attr(`class`,`~=`,d(e[1].substring(1)),!1):v.attr(`id`,`=`,d(e[1].substring(1)),!1);if(e[2])return e[3]?v[d(e[2])](u(e[3])):v[d(e[2])];if(e[4]){var n=e[6],r=/["'\s]\s*I$/i.test(n);return r&&(n=n.replace(/\s*I$/i,``)),v.attr(d(e[4]),e[5]||`-`,u(n),r)}throw SyntaxError(`Unknown Selector.`)},w=function(e){var t=e.length,n;return t<2?e[0]:function(r){if(r){for(n=0;n<t;n++)if(!e[n](r))return;return!0}}},T=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var n=e.length;n--;)if(!(t=e[n](t)))return;return!0}},E=function(){var e;function t(n){for(var r=n.ownerDocument.getElementsByTagName(t.lname),i=r.length;i--;)if(t.test(r[i])&&e===n)return e=null,!0;e=null}return t.simple=function(t){return e=t,!0},t},ee=function(e){for(var t=S(e),n=[t];t.sel;)t=S(t.sel),n.push(t);return n.length<2?t:function(e){for(var t=n.length,r=0;r<t;r++)if(n[r](e))return!0}},te=function(e,t){for(var n=[],r=S(e),a=t.getElementsByTagName(r.qname),o=0,s;s=a[o++];)r(s)&&n.push(s);if(r.sel){for(;r.sel;)for(r=S(r.sel),a=t.getElementsByTagName(r.qname),o=0;s=a[o++];)r(s)&&f.call(n,s)===-1&&n.push(s);n.sort(i)}return n};t.exports=e=function(e,t){var n,r;if(t.nodeType!==11&&e.indexOf(` `)===-1){if(e[0]===`#`&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(n=e.substring(1),!t.doc._hasMultipleElementsWithId(n)))return r=t.doc.getElementById(n),r?[r]:[];if(e[0]===`.`&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return te(e,t)},e.selectors=v,e.operators=y,e.combinators=b,e.matches=function(e,t){var n={sel:t};do if(n=S(n.sel),n(e))return!0;while(n.sel);return!1}})),Nu=E(((e,t)=>{var n=Cu(),r=xu(),i=function(e,t){for(var r=e.createDocumentFragment(),i=0;i<t.length;i++){var a=t[i],o=a instanceof n;r.appendChild(o?a:e.createTextNode(String(a)))}return r};t.exports={after:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);t.insertBefore(r,n)}}},before:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.previousSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.previousSibling;var r=i(this.doc,e),a=n?n.nextSibling:t.firstChild;t.insertBefore(r,a)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var e=this.parentNode;e!==null&&(e._childNodes?e._childNodes.splice(this.index,1):e._firstChild===this&&(this._nextSibling===this?e._firstChild=null:e._firstChild=this._nextSibling),r.remove(this),e.modify())}},replaceWith:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);this.parentNode===t?t.replaceChild(r,this):t.insertBefore(r,n)}}}}})),Pu=E(((e,t)=>{var n=Cu();t.exports={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}}}})),Fu=E(((e,t)=>{t.exports=r;var n=yu();function r(e){this.element=e}Object.defineProperties(r.prototype,{length:{get:n.shouldOverride},item:{value:n.shouldOverride},getNamedItem:{value:function(e){return this.element.getAttributeNode(e)}},getNamedItemNS:{value:function(e,t){return this.element.getAttributeNodeNS(e,t)}},setNamedItem:{value:n.nyi},setNamedItemNS:{value:n.nyi},removeNamedItem:{value:function(e){var t=this.element.getAttributeNode(e);if(t)return this.element.removeAttribute(e),t;n.NotFoundError()}},removeNamedItemNS:{value:function(e,t){var r=this.element.getAttributeNodeNS(e,t);if(r)return this.element.removeAttributeNS(e,t),r;n.NotFoundError()}}})})),Iu=E(((e,t)=>{t.exports=v;var n=Ou(),r=yu(),i=r.NAMESPACE,a=ku(),o=Cu(),s=Eu(),c=Su(),l=Au(),u=_u(),d=ju(),f=Mu(),p=Du(),m=Nu(),h=Pu(),g=Fu(),_=Object.create(null);function v(e,t,n,r){p.call(this),this.nodeType=o.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=n,this.prefix=r,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function y(e,t){if(e.nodeType===o.TEXT_NODE)t.push(e._data);else for(var n=0,r=e.childNodes.length;n<r;n++)y(e.childNodes[n],t)}v.prototype=Object.create(p.prototype,{isHTML:{get:function(){return this.namespaceURI===i.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var e=this.prefix===null?this.localName:this.prefix+`:`+this.localName;if(this.isHTML){var t=_[e];t||(_[e]=t=r.toASCIIUpperCase(e)),e=t}this._tagName=e}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return y(this,e),e.join(``)},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return y(this,e),e.join(``).replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:r.nyi},outerHTML:{get:function(){return c.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,n=this.parentNode;if(n!==null){n.nodeType===o.DOCUMENT_NODE&&r.NoModificationAllowedError(),n.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(n=n.ownerDocument.createElement(`body`));var i=t.implementation.mozHTMLParser(t._address,n);i.parse(e===null?``:String(e),!0),this.replaceWith(i._asDocumentFragment())}}},_insertAdjacent:{value:function(e,t){var n=!1;switch(e){case`beforebegin`:n=!0;case`afterend`:var i=this.parentNode;return i===null?null:i.insertBefore(t,n?this:this.nextSibling);case`afterbegin`:n=!0;case`beforeend`:return this.insertBefore(t,n?this.firstChild:null);default:return r.SyntaxError()}}},insertAdjacentElement:{value:function(e,t){if(t.nodeType!==o.ELEMENT_NODE)throw TypeError(`not an element`);return e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,t)}},insertAdjacentText:{value:function(e,t){var n=this.ownerDocument.createTextNode(t);e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,n)}},insertAdjacentHTML:{value:function(e,t){e=r.toASCIILowerCase(String(e)),t=String(t);var n;switch(e){case`beforebegin`:case`afterend`:n=this.parentNode,(n===null||n.nodeType===o.DOCUMENT_NODE)&&r.NoModificationAllowedError();break;case`afterbegin`:case`beforeend`:n=this;break;default:r.SyntaxError()}(!(n instanceof v)||n.ownerDocument.isHTML&&n.localName===`html`&&n.namespaceURI===i.HTML)&&(n=n.ownerDocument.createElementNS(i.HTML,`body`));var a=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);a.parse(t,!0),this._insertAdjacent(e,a._asDocumentFragment())}},children:{get:function(){return this._children||=new S(this),this._children}},attributes:{get:function(){return this._attributes||=new x(this),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||=this.ownerDocument.documentElement;var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var n=this.parentElement;n&&n!==e;n=n.parentElement)if(t=n.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(e){var t;return e?(t=e===`*`?function(){return!0}:this.isHTML?w(e):C(e),new l(this,t)):new s}},getElementsByTagNameNS:{value:function(e,t){var n=e===`*`&&t===`*`?function(){return!0}:e===`*`?C(t):t===`*`?T(e):E(e,t);return new l(this,n)}},getElementsByClassName:{value:function(e){return e=String(e).trim(),e===``?new s:(e=e.split(/[ \t\r\n\f]+/),new l(this,ee(e)))}},getElementsByName:{value:function(e){return new l(this,te(String(e)))}},clone:{value:function(){for(var e=this.namespaceURI!==i.HTML||this.prefix||!this.ownerDocument.isHTML?this.ownerDocument.createElementNS(this.namespaceURI,this.prefix===null?this.localName:this.prefix+`:`+this.localName):this.ownerDocument.createElement(this.localName),t=0,n=this._attrKeys.length;t<n;t++){var r=this._attrKeys[t],a=this._attrsByLName[r].cloneNode();a._setOwnerElement(e),e._attrsByLName[r]=a,e._addQName(a)}return e._attrKeys=this._attrKeys.concat(),e}},isEqual:{value:function(e){if(this.localName!==e.localName||this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this._numattrs!==e._numattrs)return!1;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(!e.hasAttributeNS(r.namespaceURI,r.localName)||e.getAttributeNS(r.namespaceURI,r.localName)!==r.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(e,t){if(this.namespaceURI&&this.namespaceURI===e&&this.prefix!==null&&t.lookupNamespaceURI(this.prefix)===e)return this.prefix;for(var n=0,r=this._numattrs;n<r;n++){var i=this._attr(n);if(i.prefix===`xmlns`&&i.value===e&&t.lookupNamespaceURI(i.localName)===e)return i.localName}var a=this.parentElement;return a?a._lookupNamespacePrefix(e,t):null}},lookupNamespaceURI:{value:function(e){if((e===``||e===void 0)&&(e=null),this.namespaceURI!==null&&this.prefix===e)return this.namespaceURI;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(r.namespaceURI===i.XMLNS&&(r.prefix===`xmlns`&&r.localName===e||e===null&&r.prefix===null&&r.localName===`xmlns`))return r.value||null}var a=this.parentElement;return a?a.lookupNamespaceURI(e):null}},getAttribute:{value:function(e){var t=this.getAttributeNode(e);return t?t.value:null}},getAttributeNS:{value:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null}},getAttributeNode:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];return t?(Array.isArray(t)&&(t=t[0]),t):null}},getAttributeNodeNS:{value:function(e,t){return e=e==null?``:String(e),t=String(t),this._attrsByLName[e+`|`+t]||null}},hasAttribute:{value:function(e){return e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]!==void 0}},hasAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(e,t){return e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]===void 0?t===void 0||t===!0?(this._setAttribute(e,``),!0):!1:t===void 0||t===!1?(this.removeAttribute(e),!1):!0}},_setAttribute:{value:function(e,t){var n=this._attrsByQName[e],r;n?Array.isArray(n)&&(n=n[0]):(n=this._newattr(e),r=!0),n.value=t,this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},setAttribute:{value:function(e,t){e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._setAttribute(e,String(t))}},_setAttributeNS:{value:function(e,t,n){var r=t.indexOf(`:`),i,a;r<0?(i=null,a=t):(i=t.substring(0,r),a=t.substring(r+1)),(e===``||e===void 0)&&(e=null);var o=(e===null?``:e)+`|`+a,s=this._attrsByLName[o],c;s||(s=new b(this,a,i,e),c=!0,this._attrsByLName[o]=s,this._attributes&&(this._attributes[this._attrKeys.length]=s),this._attrKeys.push(o),this._addQName(s)),s.value=n,c&&this._newattrhook&&this._newattrhook(t,n)}},setAttributeNS:{value:function(e,t,a){e=e==null||e===``?null:String(e),t=String(t),n.isValidQName(t)||r.InvalidCharacterError();var o=t.indexOf(`:`),s=o<0?null:t.substring(0,o);(s!==null&&e===null||s===`xml`&&e!==i.XML||(t===`xmlns`||s===`xmlns`)&&e!==i.XMLNS||e===i.XMLNS&&!(t===`xmlns`||s===`xmlns`))&&r.NamespaceError(),this._setAttributeNS(e,t,String(a))}},setAttributeNode:{value:function(e){if(e.ownerElement!==null&&e.ownerElement!==this)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=null,n=this._attrsByQName[e.name];if(n){if(Array.isArray(n)||(n=[n]),n.some(function(t){return t===e}))return e;if(e.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);n.forEach(function(e){this.removeAttributeNode(e)},this),t=n[0]}return this.setAttributeNodeNS(e),t}},setAttributeNodeNS:{value:function(e){if(e.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName,r=this._attrsByLName[n];return r&&this.removeAttributeNode(r),e._setOwnerElement(this),this._attrsByLName[n]=e,this._attributes&&(this._attributes[this._attrKeys.length]=e),this._attrKeys.push(n),this._addQName(e),this._newattrhook&&this._newattrhook(e.name,e.value),r||null}},removeAttribute:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];if(t){Array.isArray(t)?t.length>2?t=t.shift():(this._attrsByQName[e]=t[1],t=t[0]):this._attrsByQName[e]=void 0;var n=t.namespaceURI,i=(n===null?``:n)+`|`+t.localName;this._attrsByLName[i]=void 0;var a=this._attrKeys.indexOf(i);this._attributes&&(Array.prototype.splice.call(this._attributes,a,1),this._attributes[e]=void 0),this._attrKeys.splice(a,1);var o=t.onchange;t._setOwnerElement(null),o&&o.call(t,this,t.localName,t.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(t)}}},removeAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t,r=this._attrsByLName[n];if(r){this._attrsByLName[n]=void 0;var i=this._attrKeys.indexOf(n);this._attributes&&Array.prototype.splice.call(this._attributes,i,1),this._attrKeys.splice(i,1),this._removeQName(r);var a=r.onchange;r._setOwnerElement(null),a&&a.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNode:{value:function(e){var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName;return this._attrsByLName[n]!==e&&r.NotFoundError(),this.removeAttributeNS(t,e.localName),e}},getAttributeNames:{value:function(){var e=this;return this._attrKeys.map(function(t){return e._attrsByLName[t].name})}},_getattr:{value:function(e){var t=this._attrsByQName[e];return t?t.value:null}},_setattr:{value:function(e,t){var n=this._attrsByQName[e],r;n||(n=this._newattr(e),r=!0),n.value=String(t),this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},_newattr:{value:function(e){var t=new b(this,e,null,null),n=`|`+e;return this._attrsByQName[e]=t,this._attrsByLName[n]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(n),t}},_addQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];n?Array.isArray(n)?n.push(e):this._attrsByQName[t]=[n,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];if(Array.isArray(n)){var i=n.indexOf(e);r.assert(i!==-1),n.length===2?(this._attrsByQName[t]=n[1-i],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(n.splice(i,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=n[0]))}else r.assert(n===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:a.property({name:`id`}),className:a.property({name:`class`}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new d(function(){return e.className||``},function(t){e.className=t});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return f.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===o.ELEMENT_NODE);return null}},querySelector:{value:function(e){return f(e,this)[0]}},querySelectorAll:{value:function(e){var t=f(e,this);return t.item?t:new s(t)}}}),Object.defineProperties(v.prototype,m),Object.defineProperties(v.prototype,h),a.registerChangeHandler(v,`id`,function(e,t,n,r){e.rooted&&(n&&e.ownerDocument.delId(n,e),r&&e.ownerDocument.addId(r,e))}),a.registerChangeHandler(v,`class`,function(e,t,n,r){e._classList&&e._classList._update()});function b(e,t,n,r,i){this.localName=t,this.prefix=n===null||n===``?null:``+n,this.namespaceURI=r===null||r===``?null:``+r,this.data=i,this._setOwnerElement(e)}b.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(e){this._ownerElement=e,this.prefix===null&&this.namespaceURI===null&&e?this.onchange=e._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?``:e+``,e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(e){return new b(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return o.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e??=``,this.value=e}},innerText:{get:function(){return this.value},set:function(e){e??=``,this.value=e}}}),v._Attr=b;function x(e){for(var t in g.call(this,e),e._attrsByQName)this[t]=e._attrsByQName[t];for(var n=0;n<e._attrKeys.length;n++)this[n]=e._attrsByLName[e._attrKeys[n]]}x.prototype=Object.create(g.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e>>>=0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}}),globalThis.Symbol?.iterator&&(x.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,n=this;return{next:function(){return e<t?{value:n.item(e++)}:{done:!0}}}});function S(e){this.element=e,this.updateCache()}S.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(e){return this.updateCache(),this.childrenByNumber[e]||null}},namedItem:{value:function(e){return this.updateCache(),this.childrenByName[e]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var e=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var t=this.childrenByNumber&&this.childrenByNumber.length||0,n=0;n<t;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var r=this.element.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===o.ELEMENT_NODE){this[this.childrenByNumber.length]=r,this.childrenByNumber.push(r);var a=r.getAttribute(`id`);a&&!this.childrenByName[a]&&(this.childrenByName[a]=r);var s=r.getAttribute(`name`);s&&this.element.namespaceURI===i.HTML&&e.test(this.element.localName)&&!this.childrenByName[s]&&(this.childrenByName[a]=r)}}}}});function C(e){return function(t){return t.localName===e}}function w(e){var t=r.toASCIILowerCase(e);return t===e?C(e):function(n){return n.isHTML?n.localName===t:n.localName===e}}function T(e){return function(t){return t.namespaceURI===e}}function E(e,t){return function(n){return n.namespaceURI===e&&n.localName===t}}function ee(e){return function(t){return e.every(function(e){return t.classList.contains(e)})}}function te(e){return function(t){return t.namespaceURI===i.HTML?t.getAttribute(`name`)===e:!1}}})),Lu=E(((e,t)=>{t.exports=s;var n=Cu(),r=Eu(),i=yu(),a=i.HierarchyRequestError,o=i.NotFoundError;function s(){n.call(this)}s.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},removeChild:{value:function(e){if(!e.nodeType)throw TypeError(`not a node`);o()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||=new r,this._childNodes}}})})),Ru=E(((e,t)=>{t.exports=o;var n=Lu(),r=yu(),i=Nu(),a=Pu();function o(){n.call(this)}o.prototype=Object.create(n.prototype,{substringData:{value:function(e,t){if(arguments.length<2)throw TypeError(`Not enough arguments`);return e>>>=0,t>>>=0,(e>this.data.length||e<0||t<0)&&r.IndexSizeError(),this.data.substring(e,e+t)}},appendData:{value:function(e){if(arguments.length<1)throw TypeError(`Not enough arguments`);this.data+=String(e)}},insertData:{value:function(e,t){return this.replaceData(e,0,t)}},deleteData:{value:function(e,t){return this.replaceData(e,t,``)}},replaceData:{value:function(e,t,n){var i=this.data,a=i.length;e>>>=0,t>>>=0,n=String(n),(e>a||e<0)&&r.IndexSizeError(),e+t>a&&(t=a-e);var o=i.substring(0,e),s=i.substring(e+t);this.data=o+n+s}},isEqual:{value:function(e){return this._data===e._data}},length:{get:function(){return this.data.length}}}),Object.defineProperties(o.prototype,i),Object.defineProperties(o.prototype,a)})),zu=E(((e,t)=>{t.exports=a;var n=yu(),r=Cu(),i=Ru();function a(e,t){i.call(this),this.nodeType=r.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var o={get:function(){return this._data},set:function(e){e=e==null?``:String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};a.prototype=Object.create(i.prototype,{nodeName:{value:`#text`},nodeValue:o,textContent:o,innerText:o,data:{get:o.get,set:function(e){o.set.call(this,e===null?``:String(e))}},splitText:{value:function(e){(e>this._data.length||e<0)&&n.IndexSizeError();var t=this._data.substring(e),r=this.ownerDocument.createTextNode(t);this.data=this.data.substring(0,e);var i=this.parentNode;return i!==null&&i.insertBefore(r,this.nextSibling),r}},wholeText:{get:function(){for(var e=this.textContent,t=this.nextSibling;t&&t.nodeType===r.TEXT_NODE;t=t.nextSibling)e+=t.textContent;return e}},replaceWholeText:{value:n.nyi},clone:{value:function(){return new a(this.ownerDocument,this._data)}}})})),Bu=E(((e,t)=>{t.exports=i;var n=Cu(),r=Ru();function i(e,t){r.call(this),this.nodeType=n.COMMENT_NODE,this.ownerDocument=e,this._data=t}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{value:`#comment`},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this._data)}}})})),Vu=E(((e,t)=>{t.exports=c;var n=Cu(),r=Eu(),i=Du(),a=Iu(),o=Mu(),s=yu();function c(e){i.call(this),this.nodeType=n.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}c.prototype=Object.create(i.prototype,{nodeName:{value:`#document-fragment`},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(a.prototype,`textContent`),innerText:Object.getOwnPropertyDescriptor(a.prototype,`innerText`),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=a.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(a.prototype,`firstElementChild`).get;var n=o(e,t);return n.item?n:new r(n)}},clone:{value:function(){return new c(this.ownerDocument)}},isEqual:{value:function(e){return!0}},innerHTML:{get:function(){return this.serialize()},set:s.nyi},outerHTML:{get:function(){return this.serialize()},set:s.nyi}})})),Hu=E(((e,t)=>{t.exports=i;var n=Cu(),r=Ru();function i(e,t,i){r.call(this),this.nodeType=n.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=i}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.target}},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(e){return this.target===e.target&&this._data===e._data}}})})),Uu=E(((e,t)=>{var n={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};t.exports=n.constructor=n.prototype=n})),Wu=E(((e,t)=>{t.exports={nextSkippingChildren:n,nextAncestorSibling:r,next:i,previous:o,deepLastChild:a};function n(e,t){return e===t?null:e.nextSibling===null?r(e,t):e.nextSibling}function r(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function i(e,t){var n=e.firstChild;return n===null?e===t?null:(n=e.nextSibling,n===null?r(e,t):n):n}function a(e){for(;e.lastChild;)e=e.lastChild;return e}function o(e,t){var n=e.previousSibling;return n===null?(n=e.parentNode,n===t?null:n):a(n)}})),Gu=E(((e,t)=>{t.exports=u;var n=Cu(),r=Uu(),i=Wu(),a=yu(),o={first:`firstChild`,last:`lastChild`,next:`firstChild`,previous:`lastChild`},s={first:`nextSibling`,last:`previousSibling`,next:`nextSibling`,previous:`previousSibling`};function c(e,t){for(var n,i=e._currentNode[o[t]],a,c,l;i!==null;){if(c=e._internalFilter(i),c===r.FILTER_ACCEPT)return e._currentNode=i,i;if(c===r.FILTER_SKIP&&(n=i[o[t]],n!==null)){i=n;continue}for(;i!==null;){if(l=i[s[t]],l!==null){i=l;break}if(a=i.parentNode,a===null||a===e.root||a===e._currentNode)return null;i=a}}return null}function l(e,t){var n=e._currentNode,i,a;if(n===e.root)return null;for(;;){for(a=n[s[t]];a!==null;){if(n=a,i=e._internalFilter(n),i===r.FILTER_ACCEPT)return e._currentNode=n,n;a=n[o[t]],(i===r.FILTER_REJECT||a===null)&&(a=n[s[t]])}if(n=n.parentNode,n===null||n===e.root||e._internalFilter(n)===r.FILTER_ACCEPT)return null}}function u(e,t,n){(!e||!e.nodeType)&&a.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,this._currentNode=e}Object.defineProperties(u.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(e){if(!(e instanceof n))throw TypeError(`Not a Node`);this._currentNode=e}},_internalFilter:{value:function(e){var t,n;if(this._active&&a.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return r.FILTER_SKIP;if(n=this._filter,n===null)t=r.FILTER_ACCEPT;else{this._active=!0;try{t=typeof n==`function`?n(e):n.acceptNode(e)}finally{this._active=!1}}return+t}},parentNode:{value:function(){for(var e=this._currentNode;e!==this.root;){if(e=e.parentNode,e===null)return null;if(this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},firstChild:{value:function(){return c(this,`first`)}},lastChild:{value:function(){return c(this,`last`)}},previousSibling:{value:function(){return l(this,`previous`)}},nextSibling:{value:function(){return l(this,`next`)}},previousNode:{value:function(){for(var e=this._currentNode,t,n,i;e!==this._root;){for(n=e.previousSibling;n;n=e.previousSibling)if(e=n,t=this._internalFilter(e),t!==r.FILTER_REJECT){for(i=e.lastChild;i&&(e=i,t=this._internalFilter(e),t!==r.FILTER_REJECT);i=e.lastChild);if(t===r.FILTER_ACCEPT)return this._currentNode=e,e}if(e===this.root||e.parentNode===null)return null;if(e=e.parentNode,this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},nextNode:{value:function(){var e=this._currentNode,t=r.FILTER_ACCEPT,n,a;CHILDREN:for(;;){for(n=e.firstChild;n;n=e.firstChild){if(e=n,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_REJECT)break}for(a=i.nextSkippingChildren(e,this.root);a;a=i.nextSkippingChildren(e,this.root)){if(e=a,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_SKIP)continue CHILDREN}return null}}},toString:{value:function(){return`[object TreeWalker]`}}})})),Ku=E(((e,t)=>{t.exports=c;var n=Uu(),r=Wu(),i=yu();function a(e,t,n){return n?r.next(e,t):e===t?null:r.previous(e,null)}function o(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function s(e,t){for(var r=e._referenceNode,i=e._pointerBeforeReferenceNode;;){if(i===t)i=!i;else if(r=a(r,e._root,t),r===null)return null;if(e._internalFilter(r)===n.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=i,r}function c(e,t,n){(!e||!e.nodeType)&&i.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(c.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(e){var t,r;if(this._active&&i.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return n.FILTER_SKIP;if(r=this._filter,r===null)t=n.FILTER_ACCEPT;else{this._active=!0;try{t=typeof r==`function`?r(e):r.acceptNode(e)}finally{this._active=!1}}return+t}},_preremove:{value:function(e){if(!o(e,this._root)&&o(e,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var t=e;t.lastChild;)t=t.lastChild;if(t=r.next(t,this.root),t){this._referenceNode=t;return}this._pointerBeforeReferenceNode=!1}if(e.previousSibling===null)this._referenceNode=e.parentNode;else{this._referenceNode=e.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}}},nextNode:{value:function(){return s(this,!0)}},previousNode:{value:function(){return s(this,!1)}},detach:{value:function(){}},toString:{value:function(){return`[object NodeIterator]`}}})})),qu=E(((e,t)=>{t.exports=n;function n(e){if(!e)return Object.create(n.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,``);var t=n.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(n.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(n.portPattern)){var i=t[4].lastIndexOf(`:`);this.host=t[4].substring(0,i),this.port=t[4].substring(i+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}n.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,n.userinfoPattern=/^([^@:]*)(:([^@]*))?@/,n.portPattern=/:\d+$/,n.authorityPattern=/^[^:\/?#]+:\/\//,n.hierarchyPattern=/^[^:\/?#]+:\//,n.percentEncode=function(e){var t=e.charCodeAt(0);if(t<256)return`%`+t.toString(16);throw Error(`can't percent-encode codepoints > 255 yet`)},n.prototype={constructor:n,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return n.authorityPattern.test(this.url)},isHierarchical:function(){return n.hierarchyPattern.test(this.url)},toString:function(){var e=``;return this.scheme!==void 0&&(e+=this.scheme+`:`),this.isAbsolute()&&(e+=`//`,(this.username||this.password)&&(e+=this.username||``,this.password&&(e+=`:`+this.password),e+=`@`),this.host&&(e+=this.host)),this.port!==void 0&&(e+=`:`+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+=`?`+this.query),this.fragment!==void 0&&(e+=`#`+this.fragment),e},resolve:function(e){var t=this,r=new n(e),i=new n;return r.scheme===void 0?(i.scheme=t.scheme,r.host===void 0?(i.username=t.username,i.password=t.password,i.host=t.host,i.port=t.port,r.path?(r.path.charAt(0)===`/`?i.path=o(r.path):(i.path=a(t.path,r.path),i.path=o(i.path)),i.query=r.query):(i.path=t.path,r.query===void 0?i.query=t.query:i.query=r.query)):(i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query)):(i.scheme=r.scheme,i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query),i.fragment=r.fragment,i.toString();function a(e,n){if(t.host!==void 0&&!t.path)return`/`+n;var r=e.lastIndexOf(`/`);return r===-1?n:e.substring(0,r+1)+n}function o(e){if(!e)return e;for(var t=``;e.length>0;){if(e===`.`||e===`..`){e=``;break}var n=e.substring(0,2),r=e.substring(0,3),i=e.substring(0,4);if(r===`../`)e=e.substring(3);else if(n===`./`)e=e.substring(2);else if(r===`/./`)e=`/`+e.substring(3);else if(n===`/.`&&e.length===2)e=`/`;else if(i===`/../`||r===`/..`&&e.length===3)e=`/`+e.substring(4),t=t.replace(/\/?[^\/]*$/,``);else{var a=e.match(/(\/?([^\/]*))/)[0];t+=a,e=e.substring(a.length)}}return t}}}})),Ju=E(((e,t)=>{t.exports=r;var n=mu();function r(e,t){n.call(this,e,t)}r.prototype=Object.create(n.prototype,{constructor:{value:r}})})),Yu=E(((e,t)=>{t.exports={Event:mu(),UIEvent:hu(),MouseEvent:gu(),CustomEvent:Ju()}})),Xu=E((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.hyphenate=e.parse=void 0;function t(e){let t=[],r=0,i=0,a=0,o=0,s=0,c=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:i++;break;case 41:i--;break;case 39:a===0?a=39:a===39&&e.charCodeAt(r-1)!==92&&(a=0);break;case 34:a===0?a=34:a===34&&e.charCodeAt(r-1)!==92&&(a=0);break;case 58:!c&&i===0&&a===0&&(c=n(e.substring(s,r-1).trim()),o=r);break;case 59:if(c&&o>0&&i===0&&a===0){let n=e.substring(o,r-1).trim();t.push(c,n),s=r,o=0,c=null}break}if(c&&o){let n=e.slice(o).trim();t.push(c,n)}return t}e.parse=t;function n(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+`-`+e.charAt(1)).toLowerCase()}e.hyphenate=n})),Zu=E(((e,t)=>{let{parse:n}=Xu();t.exports=function(e){let t=new i(e);return new Proxy(t,{get:function(e,t){return t in e?e[t]:e.getPropertyValue(r(t))},has:function(e,t){return!0},set:function(e,t,n){return t in e?e[t]=n:e.setProperty(r(t),n??void 0),!0}})};function r(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}function i(e){this._element=e}function a(e){let t={property:{},priority:{}};if(!e)return t;let r=n(e);if(r.length<2)return t;for(let e=0;e<r.length;e+=2){let n=r[e],i=r[e+1];i.endsWith(`!important`)&&(t.priority[n]=`important`,i=i.slice(0,-10).trim()),t.property[n]=i}return t}var o={};i.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=a(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t=``;for(var n in e.property)t&&(t+=` `),t+=n+`: `+e.property[n],e.priority[n]&&(t+=` !`+e.priority[n]),t+=`;`;this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute(`style`)},set:function(e){this._element.setAttribute(`style`,e)}},length:{get:function(){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names.length}},item:{value:function(e){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||``}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||``}},setProperty:{value:function(e,t,n){if(e=e.toLowerCase(),t??=``,n??=``,t!==o&&(t=``+t),t=t.trim(),t===``){this.removeProperty(e);return}if(!(n!==``&&n!==o&&!/^important$/i.test(n))){var r=this._parsed;if(t===o){if(!r.property[e])return;n===``?delete r.priority[e]:r.priority[e]=`important`}else{if(t.indexOf(`;`)!==-1)return;var i=a(e+`:`+t);if(Object.getOwnPropertyNames(i.property).length===0||Object.getOwnPropertyNames(i.priority).length!==0)return;for(var s in i.property)r.property[s]=i.property[s],n!==o&&(n===``?r.priority[s]&&delete r.priority[s]:r.priority[s]=`important`)}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,o)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,o,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})})),Qu=E(((e,t)=>{var n=qu();t.exports=r;function r(){}r.prototype=Object.create(Object.prototype,{_url:{get:function(){return new n(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+`:`:`:`},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/:+$/,``),e=e.replace(/[^-+\.a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?`:`+e.port:``):``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,``),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=``+e,e=e.replace(/[^0-9].*$/,``),e=e.replace(/^0+/,``),e.length===0&&(e=`0`),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!==`/`&&(e=`/`+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,n.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?`?`+e.query:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)===`?`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===``?``:`#`+e.fragment},set:function(e){var t=this.href,r=new n(t);e.charAt(0)===`#`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){return this._url.username||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,n.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){return this._url.password||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e===``?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,n.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return``;var t=function(t){var n=[e.scheme,e.host,+e.port||t];return n[0]+`://`+n[1]+(n[2]===t?``:`:`+n[2])};switch(e.scheme){case`ftp`:return t(21);case`gopher`:return t(70);case`http`:case`ws`:return t(80);case`https`:case`wss`:return t(443);default:return e.scheme+`://`}}}}),r._inherit=function(e){Object.getOwnPropertyNames(r.prototype).forEach(function(t){if(!(t===`constructor`||t===`href`)){var n=Object.getOwnPropertyDescriptor(r.prototype,t);Object.defineProperty(e,t,n)}})}})),$u=E(((e,t)=>{var n=ku(),r=vu().isApiWritable;t.exports=function(e,t,i,a){var s=e.ctor;if(s){var c=e.props||{};if(e.attributes)for(var l in e.attributes){var u=e.attributes[l];(typeof u!=`object`||Array.isArray(u))&&(u={type:u}),u.name||=l.toLowerCase(),c[l]=n.property(u)}c.constructor={value:s,writable:r},s.prototype=Object.create((e.superclass||t).prototype,c),e.events&&o(s,e.events),i[e.name]=s}else s=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(e){a[e]=s}),s};function i(e,t,n,r){this.body=e,this.document=t,this.form=n,this.element=r}i.prototype.build=function(){return()=>{}};function a(e,t,n,r){e[t]=new i(r,e.ownerDocument||Object.create(null),e.form||Object.create(null),e).build()}function o(e,t){var r=e.prototype;t.forEach(function(t){Object.defineProperty(r,`on`+t,{get:function(){return this._getEventHandler(t)},set:function(e){this._setEventHandler(t,e)}}),n.registerChangeHandler(e,`on`+t,a)})}})),ed=E((e=>{var t=Cu(),n=Iu(),r=Zu(),i=yu(),a=Qu(),o=$u(),s=e.elements={},c=Object.create(null);e.createElement=function(e,t,n){return new(c[t]||g)(e,t,n)};function l(e){return o(e,h,s,c)}function u(e){return{get:function(){var t=this._getattr(e);if(t===null)return``;var n=this.doc._resolve(t);return n===null?t:n},set:function(t){this._setattr(e,t)}}}function d(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()===`use-credentials`?`use-credentials`:`anonymous`},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}let f={type:[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],missing:``};var p={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},m=function(e,t,n){h.call(this,e,t,n),this._form=null},h=e.HTMLElement=l({superclass:n,name:`HTMLElement`,ctor:function(e,t,r){n.call(this,e,t,i.NAMESPACE.HTML,r)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?``:String(e),!0);for(var n=this instanceof c.template?this.content:this;n.hasChildNodes();)n.removeChild(n.firstChild);n.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||=new r(this),this._style},set:function(e){e??=``,this._setattr(`style`,String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent(`MouseEvent`);e.initMouseEvent(`click`,!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),this.dispatchEvent(e)?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:i.nyi}},attributes:{title:String,lang:String,dir:{type:[`ltr`,`rtl`,`auto`],missing:``},draggable:{type:[`true`,`false`],treatNullAsEmptyString:!0},spellcheck:{type:[`true`,`false`],missing:``},enterKeyHint:{type:[`enter`,`done`,`go`,`next`,`previous`,`search`,`send`],missing:``},autoCapitalize:{type:[`off`,`on`,`none`,`sentences`,`words`,`characters`],missing:``},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:[`no`,`yes`],missing:``},tabIndex:{type:`long`,default:function(){return this.tagName in p||this.contentEditable?0:-1}}},events:`abort.canplay.canplaythrough.change.click.contextmenu.cuechange.dblclick.drag.dragend.dragenter.dragleave.dragover.dragstart.drop.durationchange.emptied.ended.input.invalid.keydown.keypress.keyup.loadeddata.loadedmetadata.loadstart.mousedown.mousemove.mouseout.mouseover.mouseup.mousewheel.pause.play.playing.progress.ratechange.readystatechange.reset.seeked.seeking.select.show.stalled.submit.suspend.timeupdate.volumechange.waiting.blur.error.focus.load.scroll`.split(`.`)}),g=l({name:`HTMLUnknownElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),_={form:{get:function(){return this._form}}};l({tag:`a`,name:`HTMLAnchorElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:u,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:f,coords:String,charset:String,name:String,rev:String,shape:String}}),a._inherit(c.a.prototype),l({tag:`area`,name:`HTMLAreaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:u,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:f,noHref:Boolean}}),a._inherit(c.area.prototype),l({tag:`br`,name:`HTMLBRElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{clear:String}}),l({tag:`base`,name:`HTMLBaseElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{target:String}}),l({tag:`body`,name:`HTMLBodyElement`,ctor:function(e,t,n){h.call(this,e,t,n)},events:[`afterprint`,`beforeprint`,`beforeunload`,`blur`,`error`,`focus`,`hashchange`,`load`,`message`,`offline`,`online`,`pagehide`,`pageshow`,`popstate`,`resize`,`scroll`,`storage`,`unload`],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}}),l({tag:`button`,name:`HTMLButtonElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:[`submit`,`reset`,`button`,`menu`],missing:`submit`},formTarget:String,formAction:u,formNoValidate:Boolean,formMethod:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``}}}),l({tag:`dl`,name:`HTMLDListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tag:`data`,name:`HTMLDataElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{value:String}}),l({tag:`datalist`,name:`HTMLDataListElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`details`,name:`HTMLDetailsElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{open:Boolean}}),l({tag:`div`,name:`HTMLDivElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`embed`,name:`HTMLEmbedElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,type:String,width:String,height:String,align:String,name:String}}),l({tag:`fieldset`,name:`HTMLFieldSetElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{disabled:Boolean,name:String}}),l({tag:`form`,name:`HTMLFormElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{action:String,autocomplete:{type:[`on`,`off`],missing:`on`},name:String,acceptCharset:{name:`accept-charset`},target:String,noValidate:Boolean,method:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:`get`},enctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`},encoding:{name:`enctype`,type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`}}}),l({tag:`hr`,name:`HTMLHRElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}}),l({tag:`head`,name:`HTMLHeadElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tags:[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],name:`HTMLHeadingElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`html`,name:`HTMLHtmlElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{xmlns:u,version:String}}),l({tag:`iframe`,name:`HTMLIFrameElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:f,loading:{type:[`eager`,`lazy`],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:u,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`img`,name:`HTMLImageElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{alt:String,src:u,srcset:String,crossOrigin:d,useMap:String,isMap:Boolean,sizes:String,height:{type:`unsigned long`,default:0},width:{type:`unsigned long`,default:0},referrerPolicy:f,loading:{type:[`eager`,`lazy`],missing:``},name:String,lowsrc:u,align:String,hspace:{type:`unsigned long`,default:0},vspace:{type:`unsigned long`,default:0},longDesc:u,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`input`,name:`HTMLInputElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,_post_click_activation_steps:{value:function(e){if(this.type===`checkbox`)this.checked=!this.checked;else if(this.type===`radio`)for(var t=this.form.getElementsByName(this.name),n=t.length-1;n>=0;n--){var r=t[n];r.checked=r===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:`value`},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:u,defaultChecked:{name:`checked`,type:Boolean},size:{type:`unsigned long`,default:20,min:1,setmin:1},width:{type:`unsigned long`,min:0,setmin:0,default:0},height:{type:`unsigned long`,min:0,setmin:0,default:0},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},autocomplete:String,type:{type:[`text`,`hidden`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`],missing:`text`},formTarget:String,formNoValidate:Boolean,formMethod:{type:[`get`,`post`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``},align:String,useMap:String}}),l({tag:`keygen`,name:`HTMLKeygenElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:[`rsa`],missing:``}}}),l({tag:`li`,name:`HTMLLIElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{value:{type:`long`,default:0},type:String}}),l({tag:`label`,name:`HTMLLabelElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{htmlFor:{name:`for`,type:String}}}),l({tag:`legend`,name:`HTMLLegendElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`link`,name:`HTMLLinkElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{href:u,rel:String,media:String,hreflang:String,type:String,crossOrigin:d,nonce:String,integrity:String,referrerPolicy:f,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}}),l({tag:`map`,name:`HTMLMapElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String}}),l({tag:`menu`,name:`HTMLMenuElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{type:{type:[`context`,`popup`,`toolbar`],missing:`toolbar`},label:String,compact:Boolean}}),l({tag:`meta`,name:`HTMLMetaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String,content:String,httpEquiv:{name:`http-equiv`,type:String},scheme:String}}),l({tag:`meter`,name:`HTMLMeterElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_}),l({tags:[`ins`,`del`],name:`HTMLModElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{cite:u,dateTime:String}}),l({tag:`ol`,name:`HTMLOListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(n){n.nodeType===t.ELEMENT_NODE&&n.tagName===`LI`&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:`long`,default:function(){return this.reversed?this._numitems:1}},compact:Boolean}}),l({tag:`object`,name:`HTMLObjectElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{data:u,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:`unsigned long`,default:0},standby:String,vspace:{type:`unsigned long`,default:0},codeBase:u,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`optgroup`,name:`HTMLOptGroupElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{disabled:Boolean,label:String}}),l({tag:`option`,name:`HTMLOptionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===t.ELEMENT_NODE;){if(e.localName===`select`)return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr(`value`)||this.text},set:function(e){this._setattr(`value`,e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:`selected`,type:Boolean},label:String}}),l({tag:`output`,name:`HTMLOutputElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String}}),l({tag:`p`,name:`HTMLParagraphElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`param`,name:`HTMLParamElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String,value:String,type:String,valueType:String}}),l({tags:[`pre`,`listing`,`xmp`],name:`HTMLPreElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{width:{type:`long`,default:0}}}),l({tag:`progress`,name:`HTMLProgressElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{max:{type:Number,float:!0,default:1,min:0}}}),l({tags:[`q`,`blockquote`],name:`HTMLQuoteElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{cite:u}}),l({tag:`script`,name:`HTMLScriptElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{text:{get:function(){for(var e=``,n=0,r=this.childNodes.length;n<r;n++){var i=this.childNodes[n];i.nodeType===t.TEXT_NODE&&(e+=i._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==``&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:u,type:String,charset:String,referrerPolicy:f,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:d,nonce:String,integrity:String}}),l({tag:`select`,name:`HTMLSelectElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,options:{get:function(){return this.getElementsByTagName(`option`)}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:`unsigned long`,default:0}}}),l({tag:`span`,name:`HTMLSpanElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`style`,name:`HTMLStyleElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{media:String,type:String,scoped:Boolean}}),l({tag:`caption`,name:`HTMLTableCaptionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({name:`HTMLTableCellElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{colSpan:{type:`unsigned long`,default:1},rowSpan:{type:`unsigned long`,default:1},scope:{type:[`row`,`col`,`rowgroup`,`colgroup`],missing:``},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`col`,`colgroup`],name:`HTMLTableColElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{span:{type:`limited unsigned long with fallback`,default:1,min:1},align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,width:String}}),l({tag:`table`,name:`HTMLTableElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`template`,name:`HTMLTemplateElement`,ctor:function(e,t,n){h.call(this,e,t,n),this._contentFragment=e._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}}),l({tag:`tr`,name:`HTMLTableRowElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{cells:{get:function(){return this.querySelectorAll(`td,th`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`thead`,`tfoot`,`tbody`],name:`HTMLTableSectionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String}}),l({tag:`textarea`,name:`HTMLTextAreaElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,type:{get:function(){return`textarea`}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:`limited unsigned long with fallback`,default:2},cols:{type:`limited unsigned long with fallback`,default:20},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``}}}),l({tag:`time`,name:`HTMLTimeElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{dateTime:String,pubDate:Boolean}}),l({tag:`title`,name:`HTMLTitleElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{text:{get:function(){return this.textContent}}}}),l({tag:`ul`,name:`HTMLUListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{type:String,compact:Boolean}}),l({name:`HTMLMediaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,crossOrigin:d,preload:{type:[`metadata`,`none`,`auto`,{value:``,alias:`auto`}],missing:`auto`},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:`muted`,type:Boolean}}}),l({name:`HTMLAudioElement`,tag:`audio`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)}}),l({name:`HTMLVideoElement`,tag:`video`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)},attributes:{poster:u,width:{type:`unsigned long`,min:0,default:0},height:{type:`unsigned long`,min:0,default:0}}}),l({tag:`td`,name:`HTMLTableDataCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`th`,name:`HTMLTableHeaderCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`frameset`,name:`HTMLFrameSetElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`frame`,name:`HTMLFrameElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`canvas`,name:`HTMLCanvasElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{getContext:{value:i.nyi},probablySupportsContext:{value:i.nyi},setContext:{value:i.nyi},transferControlToProxy:{value:i.nyi},toDataURL:{value:i.nyi},toBlob:{value:i.nyi}},attributes:{width:{type:`unsigned long`,default:300},height:{type:`unsigned long`,default:150}}}),l({tag:`dialog`,name:`HTMLDialogElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{show:{value:i.nyi},showModal:{value:i.nyi},close:{value:i.nyi}},attributes:{open:Boolean,returnValue:String}}),l({tag:`menuitem`,name:`HTMLMenuItemElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_label:{get:function(){var e=this._getattr(`label`);return e!==null&&e!==``?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g,` `).trim())}},label:{get:function(){var e=this._getattr(`label`);return e===null?this._label:e},set:function(e){this._setattr(`label`,e)}}},attributes:{type:{type:[`command`,`checkbox`,`radio`],missing:`command`},icon:u,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}}),l({tag:`source`,name:`HTMLSourceElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{srcset:String,sizes:String,media:String,src:u,type:String,width:String,height:String}}),l({tag:`track`,name:`HTMLTrackElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,srclang:String,label:String,default:Boolean,kind:{type:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],missing:`subtitles`,invalid:`metadata`}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:i.nyi},track:{get:i.nyi}}}),l({tag:`font`,name:`HTMLFontElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}}),l({tag:`dir`,name:`HTMLDirectoryElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tags:`abbr.address.article.aside.b.bdi.bdo.cite.content.code.dd.dfn.dt.em.figcaption.figure.footer.header.hgroup.i.kbd.main.mark.nav.noscript.rb.rp.rt.rtc.ruby.s.samp.section.small.strong.sub.summary.sup.u.var.wbr.acronym.basefont.big.center.nobr.noembed.noframes.plaintext.strike.tt`.split(`.`)})})),td=E((e=>{var t=Iu(),n=$u(),r=yu(),i=Zu(),a=e.elements={},o=Object.create(null);e.createElement=function(e,t,n){return new(o[t]||c)(e,t,n)};function s(e){return n(e,c,a,o)}var c=s({superclass:t,name:`SVGElement`,ctor:function(e,n,i){t.call(this,e,n,r.NAMESPACE.SVG,i)},props:{style:{get:function(){return this._style||=new i(this),this._style}}}});s({name:`SVGSVGElement`,ctor:function(e,t,n){c.call(this,e,t,n)},tag:`svg`,props:{createSVGRect:{value:function(){return e.createElement(this.ownerDocument,`rect`,null)}}}}),s({tags:`a.altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.switch.symbol.text.textPath.title.tref.tspan.use.view.vkern`.split(`.`)})})),nd=E(((e,t)=>{t.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}})),rd=E(((e,t)=>{t.exports=T;var n=Cu(),r=Eu(),i=Du(),a=Iu(),o=zu(),s=Bu(),c=mu(),l=Vu(),u=Hu(),d=od(),f=Gu(),p=Ku(),m=Uu(),h=qu(),g=Mu(),_=Yu(),v=Ou(),y=ed(),b=td(),x=yu(),S=nd(),C=x.NAMESPACE,w=vu().isApiWritable;function T(e,t){i.call(this),this.nodeType=n.DOCUMENT_NODE,this.isHTML=e,this._address=t||`about:blank`,this.readyState=`loading`,this.implementation=new d(this),this.ownerDocument=null,this._contentType=e?`text/html`:`application/xml`,this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var E={event:`Event`,customevent:`CustomEvent`,uievent:`UIEvent`,mouseevent:`MouseEvent`},ee={events:`event`,htmlevents:`event`,mouseevents:`mouseevent`,mutationevents:`mutationevent`,uievents:`uievent`},te=function(e,t,n){return{get:function(){var r=e.call(this);return r?r[t]:n},set:function(n){var r=e.call(this);r&&(r[t]=n)}}};function ne(e,t){var n,r,i;return e===``&&(e=null),v.isValidQName(t)||x.InvalidCharacterError(),n=null,r=t,i=t.indexOf(`:`),i>=0&&(n=t.substring(0,i),r=t.substring(i+1)),n!==null&&e===null&&x.NamespaceError(),n===`xml`&&e!==C.XML&&x.NamespaceError(),(n===`xmlns`||t===`xmlns`)&&e!==C.XMLNS&&x.NamespaceError(),e===C.XMLNS&&!(n===`xmlns`||t===`xmlns`)&&x.NamespaceError(),{namespace:e,prefix:n,localName:r}}T.prototype=Object.create(i.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,n){var r=this._nodes[e];r&&r._dispatchEvent(new c(t,n),!0)}},nodeName:{value:`#document`},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:x.nyi},compatMode:{get:function(){return this._quirks?`BackCompat`:`CSS1Compat`}},createTextNode:{value:function(e){return new o(this,String(e))}},createComment:{value:function(e){return new s(this,e)}},createDocumentFragment:{value:function(){return new l(this)}},createProcessingInstruction:{value:function(e,t){return(!v.isValidName(e)||t.indexOf(`?>`)!==-1)&&x.InvalidCharacterError(),new u(this,e,t)}},createAttribute:{value:function(e){return e=String(e),v.isValidName(e)||x.InvalidCharacterError(),this.isHTML&&(e=x.toASCIILowerCase(e)),new a._Attr(null,e,null,null,``)}},createAttributeNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=ne(e,t);return new a._Attr(null,n.localName,n.prefix,n.namespace,``)}},createElement:{value:function(e){return e=String(e),v.isValidName(e)||x.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=x.toASCIILowerCase(e)),y.createElement(this,e,null)):this.contentType===`application/xhtml+xml`?y.createElement(this,e,null):new a(this,e,null,null)},writable:w},createElementNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=ne(e,t);return this._createElementNS(n.localName,n.namespace,n.prefix)},writable:w},_createElementNS:{value:function(e,t,n){return t===C.HTML?y.createElement(this,e,n):t===C.SVG?b.createElement(this,e,n):new a(this,e,t,n)}},createEvent:{value:function(e){e=e.toLowerCase();var t=_[E[ee[e]||e]];if(t){var n=new t;return n._initialized=!1,n}else x.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?m.SHOW_ALL:+t,r=r===void 0?null:r,new f(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?m.SHOW_ALL:+t,r=r===void 0?null:r,new p(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||=[],this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var e=this.firstChild;e!==null;e=e.nextSibling)e.nodeType===n.DOCUMENT_TYPE_NODE?this.doctype=e:e.nodeType===n.ELEMENT_NODE&&(this.documentElement=e)}},insertBefore:{value:function(e,t){return n.prototype.insertBefore.call(this,e,t),this._updateDocTypeElement(),e}},replaceChild:{value:function(e,t){return n.prototype.replaceChild.call(this,e,t),this._updateDocTypeElement(),t}},removeChild:{value:function(e){return n.prototype.removeChild.call(this,e),this._updateDocTypeElement(),e}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof oe?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof oe}},getElementsByName:{value:a.prototype.getElementsByName},getElementsByTagName:{value:a.prototype.getElementsByTagName},getElementsByTagNameNS:{value:a.prototype.getElementsByTagNameNS},getElementsByClassName:{value:a.prototype.getElementsByClassName},adoptNode:{value:function(e){return e.nodeType===n.DOCUMENT_NODE&&x.NotSupportedError(),e.nodeType===n.ATTRIBUTE_NODE?e:(e.parentNode&&e.parentNode.removeChild(e),e.ownerDocument!==this&&k(e,this),e)}},importNode:{value:function(e,t){return this.adoptNode(e.cloneNode(t))},writable:w},origin:{get:function(){return null}},characterSet:{get:function(){return`UTF-8`}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:x.nyi,set:x.nyi},referrer:{get:x.nyi},cookie:{get:x.nyi,set:x.nyi},lastModified:{get:x.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:x.nyi},_titleElement:{get:function(){return this.getElementsByTagName(`title`).item(0)||null}},title:{get:function(){var e=this._titleElement;return(e?e.textContent:``).replace(/[ \t\n\r\f]+/g,` `).replace(/(^ )|( $)/g,``)},set:function(e){var t=this._titleElement,n=this.head;!t&&!n||(t||(t=this.createElement(`title`),n.appendChild(t)),t.textContent=e)}},dir:te(function(){var e=this.documentElement;if(e&&e.tagName===`HTML`)return e},`dir`,``),fgColor:te(function(){return this.body},`text`,``),linkColor:te(function(){return this.body},`link`,``),vlinkColor:te(function(){return this.body},`vLink`,``),alinkColor:te(function(){return this.body},`aLink`,``),bgColor:te(function(){return this.body},`bgColor`,``),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return D(this.documentElement,`body`)},set:x.nyi},head:{get:function(){return D(this.documentElement,`head`)}},images:{get:x.nyi},embeds:{get:x.nyi},plugins:{get:x.nyi},links:{get:x.nyi},forms:{get:x.nyi},scripts:{get:x.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:x.nyi},outerHTML:{get:function(){return this.serialize()},set:x.nyi},write:{value:function(e){if(this.isHTML||x.InvalidStateError(),this._parser){this._parser;var t=arguments.join(``);this._parser.parse(t)}}},writeln:{value:function(e){this.write(Array.prototype.join.call(arguments,``)+`
|
|
26
|
-
`)}},open:{value:function(){this.documentElement=null}},close:{value:function(){this.readyState=`interactive`,this._dispatchEvent(new c(`readystatechange`),!0),this._dispatchEvent(new c(`DOMContentLoaded`),!0),this.readyState=`complete`,this._dispatchEvent(new c(`readystatechange`),!0),this.defaultView&&this.defaultView._dispatchEvent(new c(`load`),!0)}},clone:{value:function(){var e=new T(this.isHTML,this._address);return e._quirks=this._quirks,e._contentType=this._contentType,e}},cloneNode:{value:function(e){var t=n.prototype.cloneNode.call(this,!1);if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(t.importNode(r,!0));return t._updateDocTypeElement(),t}},isEqual:{value:function(e){return!0}},mutateValue:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.VALUE,target:e,data:e.data})}},mutateAttr:{value:function(e,t){this.mutationHandler&&this.mutationHandler({type:S.ATTR,target:e.ownerElement,attr:e})}},mutateRemoveAttr:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.REMOVE_ATTR,target:e.ownerElement,attr:e})}},mutateRemove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.REMOVE,target:e.parentNode,node:e}),ae(e)}},mutateInsert:{value:function(e){ie(e),this.mutationHandler&&this.mutationHandler({type:S.INSERT,target:e.parentNode,node:e})}},mutateMove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.MOVE,target:e})}},addId:{value:function(e,t){var n=this.byId[e];n?(n instanceof oe||(n=new oe(n),this.byId[e]=n),n.add(t)):this.byId[e]=t}},delId:{value:function(e,t){var n=this.byId[e];x.assert(n),n instanceof oe?(n.del(t),n.length===1&&(this.byId[e]=n.downgrade())):this.byId[e]=void 0}},_resolve:{value:function(e){return new h(this._documentBaseURL).resolve(e)}},_documentBaseURL:{get:function(){var e=this._address;e===`about:blank`&&(e=`/`);var t=this.querySelector(`base[href]`);return t?new h(e).resolve(t.getAttribute(`href`)):e}},_templateDoc:{get:function(){if(!this._templateDocCache){var e=new T(this.isHTML,this._address);this._templateDocCache=e._templateDocCache=e}return this._templateDocCache}},querySelector:{value:function(e){return g(e,this)[0]}},querySelectorAll:{value:function(e){var t=g(e,this);return t.item?t:new r(t)}}}),`abort.canplay.canplaythrough.change.click.contextmenu.cuechange.dblclick.drag.dragend.dragenter.dragleave.dragover.dragstart.drop.durationchange.emptied.ended.input.invalid.keydown.keypress.keyup.loadeddata.loadedmetadata.loadstart.mousedown.mousemove.mouseout.mouseover.mouseup.mousewheel.pause.play.playing.progress.ratechange.readystatechange.reset.seeked.seeking.select.show.stalled.submit.suspend.timeupdate.volumechange.waiting.blur.error.focus.load.scroll`.split(`.`).forEach(function(e){Object.defineProperty(T.prototype,`on`+e,{get:function(){return this._getEventHandler(e)},set:function(t){this._setEventHandler(e,t)}})});function D(e,t){if(e&&e.isHTML){for(var r=e.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===n.ELEMENT_NODE&&r.localName===t&&r.namespaceURI===C.HTML)return r}return null}function O(e){if(e._nid=e.ownerDocument._nextnid++,e.ownerDocument._nodes[e._nid]=e,e.nodeType===n.ELEMENT_NODE){var t=e.getAttribute(`id`);t&&e.ownerDocument.addId(t,e),e._roothook&&e._roothook()}}function re(e){if(e.nodeType===n.ELEMENT_NODE){var t=e.getAttribute(`id`);t&&e.ownerDocument.delId(t,e)}e.ownerDocument._nodes[e._nid]=void 0,e._nid=void 0}function ie(e){if(O(e),e.nodeType===n.ELEMENT_NODE)for(var t=e.firstChild;t!==null;t=t.nextSibling)ie(t)}function ae(e){re(e);for(var t=e.firstChild;t!==null;t=t.nextSibling)ae(t)}function k(e,t){e.ownerDocument=t,e._lastModTime=void 0,Object.prototype.hasOwnProperty.call(e,`_tagName`)&&(e._tagName=void 0);for(var n=e.firstChild;n!==null;n=n.nextSibling)k(n,t)}function oe(e){this.nodes=Object.create(null),this.nodes[e._nid]=e,this.length=1,this.firstNode=void 0}oe.prototype.add=function(e){this.nodes[e._nid]||(this.nodes[e._nid]=e,this.length++,this.firstNode=void 0)},oe.prototype.del=function(e){this.nodes[e._nid]&&(delete this.nodes[e._nid],this.length--,this.firstNode=void 0)},oe.prototype.getFirst=function(){if(!this.firstNode)for(var e in this.nodes)(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[e])&n.DOCUMENT_POSITION_PRECEDING)&&(this.firstNode=this.nodes[e]);return this.firstNode},oe.prototype.downgrade=function(){if(this.length===1)for(var e in this.nodes)return this.nodes[e];return this}})),id=E(((e,t)=>{t.exports=a;var n=Cu(),r=Lu(),i=Nu();function a(e,t,i,a){r.call(this),this.nodeType=n.DOCUMENT_TYPE_NODE,this.ownerDocument=e||null,this.name=t,this.publicId=i||``,this.systemId=a||``}a.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new a(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(e){return this.name===e.name&&this.publicId===e.publicId&&this.systemId===e.systemId}}}),Object.defineProperties(a.prototype,i)})),ad=E(((e,t)=>{t.exports=j;var n=rd(),r=id(),i=Cu(),a=yu().NAMESPACE,o=ed(),s=o.elements,c=Function.prototype.apply.bind(Array.prototype.push),l=-1,u=1,d=2,f=3,p=4,m=5,h=[],g=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict\/\/|^-\/\/IETF\/\/DTD HTML 2\.0\/\/|^-\/\/IETF\/\/DTD HTML 2\.1E\/\/|^-\/\/IETF\/\/DTD HTML 3\.0\/\/|^-\/\/IETF\/\/DTD HTML 3\.2 Final\/\/|^-\/\/IETF\/\/DTD HTML 3\.2\/\/|^-\/\/IETF\/\/DTD HTML 3\/\/|^-\/\/IETF\/\/DTD HTML Level 0\/\/|^-\/\/IETF\/\/DTD HTML Level 1\/\/|^-\/\/IETF\/\/DTD HTML Level 2\/\/|^-\/\/IETF\/\/DTD HTML Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 0\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict\/\/|^-\/\/IETF\/\/DTD HTML\/\/|^-\/\/Metrius\/\/DTD Metrius Presentational\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 Tables\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 Tables\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD HTML\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD Strict HTML\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML 2\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended 1\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended Relaxed 1\.0\/\/|^-\/\/SoftQuad Software\/\/DTD HoTMetaL PRO 6\.0::19990601::extensions to HTML 4\.0\/\/|^-\/\/SoftQuad\/\/DTD HoTMetaL PRO 4\.0::19971010::extensions to HTML 4\.0\/\/|^-\/\/Spyglass\/\/DTD HTML 2\.0 Extended\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava HTML\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava Strict HTML\/\/|^-\/\/W3C\/\/DTD HTML 3 1995-03-24\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Draft\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Final\/\/|^-\/\/W3C\/\/DTD HTML 3\.2\/\/|^-\/\/W3C\/\/DTD HTML 3\.2S Draft\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/|^-\/\/W3C\/\/DTD HTML Experimental 19960712\/\/|^-\/\/W3C\/\/DTD HTML Experimental 970421\/\/|^-\/\/W3C\/\/DTD W3 HTML\/\/|^-\/\/W3O\/\/DTD W3 HTML 3\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML 2\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML\/\//i,_=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,v=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,y=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,b=Object.create(null);b[a.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0},b[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0},b[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var x=Object.create(null);x[a.HTML]={__proto__:null,address:!0,div:!0,p:!0};var S=Object.create(null);S[a.HTML]={__proto__:null,dd:!0,dt:!0};var C=Object.create(null);C[a.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var w=Object.create(null);w[a.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var T=Object.create(null);T[a.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var E=Object.create(null);E[a.HTML]={__proto__:null,table:!0,template:!0,html:!0};var ee=Object.create(null);ee[a.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var te=Object.create(null);te[a.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var ne=Object.create(null);ne[a.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var D=Object.create(null);D[a.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0},D[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0},D[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var O=Object.create(D);O[a.HTML]=Object.create(D[a.HTML]),O[a.HTML].ol=!0,O[a.HTML].ul=!0;var re=Object.create(D);re[a.HTML]=Object.create(D[a.HTML]),re[a.HTML].button=!0;var ie=Object.create(null);ie[a.HTML]={__proto__:null,html:!0,table:!0,template:!0};var ae=Object.create(null);ae[a.HTML]={__proto__:null,optgroup:!0,option:!0};var k=Object.create(null);k[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var oe=Object.create(null);oe[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var se={__proto__:null,"xlink:actuate":a.XLINK,"xlink:arcrole":a.XLINK,"xlink:href":a.XLINK,"xlink:role":a.XLINK,"xlink:show":a.XLINK,"xlink:title":a.XLINK,"xlink:type":a.XLINK,"xml:base":a.XML,"xml:lang":a.XML,"xml:space":a.XML,xmlns:a.XMLNS,"xmlns:xlink":a.XMLNS},ce={__proto__:null,attributename:`attributeName`,attributetype:`attributeType`,basefrequency:`baseFrequency`,baseprofile:`baseProfile`,calcmode:`calcMode`,clippathunits:`clipPathUnits`,diffuseconstant:`diffuseConstant`,edgemode:`edgeMode`,filterunits:`filterUnits`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,limitingconeangle:`limitingConeAngle`,markerheight:`markerHeight`,markerunits:`markerUnits`,markerwidth:`markerWidth`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,numoctaves:`numOctaves`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,refx:`refX`,refy:`refY`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stitchtiles:`stitchTiles`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textlength:`textLength`,viewbox:`viewBox`,viewtarget:`viewTarget`,xchannelselector:`xChannelSelector`,ychannelselector:`yChannelSelector`,zoomandpan:`zoomAndPan`},A={__proto__:null,altglyph:`altGlyph`,altglyphdef:`altGlyphDef`,altglyphitem:`altGlyphItem`,animatecolor:`animateColor`,animatemotion:`animateMotion`,animatetransform:`animateTransform`,clippath:`clipPath`,feblend:`feBlend`,fecolormatrix:`feColorMatrix`,fecomponenttransfer:`feComponentTransfer`,fecomposite:`feComposite`,feconvolvematrix:`feConvolveMatrix`,fediffuselighting:`feDiffuseLighting`,fedisplacementmap:`feDisplacementMap`,fedistantlight:`feDistantLight`,feflood:`feFlood`,fefunca:`feFuncA`,fefuncb:`feFuncB`,fefuncg:`feFuncG`,fefuncr:`feFuncR`,fegaussianblur:`feGaussianBlur`,feimage:`feImage`,femerge:`feMerge`,femergenode:`feMergeNode`,femorphology:`feMorphology`,feoffset:`feOffset`,fepointlight:`fePointLight`,fespecularlighting:`feSpecularLighting`,fespotlight:`feSpotLight`,fetile:`feTile`,feturbulence:`feTurbulence`,foreignobject:`foreignObject`,glyphref:`glyphRef`,lineargradient:`linearGradient`,radialgradient:`radialGradient`,textpath:`textPath`},le={__proto__:null,0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},ue={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},de=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,fe=32,pe=/[^\r"&\u0000]+/g,me=/[^\r'&\u0000]+/g,he=/[^\r\t\n\f &>\u0000]+/g,ge=/[^\r\t\n\f \/>A-Z\u0000]+/g,_e=/[^\r\t\n\f \/=>A-Z\u0000]+/g,ve=/[^\]\r\u0000\uffff]*/g,ye=/[^&<\r\u0000\uffff]*/g,be=/[^<\r\u0000\uffff]*/g,xe=/[^\r\u0000\uffff]*/g,Se=/(?:(\/)?([a-z]+)>)|[\s\S]/g,Ce=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,we=/[^\x09\x0A\x0C\x0D\x20]/,Te=/[^\x09\x0A\x0C\x0D\x20]/g,Ee=/[^\x00\x09\x0A\x0C\x0D\x20]/,De=/^[\x09\x0A\x0C\x0D\x20]+/,Oe=/\x00/g;function ke(e){var t=16384;if(e.length<t)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<e.length;r+=t)n+=String.fromCharCode.apply(String,e.slice(r,r+t));return n}function Ae(e){for(var t=[],n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function je(e,t){if(typeof t==`string`)return e.namespaceURI===a.HTML&&e.localName===t;var n=t[e.namespaceURI];return n&&n[e.localName]}function Me(e){return je(e,k)}function Ne(e){if(je(e,oe))return!0;if(e.namespaceURI===a.MATHML&&e.localName===`annotation-xml`){var t=e.getAttribute(`encoding`);if(t&&=t.toLowerCase(),t===`text/html`||t===`application/xhtml+xml`)return!0}return!1}function Pe(e){return e in A?A[e]:e}function Fe(e){for(var t=0,n=e.length;t<n;t++)e[t][0]in ce&&(e[t][0]=ce[e[t][0]])}function Ie(e){for(var t=0,n=e.length;t<n;t++)if(e[t][0]===`definitionurl`){e[t][0]=`definitionURL`;break}}function Le(e){for(var t=0,n=e.length;t<n;t++)e[t][0]in se&&e[t].push(se[e[t][0]])}function Re(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n][0],a=e[n][1];t.hasAttribute(i)||t._setAttribute(i,a)}}j.ElementStack=function(){this.elements=[],this.top=null},j.ElementStack.prototype.push=function(e){this.elements.push(e),this.top=e},j.ElementStack.prototype.pop=function(e){this.elements.pop(),this.top=this.elements[this.elements.length-1]},j.ElementStack.prototype.popTag=function(e){for(var t=this.elements.length-1;t>0;t--){var n=this.elements[t];if(je(n,e))break}this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.popElementType=function(e){for(var t=this.elements.length-1;t>0&&!(this.elements[t]instanceof e);t--);this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.popElement=function(e){for(var t=this.elements.length-1;t>0&&this.elements[t]!==e;t--);this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.removeElement=function(e){if(this.top===e)this.pop();else{var t=this.elements.lastIndexOf(e);t!==-1&&this.elements.splice(t,1)}},j.ElementStack.prototype.clearToContext=function(e){for(var t=this.elements.length-1;t>0&&!je(this.elements[t],e);t--);this.elements.length=t+1,this.top=this.elements[t]},j.ElementStack.prototype.contains=function(e){return this.inSpecificScope(e,Object.create(null))},j.ElementStack.prototype.inSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(je(r,e))return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.elementInSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(r===e)return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.elementTypeInSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(r instanceof e)return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.inScope=function(e){return this.inSpecificScope(e,D)},j.ElementStack.prototype.elementInScope=function(e){return this.elementInSpecificScope(e,D)},j.ElementStack.prototype.elementTypeInScope=function(e){return this.elementTypeInSpecificScope(e,D)},j.ElementStack.prototype.inButtonScope=function(e){return this.inSpecificScope(e,re)},j.ElementStack.prototype.inListItemScope=function(e){return this.inSpecificScope(e,O)},j.ElementStack.prototype.inTableScope=function(e){return this.inSpecificScope(e,ie)},j.ElementStack.prototype.inSelectScope=function(e){for(var t=this.elements.length-1;t>=0;t--){var n=this.elements[t];if(n.namespaceURI!==a.HTML)return!1;var r=n.localName;if(r===e)return!0;if(r!==`optgroup`&&r!==`option`)return!1}return!1},j.ElementStack.prototype.generateImpliedEndTags=function(e,t){for(var n=t?T:w,r=this.elements.length-1;r>=0;r--){var i=this.elements[r];if(e&&je(i,e)||!je(this.elements[r],n))break}this.elements.length=r+1,this.top=this.elements[r]},j.ActiveFormattingElements=function(){this.list=[],this.attrs=[]},j.ActiveFormattingElements.prototype.MARKER={localName:`|`},j.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)},j.ActiveFormattingElements.prototype.push=function(e,t){for(var n=0,r=this.list.length-1;r>=0&&this.list[r]!==this.MARKER;r--)if(o(e,this.list[r],this.attrs[r])&&(n++,n===3)){this.list.splice(r,1),this.attrs.splice(r,1);break}this.list.push(e);for(var i=[],a=0;a<t.length;a++)i[a]=t[a];this.attrs.push(i);function o(e,t,n){if(e.localName!==t.localName||e._numattrs!==n.length)return!1;for(var r=0,i=n.length;r<i;r++){var a=n[r][0],o=n[r][1];if(!e.hasAttribute(a)||e.getAttribute(a)!==o)return!1}return!0}},j.ActiveFormattingElements.prototype.clearToMarker=function(){for(var e=this.list.length-1;e>=0&&this.list[e]!==this.MARKER;e--);e<0&&(e=0),this.list.length=e,this.attrs.length=e},j.ActiveFormattingElements.prototype.findElementByTag=function(e){for(var t=this.list.length-1;t>=0;t--){var n=this.list[t];if(n===this.MARKER)break;if(n.localName===e)return n}return null},j.ActiveFormattingElements.prototype.indexOf=function(e){return this.list.lastIndexOf(e)},j.ActiveFormattingElements.prototype.remove=function(e){var t=this.list.lastIndexOf(e);t!==-1&&(this.list.splice(t,1),this.attrs.splice(t,1))},j.ActiveFormattingElements.prototype.replace=function(e,t,n){var r=this.list.lastIndexOf(e);r!==-1&&(this.list[r]=t,this.attrs[r]=n)},j.ActiveFormattingElements.prototype.insertAfter=function(e,t){var n=this.list.lastIndexOf(e);n!==-1&&(this.list.splice(n,0,t),this.attrs.splice(n,0,t))};function j(e,t,w){var T=null,D=0,O=0,re=!1,ie=!1,ae=0,k=[],oe=``,se=!0,ce=0,A=K,ze,Be,Ve=``,He=``,Ue=[],We=``,Ge=``,Ke=[],qe=[],Je=[],Ye=[],Xe=[],Ze=!1,M=yr,Qe=null,$e=[],N=new j.ElementStack,P=new j.ActiveFormattingElements,et=t!==void 0,tt=null,nt=null,rt=!0;t&&(rt=t.ownerDocument._scripting_enabled),w&&w.scripting_enabled===!1&&(rt=!1);var it=!0,at=!1,ot,st,F=[],ct=!1,lt=!1,ut={document:function(){return I},_asDocumentFragment:function(){for(var e=I.createDocumentFragment(),t=I.firstChild;t.hasChildNodes();)e.appendChild(t.firstChild);return e},pause:function(){ce++},resume:function(){ce--,this.parse(``)},parse:function(e,t,n){var r;return ce>0?(oe+=e,!0):(ae===0?(oe&&=(e=oe+e,``),t&&(e+=``,re=!0),T=e,D=e.length,O=0,se&&(se=!1,T.charCodeAt(0)===65279&&(O=1)),ae++,r=pt(n),oe=T.substring(O,D),ae--):(ae++,k.push(T,D,O),T=e,D=e.length,O=0,pt(),r=!1,oe=T.substring(O,D),O=k.pop(),D=k.pop(),T=k.pop(),oe&&=(T=oe+T.substring(O),D=T.length,O=0,``),ae--),r)}},I=new n(!0,e);if(I._parser=ut,I._scripting_enabled=rt,t){if(t.ownerDocument._quirks&&(I._quirks=!0),t.ownerDocument._limitedQuirks&&(I._limitedQuirks=!0),t.namespaceURI===a.HTML)switch(t.localName){case`title`:case`textarea`:A=Jt;break;case`style`:case`xmp`:case`iframe`:case`noembed`:case`noframes`:case`script`:case`plaintext`:A=Zt;break}var dt=I.createElement(`html`);I._appendChild(dt),N.push(dt),t instanceof s.HTMLTemplateElement&&$e.push(Fr),Vt();for(var ft=t;ft!==null;ft=ft.parentElement)if(ft instanceof s.HTMLFormElement){nt=ft;break}}function pt(e){for(var t,n,r,i;O<D;){if(ce>0||e&&e())return!0;switch(typeof A.lookahead){case`undefined`:if(t=T.charCodeAt(O++),ie&&(ie=!1,t===10)){O++;continue}switch(t){case 13:O<D?T.charCodeAt(O)===10&&O++:ie=!0,A(10);break;case 65535:if(re&&O===D){A(l);break}default:A(t);break}break;case`number`:t=T.charCodeAt(O);var a=A.lookahead,o=!0;if(a<0&&(o=!1,a=-a),a<D-O)n=o?T.substring(O,O+a):null,i=!1;else if(re)n=o?T.substring(O,D):null,i=!0,t===65535&&O===D-1&&(t=l);else return!0;A(t,n,i);break;case`string`:t=T.charCodeAt(O),r=A.lookahead;var s=T.indexOf(r,O);if(s!==-1)n=T.substring(O,s+r.length),i=!1;else{if(!re)return!0;n=T.substring(O,D),t===65535&&O===D-1&&(t=l),i=!0}A(t,n,i);break}}return!1}function mt(e,t){for(var n=0;n<Xe.length;n++)if(Xe[n][0]===e)return;t===void 0?Xe.push([e]):Xe.push([e,t])}function ht(){Ce.lastIndex=O-1;var e=Ce.exec(T);if(!e)throw Error(`should never happen`);var t=e[1];if(!t)return!1;var n=e[2],r=n.length;switch(n[0]){case`"`:case`'`:n=n.substring(1,r-1),O+=e[0].length-1,A=jn;break;default:A=wn,O+=e[0].length-1,n=n.substring(0,r-1);break}for(var i=0;i<Xe.length;i++)if(Xe[i][0]===t)return!0;return Xe.push([t,n]),!0}function gt(){Ze=!1,Ve=``,Xe.length=0}function _t(){Ze=!0,Ve=``,Xe.length=0}function vt(){Ue.length=0}function yt(){We=``}function bt(){Ge=``}function xt(){Ke.length=0}function L(){qe.length=0,Je=null,Ye=null}function St(){Je=[]}function Ct(){Ye=[]}function R(){at=!0}function wt(){return N.top&&N.top.namespaceURI!==`http://www.w3.org/1999/xhtml`}function Tt(e){return He===e}function z(){if(F.length>0){var e=ke(F);if(F.length=0,lt&&(lt=!1,e[0]===`
|
|
27
|
-
`&&(e=e.substring(1)),e.length===0))return;
|
|
28
|
-
`&&(e=e.substring(1)),e.length===0))&&Mt(u,e)}function kt(){if(Ze)Mt(f,Ve);else{var e=Ve;Ve=``,He=e,Mt(d,e,Xe)}}function At(){if(O===D)return!1;Se.lastIndex=O;var e=Se.exec(T);if(!e)throw Error(`should never happen`);var t=e[2];return t?(e[1]?(O+=t.length+2,Mt(f,t)):(O+=t.length+1,He=t,Mt(d,t,h)),!0):!1}function jt(){Ze?Mt(f,Ve,null,!0):Mt(d,Ve,Xe,!0)}function B(){Mt(m,ke(qe),Je?ke(Je):void 0,Ye?ke(Ye):void 0)}function V(){z(),M(l),I.modclock=1}var Mt=ut.insertToken=function(e,t,n,r){z();var i=N.top;!i||i.namespaceURI===a.HTML?M(e,t,n,r):e!==d&&e!==u?Vr(e,t,n,r):Me(i)&&(e===u||e===d&&t!==`mglyph`&&t!==`malignmark`)||e===d&&t===`svg`&&i.namespaceURI===a.MATHML&&i.localName===`annotation-xml`||Ne(i)?(st=!0,M(e,t,n,r),st=!1):Vr(e,t,n,r)};function Nt(e){var t=N.top;It&&je(t,C)?Bt(function(t){return t.createComment(e)}):(t instanceof s.HTMLTemplateElement&&(t=t.content),t._appendChild(t.ownerDocument.createComment(e)))}function Pt(e){var t=N.top;if(It&&je(t,C))Bt(function(t){return t.createTextNode(e)});else{t instanceof s.HTMLTemplateElement&&(t=t.content);var n=t.lastChild;n&&n.nodeType===i.TEXT_NODE?n.appendData(e):t._appendChild(t.ownerDocument.createTextNode(e))}}function Ft(e,t,n){var r=o.createElement(e,t,null);if(n)for(var i=0,a=n.length;i<a;i++)r._setAttribute(n[i][0],n[i][1]);return r}var It=!1;function H(e,t){var n=Lt(function(n){return Ft(n,e,t)});return je(n,ne)&&(n._form=nt),n}function Lt(e){var t;return It&&je(N.top,C)?t=Bt(e):N.top instanceof s.HTMLTemplateElement?(t=e(N.top.content.ownerDocument),N.top.content._appendChild(t)):(t=e(N.top.ownerDocument),N.top._appendChild(t)),N.push(t),t}function Rt(e,t,n){return Lt(function(r){var i=r._createElementNS(e,n,null);if(t)for(var a=0,o=t.length;a<o;a++){var s=t[a];s.length===2?i._setAttribute(s[0],s[1]):i._setAttributeNS(s[2],s[0],s[1])}return i})}function zt(e){for(var t=N.elements.length-1;t>=0;t--)if(N.elements[t]instanceof e)return t;return-1}function Bt(e){var t,n,r=-1,a=-1,o;if(r=zt(s.HTMLTableElement),a=zt(s.HTMLTemplateElement),a>=0&&(r<0||a>r)?t=N.elements[a]:r>=0&&(t=N.elements[r].parentNode,t?n=N.elements[r]:t=N.elements[r-1]),t||=N.elements[0],t instanceof s.HTMLTemplateElement&&(t=t.content),o=e(t.ownerDocument),o.nodeType===i.TEXT_NODE){var c=n?n.previousSibling:t.lastChild;if(c&&c.nodeType===i.TEXT_NODE)return c.appendData(o.data),o}return n?t.insertBefore(o,n):t._appendChild(o),o}function Vt(){for(var e=!1,n=N.elements.length-1;n>=0;n--){var r=N.elements[n];if(n===0&&(e=!0,et&&(r=t)),r.namespaceURI===a.HTML){var i=r.localName;switch(i){case`select`:for(var o=n;o>0;){var c=N.elements[--o];if(c instanceof s.HTMLTemplateElement)break;if(c instanceof s.HTMLTableElement){M=Pr;return}}M=Nr;return;case`tr`:M=jr;return;case`tbody`:case`tfoot`:case`thead`:M=Ar;return;case`caption`:M=Or;return;case`colgroup`:M=kr;return;case`table`:M=Er;return;case`template`:M=$e[$e.length-1];return;case`body`:M=J;return;case`frameset`:M=Lr;return;case`html`:M=tt===null?xr:wr;return;default:if(!e){if(i===`head`){M=Sr;return}if(i===`td`||i===`th`){M=Mr;return}}}}if(e){M=J;return}}}function Ht(e,t){H(e,t),A=Yt,Qe=M,M=Tr}function Ut(e,t){H(e,t),A=Jt,Qe=M,M=Tr}function Wt(e,t){return{elt:Ft(e,P.list[t].localName,P.attrs[t]),attrs:P.attrs[t]}}function Gt(){if(P.list.length!==0){var e=P.list[P.list.length-1];if(e!==P.MARKER&&N.elements.lastIndexOf(e)===-1){for(var t=P.list.length-2;t>=0&&(e=P.list[t],!(e===P.MARKER||N.elements.lastIndexOf(e)!==-1));t--);for(t+=1;t<P.list.length;t++){var n=Lt(function(e){return Wt(e,t).elt});P.list[t]=n}}}}var Kt={localName:`BM`};function U(e){if(je(N.top,e)&&P.indexOf(N.top)===-1)return N.pop(),!0;for(var t=0;t<8;){t++;var n=P.findElementByTag(e);if(!n)return!1;var r=N.elements.lastIndexOf(n);if(r===-1)return P.remove(n),!0;if(!N.elementInScope(n))return!0;for(var i=null,a,o=r+1;o<N.elements.length;o++)if(je(N.elements[o],b)){i=N.elements[o],a=o;break}if(i){var c=N.elements[r-1];P.insertAfter(n,Kt);for(var l=i,u=i,d=a,f,p=0;p++,l=N.elements[--d],l!==n;){if(f=P.indexOf(l),p>3&&f!==-1&&(P.remove(l),f=-1),f===-1){N.removeElement(l);continue}var m=Wt(c.ownerDocument,f);P.replace(l,m.elt,m.attrs),N.elements[d]=m.elt,l=m.elt,u===i&&(P.remove(Kt),P.insertAfter(m.elt,Kt)),l._appendChild(u),u=l}It&&je(c,C)?Bt(function(){return u}):c instanceof s.HTMLTemplateElement?c.content._appendChild(u):c._appendChild(u);for(var h=Wt(i.ownerDocument,P.indexOf(n));i.hasChildNodes();)h.elt._appendChild(i.firstChild);i._appendChild(h.elt),P.remove(n),P.replace(Kt,h.elt,h.attrs),N.removeElement(n);var g=N.elements.lastIndexOf(i);N.elements.splice(g+1,0,h.elt)}else return N.popElement(n),P.remove(n),!0}return!0}function W(){N.pop(),M=Qe}function qt(){delete I._parser,N.elements.length=0,I.defaultView&&I.defaultView.dispatchEvent(new s.Event(`load`,{}))}function G(e,t){A=t,O--}function K(e){switch(e){case 38:ze=K,A=ur;break;case 60:if(At())break;A=Qt;break;case 0:F.push(e),ct=!0;break;case-1:V();break;default:Dt(ye)||F.push(e);break}}function Jt(e){switch(e){case 38:ze=Jt,A=ur;break;case 60:A=tn;break;case 0:F.push(65533),ct=!0;break;case-1:V();break;default:F.push(e);break}}function Yt(e){switch(e){case 60:A=an;break;case 0:F.push(65533);break;case-1:V();break;default:Dt(be)||F.push(e);break}}function Xt(e){switch(e){case 60:A=cn;break;case 0:F.push(65533);break;case-1:V();break;default:Dt(be)||F.push(e);break}}function Zt(e){switch(e){case 0:F.push(65533);break;case-1:V();break;default:Dt(xe)||F.push(e);break}}function Qt(e){switch(e){case 33:A=Pn;break;case 47:A=$t;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:gt(),G(e,en);break;case 63:G(e,Nn);break;default:F.push(60),G(e,K);break}}function $t(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),G(e,en);break;case 62:A=K;break;case-1:F.push(60),F.push(47),V();break;default:G(e,Nn);break}}function en(e){switch(e){case 9:case 10:case 12:case 32:A=wn;break;case 47:A=Mn;break;case 62:A=K,kt();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32);break;case 0:Ve+=`�`;break;case-1:V();break;default:Ve+=Et(ge);break}}function tn(e){e===47?(vt(),A=nn):(F.push(60),G(e,Jt))}function nn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),G(e,rn);break;default:F.push(60),F.push(47),G(e,Jt);break}}function rn(e){switch(e){case 9:case 10:case 12:case 32:if(Tt(Ve)){A=wn;return}break;case 47:if(Tt(Ve)){A=Mn;return}break;case 62:if(Tt(Ve)){A=K,kt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),G(e,Jt)}function an(e){e===47?(vt(),A=on):(F.push(60),G(e,Yt))}function on(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),G(e,sn);break;default:F.push(60),F.push(47),G(e,Yt);break}}function sn(e){switch(e){case 9:case 10:case 12:case 32:if(Tt(Ve)){A=wn;return}break;case 47:if(Tt(Ve)){A=Mn;return}break;case 62:if(Tt(Ve)){A=K,kt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),G(e,Yt)}function cn(e){switch(e){case 47:vt(),A=ln;break;case 33:A=un,F.push(60),F.push(33);break;default:F.push(60),G(e,Xt);break}}function ln(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),G(e,q);break;default:F.push(60),F.push(47),G(e,Xt);break}}function q(e){switch(e){case 9:case 10:case 12:case 32:if(Tt(Ve)){A=wn;return}break;case 47:if(Tt(Ve)){A=Mn;return}break;case 62:if(Tt(Ve)){A=K,kt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),G(e,Xt)}function un(e){e===45?(A=dn,F.push(45)):G(e,Xt)}function dn(e){e===45?(A=mn,F.push(45)):G(e,Xt)}function fn(e){switch(e){case 45:A=pn,F.push(45);break;case 60:A=hn;break;case 0:F.push(65533);break;case-1:V();break;default:F.push(e);break}}function pn(e){switch(e){case 45:A=mn,F.push(45);break;case 60:A=hn;break;case 0:A=fn,F.push(65533);break;case-1:V();break;default:A=fn,F.push(e);break}}function mn(e){switch(e){case 45:F.push(45);break;case 60:A=hn;break;case 62:A=Xt,F.push(62);break;case 0:A=fn,F.push(65533);break;case-1:V();break;default:A=fn,F.push(e);break}}function hn(e){switch(e){case 47:vt(),A=gn;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:vt(),F.push(60),G(e,vn);break;default:F.push(60),G(e,fn);break}}function gn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),G(e,_n);break;default:F.push(60),F.push(47),G(e,fn);break}}function _n(e){switch(e){case 9:case 10:case 12:case 32:if(Tt(Ve)){A=wn;return}break;case 47:if(Tt(Ve)){A=Mn;return}break;case 62:if(Tt(Ve)){A=K,kt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),G(e,fn)}function vn(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:A=ke(Ue)===`script`?yn:fn,F.push(e);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ue.push(e+32),F.push(e);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ue.push(e),F.push(e);break;default:G(e,fn);break}}function yn(e){switch(e){case 45:A=bn,F.push(45);break;case 60:A=Sn,F.push(60);break;case 0:F.push(65533);break;case-1:V();break;default:F.push(e);break}}function bn(e){switch(e){case 45:A=xn,F.push(45);break;case 60:A=Sn,F.push(60);break;case 0:A=yn,F.push(65533);break;case-1:V();break;default:A=yn,F.push(e);break}}function xn(e){switch(e){case 45:F.push(45);break;case 60:A=Sn,F.push(60);break;case 62:A=Xt,F.push(62);break;case 0:A=yn,F.push(65533);break;case-1:V();break;default:A=yn,F.push(e);break}}function Sn(e){e===47?(vt(),A=Cn,F.push(47)):G(e,yn)}function Cn(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:A=ke(Ue)===`script`?fn:yn,F.push(e);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ue.push(e+32),F.push(e);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ue.push(e),F.push(e);break;default:G(e,yn);break}}function wn(e){switch(e){case 9:case 10:case 12:case 32:break;case 47:A=Mn;break;case 62:A=K,kt();break;case-1:V();break;case 61:yt(),We+=String.fromCharCode(e),A=Tn;break;default:if(ht())break;yt(),G(e,Tn);break}}function Tn(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:case-1:G(e,En);break;case 61:A=Dn;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:We+=String.fromCharCode(e+32);break;case 0:We+=`�`;break;default:We+=Et(_e);break}}function En(e){switch(e){case 9:case 10:case 12:case 32:break;case 47:mt(We),A=Mn;break;case 61:A=Dn;break;case 62:A=K,mt(We),kt();break;case-1:mt(We),V();break;default:mt(We),yt(),G(e,Tn);break}}function Dn(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:bt(),A=On;break;case 39:bt(),A=kn;break;default:bt(),G(e,An);break}}function On(e){switch(e){case 34:mt(We,Ge),A=jn;break;case 38:ze=On,A=ur;break;case 0:Ge+=`�`;break;case-1:V();break;case 10:Ge+=String.fromCharCode(e);break;default:Ge+=Et(pe);break}}function kn(e){switch(e){case 39:mt(We,Ge),A=jn;break;case 38:ze=kn,A=ur;break;case 0:Ge+=`�`;break;case-1:V();break;case 10:Ge+=String.fromCharCode(e);break;default:Ge+=Et(me);break}}function An(e){switch(e){case 9:case 10:case 12:case 32:mt(We,Ge),A=wn;break;case 38:ze=An,A=ur;break;case 62:mt(We,Ge),A=K,kt();break;case 0:Ge+=`�`;break;case-1:O--,A=K;break;default:Ge+=Et(he);break}}function jn(e){switch(e){case 9:case 10:case 12:case 32:A=wn;break;case 47:A=Mn;break;case 62:A=K,kt();break;case-1:V();break;default:G(e,wn);break}}function Mn(e){switch(e){case 62:A=K,jt(!0);break;case-1:V();break;default:G(e,wn);break}}function Nn(e,t,n){var r=t.length;n?O+=r-1:O+=r;var i=t.substring(0,r-1);i=i.replace(/\u0000/g,`�`),i=i.replace(/\u000D\u000A/g,`
|
|
25
|
+
`),s+=b,s+=`</`+g+`>`}break;case 3:case 4:var x=t.nodeType===1&&t.namespaceURI===r.HTML?t.tagName:``;i[x]||x===`NOSCRIPT`&&t.ownerDocument._scripting_enabled?s+=e.data:s+=l(e.data);break;case 8:s+=`<!--`+m(e.data)+`-->`;break;case 7:let S=h(e.data);s+=`<?`+e.target+` `+S+`?>`;break;case 10:s+=`<!DOCTYPE `+e.name,s+=`>`;break;default:n.InvalidStateError()}return s}})),ad=O(((e,t)=>{t.exports=o;var n=nd(),r=rd(),i=id(),a=td();function o(){n.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var s=o.ELEMENT_NODE=1,c=o.ATTRIBUTE_NODE=2,l=o.TEXT_NODE=3,u=o.CDATA_SECTION_NODE=4,d=o.ENTITY_REFERENCE_NODE=5,f=o.ENTITY_NODE=6,p=o.PROCESSING_INSTRUCTION_NODE=7,m=o.COMMENT_NODE=8,h=o.DOCUMENT_NODE=9,g=o.DOCUMENT_TYPE_NODE=10,_=o.DOCUMENT_FRAGMENT_NODE=11,v=o.NOTATION_NODE=12,y=o.DOCUMENT_POSITION_DISCONNECTED=1,b=o.DOCUMENT_POSITION_PRECEDING=2,x=o.DOCUMENT_POSITION_FOLLOWING=4,S=o.DOCUMENT_POSITION_CONTAINS=8,C=o.DOCUMENT_POSITION_CONTAINED_BY=16,w=o.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;o.prototype=Object.create(n.prototype,{baseURI:{get:a.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===s?this.parentNode:null}},hasChildNodes:{value:a.shouldOverride},firstChild:{get:a.shouldOverride},lastChild:{get:a.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===o.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,n=this.firstChild;n!==null;n=n.nextSibling)n.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(e,t,n){var r=this,i,o;if(!e.nodeType)throw TypeError(`not a node`);switch(r.nodeType){case h:case _:case s:break;default:a.HierarchyRequestError()}switch(e.isAncestor(r)&&a.HierarchyRequestError(),(t!==null||!n)&&t.parentNode!==r&&a.NotFoundError(),e.nodeType){case _:case g:case s:case l:case p:case m:break;default:a.HierarchyRequestError()}if(r.nodeType===h)switch(e.nodeType){case l:a.HierarchyRequestError();break;case _:switch(e._countChildrenOfType(l)>0&&a.HierarchyRequestError(),e._countChildrenOfType(s)){case 0:break;case 1:if(t!==null)for(n&&t.nodeType===g&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===g&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;default:a.HierarchyRequestError()}break;case s:if(t!==null)for(n&&t.nodeType===g&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===g&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;case g:if(t===null)r._countChildrenOfType(s)&&a.HierarchyRequestError();else for(o=r.firstChild;o!==null&&o!==t;o=o.nextSibling)o.nodeType===s&&a.HierarchyRequestError();i=r._countChildrenOfType(g),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==g)&&a.HierarchyRequestError();break}else e.nodeType===g&&a.HierarchyRequestError()}},insertBefore:{value:function(e,t){var n=this;n._ensureInsertValid(e,t,!0);var r=t;return r===e&&(r=e.nextSibling),n.doc.adoptNode(e),e._insertOrReplace(n,r,!1),e}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(e){var t=this;if(!e.nodeType)throw TypeError(`not a node`);return e.parentNode!==t&&a.NotFoundError(),e.remove(),e}},replaceChild:{value:function(e,t){var n=this;return n._ensureInsertValid(e,t,!1),e.doc!==n.doc&&n.doc.adoptNode(e),e._insertOrReplace(n,t,!0),t}},contains:{value:function(e){return e===null?!1:this===e?!0:(this.compareDocumentPosition(e)&C)!==0}},compareDocumentPosition:{value:function(e){if(this===e)return 0;if(this.doc!==e.doc||this.rooted!==e.rooted)return y+w;for(var t=[],n=[],r=this;r!==null;r=r.parentNode)t.push(r);for(r=e;r!==null;r=r.parentNode)n.push(r);if(t.reverse(),n.reverse(),t[0]!==n[0])return y+w;r=Math.min(t.length,n.length);for(var i=1;i<r;i++)if(t[i]!==n[i])return t[i].index<n[i].index?x:b;return t.length<n.length?x+C:b+S}},isSameNode:{value:function(e){return this===e}},isEqualNode:{value:function(e){if(!e||e.nodeType!==this.nodeType||!this.isEqual(e))return!1;for(var t=this.firstChild,n=e.firstChild;t&&n;t=t.nextSibling,n=n.nextSibling)if(!t.isEqualNode(n))return!1;return t===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var n=this.firstChild;n!==null;n=n.nextSibling)t._appendChild(n.cloneNode(!0));return t}},lookupPrefix:{value:function(e){var t;if(e===``||e==null)return null;switch(this.nodeType){case s:return this._lookupNamespacePrefix(e,this);case h:return t=this.documentElement,t?t.lookupPrefix(e):null;case f:case v:case _:case g:return null;case c:return t=this.ownerElement,t?t.lookupPrefix(e):null;default:return t=this.parentElement,t?t.lookupPrefix(e):null}}},lookupNamespaceURI:{value:function(e){(e===``||e===void 0)&&(e=null);var t;switch(this.nodeType){case s:return a.shouldOverride();case h:return t=this.documentElement,t?t.lookupNamespaceURI(e):null;case f:case v:case g:case _:return null;case c:return t=this.ownerElement,t?t.lookupNamespaceURI(e):null;default:return t=this.parentElement,t?t.lookupNamespaceURI(e):null}}},isDefaultNamespace:{value:function(e){return(e===``||e===void 0)&&(e=null),this.lookupNamespaceURI(null)===e}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var n=0;n<t.length;n++)t[n]._index=n;a.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&a.WrongDocumentError()}},removeChildren:{value:a.shouldOverride},_insertOrReplace:{value:function(e,t,n){var i=this,o,s;i.nodeType===_&&i.rooted&&a.HierarchyRequestError(),e._childNodes&&(o=t===null?e._childNodes.length:t.index,i.parentNode===e&&i.index<o&&o--),n&&(t.rooted&&t.doc.mutateRemove(t),t.parentNode=null);var c=t;c===null&&(c=e.firstChild);var l=i.rooted&&e.rooted;if(i.nodeType===_){for(var u=[0,n?1:0],d,f=i.firstChild;f!==null;f=d)d=f.nextSibling,u.push(f),f.parentNode=e;var p=u.length;if(n?r.replace(c,p>2?u[2]:null):p>2&&c!==null&&r.insertBefore(u[2],c),e._childNodes)for(u[0]=t===null?e._childNodes.length:t._index,e._childNodes.splice.apply(e._childNodes,u),s=2;s<p;s++)u[s]._index=u[0]+(s-2);else e._firstChild===t&&(p>2?e._firstChild=u[2]:n&&(e._firstChild=null));if(i._childNodes?i._childNodes.length=0:i._firstChild=null,e.rooted)for(e.modify(),s=2;s<p;s++)e.doc.mutateInsert(u[s])}else{if(t===i)return;l?i._remove():i.parentNode&&i.remove(),i.parentNode=e,n?(r.replace(c,i),e._childNodes?(i._index=o,e._childNodes[o]=i):e._firstChild===t&&(e._firstChild=i)):(c!==null&&r.insertBefore(i,c),e._childNodes?(i._index=o,e._childNodes.splice(o,0,i)):e._firstChild===t&&(e._firstChild=i)),l?(e.modify(),e.doc.mutateMove(i)):e.rooted&&(e.modify(),e.doc.mutateInsert(i))}}},lastModTime:{get:function(){return this._lastModTime||=this.doc.modclock,this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&=e}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===o.TEXT_NODE){if(t.nodeValue===``){this.removeChild(t);continue}var n=t.previousSibling;n!==null&&n.nodeType===o.TEXT_NODE&&(n.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e=``,t=this.firstChild;t!==null;t=t.nextSibling)e+=i.serializeOne(t,this);return e}},outerHTML:{get:function(){return i.serializeOne(this,{nodeType:0})},set:a.nyi},ELEMENT_NODE:{value:s},ATTRIBUTE_NODE:{value:c},TEXT_NODE:{value:l},CDATA_SECTION_NODE:{value:u},ENTITY_REFERENCE_NODE:{value:d},ENTITY_NODE:{value:f},PROCESSING_INSTRUCTION_NODE:{value:p},COMMENT_NODE:{value:m},DOCUMENT_NODE:{value:h},DOCUMENT_TYPE_NODE:{value:g},DOCUMENT_FRAGMENT_NODE:{value:_},NOTATION_NODE:{value:v},DOCUMENT_POSITION_DISCONNECTED:{value:y},DOCUMENT_POSITION_PRECEDING:{value:b},DOCUMENT_POSITION_FOLLOWING:{value:x},DOCUMENT_POSITION_CONTAINS:{value:S},DOCUMENT_POSITION_CONTAINED_BY:{value:C},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:w}})})),od=O(((e,t)=>{t.exports=class extends Array{constructor(e){if(super(e&&e.length||0),e)for(var t in e)this[t]=e[t]}item(e){return this[e]||null}}})),sd=O(((e,t)=>{function n(e){return this[e]||null}function r(e){return e||=[],e.item=n,e}t.exports=r})),cd=O(((e,t)=>{var n;try{n=od()}catch{n=sd()}t.exports=n})),ld=O(((e,t)=>{t.exports=i;var n=ad(),r=cd();function i(){n.call(this),this._firstChild=this._childNodes=null}i.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,n=this._childNodes=new r;if(e)do n.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var e=this.rooted?this.ownerDocument:null,t=this.firstChild,n;t!==null;)n=t,t=n.nextSibling,e&&e.mutateRemove(n),n.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})})),ud=O((e=>{e.isValidName=h,e.isValidQName=g;var t=/^[_:A-Za-z][-.:\w]+$/,n=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,r=`_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�`,i=`-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`,c=RegExp(`^[`+o+`][`+s+`]*$`),l=RegExp(`^(`+a+`|`+a+`:`+a+`)$`),u=/[\uD800-\uDB7F\uDC00-\uDFFF]/,d=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,f=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;r+=`\ud800--\udfff`,i+=`\ud800--\udfff`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`;var p=RegExp(`^[`+o+`][`+s+`]*$`),m=RegExp(`^(`+a+`|`+a+`:`+a+`)$`);function h(e){if(t.test(e)||c.test(e))return!0;if(!u.test(e)||!p.test(e))return!1;var n=e.match(d),r=e.match(f);return r!==null&&2*r.length===n.length}function g(e){if(n.test(e)||l.test(e))return!0;if(!u.test(e)||!m.test(e))return!1;var t=e.match(d),r=e.match(f);return r!==null&&2*r.length===t.length}})),dd=O((e=>{var t=td();e.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(e){t[e.value||e]=e.alias||e});var r=e.missing;r===void 0&&(r=null);var i=e.invalid;return i===void 0&&(i=r),{get:function(){var n=this._getattr(e.name);return n===null?r:(n=t[n.toLowerCase()],n===void 0?i===null?n:i:n)},set:function(t){this._setattr(e.name,t)}}}else if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(t){t?this._setattr(e.name,``):this.removeAttribute(e.name)}};else if(e.type===Number||e.type===`long`||e.type===`unsigned long`||e.type===`limited unsigned long with fallback`)return n(e);else if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||``},set:function(t){e.treatNullAsEmptyString&&t===null&&(t=``),this._setattr(e.name,t)}};else if(typeof e.type==`function`)return e.type(e.name,e);throw Error(`Invalid attribute definition`)};function n(e){var n=typeof e.default==`function`?e.default:typeof e.default==`number`?function(){return e.default}:function(){t.assert(!1,typeof e.default)},r=e.type===`unsigned long`,i=e.type===`long`,a=e.type===`limited unsigned long with fallback`,o=e.min,s=e.max,c=e.setmin;return o===void 0&&(r&&(o=0),i&&(o=-2147483648),a&&(o=1)),s===void 0&&(r||i||a)&&(s=2147483647),{get:function(){var t=this._getattr(e.name),c=e.float?parseFloat(t):parseInt(t,10);if(t===null||!isFinite(c)||o!==void 0&&c<o||s!==void 0&&c>s)return n.call(this);if(r||i||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(t))return n.call(this);c|=0}return c},set:function(o){e.float||(o=Math.floor(o)),c!==void 0&&o<c&&t.IndexSizeError(e.name+` set to `+o),r?o=o<0||o>2147483647?n.call(this):o|0:a?o=o<1||o>2147483647?n.call(this):o|0:i&&(o=o<-2147483648||o>2147483647?n.call(this):o|0),this._setattr(e.name,String(o))}}}e.registerChangeHandler=function(e,t,n){var r=e.prototype;Object.prototype.hasOwnProperty.call(r,`_attributeChangeHandlers`)||(r._attributeChangeHandlers=Object.create(r._attributeChangeHandlers||null)),r._attributeChangeHandlers[t]=n}})),fd=O(((e,t)=>{t.exports=r;var n=ad();function r(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}r.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){for(var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t=e.nodeType===n.DOCUMENT_NODE?e.documentElement:e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})})),pd=O(((e,t)=>{var n=td();t.exports=r;function r(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue=``,this._update()}Object.defineProperties(r.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=s(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){return e=String(e),s(this).indexOf(e)>-1}},add:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]);e.indexOf(r)<0&&e.push(r)}this._update(e)}},remove:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]),i=e.indexOf(r);i>-1&&e.splice(i,1)}this._update(e)}},toggle:{value:function(e,t){return e=a(e),this.contains(e)?t===void 0||t===!1?(this.remove(e),!1):!0:t===void 0||t===!0?(this.add(e),!0):!1}},replace:{value:function(e,t){String(t)===``&&n.SyntaxError(),e=a(e),t=a(t);var r=s(this),i=r.indexOf(e);if(i<0)return!1;var o=r.indexOf(t);return o<0?r[i]=t:i<o?(r[i]=t,r.splice(o,1)):r.splice(i,1),this._update(r),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(i(this,e),this._setString(e.join(` `).trim())):i(this,s(this)),this._lastStringValue=this._getString()}}});function i(e,t){var n=e._length,r;for(e._length=t.length,r=0;r<t.length;r++)e[r]=t[r];for(;r<n;r++)e[r]=void 0}function a(e){return e=String(e),e===``&&n.SyntaxError(),/[ \t\r\n\f]/.test(e)&&n.InvalidCharacterError(),e}function o(e){for(var t=e._length,n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function s(e){var t=e._getString();if(t===e._lastStringValue)return o(e);var n=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,``);if(n===``)return[];var r=Object.create(null);return n.split(/[ \t\r\n\f]+/g).filter(function(e){var t=`$`+e;return r[t]?!1:(r[t]=!0,!0)})}})),md=O(((e,t)=>{var n=Object.create(null,{location:{get:function(){throw Error(`window.location is not supported.`)}}}),r=function(e,t){return e.compareDocumentPosition(t)},i=function(e,t){return r(e,t)&2?1:-1},a=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},o=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},s=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},c=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},l=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},u=function(e){if(!e)return e;var t=e[0];return t===`"`||t===`'`?(e=e[e.length-1]===t?e.slice(1,-1):e.slice(1),e.replace(x.str_escape,function(e){var t=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(e);if(!t)return e.slice(1);if(t[2])return``;var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})):x.ident.test(e)?d(e):e},d=function(e){return e.replace(x.escape,function(e){var t=/^\\([0-9A-Fa-f]+)/.exec(e);if(!t)return e[1];var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},f=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var n=this.length;n--;)if(this[n]===t)return n;return-1}})(),p=function(e,t){var n=x.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(n)},m=function(e,t,n){return e=e.source,e=e.replace(t,n.source||n),new RegExp(e)},h=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,``).replace(/(?:\/+|\/*#.*?)$/,``).split(`/`,t).join(`/`)},g=function(e,t){var n=e.replace(/\s+/g,``),r;return n===`even`?n=`2n+0`:n===`odd`?n=`2n+1`:n.indexOf(`n`)===-1&&(n=`0n`+n),r=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(n),{group:r[1]===`-`?-(r[2]||1):+(r[2]||1),offset:r[4]?r[3]===`-`?-r[4]:+r[4]:0}},_=function(e,t,n){var r=g(e),i=r.group,u=r.offset,d=n?c:s,f=n?o:a;return function(e){if(l(e))for(var n=d(e.parentNode),r=0;n;){if(t(n,e)&&r++,n===e)return r-=u,i&&r?r%i===0&&r<0==i<0:!r;n=f(n)}}},v={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,n,r){return t=y[t],function(i){var a;switch(e){case`for`:a=i.htmlFor;break;case`class`:a=i.className,a===``&&i.getAttribute(`class`)==null&&(a=null);break;case`href`:case`src`:a=i.getAttribute(e,2);break;case`title`:a=i.getAttribute(`title`)||null;break;case`id`:case`lang`:case`dir`:case`accessKey`:case`hidden`:case`tabIndex`:case`style`:if(i.getAttribute){a=i.getAttribute(e);break}default:if(i.hasAttribute&&!i.hasAttribute(e))break;a=i[e]==null?i.getAttribute&&i.getAttribute(e):i[e];break}if(a!=null)return a+=``,r&&(a=a.toLowerCase(),n=n.toLowerCase()),t(a,n)}},":first-child":function(e){return!o(e)&&l(e)},":last-child":function(e){return!a(e)&&l(e)},":only-child":function(e){return!o(e)&&!a(e)&&l(e)},":nth-child":function(e,t){return _(e,function(){return!0},t)},":nth-last-child":function(e){return v[`:nth-child`](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=ee(e);return function(e){return!t(e)}},":first-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=o(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=a(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return v[`:first-of-type`](e)&&v[`:last-of-type`](e)},":nth-of-type":function(e,t){return _(e,function(e,t){return e.nodeName===t.nodeName},t)},":nth-last-of-type":function(e){return v[`:nth-of-type`](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!v[`:checked`](e)},":enabled":function(e){return!e.disabled&&e.type!==`hidden`},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===n.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return ee(e)},":matches":function(e){return v[`:is`](e)},":nth-match":function(e,t){var n=e.split(/\s*,\s*/);return _(n.shift(),ee(n.join(`,`)),t)},":nth-last-match":function(e){return v[`:nth-match`](e,!0)},":links-here":function(e){return e+``==n.location+``},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var n=t||e.ownerDocument;return n.nodeType===9?e===n.documentElement:e===n},":any-link":function(e){return typeof e.href==`string`},":local-link":function(e){if(e.nodeName)return e.href&&e.host===n.location.host;var t=+e+1;return function(e){if(e.href){var r=n.location+``,i=e+``;return h(r,t)===h(i,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!v[`:valid`](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!v[`:in-range`](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute(`contenteditable`),n=e.contentEditable,r=e.nodeName.toLowerCase();return r=r!==`input`&&r!==`textarea`,(r||e.disabled)&&t==null&&n!==`true`},":read-write":function(e){return!v[`:read-only`](e)},":hover":function(){throw Error(`:hover is not supported.`)},":active":function(){throw Error(`:active is not supported.`)},":link":function(){throw Error(`:link is not supported.`)},":visited":function(){throw Error(`:visited is not supported.`)},":column":function(){throw Error(`:column is not supported.`)},":nth-column":function(){throw Error(`:nth-column is not supported.`)},":nth-last-column":function(){throw Error(`:nth-last-column is not supported.`)},":current":function(){throw Error(`:current is not supported.`)},":past":function(){throw Error(`:past is not supported.`)},":future":function(){throw Error(`:future is not supported.`)},":contains":function(e){return function(t){return(t.innerText||t.textContent||t.value||``).indexOf(e)!==-1}},":has":function(e){return function(t){return te(e,t).length>0}}},y={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var n,r,i,a;for(r=0;;r=n+1){if(n=e.indexOf(t,r),n===-1)return!1;if(i=e[n-1],a=e[n+t.length],(!i||i===` `)&&(!a||a===` `))return!0}},"|=":function(e,t){var n=e.indexOf(t),r;if(n===0)return r=e[n+t.length],r===`-`||!r},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var n=e.lastIndexOf(t);return n!==-1&&n+t.length===e.length},"!=":function(e,t){return e!==t}},b={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=o(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=o(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var n;function r(e){for(var t=e.ownerDocument.getElementsByTagName(`*`),i=t.length;i--;)if(n=t[i],r.test(e))return n=null,!0;n=null}return r.combinator=function(r){if(!(!n||!n.getAttribute)){var i=n.getAttribute(t)||``;if(i[0]===`#`&&(i=i.substring(1)),i===r.id&&e(n))return n}},r}},x={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};x.cssid=m(x.cssid,`nonascii`,x.nonascii),x.cssid=m(x.cssid,`escape`,x.escape),x.qname=m(x.qname,`cssid`,x.cssid),x.simple=m(x.simple,`cssid`,x.cssid),x.ref=m(x.ref,`cssid`,x.cssid),x.attr=m(x.attr,`cssid`,x.cssid),x.pseudo=m(x.pseudo,`cssid`,x.cssid),x.inside=m(x.inside,`[^"'>]*`,x.inside),x.attr=m(x.attr,`inside`,p(`\\[`,`\\]`)),x.pseudo=m(x.pseudo,`inside`,p(`\\(`,`\\)`)),x.simple=m(x.simple,`pseudo`,x.pseudo),x.simple=m(x.simple,`attr`,x.attr),x.ident=m(x.ident,`cssid`,x.cssid),x.str_escape=m(x.str_escape,`escape`,x.escape);var S=function(e){for(var t=e.replace(/^\s+|\s+$/g,``),n,r=[],i=[],a,o,s,c,l;t;){if(s=x.qname.exec(t))t=t.substring(s[0].length),o=d(s[1]),i.push(C(o,!0));else if(s=x.simple.exec(t))t=t.substring(s[0].length),o=`*`,i.push(C(o,!0)),i.push(C(s));else throw SyntaxError(`Invalid selector.`);for(;s=x.simple.exec(t);)t=t.substring(s[0].length),i.push(C(s));if(t[0]===`!`&&(t=t.substring(1),a=E(),a.qname=o,i.push(a.simple)),s=x.ref.exec(t)){t=t.substring(s[0].length),l=b.ref(w(i),d(s[1])),r.push(l.combinator),i=[];continue}if(s=x.combinator.exec(t)){if(t=t.substring(s[0].length),c=s[1]||s[2]||s[3],c===`,`){r.push(b.noop(w(i)));break}}else c=`noop`;if(!b[c])throw SyntaxError(`Bad combinator.`);r.push(b[c](w(i))),i=[]}return n=T(r),n.qname=o,n.sel=t,a&&(a.lname=n.qname,a.test=n,a.qname=a.qname,a.sel=n.sel,n=a),l&&(l.test=n,l.qname=n.qname,l.sel=n.sel,n=l),n},C=function(e,t){if(t)return e===`*`?v[`*`]:v.type(e);if(e[1])return e[1][0]===`.`?v.attr(`class`,`~=`,d(e[1].substring(1)),!1):v.attr(`id`,`=`,d(e[1].substring(1)),!1);if(e[2])return e[3]?v[d(e[2])](u(e[3])):v[d(e[2])];if(e[4]){var n=e[6],r=/["'\s]\s*I$/i.test(n);return r&&(n=n.replace(/\s*I$/i,``)),v.attr(d(e[4]),e[5]||`-`,u(n),r)}throw SyntaxError(`Unknown Selector.`)},w=function(e){var t=e.length,n;return t<2?e[0]:function(r){if(r){for(n=0;n<t;n++)if(!e[n](r))return;return!0}}},T=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var n=e.length;n--;)if(!(t=e[n](t)))return;return!0}},E=function(){var e;function t(n){for(var r=n.ownerDocument.getElementsByTagName(t.lname),i=r.length;i--;)if(t.test(r[i])&&e===n)return e=null,!0;e=null}return t.simple=function(t){return e=t,!0},t},ee=function(e){for(var t=S(e),n=[t];t.sel;)t=S(t.sel),n.push(t);return n.length<2?t:function(e){for(var t=n.length,r=0;r<t;r++)if(n[r](e))return!0}},te=function(e,t){for(var n=[],r=S(e),a=t.getElementsByTagName(r.qname),o=0,s;s=a[o++];)r(s)&&n.push(s);if(r.sel){for(;r.sel;)for(r=S(r.sel),a=t.getElementsByTagName(r.qname),o=0;s=a[o++];)r(s)&&f.call(n,s)===-1&&n.push(s);n.sort(i)}return n};t.exports=e=function(e,t){var n,r;if(t.nodeType!==11&&e.indexOf(` `)===-1){if(e[0]===`#`&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(n=e.substring(1),!t.doc._hasMultipleElementsWithId(n)))return r=t.doc.getElementById(n),r?[r]:[];if(e[0]===`.`&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return te(e,t)},e.selectors=v,e.operators=y,e.combinators=b,e.matches=function(e,t){var n={sel:t};do if(n=S(n.sel),n(e))return!0;while(n.sel);return!1}})),hd=O(((e,t)=>{var n=ad(),r=rd(),i=function(e,t){for(var r=e.createDocumentFragment(),i=0;i<t.length;i++){var a=t[i],o=a instanceof n;r.appendChild(o?a:e.createTextNode(String(a)))}return r};t.exports={after:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);t.insertBefore(r,n)}}},before:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.previousSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.previousSibling;var r=i(this.doc,e),a=n?n.nextSibling:t.firstChild;t.insertBefore(r,a)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var e=this.parentNode;e!==null&&(e._childNodes?e._childNodes.splice(this.index,1):e._firstChild===this&&(this._nextSibling===this?e._firstChild=null:e._firstChild=this._nextSibling),r.remove(this),e.modify())}},replaceWith:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);this.parentNode===t?t.replaceChild(r,this):t.insertBefore(r,n)}}}}})),gd=O(((e,t)=>{var n=ad();t.exports={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}}}})),_d=O(((e,t)=>{t.exports=r;var n=td();function r(e){this.element=e}Object.defineProperties(r.prototype,{length:{get:n.shouldOverride},item:{value:n.shouldOverride},getNamedItem:{value:function(e){return this.element.getAttributeNode(e)}},getNamedItemNS:{value:function(e,t){return this.element.getAttributeNodeNS(e,t)}},setNamedItem:{value:n.nyi},setNamedItemNS:{value:n.nyi},removeNamedItem:{value:function(e){var t=this.element.getAttributeNode(e);if(t)return this.element.removeAttribute(e),t;n.NotFoundError()}},removeNamedItemNS:{value:function(e,t){var r=this.element.getAttributeNodeNS(e,t);if(r)return this.element.removeAttributeNS(e,t),r;n.NotFoundError()}}})})),vd=O(((e,t)=>{t.exports=v;var n=ud(),r=td(),i=r.NAMESPACE,a=dd(),o=ad(),s=cd(),c=id(),l=fd(),u=$u(),d=pd(),f=md(),p=ld(),m=hd(),h=gd(),g=_d(),_=Object.create(null);function v(e,t,n,r){p.call(this),this.nodeType=o.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=n,this.prefix=r,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function y(e,t){if(e.nodeType===o.TEXT_NODE)t.push(e._data);else for(var n=0,r=e.childNodes.length;n<r;n++)y(e.childNodes[n],t)}v.prototype=Object.create(p.prototype,{isHTML:{get:function(){return this.namespaceURI===i.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var e=this.prefix===null?this.localName:this.prefix+`:`+this.localName;if(this.isHTML){var t=_[e];t||(_[e]=t=r.toASCIIUpperCase(e)),e=t}this._tagName=e}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return y(this,e),e.join(``)},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return y(this,e),e.join(``).replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:r.nyi},outerHTML:{get:function(){return c.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,n=this.parentNode;if(n!==null){n.nodeType===o.DOCUMENT_NODE&&r.NoModificationAllowedError(),n.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(n=n.ownerDocument.createElement(`body`));var i=t.implementation.mozHTMLParser(t._address,n);i.parse(e===null?``:String(e),!0),this.replaceWith(i._asDocumentFragment())}}},_insertAdjacent:{value:function(e,t){var n=!1;switch(e){case`beforebegin`:n=!0;case`afterend`:var i=this.parentNode;return i===null?null:i.insertBefore(t,n?this:this.nextSibling);case`afterbegin`:n=!0;case`beforeend`:return this.insertBefore(t,n?this.firstChild:null);default:return r.SyntaxError()}}},insertAdjacentElement:{value:function(e,t){if(t.nodeType!==o.ELEMENT_NODE)throw TypeError(`not an element`);return e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,t)}},insertAdjacentText:{value:function(e,t){var n=this.ownerDocument.createTextNode(t);e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,n)}},insertAdjacentHTML:{value:function(e,t){e=r.toASCIILowerCase(String(e)),t=String(t);var n;switch(e){case`beforebegin`:case`afterend`:n=this.parentNode,(n===null||n.nodeType===o.DOCUMENT_NODE)&&r.NoModificationAllowedError();break;case`afterbegin`:case`beforeend`:n=this;break;default:r.SyntaxError()}(!(n instanceof v)||n.ownerDocument.isHTML&&n.localName===`html`&&n.namespaceURI===i.HTML)&&(n=n.ownerDocument.createElementNS(i.HTML,`body`));var a=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);a.parse(t,!0),this._insertAdjacent(e,a._asDocumentFragment())}},children:{get:function(){return this._children||=new S(this),this._children}},attributes:{get:function(){return this._attributes||=new x(this),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||=this.ownerDocument.documentElement;var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var n=this.parentElement;n&&n!==e;n=n.parentElement)if(t=n.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(e){var t;return e?(t=e===`*`?function(){return!0}:this.isHTML?w(e):C(e),new l(this,t)):new s}},getElementsByTagNameNS:{value:function(e,t){var n=e===`*`&&t===`*`?function(){return!0}:e===`*`?C(t):t===`*`?T(e):E(e,t);return new l(this,n)}},getElementsByClassName:{value:function(e){return e=String(e).trim(),e===``?new s:(e=e.split(/[ \t\r\n\f]+/),new l(this,ee(e)))}},getElementsByName:{value:function(e){return new l(this,te(String(e)))}},clone:{value:function(){for(var e=this.namespaceURI!==i.HTML||this.prefix||!this.ownerDocument.isHTML?this.ownerDocument.createElementNS(this.namespaceURI,this.prefix===null?this.localName:this.prefix+`:`+this.localName):this.ownerDocument.createElement(this.localName),t=0,n=this._attrKeys.length;t<n;t++){var r=this._attrKeys[t],a=this._attrsByLName[r].cloneNode();a._setOwnerElement(e),e._attrsByLName[r]=a,e._addQName(a)}return e._attrKeys=this._attrKeys.concat(),e}},isEqual:{value:function(e){if(this.localName!==e.localName||this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this._numattrs!==e._numattrs)return!1;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(!e.hasAttributeNS(r.namespaceURI,r.localName)||e.getAttributeNS(r.namespaceURI,r.localName)!==r.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(e,t){if(this.namespaceURI&&this.namespaceURI===e&&this.prefix!==null&&t.lookupNamespaceURI(this.prefix)===e)return this.prefix;for(var n=0,r=this._numattrs;n<r;n++){var i=this._attr(n);if(i.prefix===`xmlns`&&i.value===e&&t.lookupNamespaceURI(i.localName)===e)return i.localName}var a=this.parentElement;return a?a._lookupNamespacePrefix(e,t):null}},lookupNamespaceURI:{value:function(e){if((e===``||e===void 0)&&(e=null),this.namespaceURI!==null&&this.prefix===e)return this.namespaceURI;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(r.namespaceURI===i.XMLNS&&(r.prefix===`xmlns`&&r.localName===e||e===null&&r.prefix===null&&r.localName===`xmlns`))return r.value||null}var a=this.parentElement;return a?a.lookupNamespaceURI(e):null}},getAttribute:{value:function(e){var t=this.getAttributeNode(e);return t?t.value:null}},getAttributeNS:{value:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null}},getAttributeNode:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];return t?(Array.isArray(t)&&(t=t[0]),t):null}},getAttributeNodeNS:{value:function(e,t){return e=e==null?``:String(e),t=String(t),this._attrsByLName[e+`|`+t]||null}},hasAttribute:{value:function(e){return e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]!==void 0}},hasAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(e,t){return e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]===void 0?t===void 0||t===!0?(this._setAttribute(e,``),!0):!1:t===void 0||t===!1?(this.removeAttribute(e),!1):!0}},_setAttribute:{value:function(e,t){var n=this._attrsByQName[e],r;n?Array.isArray(n)&&(n=n[0]):(n=this._newattr(e),r=!0),n.value=t,this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},setAttribute:{value:function(e,t){e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._setAttribute(e,String(t))}},_setAttributeNS:{value:function(e,t,n){var r=t.indexOf(`:`),i,a;r<0?(i=null,a=t):(i=t.substring(0,r),a=t.substring(r+1)),(e===``||e===void 0)&&(e=null);var o=(e===null?``:e)+`|`+a,s=this._attrsByLName[o],c;s||(s=new b(this,a,i,e),c=!0,this._attrsByLName[o]=s,this._attributes&&(this._attributes[this._attrKeys.length]=s),this._attrKeys.push(o),this._addQName(s)),s.value=n,c&&this._newattrhook&&this._newattrhook(t,n)}},setAttributeNS:{value:function(e,t,a){e=e==null||e===``?null:String(e),t=String(t),n.isValidQName(t)||r.InvalidCharacterError();var o=t.indexOf(`:`),s=o<0?null:t.substring(0,o);(s!==null&&e===null||s===`xml`&&e!==i.XML||(t===`xmlns`||s===`xmlns`)&&e!==i.XMLNS||e===i.XMLNS&&!(t===`xmlns`||s===`xmlns`))&&r.NamespaceError(),this._setAttributeNS(e,t,String(a))}},setAttributeNode:{value:function(e){if(e.ownerElement!==null&&e.ownerElement!==this)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=null,n=this._attrsByQName[e.name];if(n){if(Array.isArray(n)||(n=[n]),n.some(function(t){return t===e}))return e;if(e.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);n.forEach(function(e){this.removeAttributeNode(e)},this),t=n[0]}return this.setAttributeNodeNS(e),t}},setAttributeNodeNS:{value:function(e){if(e.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName,r=this._attrsByLName[n];return r&&this.removeAttributeNode(r),e._setOwnerElement(this),this._attrsByLName[n]=e,this._attributes&&(this._attributes[this._attrKeys.length]=e),this._attrKeys.push(n),this._addQName(e),this._newattrhook&&this._newattrhook(e.name,e.value),r||null}},removeAttribute:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];if(t){Array.isArray(t)?t.length>2?t=t.shift():(this._attrsByQName[e]=t[1],t=t[0]):this._attrsByQName[e]=void 0;var n=t.namespaceURI,i=(n===null?``:n)+`|`+t.localName;this._attrsByLName[i]=void 0;var a=this._attrKeys.indexOf(i);this._attributes&&(Array.prototype.splice.call(this._attributes,a,1),this._attributes[e]=void 0),this._attrKeys.splice(a,1);var o=t.onchange;t._setOwnerElement(null),o&&o.call(t,this,t.localName,t.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(t)}}},removeAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t,r=this._attrsByLName[n];if(r){this._attrsByLName[n]=void 0;var i=this._attrKeys.indexOf(n);this._attributes&&Array.prototype.splice.call(this._attributes,i,1),this._attrKeys.splice(i,1),this._removeQName(r);var a=r.onchange;r._setOwnerElement(null),a&&a.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNode:{value:function(e){var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName;return this._attrsByLName[n]!==e&&r.NotFoundError(),this.removeAttributeNS(t,e.localName),e}},getAttributeNames:{value:function(){var e=this;return this._attrKeys.map(function(t){return e._attrsByLName[t].name})}},_getattr:{value:function(e){var t=this._attrsByQName[e];return t?t.value:null}},_setattr:{value:function(e,t){var n=this._attrsByQName[e],r;n||(n=this._newattr(e),r=!0),n.value=String(t),this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},_newattr:{value:function(e){var t=new b(this,e,null,null),n=`|`+e;return this._attrsByQName[e]=t,this._attrsByLName[n]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(n),t}},_addQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];n?Array.isArray(n)?n.push(e):this._attrsByQName[t]=[n,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];if(Array.isArray(n)){var i=n.indexOf(e);r.assert(i!==-1),n.length===2?(this._attrsByQName[t]=n[1-i],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(n.splice(i,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=n[0]))}else r.assert(n===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:a.property({name:`id`}),className:a.property({name:`class`}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new d(function(){return e.className||``},function(t){e.className=t});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return f.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===o.ELEMENT_NODE);return null}},querySelector:{value:function(e){return f(e,this)[0]}},querySelectorAll:{value:function(e){var t=f(e,this);return t.item?t:new s(t)}}}),Object.defineProperties(v.prototype,m),Object.defineProperties(v.prototype,h),a.registerChangeHandler(v,`id`,function(e,t,n,r){e.rooted&&(n&&e.ownerDocument.delId(n,e),r&&e.ownerDocument.addId(r,e))}),a.registerChangeHandler(v,`class`,function(e,t,n,r){e._classList&&e._classList._update()});function b(e,t,n,r,i){this.localName=t,this.prefix=n===null||n===``?null:``+n,this.namespaceURI=r===null||r===``?null:``+r,this.data=i,this._setOwnerElement(e)}b.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(e){this._ownerElement=e,this.prefix===null&&this.namespaceURI===null&&e?this.onchange=e._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?``:e+``,e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(e){return new b(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return o.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e??=``,this.value=e}},innerText:{get:function(){return this.value},set:function(e){e??=``,this.value=e}}}),v._Attr=b;function x(e){for(var t in g.call(this,e),e._attrsByQName)this[t]=e._attrsByQName[t];for(var n=0;n<e._attrKeys.length;n++)this[n]=e._attrsByLName[e._attrKeys[n]]}x.prototype=Object.create(g.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e>>>=0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}}),globalThis.Symbol?.iterator&&(x.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,n=this;return{next:function(){return e<t?{value:n.item(e++)}:{done:!0}}}});function S(e){this.element=e,this.updateCache()}S.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(e){return this.updateCache(),this.childrenByNumber[e]||null}},namedItem:{value:function(e){return this.updateCache(),this.childrenByName[e]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var e=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var t=this.childrenByNumber&&this.childrenByNumber.length||0,n=0;n<t;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var r=this.element.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===o.ELEMENT_NODE){this[this.childrenByNumber.length]=r,this.childrenByNumber.push(r);var a=r.getAttribute(`id`);a&&!this.childrenByName[a]&&(this.childrenByName[a]=r);var s=r.getAttribute(`name`);s&&this.element.namespaceURI===i.HTML&&e.test(this.element.localName)&&!this.childrenByName[s]&&(this.childrenByName[a]=r)}}}}});function C(e){return function(t){return t.localName===e}}function w(e){var t=r.toASCIILowerCase(e);return t===e?C(e):function(n){return n.isHTML?n.localName===t:n.localName===e}}function T(e){return function(t){return t.namespaceURI===e}}function E(e,t){return function(n){return n.namespaceURI===e&&n.localName===t}}function ee(e){return function(t){return e.every(function(e){return t.classList.contains(e)})}}function te(e){return function(t){return t.namespaceURI===i.HTML?t.getAttribute(`name`)===e:!1}}})),yd=O(((e,t)=>{t.exports=s;var n=ad(),r=cd(),i=td(),a=i.HierarchyRequestError,o=i.NotFoundError;function s(){n.call(this)}s.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},removeChild:{value:function(e){if(!e.nodeType)throw TypeError(`not a node`);o()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||=new r,this._childNodes}}})})),bd=O(((e,t)=>{t.exports=o;var n=yd(),r=td(),i=hd(),a=gd();function o(){n.call(this)}o.prototype=Object.create(n.prototype,{substringData:{value:function(e,t){if(arguments.length<2)throw TypeError(`Not enough arguments`);return e>>>=0,t>>>=0,(e>this.data.length||e<0||t<0)&&r.IndexSizeError(),this.data.substring(e,e+t)}},appendData:{value:function(e){if(arguments.length<1)throw TypeError(`Not enough arguments`);this.data+=String(e)}},insertData:{value:function(e,t){return this.replaceData(e,0,t)}},deleteData:{value:function(e,t){return this.replaceData(e,t,``)}},replaceData:{value:function(e,t,n){var i=this.data,a=i.length;e>>>=0,t>>>=0,n=String(n),(e>a||e<0)&&r.IndexSizeError(),e+t>a&&(t=a-e);var o=i.substring(0,e),s=i.substring(e+t);this.data=o+n+s}},isEqual:{value:function(e){return this._data===e._data}},length:{get:function(){return this.data.length}}}),Object.defineProperties(o.prototype,i),Object.defineProperties(o.prototype,a)})),xd=O(((e,t)=>{t.exports=a;var n=td(),r=ad(),i=bd();function a(e,t){i.call(this),this.nodeType=r.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var o={get:function(){return this._data},set:function(e){e=e==null?``:String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};a.prototype=Object.create(i.prototype,{nodeName:{value:`#text`},nodeValue:o,textContent:o,innerText:o,data:{get:o.get,set:function(e){o.set.call(this,e===null?``:String(e))}},splitText:{value:function(e){(e>this._data.length||e<0)&&n.IndexSizeError();var t=this._data.substring(e),r=this.ownerDocument.createTextNode(t);this.data=this.data.substring(0,e);var i=this.parentNode;return i!==null&&i.insertBefore(r,this.nextSibling),r}},wholeText:{get:function(){for(var e=this.textContent,t=this.nextSibling;t&&t.nodeType===r.TEXT_NODE;t=t.nextSibling)e+=t.textContent;return e}},replaceWholeText:{value:n.nyi},clone:{value:function(){return new a(this.ownerDocument,this._data)}}})})),Sd=O(((e,t)=>{t.exports=i;var n=ad(),r=bd();function i(e,t){r.call(this),this.nodeType=n.COMMENT_NODE,this.ownerDocument=e,this._data=t}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{value:`#comment`},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this._data)}}})})),Cd=O(((e,t)=>{t.exports=c;var n=ad(),r=cd(),i=ld(),a=vd(),o=md(),s=td();function c(e){i.call(this),this.nodeType=n.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}c.prototype=Object.create(i.prototype,{nodeName:{value:`#document-fragment`},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(a.prototype,`textContent`),innerText:Object.getOwnPropertyDescriptor(a.prototype,`innerText`),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=a.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(a.prototype,`firstElementChild`).get;var n=o(e,t);return n.item?n:new r(n)}},clone:{value:function(){return new c(this.ownerDocument)}},isEqual:{value:function(e){return!0}},innerHTML:{get:function(){return this.serialize()},set:s.nyi},outerHTML:{get:function(){return this.serialize()},set:s.nyi}})})),wd=O(((e,t)=>{t.exports=i;var n=ad(),r=bd();function i(e,t,i){r.call(this),this.nodeType=n.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=i}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.target}},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(e){return this.target===e.target&&this._data===e._data}}})})),Td=O(((e,t)=>{var n={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};t.exports=n.constructor=n.prototype=n})),Ed=O(((e,t)=>{t.exports={nextSkippingChildren:n,nextAncestorSibling:r,next:i,previous:o,deepLastChild:a};function n(e,t){return e===t?null:e.nextSibling===null?r(e,t):e.nextSibling}function r(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function i(e,t){var n=e.firstChild;return n===null?e===t?null:(n=e.nextSibling,n===null?r(e,t):n):n}function a(e){for(;e.lastChild;)e=e.lastChild;return e}function o(e,t){var n=e.previousSibling;return n===null?(n=e.parentNode,n===t?null:n):a(n)}})),Dd=O(((e,t)=>{t.exports=u;var n=ad(),r=Td(),i=Ed(),a=td(),o={first:`firstChild`,last:`lastChild`,next:`firstChild`,previous:`lastChild`},s={first:`nextSibling`,last:`previousSibling`,next:`nextSibling`,previous:`previousSibling`};function c(e,t){for(var n,i=e._currentNode[o[t]],a,c,l;i!==null;){if(c=e._internalFilter(i),c===r.FILTER_ACCEPT)return e._currentNode=i,i;if(c===r.FILTER_SKIP&&(n=i[o[t]],n!==null)){i=n;continue}for(;i!==null;){if(l=i[s[t]],l!==null){i=l;break}if(a=i.parentNode,a===null||a===e.root||a===e._currentNode)return null;i=a}}return null}function l(e,t){var n=e._currentNode,i,a;if(n===e.root)return null;for(;;){for(a=n[s[t]];a!==null;){if(n=a,i=e._internalFilter(n),i===r.FILTER_ACCEPT)return e._currentNode=n,n;a=n[o[t]],(i===r.FILTER_REJECT||a===null)&&(a=n[s[t]])}if(n=n.parentNode,n===null||n===e.root||e._internalFilter(n)===r.FILTER_ACCEPT)return null}}function u(e,t,n){(!e||!e.nodeType)&&a.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,this._currentNode=e}Object.defineProperties(u.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(e){if(!(e instanceof n))throw TypeError(`Not a Node`);this._currentNode=e}},_internalFilter:{value:function(e){var t,n;if(this._active&&a.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return r.FILTER_SKIP;if(n=this._filter,n===null)t=r.FILTER_ACCEPT;else{this._active=!0;try{t=typeof n==`function`?n(e):n.acceptNode(e)}finally{this._active=!1}}return+t}},parentNode:{value:function(){for(var e=this._currentNode;e!==this.root;){if(e=e.parentNode,e===null)return null;if(this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},firstChild:{value:function(){return c(this,`first`)}},lastChild:{value:function(){return c(this,`last`)}},previousSibling:{value:function(){return l(this,`previous`)}},nextSibling:{value:function(){return l(this,`next`)}},previousNode:{value:function(){for(var e=this._currentNode,t,n,i;e!==this._root;){for(n=e.previousSibling;n;n=e.previousSibling)if(e=n,t=this._internalFilter(e),t!==r.FILTER_REJECT){for(i=e.lastChild;i&&(e=i,t=this._internalFilter(e),t!==r.FILTER_REJECT);i=e.lastChild);if(t===r.FILTER_ACCEPT)return this._currentNode=e,e}if(e===this.root||e.parentNode===null)return null;if(e=e.parentNode,this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},nextNode:{value:function(){var e=this._currentNode,t=r.FILTER_ACCEPT,n,a;CHILDREN:for(;;){for(n=e.firstChild;n;n=e.firstChild){if(e=n,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_REJECT)break}for(a=i.nextSkippingChildren(e,this.root);a;a=i.nextSkippingChildren(e,this.root)){if(e=a,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_SKIP)continue CHILDREN}return null}}},toString:{value:function(){return`[object TreeWalker]`}}})})),Od=O(((e,t)=>{t.exports=c;var n=Td(),r=Ed(),i=td();function a(e,t,n){return n?r.next(e,t):e===t?null:r.previous(e,null)}function o(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function s(e,t){for(var r=e._referenceNode,i=e._pointerBeforeReferenceNode;;){if(i===t)i=!i;else if(r=a(r,e._root,t),r===null)return null;if(e._internalFilter(r)===n.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=i,r}function c(e,t,n){(!e||!e.nodeType)&&i.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(c.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(e){var t,r;if(this._active&&i.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return n.FILTER_SKIP;if(r=this._filter,r===null)t=n.FILTER_ACCEPT;else{this._active=!0;try{t=typeof r==`function`?r(e):r.acceptNode(e)}finally{this._active=!1}}return+t}},_preremove:{value:function(e){if(!o(e,this._root)&&o(e,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var t=e;t.lastChild;)t=t.lastChild;if(t=r.next(t,this.root),t){this._referenceNode=t;return}this._pointerBeforeReferenceNode=!1}if(e.previousSibling===null)this._referenceNode=e.parentNode;else{this._referenceNode=e.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}}},nextNode:{value:function(){return s(this,!0)}},previousNode:{value:function(){return s(this,!1)}},detach:{value:function(){}},toString:{value:function(){return`[object NodeIterator]`}}})})),kd=O(((e,t)=>{t.exports=n;function n(e){if(!e)return Object.create(n.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,``);var t=n.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(n.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(n.portPattern)){var i=t[4].lastIndexOf(`:`);this.host=t[4].substring(0,i),this.port=t[4].substring(i+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}n.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,n.userinfoPattern=/^([^@:]*)(:([^@]*))?@/,n.portPattern=/:\d+$/,n.authorityPattern=/^[^:\/?#]+:\/\//,n.hierarchyPattern=/^[^:\/?#]+:\//,n.percentEncode=function(e){var t=e.charCodeAt(0);if(t<256)return`%`+t.toString(16);throw Error(`can't percent-encode codepoints > 255 yet`)},n.prototype={constructor:n,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return n.authorityPattern.test(this.url)},isHierarchical:function(){return n.hierarchyPattern.test(this.url)},toString:function(){var e=``;return this.scheme!==void 0&&(e+=this.scheme+`:`),this.isAbsolute()&&(e+=`//`,(this.username||this.password)&&(e+=this.username||``,this.password&&(e+=`:`+this.password),e+=`@`),this.host&&(e+=this.host)),this.port!==void 0&&(e+=`:`+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+=`?`+this.query),this.fragment!==void 0&&(e+=`#`+this.fragment),e},resolve:function(e){var t=this,r=new n(e),i=new n;return r.scheme===void 0?(i.scheme=t.scheme,r.host===void 0?(i.username=t.username,i.password=t.password,i.host=t.host,i.port=t.port,r.path?(r.path.charAt(0)===`/`?i.path=o(r.path):(i.path=a(t.path,r.path),i.path=o(i.path)),i.query=r.query):(i.path=t.path,r.query===void 0?i.query=t.query:i.query=r.query)):(i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query)):(i.scheme=r.scheme,i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query),i.fragment=r.fragment,i.toString();function a(e,n){if(t.host!==void 0&&!t.path)return`/`+n;var r=e.lastIndexOf(`/`);return r===-1?n:e.substring(0,r+1)+n}function o(e){if(!e)return e;for(var t=``;e.length>0;){if(e===`.`||e===`..`){e=``;break}var n=e.substring(0,2),r=e.substring(0,3),i=e.substring(0,4);if(r===`../`)e=e.substring(3);else if(n===`./`)e=e.substring(2);else if(r===`/./`)e=`/`+e.substring(3);else if(n===`/.`&&e.length===2)e=`/`;else if(i===`/../`||r===`/..`&&e.length===3)e=`/`+e.substring(4),t=t.replace(/\/?[^\/]*$/,``);else{var a=e.match(/(\/?([^\/]*))/)[0];t+=a,e=e.substring(a.length)}}return t}}}})),Ad=O(((e,t)=>{t.exports=r;var n=Xu();function r(e,t){n.call(this,e,t)}r.prototype=Object.create(n.prototype,{constructor:{value:r}})})),jd=O(((e,t)=>{t.exports={Event:Xu(),UIEvent:Zu(),MouseEvent:Qu(),CustomEvent:Ad()}})),Md=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.hyphenate=e.parse=void 0;function t(e){let t=[],r=0,i=0,a=0,o=0,s=0,c=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:i++;break;case 41:i--;break;case 39:a===0?a=39:a===39&&e.charCodeAt(r-1)!==92&&(a=0);break;case 34:a===0?a=34:a===34&&e.charCodeAt(r-1)!==92&&(a=0);break;case 58:!c&&i===0&&a===0&&(c=n(e.substring(s,r-1).trim()),o=r);break;case 59:if(c&&o>0&&i===0&&a===0){let n=e.substring(o,r-1).trim();t.push(c,n),s=r,o=0,c=null}break}if(c&&o){let n=e.slice(o).trim();t.push(c,n)}return t}e.parse=t;function n(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+`-`+e.charAt(1)).toLowerCase()}e.hyphenate=n})),Nd=O(((e,t)=>{let{parse:n}=Md();t.exports=function(e){let t=new i(e);return new Proxy(t,{get:function(e,t){return t in e?e[t]:e.getPropertyValue(r(t))},has:function(e,t){return!0},set:function(e,t,n){return t in e?e[t]=n:e.setProperty(r(t),n??void 0),!0}})};function r(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}function i(e){this._element=e}function a(e){let t={property:{},priority:{}};if(!e)return t;let r=n(e);if(r.length<2)return t;for(let e=0;e<r.length;e+=2){let n=r[e],i=r[e+1];i.endsWith(`!important`)&&(t.priority[n]=`important`,i=i.slice(0,-10).trim()),t.property[n]=i}return t}var o={};i.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=a(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t=``;for(var n in e.property)t&&(t+=` `),t+=n+`: `+e.property[n],e.priority[n]&&(t+=` !`+e.priority[n]),t+=`;`;this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute(`style`)},set:function(e){this._element.setAttribute(`style`,e)}},length:{get:function(){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names.length}},item:{value:function(e){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||``}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||``}},setProperty:{value:function(e,t,n){if(e=e.toLowerCase(),t??=``,n??=``,t!==o&&(t=``+t),t=t.trim(),t===``){this.removeProperty(e);return}if(!(n!==``&&n!==o&&!/^important$/i.test(n))){var r=this._parsed;if(t===o){if(!r.property[e])return;n===``?delete r.priority[e]:r.priority[e]=`important`}else{if(t.indexOf(`;`)!==-1)return;var i=a(e+`:`+t);if(Object.getOwnPropertyNames(i.property).length===0||Object.getOwnPropertyNames(i.priority).length!==0)return;for(var s in i.property)r.property[s]=i.property[s],n!==o&&(n===``?r.priority[s]&&delete r.priority[s]:r.priority[s]=`important`)}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,o)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,o,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})})),Pd=O(((e,t)=>{var n=kd();t.exports=r;function r(){}r.prototype=Object.create(Object.prototype,{_url:{get:function(){return new n(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+`:`:`:`},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/:+$/,``),e=e.replace(/[^-+\.a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?`:`+e.port:``):``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,``),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=``+e,e=e.replace(/[^0-9].*$/,``),e=e.replace(/^0+/,``),e.length===0&&(e=`0`),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!==`/`&&(e=`/`+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,n.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?`?`+e.query:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)===`?`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===``?``:`#`+e.fragment},set:function(e){var t=this.href,r=new n(t);e.charAt(0)===`#`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){return this._url.username||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,n.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){return this._url.password||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e===``?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,n.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return``;var t=function(t){var n=[e.scheme,e.host,+e.port||t];return n[0]+`://`+n[1]+(n[2]===t?``:`:`+n[2])};switch(e.scheme){case`ftp`:return t(21);case`gopher`:return t(70);case`http`:case`ws`:return t(80);case`https`:case`wss`:return t(443);default:return e.scheme+`://`}}}}),r._inherit=function(e){Object.getOwnPropertyNames(r.prototype).forEach(function(t){if(!(t===`constructor`||t===`href`)){var n=Object.getOwnPropertyDescriptor(r.prototype,t);Object.defineProperty(e,t,n)}})}})),Fd=O(((e,t)=>{var n=dd(),r=ed().isApiWritable;t.exports=function(e,t,i,a){var s=e.ctor;if(s){var c=e.props||{};if(e.attributes)for(var l in e.attributes){var u=e.attributes[l];(typeof u!=`object`||Array.isArray(u))&&(u={type:u}),u.name||=l.toLowerCase(),c[l]=n.property(u)}c.constructor={value:s,writable:r},s.prototype=Object.create((e.superclass||t).prototype,c),e.events&&o(s,e.events),i[e.name]=s}else s=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(e){a[e]=s}),s};function i(e,t,n,r){this.body=e,this.document=t,this.form=n,this.element=r}i.prototype.build=function(){return()=>{}};function a(e,t,n,r){e[t]=new i(r,e.ownerDocument||Object.create(null),e.form||Object.create(null),e).build()}function o(e,t){var r=e.prototype;t.forEach(function(t){Object.defineProperty(r,`on`+t,{get:function(){return this._getEventHandler(t)},set:function(e){this._setEventHandler(t,e)}}),n.registerChangeHandler(e,`on`+t,a)})}})),Id=O((e=>{var t=ad(),n=vd(),r=Nd(),i=td(),a=Pd(),o=Fd(),s=e.elements={},c=Object.create(null);e.createElement=function(e,t,n){return new(c[t]||g)(e,t,n)};function l(e){return o(e,h,s,c)}function u(e){return{get:function(){var t=this._getattr(e);if(t===null)return``;var n=this.doc._resolve(t);return n===null?t:n},set:function(t){this._setattr(e,t)}}}function d(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()===`use-credentials`?`use-credentials`:`anonymous`},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}let f={type:[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],missing:``};var p={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},m=function(e,t,n){h.call(this,e,t,n),this._form=null},h=e.HTMLElement=l({superclass:n,name:`HTMLElement`,ctor:function(e,t,r){n.call(this,e,t,i.NAMESPACE.HTML,r)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?``:String(e),!0);for(var n=this instanceof c.template?this.content:this;n.hasChildNodes();)n.removeChild(n.firstChild);n.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||=new r(this),this._style},set:function(e){e??=``,this._setattr(`style`,String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent(`MouseEvent`);e.initMouseEvent(`click`,!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),this.dispatchEvent(e)?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:i.nyi}},attributes:{title:String,lang:String,dir:{type:[`ltr`,`rtl`,`auto`],missing:``},draggable:{type:[`true`,`false`],treatNullAsEmptyString:!0},spellcheck:{type:[`true`,`false`],missing:``},enterKeyHint:{type:[`enter`,`done`,`go`,`next`,`previous`,`search`,`send`],missing:``},autoCapitalize:{type:[`off`,`on`,`none`,`sentences`,`words`,`characters`],missing:``},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:[`no`,`yes`],missing:``},tabIndex:{type:`long`,default:function(){return this.tagName in p||this.contentEditable?0:-1}}},events:`abort.canplay.canplaythrough.change.click.contextmenu.cuechange.dblclick.drag.dragend.dragenter.dragleave.dragover.dragstart.drop.durationchange.emptied.ended.input.invalid.keydown.keypress.keyup.loadeddata.loadedmetadata.loadstart.mousedown.mousemove.mouseout.mouseover.mouseup.mousewheel.pause.play.playing.progress.ratechange.readystatechange.reset.seeked.seeking.select.show.stalled.submit.suspend.timeupdate.volumechange.waiting.blur.error.focus.load.scroll`.split(`.`)}),g=l({name:`HTMLUnknownElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),_={form:{get:function(){return this._form}}};l({tag:`a`,name:`HTMLAnchorElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:u,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:f,coords:String,charset:String,name:String,rev:String,shape:String}}),a._inherit(c.a.prototype),l({tag:`area`,name:`HTMLAreaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:u,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:f,noHref:Boolean}}),a._inherit(c.area.prototype),l({tag:`br`,name:`HTMLBRElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{clear:String}}),l({tag:`base`,name:`HTMLBaseElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{target:String}}),l({tag:`body`,name:`HTMLBodyElement`,ctor:function(e,t,n){h.call(this,e,t,n)},events:[`afterprint`,`beforeprint`,`beforeunload`,`blur`,`error`,`focus`,`hashchange`,`load`,`message`,`offline`,`online`,`pagehide`,`pageshow`,`popstate`,`resize`,`scroll`,`storage`,`unload`],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}}),l({tag:`button`,name:`HTMLButtonElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:[`submit`,`reset`,`button`,`menu`],missing:`submit`},formTarget:String,formAction:u,formNoValidate:Boolean,formMethod:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``}}}),l({tag:`dl`,name:`HTMLDListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tag:`data`,name:`HTMLDataElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{value:String}}),l({tag:`datalist`,name:`HTMLDataListElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`details`,name:`HTMLDetailsElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{open:Boolean}}),l({tag:`div`,name:`HTMLDivElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`embed`,name:`HTMLEmbedElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,type:String,width:String,height:String,align:String,name:String}}),l({tag:`fieldset`,name:`HTMLFieldSetElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{disabled:Boolean,name:String}}),l({tag:`form`,name:`HTMLFormElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{action:String,autocomplete:{type:[`on`,`off`],missing:`on`},name:String,acceptCharset:{name:`accept-charset`},target:String,noValidate:Boolean,method:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:`get`},enctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`},encoding:{name:`enctype`,type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`}}}),l({tag:`hr`,name:`HTMLHRElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}}),l({tag:`head`,name:`HTMLHeadElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tags:[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],name:`HTMLHeadingElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`html`,name:`HTMLHtmlElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{xmlns:u,version:String}}),l({tag:`iframe`,name:`HTMLIFrameElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:f,loading:{type:[`eager`,`lazy`],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:u,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`img`,name:`HTMLImageElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{alt:String,src:u,srcset:String,crossOrigin:d,useMap:String,isMap:Boolean,sizes:String,height:{type:`unsigned long`,default:0},width:{type:`unsigned long`,default:0},referrerPolicy:f,loading:{type:[`eager`,`lazy`],missing:``},name:String,lowsrc:u,align:String,hspace:{type:`unsigned long`,default:0},vspace:{type:`unsigned long`,default:0},longDesc:u,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`input`,name:`HTMLInputElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,_post_click_activation_steps:{value:function(e){if(this.type===`checkbox`)this.checked=!this.checked;else if(this.type===`radio`)for(var t=this.form.getElementsByName(this.name),n=t.length-1;n>=0;n--){var r=t[n];r.checked=r===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:`value`},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:u,defaultChecked:{name:`checked`,type:Boolean},size:{type:`unsigned long`,default:20,min:1,setmin:1},width:{type:`unsigned long`,min:0,setmin:0,default:0},height:{type:`unsigned long`,min:0,setmin:0,default:0},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},autocomplete:String,type:{type:[`text`,`hidden`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`],missing:`text`},formTarget:String,formNoValidate:Boolean,formMethod:{type:[`get`,`post`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``},align:String,useMap:String}}),l({tag:`keygen`,name:`HTMLKeygenElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:[`rsa`],missing:``}}}),l({tag:`li`,name:`HTMLLIElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{value:{type:`long`,default:0},type:String}}),l({tag:`label`,name:`HTMLLabelElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{htmlFor:{name:`for`,type:String}}}),l({tag:`legend`,name:`HTMLLegendElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`link`,name:`HTMLLinkElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{href:u,rel:String,media:String,hreflang:String,type:String,crossOrigin:d,nonce:String,integrity:String,referrerPolicy:f,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}}),l({tag:`map`,name:`HTMLMapElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String}}),l({tag:`menu`,name:`HTMLMenuElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{type:{type:[`context`,`popup`,`toolbar`],missing:`toolbar`},label:String,compact:Boolean}}),l({tag:`meta`,name:`HTMLMetaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String,content:String,httpEquiv:{name:`http-equiv`,type:String},scheme:String}}),l({tag:`meter`,name:`HTMLMeterElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_}),l({tags:[`ins`,`del`],name:`HTMLModElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{cite:u,dateTime:String}}),l({tag:`ol`,name:`HTMLOListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(n){n.nodeType===t.ELEMENT_NODE&&n.tagName===`LI`&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:`long`,default:function(){return this.reversed?this._numitems:1}},compact:Boolean}}),l({tag:`object`,name:`HTMLObjectElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{data:u,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:`unsigned long`,default:0},standby:String,vspace:{type:`unsigned long`,default:0},codeBase:u,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`optgroup`,name:`HTMLOptGroupElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{disabled:Boolean,label:String}}),l({tag:`option`,name:`HTMLOptionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===t.ELEMENT_NODE;){if(e.localName===`select`)return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr(`value`)||this.text},set:function(e){this._setattr(`value`,e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:`selected`,type:Boolean},label:String}}),l({tag:`output`,name:`HTMLOutputElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{name:String}}),l({tag:`p`,name:`HTMLParagraphElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({tag:`param`,name:`HTMLParamElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{name:String,value:String,type:String,valueType:String}}),l({tags:[`pre`,`listing`,`xmp`],name:`HTMLPreElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{width:{type:`long`,default:0}}}),l({tag:`progress`,name:`HTMLProgressElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:_,attributes:{max:{type:Number,float:!0,default:1,min:0}}}),l({tags:[`q`,`blockquote`],name:`HTMLQuoteElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{cite:u}}),l({tag:`script`,name:`HTMLScriptElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{text:{get:function(){for(var e=``,n=0,r=this.childNodes.length;n<r;n++){var i=this.childNodes[n];i.nodeType===t.TEXT_NODE&&(e+=i._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==``&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:u,type:String,charset:String,referrerPolicy:f,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:d,nonce:String,integrity:String}}),l({tag:`select`,name:`HTMLSelectElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,options:{get:function(){return this.getElementsByTagName(`option`)}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:`unsigned long`,default:0}}}),l({tag:`span`,name:`HTMLSpanElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`style`,name:`HTMLStyleElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{media:String,type:String,scoped:Boolean}}),l({tag:`caption`,name:`HTMLTableCaptionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{align:String}}),l({name:`HTMLTableCellElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{colSpan:{type:`unsigned long`,default:1},rowSpan:{type:`unsigned long`,default:1},scope:{type:[`row`,`col`,`rowgroup`,`colgroup`],missing:``},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`col`,`colgroup`],name:`HTMLTableColElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{span:{type:`limited unsigned long with fallback`,default:1,min:1},align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,width:String}}),l({tag:`table`,name:`HTMLTableElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`template`,name:`HTMLTemplateElement`,ctor:function(e,t,n){h.call(this,e,t,n),this._contentFragment=e._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}}),l({tag:`tr`,name:`HTMLTableRowElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{cells:{get:function(){return this.querySelectorAll(`td,th`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`thead`,`tfoot`,`tbody`],name:`HTMLTableSectionElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String}}),l({tag:`textarea`,name:`HTMLTextAreaElement`,ctor:function(e,t,n){m.call(this,e,t,n)},props:{form:_.form,type:{get:function(){return`textarea`}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:`limited unsigned long with fallback`,default:2},cols:{type:`limited unsigned long with fallback`,default:20},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``}}}),l({tag:`time`,name:`HTMLTimeElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{dateTime:String,pubDate:Boolean}}),l({tag:`title`,name:`HTMLTitleElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{text:{get:function(){return this.textContent}}}}),l({tag:`ul`,name:`HTMLUListElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{type:String,compact:Boolean}}),l({name:`HTMLMediaElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,crossOrigin:d,preload:{type:[`metadata`,`none`,`auto`,{value:``,alias:`auto`}],missing:`auto`},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:`muted`,type:Boolean}}}),l({name:`HTMLAudioElement`,tag:`audio`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)}}),l({name:`HTMLVideoElement`,tag:`video`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)},attributes:{poster:u,width:{type:`unsigned long`,min:0,default:0},height:{type:`unsigned long`,min:0,default:0}}}),l({tag:`td`,name:`HTMLTableDataCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`th`,name:`HTMLTableHeaderCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`frameset`,name:`HTMLFrameSetElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`frame`,name:`HTMLFrameElement`,ctor:function(e,t,n){h.call(this,e,t,n)}}),l({tag:`canvas`,name:`HTMLCanvasElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{getContext:{value:i.nyi},probablySupportsContext:{value:i.nyi},setContext:{value:i.nyi},transferControlToProxy:{value:i.nyi},toDataURL:{value:i.nyi},toBlob:{value:i.nyi}},attributes:{width:{type:`unsigned long`,default:300},height:{type:`unsigned long`,default:150}}}),l({tag:`dialog`,name:`HTMLDialogElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{show:{value:i.nyi},showModal:{value:i.nyi},close:{value:i.nyi}},attributes:{open:Boolean,returnValue:String}}),l({tag:`menuitem`,name:`HTMLMenuItemElement`,ctor:function(e,t,n){h.call(this,e,t,n)},props:{_label:{get:function(){var e=this._getattr(`label`);return e!==null&&e!==``?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g,` `).trim())}},label:{get:function(){var e=this._getattr(`label`);return e===null?this._label:e},set:function(e){this._setattr(`label`,e)}}},attributes:{type:{type:[`command`,`checkbox`,`radio`],missing:`command`},icon:u,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}}),l({tag:`source`,name:`HTMLSourceElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{srcset:String,sizes:String,media:String,src:u,type:String,width:String,height:String}}),l({tag:`track`,name:`HTMLTrackElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{src:u,srclang:String,label:String,default:Boolean,kind:{type:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],missing:`subtitles`,invalid:`metadata`}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:i.nyi},track:{get:i.nyi}}}),l({tag:`font`,name:`HTMLFontElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}}),l({tag:`dir`,name:`HTMLDirectoryElement`,ctor:function(e,t,n){h.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tags:`abbr.address.article.aside.b.bdi.bdo.cite.content.code.dd.dfn.dt.em.figcaption.figure.footer.header.hgroup.i.kbd.main.mark.nav.noscript.rb.rp.rt.rtc.ruby.s.samp.section.small.strong.sub.summary.sup.u.var.wbr.acronym.basefont.big.center.nobr.noembed.noframes.plaintext.strike.tt`.split(`.`)})})),Ld=O((e=>{var t=vd(),n=Fd(),r=td(),i=Nd(),a=e.elements={},o=Object.create(null);e.createElement=function(e,t,n){return new(o[t]||c)(e,t,n)};function s(e){return n(e,c,a,o)}var c=s({superclass:t,name:`SVGElement`,ctor:function(e,n,i){t.call(this,e,n,r.NAMESPACE.SVG,i)},props:{style:{get:function(){return this._style||=new i(this),this._style}}}});s({name:`SVGSVGElement`,ctor:function(e,t,n){c.call(this,e,t,n)},tag:`svg`,props:{createSVGRect:{value:function(){return e.createElement(this.ownerDocument,`rect`,null)}}}}),s({tags:`a.altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.switch.symbol.text.textPath.title.tref.tspan.use.view.vkern`.split(`.`)})})),Rd=O(((e,t)=>{t.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}})),zd=O(((e,t)=>{t.exports=T;var n=ad(),r=cd(),i=ld(),a=vd(),o=xd(),s=Sd(),c=Xu(),l=Cd(),u=wd(),d=Hd(),f=Dd(),p=Od(),m=Td(),h=kd(),g=md(),_=jd(),v=ud(),y=Id(),b=Ld(),x=td(),S=Rd(),C=x.NAMESPACE,w=ed().isApiWritable;function T(e,t){i.call(this),this.nodeType=n.DOCUMENT_NODE,this.isHTML=e,this._address=t||`about:blank`,this.readyState=`loading`,this.implementation=new d(this),this.ownerDocument=null,this._contentType=e?`text/html`:`application/xml`,this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var E={event:`Event`,customevent:`CustomEvent`,uievent:`UIEvent`,mouseevent:`MouseEvent`},ee={events:`event`,htmlevents:`event`,mouseevents:`mouseevent`,mutationevents:`mutationevent`,uievents:`uievent`},te=function(e,t,n){return{get:function(){var r=e.call(this);return r?r[t]:n},set:function(n){var r=e.call(this);r&&(r[t]=n)}}};function ne(e,t){var n,r,i;return e===``&&(e=null),v.isValidQName(t)||x.InvalidCharacterError(),n=null,r=t,i=t.indexOf(`:`),i>=0&&(n=t.substring(0,i),r=t.substring(i+1)),n!==null&&e===null&&x.NamespaceError(),n===`xml`&&e!==C.XML&&x.NamespaceError(),(n===`xmlns`||t===`xmlns`)&&e!==C.XMLNS&&x.NamespaceError(),e===C.XMLNS&&!(n===`xmlns`||t===`xmlns`)&&x.NamespaceError(),{namespace:e,prefix:n,localName:r}}T.prototype=Object.create(i.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,n){var r=this._nodes[e];r&&r._dispatchEvent(new c(t,n),!0)}},nodeName:{value:`#document`},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:x.nyi},compatMode:{get:function(){return this._quirks?`BackCompat`:`CSS1Compat`}},createTextNode:{value:function(e){return new o(this,String(e))}},createComment:{value:function(e){return new s(this,e)}},createDocumentFragment:{value:function(){return new l(this)}},createProcessingInstruction:{value:function(e,t){return(!v.isValidName(e)||t.indexOf(`?>`)!==-1)&&x.InvalidCharacterError(),new u(this,e,t)}},createAttribute:{value:function(e){return e=String(e),v.isValidName(e)||x.InvalidCharacterError(),this.isHTML&&(e=x.toASCIILowerCase(e)),new a._Attr(null,e,null,null,``)}},createAttributeNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=ne(e,t);return new a._Attr(null,n.localName,n.prefix,n.namespace,``)}},createElement:{value:function(e){return e=String(e),v.isValidName(e)||x.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=x.toASCIILowerCase(e)),y.createElement(this,e,null)):this.contentType===`application/xhtml+xml`?y.createElement(this,e,null):new a(this,e,null,null)},writable:w},createElementNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=ne(e,t);return this._createElementNS(n.localName,n.namespace,n.prefix)},writable:w},_createElementNS:{value:function(e,t,n){return t===C.HTML?y.createElement(this,e,n):t===C.SVG?b.createElement(this,e,n):new a(this,e,t,n)}},createEvent:{value:function(e){e=e.toLowerCase();var t=_[E[ee[e]||e]];if(t){var n=new t;return n._initialized=!1,n}else x.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?m.SHOW_ALL:+t,r=r===void 0?null:r,new f(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?m.SHOW_ALL:+t,r=r===void 0?null:r,new p(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||=[],this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var e=this.firstChild;e!==null;e=e.nextSibling)e.nodeType===n.DOCUMENT_TYPE_NODE?this.doctype=e:e.nodeType===n.ELEMENT_NODE&&(this.documentElement=e)}},insertBefore:{value:function(e,t){return n.prototype.insertBefore.call(this,e,t),this._updateDocTypeElement(),e}},replaceChild:{value:function(e,t){return n.prototype.replaceChild.call(this,e,t),this._updateDocTypeElement(),t}},removeChild:{value:function(e){return n.prototype.removeChild.call(this,e),this._updateDocTypeElement(),e}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof oe?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof oe}},getElementsByName:{value:a.prototype.getElementsByName},getElementsByTagName:{value:a.prototype.getElementsByTagName},getElementsByTagNameNS:{value:a.prototype.getElementsByTagNameNS},getElementsByClassName:{value:a.prototype.getElementsByClassName},adoptNode:{value:function(e){return e.nodeType===n.DOCUMENT_NODE&&x.NotSupportedError(),e.nodeType===n.ATTRIBUTE_NODE?e:(e.parentNode&&e.parentNode.removeChild(e),e.ownerDocument!==this&&k(e,this),e)}},importNode:{value:function(e,t){return this.adoptNode(e.cloneNode(t))},writable:w},origin:{get:function(){return null}},characterSet:{get:function(){return`UTF-8`}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:x.nyi,set:x.nyi},referrer:{get:x.nyi},cookie:{get:x.nyi,set:x.nyi},lastModified:{get:x.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:x.nyi},_titleElement:{get:function(){return this.getElementsByTagName(`title`).item(0)||null}},title:{get:function(){var e=this._titleElement;return(e?e.textContent:``).replace(/[ \t\n\r\f]+/g,` `).replace(/(^ )|( $)/g,``)},set:function(e){var t=this._titleElement,n=this.head;!t&&!n||(t||(t=this.createElement(`title`),n.appendChild(t)),t.textContent=e)}},dir:te(function(){var e=this.documentElement;if(e&&e.tagName===`HTML`)return e},`dir`,``),fgColor:te(function(){return this.body},`text`,``),linkColor:te(function(){return this.body},`link`,``),vlinkColor:te(function(){return this.body},`vLink`,``),alinkColor:te(function(){return this.body},`aLink`,``),bgColor:te(function(){return this.body},`bgColor`,``),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return D(this.documentElement,`body`)},set:x.nyi},head:{get:function(){return D(this.documentElement,`head`)}},images:{get:x.nyi},embeds:{get:x.nyi},plugins:{get:x.nyi},links:{get:x.nyi},forms:{get:x.nyi},scripts:{get:x.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:x.nyi},outerHTML:{get:function(){return this.serialize()},set:x.nyi},write:{value:function(e){if(this.isHTML||x.InvalidStateError(),this._parser){this._parser;var t=arguments.join(``);this._parser.parse(t)}}},writeln:{value:function(e){this.write(Array.prototype.join.call(arguments,``)+`
|
|
26
|
+
`)}},open:{value:function(){this.documentElement=null}},close:{value:function(){this.readyState=`interactive`,this._dispatchEvent(new c(`readystatechange`),!0),this._dispatchEvent(new c(`DOMContentLoaded`),!0),this.readyState=`complete`,this._dispatchEvent(new c(`readystatechange`),!0),this.defaultView&&this.defaultView._dispatchEvent(new c(`load`),!0)}},clone:{value:function(){var e=new T(this.isHTML,this._address);return e._quirks=this._quirks,e._contentType=this._contentType,e}},cloneNode:{value:function(e){var t=n.prototype.cloneNode.call(this,!1);if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(t.importNode(r,!0));return t._updateDocTypeElement(),t}},isEqual:{value:function(e){return!0}},mutateValue:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.VALUE,target:e,data:e.data})}},mutateAttr:{value:function(e,t){this.mutationHandler&&this.mutationHandler({type:S.ATTR,target:e.ownerElement,attr:e})}},mutateRemoveAttr:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.REMOVE_ATTR,target:e.ownerElement,attr:e})}},mutateRemove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.REMOVE,target:e.parentNode,node:e}),ae(e)}},mutateInsert:{value:function(e){ie(e),this.mutationHandler&&this.mutationHandler({type:S.INSERT,target:e.parentNode,node:e})}},mutateMove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:S.MOVE,target:e})}},addId:{value:function(e,t){var n=this.byId[e];n?(n instanceof oe||(n=new oe(n),this.byId[e]=n),n.add(t)):this.byId[e]=t}},delId:{value:function(e,t){var n=this.byId[e];x.assert(n),n instanceof oe?(n.del(t),n.length===1&&(this.byId[e]=n.downgrade())):this.byId[e]=void 0}},_resolve:{value:function(e){return new h(this._documentBaseURL).resolve(e)}},_documentBaseURL:{get:function(){var e=this._address;e===`about:blank`&&(e=`/`);var t=this.querySelector(`base[href]`);return t?new h(e).resolve(t.getAttribute(`href`)):e}},_templateDoc:{get:function(){if(!this._templateDocCache){var e=new T(this.isHTML,this._address);this._templateDocCache=e._templateDocCache=e}return this._templateDocCache}},querySelector:{value:function(e){return g(e,this)[0]}},querySelectorAll:{value:function(e){var t=g(e,this);return t.item?t:new r(t)}}}),`abort.canplay.canplaythrough.change.click.contextmenu.cuechange.dblclick.drag.dragend.dragenter.dragleave.dragover.dragstart.drop.durationchange.emptied.ended.input.invalid.keydown.keypress.keyup.loadeddata.loadedmetadata.loadstart.mousedown.mousemove.mouseout.mouseover.mouseup.mousewheel.pause.play.playing.progress.ratechange.readystatechange.reset.seeked.seeking.select.show.stalled.submit.suspend.timeupdate.volumechange.waiting.blur.error.focus.load.scroll`.split(`.`).forEach(function(e){Object.defineProperty(T.prototype,`on`+e,{get:function(){return this._getEventHandler(e)},set:function(t){this._setEventHandler(e,t)}})});function D(e,t){if(e&&e.isHTML){for(var r=e.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===n.ELEMENT_NODE&&r.localName===t&&r.namespaceURI===C.HTML)return r}return null}function O(e){if(e._nid=e.ownerDocument._nextnid++,e.ownerDocument._nodes[e._nid]=e,e.nodeType===n.ELEMENT_NODE){var t=e.getAttribute(`id`);t&&e.ownerDocument.addId(t,e),e._roothook&&e._roothook()}}function re(e){if(e.nodeType===n.ELEMENT_NODE){var t=e.getAttribute(`id`);t&&e.ownerDocument.delId(t,e)}e.ownerDocument._nodes[e._nid]=void 0,e._nid=void 0}function ie(e){if(O(e),e.nodeType===n.ELEMENT_NODE)for(var t=e.firstChild;t!==null;t=t.nextSibling)ie(t)}function ae(e){re(e);for(var t=e.firstChild;t!==null;t=t.nextSibling)ae(t)}function k(e,t){e.ownerDocument=t,e._lastModTime=void 0,Object.prototype.hasOwnProperty.call(e,`_tagName`)&&(e._tagName=void 0);for(var n=e.firstChild;n!==null;n=n.nextSibling)k(n,t)}function oe(e){this.nodes=Object.create(null),this.nodes[e._nid]=e,this.length=1,this.firstNode=void 0}oe.prototype.add=function(e){this.nodes[e._nid]||(this.nodes[e._nid]=e,this.length++,this.firstNode=void 0)},oe.prototype.del=function(e){this.nodes[e._nid]&&(delete this.nodes[e._nid],this.length--,this.firstNode=void 0)},oe.prototype.getFirst=function(){if(!this.firstNode)for(var e in this.nodes)(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[e])&n.DOCUMENT_POSITION_PRECEDING)&&(this.firstNode=this.nodes[e]);return this.firstNode},oe.prototype.downgrade=function(){if(this.length===1)for(var e in this.nodes)return this.nodes[e];return this}})),Bd=O(((e,t)=>{t.exports=a;var n=ad(),r=yd(),i=hd();function a(e,t,i,a){r.call(this),this.nodeType=n.DOCUMENT_TYPE_NODE,this.ownerDocument=e||null,this.name=t,this.publicId=i||``,this.systemId=a||``}a.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new a(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(e){return this.name===e.name&&this.publicId===e.publicId&&this.systemId===e.systemId}}}),Object.defineProperties(a.prototype,i)})),Vd=O(((e,t)=>{t.exports=j;var n=zd(),r=Bd(),i=ad(),a=td().NAMESPACE,o=Id(),s=o.elements,c=Function.prototype.apply.bind(Array.prototype.push),l=-1,u=1,d=2,f=3,p=4,m=5,h=[],g=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict\/\/|^-\/\/IETF\/\/DTD HTML 2\.0\/\/|^-\/\/IETF\/\/DTD HTML 2\.1E\/\/|^-\/\/IETF\/\/DTD HTML 3\.0\/\/|^-\/\/IETF\/\/DTD HTML 3\.2 Final\/\/|^-\/\/IETF\/\/DTD HTML 3\.2\/\/|^-\/\/IETF\/\/DTD HTML 3\/\/|^-\/\/IETF\/\/DTD HTML Level 0\/\/|^-\/\/IETF\/\/DTD HTML Level 1\/\/|^-\/\/IETF\/\/DTD HTML Level 2\/\/|^-\/\/IETF\/\/DTD HTML Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 0\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict\/\/|^-\/\/IETF\/\/DTD HTML\/\/|^-\/\/Metrius\/\/DTD Metrius Presentational\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 Tables\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 Tables\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD HTML\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD Strict HTML\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML 2\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended 1\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended Relaxed 1\.0\/\/|^-\/\/SoftQuad Software\/\/DTD HoTMetaL PRO 6\.0::19990601::extensions to HTML 4\.0\/\/|^-\/\/SoftQuad\/\/DTD HoTMetaL PRO 4\.0::19971010::extensions to HTML 4\.0\/\/|^-\/\/Spyglass\/\/DTD HTML 2\.0 Extended\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava HTML\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava Strict HTML\/\/|^-\/\/W3C\/\/DTD HTML 3 1995-03-24\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Draft\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Final\/\/|^-\/\/W3C\/\/DTD HTML 3\.2\/\/|^-\/\/W3C\/\/DTD HTML 3\.2S Draft\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/|^-\/\/W3C\/\/DTD HTML Experimental 19960712\/\/|^-\/\/W3C\/\/DTD HTML Experimental 970421\/\/|^-\/\/W3C\/\/DTD W3 HTML\/\/|^-\/\/W3O\/\/DTD W3 HTML 3\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML 2\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML\/\//i,_=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,v=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,y=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,b=Object.create(null);b[a.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0},b[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0},b[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var x=Object.create(null);x[a.HTML]={__proto__:null,address:!0,div:!0,p:!0};var S=Object.create(null);S[a.HTML]={__proto__:null,dd:!0,dt:!0};var C=Object.create(null);C[a.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var w=Object.create(null);w[a.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var T=Object.create(null);T[a.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var E=Object.create(null);E[a.HTML]={__proto__:null,table:!0,template:!0,html:!0};var ee=Object.create(null);ee[a.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var te=Object.create(null);te[a.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var ne=Object.create(null);ne[a.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var D=Object.create(null);D[a.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0},D[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0},D[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var O=Object.create(D);O[a.HTML]=Object.create(D[a.HTML]),O[a.HTML].ol=!0,O[a.HTML].ul=!0;var re=Object.create(D);re[a.HTML]=Object.create(D[a.HTML]),re[a.HTML].button=!0;var ie=Object.create(null);ie[a.HTML]={__proto__:null,html:!0,table:!0,template:!0};var ae=Object.create(null);ae[a.HTML]={__proto__:null,optgroup:!0,option:!0};var k=Object.create(null);k[a.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var oe=Object.create(null);oe[a.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var se={__proto__:null,"xlink:actuate":a.XLINK,"xlink:arcrole":a.XLINK,"xlink:href":a.XLINK,"xlink:role":a.XLINK,"xlink:show":a.XLINK,"xlink:title":a.XLINK,"xlink:type":a.XLINK,"xml:base":a.XML,"xml:lang":a.XML,"xml:space":a.XML,xmlns:a.XMLNS,"xmlns:xlink":a.XMLNS},ce={__proto__:null,attributename:`attributeName`,attributetype:`attributeType`,basefrequency:`baseFrequency`,baseprofile:`baseProfile`,calcmode:`calcMode`,clippathunits:`clipPathUnits`,diffuseconstant:`diffuseConstant`,edgemode:`edgeMode`,filterunits:`filterUnits`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,limitingconeangle:`limitingConeAngle`,markerheight:`markerHeight`,markerunits:`markerUnits`,markerwidth:`markerWidth`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,numoctaves:`numOctaves`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,refx:`refX`,refy:`refY`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stitchtiles:`stitchTiles`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textlength:`textLength`,viewbox:`viewBox`,viewtarget:`viewTarget`,xchannelselector:`xChannelSelector`,ychannelselector:`yChannelSelector`,zoomandpan:`zoomAndPan`},A={__proto__:null,altglyph:`altGlyph`,altglyphdef:`altGlyphDef`,altglyphitem:`altGlyphItem`,animatecolor:`animateColor`,animatemotion:`animateMotion`,animatetransform:`animateTransform`,clippath:`clipPath`,feblend:`feBlend`,fecolormatrix:`feColorMatrix`,fecomponenttransfer:`feComponentTransfer`,fecomposite:`feComposite`,feconvolvematrix:`feConvolveMatrix`,fediffuselighting:`feDiffuseLighting`,fedisplacementmap:`feDisplacementMap`,fedistantlight:`feDistantLight`,feflood:`feFlood`,fefunca:`feFuncA`,fefuncb:`feFuncB`,fefuncg:`feFuncG`,fefuncr:`feFuncR`,fegaussianblur:`feGaussianBlur`,feimage:`feImage`,femerge:`feMerge`,femergenode:`feMergeNode`,femorphology:`feMorphology`,feoffset:`feOffset`,fepointlight:`fePointLight`,fespecularlighting:`feSpecularLighting`,fespotlight:`feSpotLight`,fetile:`feTile`,feturbulence:`feTurbulence`,foreignobject:`foreignObject`,glyphref:`glyphRef`,lineargradient:`linearGradient`,radialgradient:`radialGradient`,textpath:`textPath`},le={__proto__:null,0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},ue={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},de=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,fe=32,pe=/[^\r"&\u0000]+/g,me=/[^\r'&\u0000]+/g,he=/[^\r\t\n\f &>\u0000]+/g,ge=/[^\r\t\n\f \/>A-Z\u0000]+/g,_e=/[^\r\t\n\f \/=>A-Z\u0000]+/g,ve=/[^\]\r\u0000\uffff]*/g,ye=/[^&<\r\u0000\uffff]*/g,be=/[^<\r\u0000\uffff]*/g,xe=/[^\r\u0000\uffff]*/g,Se=/(?:(\/)?([a-z]+)>)|[\s\S]/g,Ce=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,we=/[^\x09\x0A\x0C\x0D\x20]/,Te=/[^\x09\x0A\x0C\x0D\x20]/g,Ee=/[^\x00\x09\x0A\x0C\x0D\x20]/,De=/^[\x09\x0A\x0C\x0D\x20]+/,Oe=/\x00/g;function ke(e){var t=16384;if(e.length<t)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<e.length;r+=t)n+=String.fromCharCode.apply(String,e.slice(r,r+t));return n}function Ae(e){for(var t=[],n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function je(e,t){if(typeof t==`string`)return e.namespaceURI===a.HTML&&e.localName===t;var n=t[e.namespaceURI];return n&&n[e.localName]}function Me(e){return je(e,k)}function Ne(e){if(je(e,oe))return!0;if(e.namespaceURI===a.MATHML&&e.localName===`annotation-xml`){var t=e.getAttribute(`encoding`);if(t&&=t.toLowerCase(),t===`text/html`||t===`application/xhtml+xml`)return!0}return!1}function Pe(e){return e in A?A[e]:e}function Fe(e){for(var t=0,n=e.length;t<n;t++)e[t][0]in ce&&(e[t][0]=ce[e[t][0]])}function Ie(e){for(var t=0,n=e.length;t<n;t++)if(e[t][0]===`definitionurl`){e[t][0]=`definitionURL`;break}}function Le(e){for(var t=0,n=e.length;t<n;t++)e[t][0]in se&&e[t].push(se[e[t][0]])}function Re(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n][0],a=e[n][1];t.hasAttribute(i)||t._setAttribute(i,a)}}j.ElementStack=function(){this.elements=[],this.top=null},j.ElementStack.prototype.push=function(e){this.elements.push(e),this.top=e},j.ElementStack.prototype.pop=function(e){this.elements.pop(),this.top=this.elements[this.elements.length-1]},j.ElementStack.prototype.popTag=function(e){for(var t=this.elements.length-1;t>0;t--){var n=this.elements[t];if(je(n,e))break}this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.popElementType=function(e){for(var t=this.elements.length-1;t>0&&!(this.elements[t]instanceof e);t--);this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.popElement=function(e){for(var t=this.elements.length-1;t>0&&this.elements[t]!==e;t--);this.elements.length=t,this.top=this.elements[t-1]},j.ElementStack.prototype.removeElement=function(e){if(this.top===e)this.pop();else{var t=this.elements.lastIndexOf(e);t!==-1&&this.elements.splice(t,1)}},j.ElementStack.prototype.clearToContext=function(e){for(var t=this.elements.length-1;t>0&&!je(this.elements[t],e);t--);this.elements.length=t+1,this.top=this.elements[t]},j.ElementStack.prototype.contains=function(e){return this.inSpecificScope(e,Object.create(null))},j.ElementStack.prototype.inSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(je(r,e))return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.elementInSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(r===e)return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.elementTypeInSpecificScope=function(e,t){for(var n=this.elements.length-1;n>=0;n--){var r=this.elements[n];if(r instanceof e)return!0;if(je(r,t))return!1}return!1},j.ElementStack.prototype.inScope=function(e){return this.inSpecificScope(e,D)},j.ElementStack.prototype.elementInScope=function(e){return this.elementInSpecificScope(e,D)},j.ElementStack.prototype.elementTypeInScope=function(e){return this.elementTypeInSpecificScope(e,D)},j.ElementStack.prototype.inButtonScope=function(e){return this.inSpecificScope(e,re)},j.ElementStack.prototype.inListItemScope=function(e){return this.inSpecificScope(e,O)},j.ElementStack.prototype.inTableScope=function(e){return this.inSpecificScope(e,ie)},j.ElementStack.prototype.inSelectScope=function(e){for(var t=this.elements.length-1;t>=0;t--){var n=this.elements[t];if(n.namespaceURI!==a.HTML)return!1;var r=n.localName;if(r===e)return!0;if(r!==`optgroup`&&r!==`option`)return!1}return!1},j.ElementStack.prototype.generateImpliedEndTags=function(e,t){for(var n=t?T:w,r=this.elements.length-1;r>=0;r--){var i=this.elements[r];if(e&&je(i,e)||!je(this.elements[r],n))break}this.elements.length=r+1,this.top=this.elements[r]},j.ActiveFormattingElements=function(){this.list=[],this.attrs=[]},j.ActiveFormattingElements.prototype.MARKER={localName:`|`},j.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)},j.ActiveFormattingElements.prototype.push=function(e,t){for(var n=0,r=this.list.length-1;r>=0&&this.list[r]!==this.MARKER;r--)if(o(e,this.list[r],this.attrs[r])&&(n++,n===3)){this.list.splice(r,1),this.attrs.splice(r,1);break}this.list.push(e);for(var i=[],a=0;a<t.length;a++)i[a]=t[a];this.attrs.push(i);function o(e,t,n){if(e.localName!==t.localName||e._numattrs!==n.length)return!1;for(var r=0,i=n.length;r<i;r++){var a=n[r][0],o=n[r][1];if(!e.hasAttribute(a)||e.getAttribute(a)!==o)return!1}return!0}},j.ActiveFormattingElements.prototype.clearToMarker=function(){for(var e=this.list.length-1;e>=0&&this.list[e]!==this.MARKER;e--);e<0&&(e=0),this.list.length=e,this.attrs.length=e},j.ActiveFormattingElements.prototype.findElementByTag=function(e){for(var t=this.list.length-1;t>=0;t--){var n=this.list[t];if(n===this.MARKER)break;if(n.localName===e)return n}return null},j.ActiveFormattingElements.prototype.indexOf=function(e){return this.list.lastIndexOf(e)},j.ActiveFormattingElements.prototype.remove=function(e){var t=this.list.lastIndexOf(e);t!==-1&&(this.list.splice(t,1),this.attrs.splice(t,1))},j.ActiveFormattingElements.prototype.replace=function(e,t,n){var r=this.list.lastIndexOf(e);r!==-1&&(this.list[r]=t,this.attrs[r]=n)},j.ActiveFormattingElements.prototype.insertAfter=function(e,t){var n=this.list.lastIndexOf(e);n!==-1&&(this.list.splice(n,0,t),this.attrs.splice(n,0,t))};function j(e,t,w){var T=null,D=0,O=0,re=!1,ie=!1,ae=0,k=[],oe=``,se=!0,ce=0,A=H,ze,Be,Ve=``,He=``,Ue=[],We=``,Ge=``,Ke=[],qe=[],Je=[],Ye=[],Xe=[],Ze=!1,M=yr,Qe=null,$e=[],N=new j.ElementStack,P=new j.ActiveFormattingElements,et=t!==void 0,tt=null,nt=null,rt=!0;t&&(rt=t.ownerDocument._scripting_enabled),w&&w.scripting_enabled===!1&&(rt=!1);var it=!0,at=!1,ot,st,F=[],ct=!1,lt=!1,ut={document:function(){return I},_asDocumentFragment:function(){for(var e=I.createDocumentFragment(),t=I.firstChild;t.hasChildNodes();)e.appendChild(t.firstChild);return e},pause:function(){ce++},resume:function(){ce--,this.parse(``)},parse:function(e,t,n){var r;return ce>0?(oe+=e,!0):(ae===0?(oe&&=(e=oe+e,``),t&&(e+=``,re=!0),T=e,D=e.length,O=0,se&&(se=!1,T.charCodeAt(0)===65279&&(O=1)),ae++,r=pt(n),oe=T.substring(O,D),ae--):(ae++,k.push(T,D,O),T=e,D=e.length,O=0,pt(),r=!1,oe=T.substring(O,D),O=k.pop(),D=k.pop(),T=k.pop(),oe&&=(T=oe+T.substring(O),D=T.length,O=0,``),ae--),r)}},I=new n(!0,e);if(I._parser=ut,I._scripting_enabled=rt,t){if(t.ownerDocument._quirks&&(I._quirks=!0),t.ownerDocument._limitedQuirks&&(I._limitedQuirks=!0),t.namespaceURI===a.HTML)switch(t.localName){case`title`:case`textarea`:A=U;break;case`style`:case`xmp`:case`iframe`:case`noembed`:case`noframes`:case`script`:case`plaintext`:A=en;break}var dt=I.createElement(`html`);I._appendChild(dt),N.push(dt),t instanceof s.HTMLTemplateElement&&$e.push(Fr),Ut();for(var ft=t;ft!==null;ft=ft.parentElement)if(ft instanceof s.HTMLFormElement){nt=ft;break}}function pt(e){for(var t,n,r,i;O<D;){if(ce>0||e&&e())return!0;switch(typeof A.lookahead){case`undefined`:if(t=T.charCodeAt(O++),ie&&(ie=!1,t===10)){O++;continue}switch(t){case 13:O<D?T.charCodeAt(O)===10&&O++:ie=!0,A(10);break;case 65535:if(re&&O===D){A(l);break}default:A(t);break}break;case`number`:t=T.charCodeAt(O);var a=A.lookahead,o=!0;if(a<0&&(o=!1,a=-a),a<D-O)n=o?T.substring(O,O+a):null,i=!1;else if(re)n=o?T.substring(O,D):null,i=!0,t===65535&&O===D-1&&(t=l);else return!0;A(t,n,i);break;case`string`:t=T.charCodeAt(O),r=A.lookahead;var s=T.indexOf(r,O);if(s!==-1)n=T.substring(O,s+r.length),i=!1;else{if(!re)return!0;n=T.substring(O,D),t===65535&&O===D-1&&(t=l),i=!0}A(t,n,i);break}}return!1}function mt(e,t){for(var n=0;n<Xe.length;n++)if(Xe[n][0]===e)return;t===void 0?Xe.push([e]):Xe.push([e,t])}function ht(){Ce.lastIndex=O-1;var e=Ce.exec(T);if(!e)throw Error(`should never happen`);var t=e[1];if(!t)return!1;var n=e[2],r=n.length;switch(n[0]){case`"`:case`'`:n=n.substring(1,r-1),O+=e[0].length-1,A=Mn;break;default:A=Dn,O+=e[0].length-1,n=n.substring(0,r-1);break}for(var i=0;i<Xe.length;i++)if(Xe[i][0]===t)return!0;return Xe.push([t,n]),!0}function gt(){Ze=!1,Ve=``,Xe.length=0}function _t(){Ze=!0,Ve=``,Xe.length=0}function vt(){Ue.length=0}function yt(){We=``}function bt(){Ge=``}function xt(){Ke.length=0}function St(){qe.length=0,Je=null,Ye=null}function Ct(){Je=[]}function wt(){Ye=[]}function L(){at=!0}function Tt(){return N.top&&N.top.namespaceURI!==`http://www.w3.org/1999/xhtml`}function Et(e){return He===e}function Dt(){if(F.length>0){var e=ke(F);if(F.length=0,lt&&(lt=!1,e[0]===`
|
|
27
|
+
`&&(e=e.substring(1)),e.length===0))return;Pt(u,e),ct=!1}lt=!1}function Ot(e){e.lastIndex=O-1;var t=e.exec(T);if(t&&t.index===O-1)return t=t[0],O+=t.length-1,re&&O===D&&(t=t.slice(0,-1),O--),t;throw Error(`should never happen`)}function kt(e){e.lastIndex=O-1;var t=e.exec(T)[0];return t?(At(t),O+=t.length-1,!0):!1}function At(e){F.length>0&&Dt(),!(lt&&(lt=!1,e[0]===`
|
|
28
|
+
`&&(e=e.substring(1)),e.length===0))&&Pt(u,e)}function jt(){if(Ze)Pt(f,Ve);else{var e=Ve;Ve=``,He=e,Pt(d,e,Xe)}}function Mt(){if(O===D)return!1;Se.lastIndex=O;var e=Se.exec(T);if(!e)throw Error(`should never happen`);var t=e[2];return t?(e[1]?(O+=t.length+2,Pt(f,t)):(O+=t.length+1,He=t,Pt(d,t,h)),!0):!1}function Nt(){Ze?Pt(f,Ve,null,!0):Pt(d,Ve,Xe,!0)}function R(){Pt(m,ke(qe),Je?ke(Je):void 0,Ye?ke(Ye):void 0)}function z(){Dt(),M(l),I.modclock=1}var Pt=ut.insertToken=function(e,t,n,r){Dt();var i=N.top;!i||i.namespaceURI===a.HTML?M(e,t,n,r):e!==d&&e!==u?Vr(e,t,n,r):Me(i)&&(e===u||e===d&&t!==`mglyph`&&t!==`malignmark`)||e===d&&t===`svg`&&i.namespaceURI===a.MATHML&&i.localName===`annotation-xml`||Ne(i)?(st=!0,M(e,t,n,r),st=!1):Vr(e,t,n,r)};function Ft(e){var t=N.top;Rt&&je(t,C)?Ht(function(t){return t.createComment(e)}):(t instanceof s.HTMLTemplateElement&&(t=t.content),t._appendChild(t.ownerDocument.createComment(e)))}function It(e){var t=N.top;if(Rt&&je(t,C))Ht(function(t){return t.createTextNode(e)});else{t instanceof s.HTMLTemplateElement&&(t=t.content);var n=t.lastChild;n&&n.nodeType===i.TEXT_NODE?n.appendData(e):t._appendChild(t.ownerDocument.createTextNode(e))}}function Lt(e,t,n){var r=o.createElement(e,t,null);if(n)for(var i=0,a=n.length;i<a;i++)r._setAttribute(n[i][0],n[i][1]);return r}var Rt=!1;function B(e,t){var n=zt(function(n){return Lt(n,e,t)});return je(n,ne)&&(n._form=nt),n}function zt(e){var t;return Rt&&je(N.top,C)?t=Ht(e):N.top instanceof s.HTMLTemplateElement?(t=e(N.top.content.ownerDocument),N.top.content._appendChild(t)):(t=e(N.top.ownerDocument),N.top._appendChild(t)),N.push(t),t}function Bt(e,t,n){return zt(function(r){var i=r._createElementNS(e,n,null);if(t)for(var a=0,o=t.length;a<o;a++){var s=t[a];s.length===2?i._setAttribute(s[0],s[1]):i._setAttributeNS(s[2],s[0],s[1])}return i})}function Vt(e){for(var t=N.elements.length-1;t>=0;t--)if(N.elements[t]instanceof e)return t;return-1}function Ht(e){var t,n,r=-1,a=-1,o;if(r=Vt(s.HTMLTableElement),a=Vt(s.HTMLTemplateElement),a>=0&&(r<0||a>r)?t=N.elements[a]:r>=0&&(t=N.elements[r].parentNode,t?n=N.elements[r]:t=N.elements[r-1]),t||=N.elements[0],t instanceof s.HTMLTemplateElement&&(t=t.content),o=e(t.ownerDocument),o.nodeType===i.TEXT_NODE){var c=n?n.previousSibling:t.lastChild;if(c&&c.nodeType===i.TEXT_NODE)return c.appendData(o.data),o}return n?t.insertBefore(o,n):t._appendChild(o),o}function Ut(){for(var e=!1,n=N.elements.length-1;n>=0;n--){var r=N.elements[n];if(n===0&&(e=!0,et&&(r=t)),r.namespaceURI===a.HTML){var i=r.localName;switch(i){case`select`:for(var o=n;o>0;){var c=N.elements[--o];if(c instanceof s.HTMLTemplateElement)break;if(c instanceof s.HTMLTableElement){M=Pr;return}}M=Nr;return;case`tr`:M=jr;return;case`tbody`:case`tfoot`:case`thead`:M=Ar;return;case`caption`:M=Or;return;case`colgroup`:M=kr;return;case`table`:M=Er;return;case`template`:M=$e[$e.length-1];return;case`body`:M=J;return;case`frameset`:M=Lr;return;case`html`:M=tt===null?xr:wr;return;default:if(!e){if(i===`head`){M=Sr;return}if(i===`td`||i===`th`){M=Mr;return}}}}if(e){M=J;return}}}function Wt(e,t){B(e,t),A=Qt,Qe=M,M=Tr}function Gt(e,t){B(e,t),A=U,Qe=M,M=Tr}function Kt(e,t){return{elt:Lt(e,P.list[t].localName,P.attrs[t]),attrs:P.attrs[t]}}function qt(){if(P.list.length!==0){var e=P.list[P.list.length-1];if(e!==P.MARKER&&N.elements.lastIndexOf(e)===-1){for(var t=P.list.length-2;t>=0&&(e=P.list[t],!(e===P.MARKER||N.elements.lastIndexOf(e)!==-1));t--);for(t+=1;t<P.list.length;t++){var n=zt(function(e){return Kt(e,t).elt});P.list[t]=n}}}}var Jt={localName:`BM`};function Yt(e){if(je(N.top,e)&&P.indexOf(N.top)===-1)return N.pop(),!0;for(var t=0;t<8;){t++;var n=P.findElementByTag(e);if(!n)return!1;var r=N.elements.lastIndexOf(n);if(r===-1)return P.remove(n),!0;if(!N.elementInScope(n))return!0;for(var i=null,a,o=r+1;o<N.elements.length;o++)if(je(N.elements[o],b)){i=N.elements[o],a=o;break}if(i){var c=N.elements[r-1];P.insertAfter(n,Jt);for(var l=i,u=i,d=a,f,p=0;p++,l=N.elements[--d],l!==n;){if(f=P.indexOf(l),p>3&&f!==-1&&(P.remove(l),f=-1),f===-1){N.removeElement(l);continue}var m=Kt(c.ownerDocument,f);P.replace(l,m.elt,m.attrs),N.elements[d]=m.elt,l=m.elt,u===i&&(P.remove(Jt),P.insertAfter(m.elt,Jt)),l._appendChild(u),u=l}Rt&&je(c,C)?Ht(function(){return u}):c instanceof s.HTMLTemplateElement?c.content._appendChild(u):c._appendChild(u);for(var h=Kt(i.ownerDocument,P.indexOf(n));i.hasChildNodes();)h.elt._appendChild(i.firstChild);i._appendChild(h.elt),P.remove(n),P.replace(Jt,h.elt,h.attrs),N.removeElement(n);var g=N.elements.lastIndexOf(i);N.elements.splice(g+1,0,h.elt)}else return N.popElement(n),P.remove(n),!0}return!0}function Xt(){N.pop(),M=Qe}function Zt(){delete I._parser,N.elements.length=0,I.defaultView&&I.defaultView.dispatchEvent(new s.Event(`load`,{}))}function V(e,t){A=t,O--}function H(e){switch(e){case 38:ze=H,A=ur;break;case 60:if(Mt())break;A=tn;break;case 0:F.push(e),ct=!0;break;case-1:z();break;default:kt(ye)||F.push(e);break}}function U(e){switch(e){case 38:ze=U,A=ur;break;case 60:A=rn;break;case 0:F.push(65533),ct=!0;break;case-1:z();break;default:F.push(e);break}}function Qt(e){switch(e){case 60:A=sn;break;case 0:F.push(65533);break;case-1:z();break;default:kt(be)||F.push(e);break}}function $t(e){switch(e){case 60:A=un;break;case 0:F.push(65533);break;case-1:z();break;default:kt(be)||F.push(e);break}}function en(e){switch(e){case 0:F.push(65533);break;case-1:z();break;default:kt(xe)||F.push(e);break}}function tn(e){switch(e){case 33:A=Fn;break;case 47:A=nn;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:gt(),V(e,W);break;case 63:V(e,Pn);break;default:F.push(60),V(e,H);break}}function nn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),V(e,W);break;case 62:A=H;break;case-1:F.push(60),F.push(47),z();break;default:V(e,Pn);break}}function W(e){switch(e){case 9:case 10:case 12:case 32:A=Dn;break;case 47:A=Nn;break;case 62:A=H,jt();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32);break;case 0:Ve+=`�`;break;case-1:z();break;default:Ve+=Ot(ge);break}}function rn(e){e===47?(vt(),A=an):(F.push(60),V(e,U))}function an(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),V(e,on);break;default:F.push(60),F.push(47),V(e,U);break}}function on(e){switch(e){case 9:case 10:case 12:case 32:if(Et(Ve)){A=Dn;return}break;case 47:if(Et(Ve)){A=Nn;return}break;case 62:if(Et(Ve)){A=H,jt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),V(e,U)}function sn(e){e===47?(vt(),A=cn):(F.push(60),V(e,Qt))}function cn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),V(e,ln);break;default:F.push(60),F.push(47),V(e,Qt);break}}function ln(e){switch(e){case 9:case 10:case 12:case 32:if(Et(Ve)){A=Dn;return}break;case 47:if(Et(Ve)){A=Nn;return}break;case 62:if(Et(Ve)){A=H,jt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),V(e,Qt)}function un(e){switch(e){case 47:vt(),A=dn;break;case 33:A=pn,F.push(60),F.push(33);break;default:F.push(60),V(e,$t);break}}function dn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),V(e,fn);break;default:F.push(60),F.push(47),V(e,$t);break}}function fn(e){switch(e){case 9:case 10:case 12:case 32:if(Et(Ve)){A=Dn;return}break;case 47:if(Et(Ve)){A=Nn;return}break;case 62:if(Et(Ve)){A=H,jt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),V(e,$t)}function pn(e){e===45?(A=mn,F.push(45)):V(e,$t)}function mn(e){e===45?(A=_n,F.push(45)):V(e,$t)}function hn(e){switch(e){case 45:A=gn,F.push(45);break;case 60:A=vn;break;case 0:F.push(65533);break;case-1:z();break;default:F.push(e);break}}function gn(e){switch(e){case 45:A=_n,F.push(45);break;case 60:A=vn;break;case 0:A=hn,F.push(65533);break;case-1:z();break;default:A=hn,F.push(e);break}}function _n(e){switch(e){case 45:F.push(45);break;case 60:A=vn;break;case 62:A=$t,F.push(62);break;case 0:A=hn,F.push(65533);break;case-1:z();break;default:A=hn,F.push(e);break}}function vn(e){switch(e){case 47:vt(),A=yn;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:vt(),F.push(60),V(e,xn);break;default:F.push(60),V(e,hn);break}}function yn(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:_t(),V(e,bn);break;default:F.push(60),F.push(47),V(e,hn);break}}function bn(e){switch(e){case 9:case 10:case 12:case 32:if(Et(Ve)){A=Dn;return}break;case 47:if(Et(Ve)){A=Nn;return}break;case 62:if(Et(Ve)){A=H,jt();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ve+=String.fromCharCode(e+32),Ue.push(e);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ve+=String.fromCharCode(e),Ue.push(e);return;default:break}F.push(60),F.push(47),c(F,Ue),V(e,hn)}function xn(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:A=ke(Ue)===`script`?Sn:hn,F.push(e);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ue.push(e+32),F.push(e);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ue.push(e),F.push(e);break;default:V(e,hn);break}}function Sn(e){switch(e){case 45:A=Cn,F.push(45);break;case 60:A=Tn,F.push(60);break;case 0:F.push(65533);break;case-1:z();break;default:F.push(e);break}}function Cn(e){switch(e){case 45:A=wn,F.push(45);break;case 60:A=Tn,F.push(60);break;case 0:A=Sn,F.push(65533);break;case-1:z();break;default:A=Sn,F.push(e);break}}function wn(e){switch(e){case 45:F.push(45);break;case 60:A=Tn,F.push(60);break;case 62:A=$t,F.push(62);break;case 0:A=Sn,F.push(65533);break;case-1:z();break;default:A=Sn,F.push(e);break}}function Tn(e){e===47?(vt(),A=En,F.push(47)):V(e,Sn)}function En(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:A=ke(Ue)===`script`?hn:Sn,F.push(e);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Ue.push(e+32),F.push(e);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ue.push(e),F.push(e);break;default:V(e,Sn);break}}function Dn(e){switch(e){case 9:case 10:case 12:case 32:break;case 47:A=Nn;break;case 62:A=H,jt();break;case-1:z();break;case 61:yt(),We+=String.fromCharCode(e),A=G;break;default:if(ht())break;yt(),V(e,G);break}}function G(e){switch(e){case 9:case 10:case 12:case 32:case 47:case 62:case-1:V(e,K);break;case 61:A=On;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:We+=String.fromCharCode(e+32);break;case 0:We+=`�`;break;default:We+=Ot(_e);break}}function K(e){switch(e){case 9:case 10:case 12:case 32:break;case 47:mt(We),A=Nn;break;case 61:A=On;break;case 62:A=H,mt(We),jt();break;case-1:mt(We),z();break;default:mt(We),yt(),V(e,G);break}}function On(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:bt(),A=kn;break;case 39:bt(),A=An;break;default:bt(),V(e,jn);break}}function kn(e){switch(e){case 34:mt(We,Ge),A=Mn;break;case 38:ze=kn,A=ur;break;case 0:Ge+=`�`;break;case-1:z();break;case 10:Ge+=String.fromCharCode(e);break;default:Ge+=Ot(pe);break}}function An(e){switch(e){case 39:mt(We,Ge),A=Mn;break;case 38:ze=An,A=ur;break;case 0:Ge+=`�`;break;case-1:z();break;case 10:Ge+=String.fromCharCode(e);break;default:Ge+=Ot(me);break}}function jn(e){switch(e){case 9:case 10:case 12:case 32:mt(We,Ge),A=Dn;break;case 38:ze=jn,A=ur;break;case 62:mt(We,Ge),A=H,jt();break;case 0:Ge+=`�`;break;case-1:O--,A=H;break;default:Ge+=Ot(he);break}}function Mn(e){switch(e){case 9:case 10:case 12:case 32:A=Dn;break;case 47:A=Nn;break;case 62:A=H,jt();break;case-1:z();break;default:V(e,Dn);break}}function Nn(e){switch(e){case 62:A=H,Nt(!0);break;case-1:z();break;default:V(e,Dn);break}}function Pn(e,t,n){var r=t.length;n?O+=r-1:O+=r;var i=t.substring(0,r-1);i=i.replace(/\u0000/g,`�`),i=i.replace(/\u000D\u000A/g,`
|
|
29
29
|
`),i=i.replace(/\u000D/g,`
|
|
30
|
-
`),Mt(p,i),A=K}Nn.lookahead=`>`;function Pn(e,t,n){if(t[0]===`-`&&t[1]===`-`){O+=2,xt(),A=Fn;return}t.toUpperCase()===`DOCTYPE`?(O+=7,A=Gn):t===`[CDATA[`&&wt()?(O+=7,A=sr):A=Nn}Pn.lookahead=7;function Fn(e){switch(xt(),e){case 45:A=In;break;case 62:A=K,Mt(p,ke(Ke));break;default:G(e,Ln);break}}function In(e){switch(e){case 45:A=Un;break;case 62:A=K,Mt(p,ke(Ke));break;case-1:Mt(p,ke(Ke)),V();break;default:Ke.push(45),G(e,Ln);break}}function Ln(e){switch(e){case 60:Ke.push(e),A=Rn;break;case 45:A=Hn;break;case 0:Ke.push(65533);break;case-1:Mt(p,ke(Ke)),V();break;default:Ke.push(e);break}}function Rn(e){switch(e){case 33:Ke.push(e),A=zn;break;case 60:Ke.push(e);break;default:G(e,Ln);break}}function zn(e){switch(e){case 45:A=Bn;break;default:G(e,Ln);break}}function Bn(e){switch(e){case 45:A=Vn;break;default:G(e,Hn);break}}function Vn(e){switch(e){case 62:case-1:G(e,Un);break;default:G(e,Un);break}}function Hn(e){switch(e){case 45:A=Un;break;case-1:Mt(p,ke(Ke)),V();break;default:Ke.push(45),G(e,Ln);break}}function Un(e){switch(e){case 62:A=K,Mt(p,ke(Ke));break;case 33:A=Wn;break;case 45:Ke.push(45);break;case-1:Mt(p,ke(Ke)),V();break;default:Ke.push(45),Ke.push(45),G(e,Ln);break}}function Wn(e){switch(e){case 45:Ke.push(45),Ke.push(45),Ke.push(33),A=Hn;break;case 62:A=K,Mt(p,ke(Ke));break;case-1:Mt(p,ke(Ke)),V();break;default:Ke.push(45),Ke.push(45),Ke.push(33),G(e,Ln);break}}function Gn(e){switch(e){case 9:case 10:case 12:case 32:A=Kn;break;case-1:L(),R(),B(),V();break;default:G(e,Kn);break}}function Kn(e){switch(e){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L(),qe.push(e+32),A=qn;break;case 0:L(),qe.push(65533),A=qn;break;case 62:L(),R(),A=K,B();break;case-1:L(),R(),B(),V();break;default:L(),qe.push(e),A=qn;break}}function qn(e){switch(e){case 9:case 10:case 12:case 32:A=Jn;break;case 62:A=K,B();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:qe.push(e+32);break;case 0:qe.push(65533);break;case-1:R(),B(),V();break;default:qe.push(e);break}}function Jn(e,t,n){switch(e){case 9:case 10:case 12:case 32:O+=1;break;case 62:A=K,O+=1,B();break;case-1:R(),B(),V();break;default:t=t.toUpperCase(),t===`PUBLIC`?(O+=6,A=Yn):t===`SYSTEM`?(O+=6,A=tr):(R(),A=or);break}}Jn.lookahead=6;function Yn(e){switch(e){case 9:case 10:case 12:case 32:A=Xn;break;case 34:St(),A=Zn;break;case 39:St(),A=Qn;break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:R(),A=or;break}}function Xn(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:St(),A=Zn;break;case 39:St(),A=Qn;break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:R(),A=or;break}}function Zn(e){switch(e){case 34:A=$n;break;case 0:Je.push(65533);break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:Je.push(e);break}}function Qn(e){switch(e){case 39:A=$n;break;case 0:Je.push(65533);break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:Je.push(e);break}}function $n(e){switch(e){case 9:case 10:case 12:case 32:A=er;break;case 62:A=K,B();break;case 34:Ct(),A=rr;break;case 39:Ct(),A=ir;break;case-1:R(),B(),V();break;default:R(),A=or;break}}function er(e){switch(e){case 9:case 10:case 12:case 32:break;case 62:A=K,B();break;case 34:Ct(),A=rr;break;case 39:Ct(),A=ir;break;case-1:R(),B(),V();break;default:R(),A=or;break}}function tr(e){switch(e){case 9:case 10:case 12:case 32:A=nr;break;case 34:Ct(),A=rr;break;case 39:Ct(),A=ir;break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:R(),A=or;break}}function nr(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:Ct(),A=rr;break;case 39:Ct(),A=ir;break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:R(),A=or;break}}function rr(e){switch(e){case 34:A=ar;break;case 0:Ye.push(65533);break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:Ye.push(e);break}}function ir(e){switch(e){case 39:A=ar;break;case 0:Ye.push(65533);break;case 62:R(),A=K,B();break;case-1:R(),B(),V();break;default:Ye.push(e);break}}function ar(e){switch(e){case 9:case 10:case 12:case 32:break;case 62:A=K,B();break;case-1:R(),B(),V();break;default:A=or;break}}function or(e){switch(e){case 62:A=K,B();break;case-1:B(),V();break;default:break}}function sr(e){switch(e){case 93:A=cr;break;case-1:V();break;case 0:ct=!0;default:Dt(ve)||F.push(e);break}}function cr(e){switch(e){case 93:A=lr;break;default:F.push(93),G(e,sr);break}}function lr(e){switch(e){case 93:F.push(93);break;case 62:z(),A=K;break;default:F.push(93),F.push(93),G(e,sr);break}}function ur(e){switch(vt(),Ue.push(38),e){case 9:case 10:case 12:case 32:case 60:case 38:case-1:G(e,vr);break;case 35:Ue.push(e),A=fr;break;default:G(e,dr);break}}function dr(e){de.lastIndex=O;var t=de.exec(T);if(!t)throw Error(`should never happen`);var n=t[1];if(!n){A=vr;return}switch(O+=n.length,c(Ue,Ae(n)),ze){case On:case kn:case An:if(n[n.length-1]!==`;`&&/[=A-Za-z0-9]/.test(T[O])){A=vr;return}break;default:break}vt();var r=ue[n];typeof r==`number`?Ue.push(r):c(Ue,r),A=vr}dr.lookahead=-fe;function fr(e){switch(Be=0,e){case 120:case 88:Ue.push(e),A=pr;break;default:G(e,mr);break}}function pr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:G(e,hr);break;default:G(e,vr);break}}function mr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:G(e,gr);break;default:G(e,vr);break}}function hr(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:Be*=16,Be+=e-55;break;case 97:case 98:case 99:case 100:case 101:case 102:Be*=16,Be+=e-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:Be*=16,Be+=e-48;break;case 59:A=_r;break;default:G(e,_r);break}}function gr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:Be*=10,Be+=e-48;break;case 59:A=_r;break;default:G(e,_r);break}}function _r(e){Be in le?Be=le[Be]:(Be>1114111||Be>=55296&&Be<57344)&&(Be=65533),vt(),Be<=65535?Ue.push(Be):(Be-=65536,Ue.push(55296+(Be>>10)),Ue.push(56320+(Be&1023))),G(e,vr)}function vr(e){switch(ze){case On:case kn:case An:Ge+=ke(Ue);break;default:c(F,Ue);break}G(e,ze)}function yr(e,t,n,i){switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 4:I._appendChild(I.createComment(t));return;case 5:var a=t,o=n,s=i;I.appendChild(new r(I,a,o,s)),at||a.toLowerCase()!==`html`||g.test(o)||s&&s.toLowerCase()===_||s===void 0&&v.test(o)?I._quirks=!0:(y.test(o)||s!==void 0&&v.test(o))&&(I._limitedQuirks=!0),M=br;return}I._quirks=!0,M=br,M(e,t,n,i)}function br(e,t,n,r){var i;switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 5:return;case 4:I._appendChild(I.createComment(t));return;case 2:if(t===`html`){i=Ft(I,t,n),N.push(i),I.appendChild(i),M=xr;return}break;case 3:switch(t){case`html`:case`head`:case`body`:case`br`:break;default:return}}i=Ft(I,`html`,null),N.push(i),I.appendChild(i),M=xr,M(e,t,n,r)}function xr(e,t,n,r){switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 5:return;case 4:Nt(t);return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`head`:tt=H(t,n),M=Sr;return}break;case 3:switch(t){case`html`:case`head`:case`body`:case`br`:break;default:return}}xr(d,`head`,null),M(e,t,n,r)}function Sr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(Pt(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Nt(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`meta`:case`base`:case`basefont`:case`bgsound`:case`link`:H(t,n),N.pop();return;case`title`:Ut(t,n);return;case`noscript`:if(!rt){H(t,n),M=Cr;return}case`noframes`:case`style`:Ht(t,n);return;case`script`:Lt(function(e){var r=Ft(e,t,n);return r._parser_inserted=!0,r._force_async=!1,et&&(r._already_started=!0),z(),r}),A=Xt,Qe=M,M=Tr;return;case`template`:H(t,n),P.insertMarker(),it=!1,M=Fr,$e.push(M);return;case`head`:return}break;case 3:switch(t){case`head`:N.pop(),M=wr;return;case`body`:case`html`:case`br`:break;case`template`:if(!N.contains(`template`))return;N.generateImpliedEndTags(null,`thorough`),N.popTag(`template`),P.clearToMarker(),$e.pop(),Vt();return;default:return}break}Sr(f,`head`,null),M(e,t,n,r)}function Cr(e,t,n,r){switch(e){case 5:return;case 4:Sr(e,t);return;case 1:var i=t.match(De);if(i&&(Sr(e,i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 2:switch(t){case`html`:J(e,t,n,r);return;case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`style`:Sr(e,t,n);return;case`head`:case`noscript`:return}break;case 3:switch(t){case`noscript`:N.pop(),M=Sr;return;case`br`:break;default:return}break}Cr(f,`noscript`,null),M(e,t,n,r)}function wr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(Pt(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Nt(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`body`:H(t,n),it=!1,M=J;return;case`frameset`:H(t,n),M=Lr;return;case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:N.push(tt),Sr(d,t,n),N.removeElement(tt);return;case`head`:return}break;case 3:switch(t){case`template`:return Sr(e,t,n,r);case`body`:case`html`:case`br`:break;default:return}break}wr(d,`body`,null),it=!0,M(e,t,n,r)}function J(e,t,n,r){var i,o,c,l;switch(e){case 1:if(ct&&(t=t.replace(Oe,``),t.length===0))return;it&&we.test(t)&&(it=!1),Gt(),Pt(t);return;case 5:return;case 4:Nt(t);return;case-1:if($e.length)return Fr(e);qt();return;case 2:switch(t){case`html`:if(N.contains(`template`))return;Re(n,N.elements[0]);return;case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:Sr(d,t,n);return;case`body`:if(i=N.elements[1],!i||!(i instanceof s.HTMLBodyElement)||N.contains(`template`))return;it=!1,Re(n,i);return;case`frameset`:if(!it||(i=N.elements[1],!i||!(i instanceof s.HTMLBodyElement)))return;for(i.parentNode&&i.parentNode.removeChild(i);!(N.top instanceof s.HTMLHtmlElement);)N.pop();H(t,n),M=Lr;return;case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:N.inButtonScope(`p`)&&J(f,`p`),H(t,n);return;case`menu`:N.inButtonScope(`p`)&&J(f,`p`),je(N.top,`menuitem`)&&N.pop(),H(t,n);return;case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:N.inButtonScope(`p`)&&J(f,`p`),N.top instanceof s.HTMLHeadingElement&&N.pop(),H(t,n);return;case`pre`:case`listing`:N.inButtonScope(`p`)&&J(f,`p`),H(t,n),lt=!0,it=!1;return;case`form`:if(nt&&!N.contains(`template`))return;N.inButtonScope(`p`)&&J(f,`p`),l=H(t,n),N.contains(`template`)||(nt=l);return;case`li`:for(it=!1,o=N.elements.length-1;o>=0;o--){if(c=N.elements[o],c instanceof s.HTMLLIElement){J(f,`li`);break}if(je(c,b)&&!je(c,x))break}N.inButtonScope(`p`)&&J(f,`p`),H(t,n);return;case`dd`:case`dt`:for(it=!1,o=N.elements.length-1;o>=0;o--){if(c=N.elements[o],je(c,S)){J(f,c.localName);break}if(je(c,b)&&!je(c,x))break}N.inButtonScope(`p`)&&J(f,`p`),H(t,n);return;case`plaintext`:N.inButtonScope(`p`)&&J(f,`p`),H(t,n),A=Zt;return;case`button`:N.inScope(`button`)?(J(f,`button`),M(e,t,n,r)):(Gt(),H(t,n),it=!1);return;case`a`:var u=P.findElementByTag(`a`);u&&(J(f,t),P.remove(u),N.removeElement(u));case`b`:case`big`:case`code`:case`em`:case`font`:case`i`:case`s`:case`small`:case`strike`:case`strong`:case`tt`:case`u`:Gt(),P.push(H(t,n),n);return;case`nobr`:Gt(),N.inScope(t)&&(J(f,t),Gt()),P.push(H(t,n),n);return;case`applet`:case`marquee`:case`object`:Gt(),H(t,n),P.insertMarker(),it=!1;return;case`table`:!I._quirks&&N.inButtonScope(`p`)&&J(f,`p`),H(t,n),it=!1,M=Er;return;case`area`:case`br`:case`embed`:case`img`:case`keygen`:case`wbr`:Gt(),H(t,n),N.pop(),it=!1;return;case`input`:Gt(),l=H(t,n),N.pop();var p=l.getAttribute(`type`);(!p||p.toLowerCase()!==`hidden`)&&(it=!1);return;case`param`:case`source`:case`track`:H(t,n),N.pop();return;case`hr`:N.inButtonScope(`p`)&&J(f,`p`),je(N.top,`menuitem`)&&N.pop(),H(t,n),N.pop(),it=!1;return;case`image`:J(d,`img`,n,r);return;case`textarea`:H(t,n),lt=!0,it=!1,A=Jt,Qe=M,M=Tr;return;case`xmp`:N.inButtonScope(`p`)&&J(f,`p`),Gt(),it=!1,Ht(t,n);return;case`iframe`:it=!1,Ht(t,n);return;case`noembed`:Ht(t,n);return;case`select`:Gt(),H(t,n),it=!1,M=M===Er||M===Or||M===Ar||M===jr||M===Mr?Pr:Nr;return;case`optgroup`:case`option`:N.top instanceof s.HTMLOptionElement&&J(f,`option`),Gt(),H(t,n);return;case`menuitem`:je(N.top,`menuitem`)&&N.pop(),Gt(),H(t,n);return;case`rb`:case`rtc`:N.inScope(`ruby`)&&N.generateImpliedEndTags(),H(t,n);return;case`rp`:case`rt`:N.inScope(`ruby`)&&N.generateImpliedEndTags(`rtc`),H(t,n);return;case`math`:Gt(),Ie(n),Le(n),Rt(t,n,a.MATHML),r&&N.pop();return;case`svg`:Gt(),Fe(n),Le(n),Rt(t,n,a.SVG),r&&N.pop();return;case`caption`:case`col`:case`colgroup`:case`frame`:case`head`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return}Gt(),H(t,n);return;case 3:switch(t){case`template`:Sr(f,t,n);return;case`body`:if(!N.inScope(`body`))return;M=Ir;return;case`html`:if(!N.inScope(`body`))return;M=Ir,M(e,t,n);return;case`address`:case`article`:case`aside`:case`blockquote`:case`button`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`listing`:case`main`:case`menu`:case`nav`:case`ol`:case`pre`:case`section`:case`summary`:case`ul`:if(!N.inScope(t))return;N.generateImpliedEndTags(),N.popTag(t);return;case`form`:if(N.contains(`template`)){if(!N.inScope(`form`))return;N.generateImpliedEndTags(),N.popTag(`form`)}else{var m=nt;if(nt=null,!m||!N.elementInScope(m))return;N.generateImpliedEndTags(),N.removeElement(m)}return;case`p`:N.inButtonScope(t)?(N.generateImpliedEndTags(t),N.popTag(t)):(J(d,t,null),M(e,t,n,r));return;case`li`:if(!N.inListItemScope(t))return;N.generateImpliedEndTags(t),N.popTag(t);return;case`dd`:case`dt`:if(!N.inScope(t))return;N.generateImpliedEndTags(t),N.popTag(t);return;case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:if(!N.elementTypeInScope(s.HTMLHeadingElement))return;N.generateImpliedEndTags(),N.popElementType(s.HTMLHeadingElement);return;case`sarcasm`:break;case`a`:case`b`:case`big`:case`code`:case`em`:case`font`:case`i`:case`nobr`:case`s`:case`small`:case`strike`:case`strong`:case`tt`:case`u`:if(U(t))return;break;case`applet`:case`marquee`:case`object`:if(!N.inScope(t))return;N.generateImpliedEndTags(),N.popTag(t),P.clearToMarker();return;case`br`:J(d,t,null);return}for(o=N.elements.length-1;o>=0;o--)if(c=N.elements[o],je(c,t)){N.generateImpliedEndTags(t),N.popElement(c);break}else if(je(c,b))return;return}}function Tr(e,t,n,r){switch(e){case 1:Pt(t);return;case-1:N.top instanceof s.HTMLScriptElement&&(N.top._already_started=!0),N.pop(),M=Qe,M(e);return;case 3:t===`script`?W():(N.pop(),M=Qe);return;default:return}}function Er(e,t,n,r){function i(e){for(var t=0,n=e.length;t<n;t++)if(e[t][0]===`type`)return e[t][1].toLowerCase();return null}switch(e){case 1:if(st){J(e,t,n,r);return}else if(je(N.top,C)){ot=[],Qe=M,M=Dr,M(e,t,n,r);return}break;case 4:Nt(t);return;case 5:return;case 2:switch(t){case`caption`:N.clearToContext(E),P.insertMarker(),H(t,n),M=Or;return;case`colgroup`:N.clearToContext(E),H(t,n),M=kr;return;case`col`:Er(d,`colgroup`,null),M(e,t,n,r);return;case`tbody`:case`tfoot`:case`thead`:N.clearToContext(E),H(t,n),M=Ar;return;case`td`:case`th`:case`tr`:Er(d,`tbody`,null),M(e,t,n,r);return;case`table`:if(!N.inTableScope(t))return;Er(f,t),M(e,t,n,r);return;case`style`:case`script`:case`template`:Sr(e,t,n,r);return;case`input`:if(i(n)!==`hidden`)break;H(t,n),N.pop();return;case`form`:if(nt||N.contains(`template`))return;nt=H(t,n),N.popElement(nt);return}break;case 3:switch(t){case`table`:if(!N.inTableScope(t))return;N.popTag(t),Vt();return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return;case`template`:Sr(e,t,n,r);return}break;case-1:J(e,t,n,r);return}It=!0,J(e,t,n,r),It=!1}function Dr(e,t,n,r){if(e===u){if(ct&&(t=t.replace(Oe,``),t.length===0))return;ot.push(t)}else{var i=ot.join(``);ot.length=0,we.test(i)?(It=!0,J(u,i),It=!1):Pt(i),M=Qe,M(e,t,n,r)}}function Or(e,t,n,r){function i(){return N.inTableScope(`caption`)?(N.generateImpliedEndTags(),N.popTag(`caption`),P.clearToMarker(),M=Er,!0):!1}switch(e){case 2:switch(t){case`caption`:case`col`:case`colgroup`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:i()&&M(e,t,n,r);return}break;case 3:switch(t){case`caption`:i();return;case`table`:i()&&M(e,t,n,r);return;case`body`:case`col`:case`colgroup`:case`html`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return}break}J(e,t,n,r)}function kr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(Pt(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Nt(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`col`:H(t,n),N.pop();return;case`template`:Sr(e,t,n,r);return}break;case 3:switch(t){case`colgroup`:if(!je(N.top,`colgroup`))return;N.pop(),M=Er;return;case`col`:return;case`template`:Sr(e,t,n,r);return}break;case-1:J(e,t,n,r);return}je(N.top,`colgroup`)&&(kr(f,`colgroup`),M(e,t,n,r))}function Ar(e,t,n,r){function i(){!N.inTableScope(`tbody`)&&!N.inTableScope(`thead`)&&!N.inTableScope(`tfoot`)||(N.clearToContext(ee),Ar(f,N.top.localName,null),M(e,t,n,r))}switch(e){case 2:switch(t){case`tr`:N.clearToContext(ee),H(t,n),M=jr;return;case`th`:case`td`:Ar(d,`tr`,null),M(e,t,n,r);return;case`caption`:case`col`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:i();return}break;case 3:switch(t){case`table`:i();return;case`tbody`:case`tfoot`:case`thead`:N.inTableScope(t)&&(N.clearToContext(ee),N.pop(),M=Er);return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`td`:case`th`:case`tr`:return}break}Er(e,t,n,r)}function jr(e,t,n,r){function i(){return N.inTableScope(`tr`)?(N.clearToContext(te),N.pop(),M=Ar,!0):!1}switch(e){case 2:switch(t){case`th`:case`td`:N.clearToContext(te),H(t,n),M=Mr,P.insertMarker();return;case`caption`:case`col`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:case`tr`:i()&&M(e,t,n,r);return}break;case 3:switch(t){case`tr`:i();return;case`table`:i()&&M(e,t,n,r);return;case`tbody`:case`tfoot`:case`thead`:N.inTableScope(t)&&i()&&M(e,t,n,r);return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`td`:case`th`:return}break}Er(e,t,n,r)}function Mr(e,t,n,r){switch(e){case 2:switch(t){case`caption`:case`col`:case`colgroup`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:N.inTableScope(`td`)?(Mr(f,`td`),M(e,t,n,r)):N.inTableScope(`th`)&&(Mr(f,`th`),M(e,t,n,r));return}break;case 3:switch(t){case`td`:case`th`:if(!N.inTableScope(t))return;N.generateImpliedEndTags(),N.popTag(t),P.clearToMarker(),M=jr;return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:return;case`table`:case`tbody`:case`tfoot`:case`thead`:case`tr`:if(!N.inTableScope(t))return;Mr(f,N.inTableScope(`td`)?`td`:`th`),M(e,t,n,r);return}break}J(e,t,n,r)}function Nr(e,t,n,r){switch(e){case 1:if(ct&&(t=t.replace(Oe,``),t.length===0))return;Pt(t);return;case 4:Nt(t);return;case 5:return;case-1:J(e,t,n,r);return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`option`:N.top instanceof s.HTMLOptionElement&&Nr(f,t),H(t,n);return;case`optgroup`:N.top instanceof s.HTMLOptionElement&&Nr(f,`option`),N.top instanceof s.HTMLOptGroupElement&&Nr(f,t),H(t,n);return;case`select`:Nr(f,t);return;case`input`:case`keygen`:case`textarea`:if(!N.inSelectScope(`select`))return;Nr(f,`select`),M(e,t,n,r);return;case`script`:case`template`:Sr(e,t,n,r);return}break;case 3:switch(t){case`optgroup`:N.top instanceof s.HTMLOptionElement&&N.elements[N.elements.length-2]instanceof s.HTMLOptGroupElement&&Nr(f,`option`),N.top instanceof s.HTMLOptGroupElement&&N.pop();return;case`option`:N.top instanceof s.HTMLOptionElement&&N.pop();return;case`select`:if(!N.inSelectScope(t))return;N.popTag(t),Vt();return;case`template`:Sr(e,t,n,r);return}break}}function Pr(e,t,n,r){switch(t){case`caption`:case`table`:case`tbody`:case`tfoot`:case`thead`:case`tr`:case`td`:case`th`:switch(e){case 2:Pr(f,`select`),M(e,t,n,r);return;case 3:N.inTableScope(t)&&(Pr(f,`select`),M(e,t,n,r));return}}Nr(e,t,n,r)}function Fr(e,t,n,r){function i(i){M=i,$e[$e.length-1]=M,M(e,t,n,r)}switch(e){case 1:case 4:case 5:J(e,t,n,r);return;case-1:N.contains(`template`)?(N.popTag(`template`),P.clearToMarker(),$e.pop(),Vt(),M(e,t,n,r)):qt();return;case 2:switch(t){case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:Sr(e,t,n,r);return;case`caption`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:i(Er);return;case`col`:i(kr);return;case`tr`:i(Ar);return;case`td`:case`th`:i(jr);return}i(J);return;case 3:switch(t){case`template`:Sr(e,t,n,r);return;default:return}}}function Ir(e,t,n,r){switch(e){case 1:if(we.test(t))break;J(e,t);return;case 4:N.elements[0]._appendChild(I.createComment(t));return;case 5:return;case-1:qt();return;case 2:if(t===`html`){J(e,t,n,r);return}break;case 3:if(t===`html`){if(et)return;M=zr;return}break}M=J,M(e,t,n,r)}function Lr(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&Pt(t);return;case 4:Nt(t);return;case 5:return;case-1:qt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`frameset`:H(t,n);return;case`frame`:H(t,n),N.pop();return;case`noframes`:Sr(e,t,n,r);return}break;case 3:if(t===`frameset`){if(et&&N.top instanceof s.HTMLHtmlElement)return;N.pop(),!et&&!(N.top instanceof s.HTMLFrameSetElement)&&(M=Rr);return}break}}function Rr(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&Pt(t);return;case 4:Nt(t);return;case 5:return;case-1:qt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`noframes`:Sr(e,t,n,r);return}break;case 3:if(t===`html`){M=Br;return}break}}function zr(e,t,n,r){switch(e){case 1:if(we.test(t))break;J(e,t,n,r);return;case 4:I._appendChild(I.createComment(t));return;case 5:J(e,t,n,r);return;case-1:qt();return;case 2:if(t===`html`){J(e,t,n,r);return}break}M=J,M(e,t,n,r)}function Br(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&J(e,t,n,r);return;case 4:I._appendChild(I.createComment(t));return;case 5:J(e,t,n,r);return;case-1:qt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`noframes`:Sr(e,t,n,r);return}break}}function Vr(e,n,r,i){function o(e){for(var t=0,n=e.length;t<n;t++)switch(e[t][0]){case`color`:case`face`:case`size`:return!0}return!1}var s;switch(e){case 1:it&&Ee.test(n)&&(it=!1),ct&&(n=n.replace(Oe,`�`)),Pt(n);return;case 4:Nt(n);return;case 5:return;case 2:switch(n){case`font`:if(!o(r))break;case`b`:case`big`:case`blockquote`:case`body`:case`br`:case`center`:case`code`:case`dd`:case`div`:case`dl`:case`dt`:case`em`:case`embed`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:case`head`:case`hr`:case`i`:case`img`:case`li`:case`listing`:case`menu`:case`meta`:case`nobr`:case`ol`:case`p`:case`pre`:case`ruby`:case`s`:case`small`:case`span`:case`strong`:case`strike`:case`sub`:case`sup`:case`table`:case`tt`:case`u`:case`ul`:case`var`:if(et)break;do N.pop(),s=N.top;while(s.namespaceURI!==a.HTML&&!Me(s)&&!Ne(s));Mt(e,n,r,i);return}s=N.elements.length===1&&et?t:N.top,s.namespaceURI===a.MATHML?Ie(r):s.namespaceURI===a.SVG&&(n=Pe(n),Fe(r)),Le(r),Rt(n,r,s.namespaceURI),i&&(n===`script`&&(s.namespaceURI,a.SVG),N.pop());return;case 3:if(s=N.top,n===`script`&&s.namespaceURI===a.SVG&&s.localName===`script`)N.pop();else for(var c=N.elements.length-1,l=N.elements[c];;){if(l.localName.toLowerCase()===n){N.popElement(l);break}if(l=N.elements[--c],l.namespaceURI===a.HTML){M(e,n,r,i);break}}return}}return ut.testTokenizer=function(e,t,n,r){var i=[];switch(t){case`PCDATA state`:A=K;break;case`RCDATA state`:A=Jt;break;case`RAWTEXT state`:A=Yt;break;case`PLAINTEXT state`:A=Zt;break}if(n&&(He=n),Mt=function(e,t,n,r){switch(z(),e){case 1:i.length>0&&i[i.length-1][0]===`Character`?i[i.length-1][1]+=t:i.push([`Character`,t]);break;case 4:i.push([`Comment`,t]);break;case 5:i.push([`DOCTYPE`,t,n===void 0?null:n,r===void 0?null:r,!at]);break;case 2:for(var a=Object.create(null),o=0;o<n.length;o++){var s=n[o];s.length===1?a[s[0]]=``:a[s[0]]=s[1]}var c=[`StartTag`,t,a];r&&c.push(!0),i.push(c);break;case 3:i.push([`EndTag`,t]);break;case-1:break}},!r)this.parse(e,!0);else{for(var a=0;a<e.length;a++)this.parse(e[a]);this.parse(``,!0)}return i},ut}})),od=E(((e,t)=>{t.exports=s;var n=rd(),r=id(),i=ad(),a=yu(),o=Ou();function s(e){this.contextObject=e}var c={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};s.prototype={hasFeature:function(e,t){var n=c[(e||``).toLowerCase()];return n&&n[t||``]||!1},createDocumentType:function(e,t,n){return o.isValidQName(e)||a.InvalidCharacterError(),new r(this.contextObject,e,t,n)},createDocument:function(e,t,r){var i=new n(!1,null),o=t?i.createElementNS(e,t):null;return r&&i.appendChild(r),o&&i.appendChild(o),e===a.NAMESPACE.HTML?i._contentType=`application/xhtml+xml`:e===a.NAMESPACE.SVG?i._contentType=`image/svg+xml`:i._contentType=`application/xml`,i},createHTMLDocument:function(e){var t=new n(!0,null);t.appendChild(new r(t,`html`));var i=t.createElement(`html`);t.appendChild(i);var a=t.createElement(`head`);if(i.appendChild(a),e!==void 0){var o=t.createElement(`title`);a.appendChild(o),o.appendChild(t.createTextNode(e))}return i.appendChild(t.createElement(`body`)),t.modclock=1,t},mozSetOutputMutationHandler:function(e,t){e.mutationHandler=t},mozGetInputMutationHandler:function(e){a.nyi()},mozHTMLParser:i}})),sd=E(((e,t)=>{var n=qu(),r=Qu();t.exports=i;function i(e,t){this._window=e,this._href=t}i.prototype=Object.create(r.prototype,{constructor:{value:i},href:{get:function(){return this._href},set:function(e){this.assign(e)}},assign:{value:function(e){this._href=new n(this._href).resolve(e)}},replace:{value:function(e){this.assign(e)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})})),cd=E(((e,t)=>{t.exports=Object.create(null,{appCodeName:{value:`Mozilla`},appName:{value:`Netscape`},appVersion:{value:`4.0`},platform:{value:``},product:{value:`Gecko`},productSub:{value:`20100101`},userAgent:{value:``},vendor:{value:``},vendorSub:{value:``},taintEnabled:{value:function(){return!1}}})})),ld=E(((e,t)=>{t.exports={setTimeout,clearTimeout,setInterval,clearInterval}})),ud=E(((e,t)=>{var n=yu();e=t.exports={CSSStyleDeclaration:Zu(),CharacterData:Ru(),Comment:Bu(),DOMException:_u(),DOMImplementation:od(),DOMTokenList:ju(),Document:rd(),DocumentFragment:Vu(),DocumentType:id(),Element:Iu(),HTMLParser:ad(),NamedNodeMap:Fu(),Node:Cu(),NodeList:Eu(),NodeFilter:Uu(),ProcessingInstruction:Hu(),Text:zu(),Window:dd()},n.merge(e,Yu()),n.merge(e,ed().elements),n.merge(e,td().elements)})),dd=E(((e,t)=>{var n=od(),r=bu(),i=sd(),a=yu();t.exports=o;function o(e){this.document=e||new n(null).createHTMLDocument(``),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new i(this,this.document._address||`about:blank`)}o.prototype=Object.create(r.prototype,{console:{value:console},history:{value:{back:a.nyi,forward:a.nyi,go:a.nyi}},navigator:{value:cd()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler(`load`)},set:function(e){this._setEventHandler(`load`,e)}},getComputedStyle:{value:function(e){return e.style}}}),a.expose(ld(),o),a.expose(ud(),o)})),fd=E((e=>{var t=od(),n=ad();dd();var r=ud();e.createDOMImplementation=function(){return new t(null)},e.createDocument=function(e,r){if(e||r){var i=new n;return i.parse(e||``,!0),i.document()}return new t(null).createHTMLDocument(``)},e.createIncrementalHTMLParser=function(){var e=new n;return{write:function(t){t.length>0&&e.parse(t,!1,function(){return!0})},end:function(t){e.parse(t||``,!0,function(){return!0})},process:function(t){return e.parse(``,!1,t)},document:function(){return e.document()}}},e.createWindow=function(t,n){var i=e.createDocument(t);return n!==void 0&&(i._address=n),new r.Window(i)},e.impl=r})),pd=E(((e,t)=>{function n(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}function r(e,t){return Array(t+1).join(e)}function i(e){return e.replace(/^\n*/,``)}function a(e){for(var t=e.length;t>0&&e[t-1]===`
|
|
30
|
+
`),Pt(p,i),A=H}Pn.lookahead=`>`;function Fn(e,t,n){if(t[0]===`-`&&t[1]===`-`){O+=2,xt(),A=In;return}t.toUpperCase()===`DOCTYPE`?(O+=7,A=q):t===`[CDATA[`&&Tt()?(O+=7,A=sr):A=Pn}Fn.lookahead=7;function In(e){switch(xt(),e){case 45:A=Ln;break;case 62:A=H,Pt(p,ke(Ke));break;default:V(e,Rn);break}}function Ln(e){switch(e){case 45:A=Wn;break;case 62:A=H,Pt(p,ke(Ke));break;case-1:Pt(p,ke(Ke)),z();break;default:Ke.push(45),V(e,Rn);break}}function Rn(e){switch(e){case 60:Ke.push(e),A=zn;break;case 45:A=Un;break;case 0:Ke.push(65533);break;case-1:Pt(p,ke(Ke)),z();break;default:Ke.push(e);break}}function zn(e){switch(e){case 33:Ke.push(e),A=Bn;break;case 60:Ke.push(e);break;default:V(e,Rn);break}}function Bn(e){switch(e){case 45:A=Vn;break;default:V(e,Rn);break}}function Vn(e){switch(e){case 45:A=Hn;break;default:V(e,Un);break}}function Hn(e){switch(e){case 62:case-1:V(e,Wn);break;default:V(e,Wn);break}}function Un(e){switch(e){case 45:A=Wn;break;case-1:Pt(p,ke(Ke)),z();break;default:Ke.push(45),V(e,Rn);break}}function Wn(e){switch(e){case 62:A=H,Pt(p,ke(Ke));break;case 33:A=Gn;break;case 45:Ke.push(45);break;case-1:Pt(p,ke(Ke)),z();break;default:Ke.push(45),Ke.push(45),V(e,Rn);break}}function Gn(e){switch(e){case 45:Ke.push(45),Ke.push(45),Ke.push(33),A=Un;break;case 62:A=H,Pt(p,ke(Ke));break;case-1:Pt(p,ke(Ke)),z();break;default:Ke.push(45),Ke.push(45),Ke.push(33),V(e,Rn);break}}function q(e){switch(e){case 9:case 10:case 12:case 32:A=Kn;break;case-1:St(),L(),R(),z();break;default:V(e,Kn);break}}function Kn(e){switch(e){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:St(),qe.push(e+32),A=qn;break;case 0:St(),qe.push(65533),A=qn;break;case 62:St(),L(),A=H,R();break;case-1:St(),L(),R(),z();break;default:St(),qe.push(e),A=qn;break}}function qn(e){switch(e){case 9:case 10:case 12:case 32:A=Jn;break;case 62:A=H,R();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:qe.push(e+32);break;case 0:qe.push(65533);break;case-1:L(),R(),z();break;default:qe.push(e);break}}function Jn(e,t,n){switch(e){case 9:case 10:case 12:case 32:O+=1;break;case 62:A=H,O+=1,R();break;case-1:L(),R(),z();break;default:t=t.toUpperCase(),t===`PUBLIC`?(O+=6,A=Yn):t===`SYSTEM`?(O+=6,A=tr):(L(),A=or);break}}Jn.lookahead=6;function Yn(e){switch(e){case 9:case 10:case 12:case 32:A=Xn;break;case 34:Ct(),A=Zn;break;case 39:Ct(),A=Qn;break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:L(),A=or;break}}function Xn(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:Ct(),A=Zn;break;case 39:Ct(),A=Qn;break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:L(),A=or;break}}function Zn(e){switch(e){case 34:A=$n;break;case 0:Je.push(65533);break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:Je.push(e);break}}function Qn(e){switch(e){case 39:A=$n;break;case 0:Je.push(65533);break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:Je.push(e);break}}function $n(e){switch(e){case 9:case 10:case 12:case 32:A=er;break;case 62:A=H,R();break;case 34:wt(),A=rr;break;case 39:wt(),A=ir;break;case-1:L(),R(),z();break;default:L(),A=or;break}}function er(e){switch(e){case 9:case 10:case 12:case 32:break;case 62:A=H,R();break;case 34:wt(),A=rr;break;case 39:wt(),A=ir;break;case-1:L(),R(),z();break;default:L(),A=or;break}}function tr(e){switch(e){case 9:case 10:case 12:case 32:A=nr;break;case 34:wt(),A=rr;break;case 39:wt(),A=ir;break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:L(),A=or;break}}function nr(e){switch(e){case 9:case 10:case 12:case 32:break;case 34:wt(),A=rr;break;case 39:wt(),A=ir;break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:L(),A=or;break}}function rr(e){switch(e){case 34:A=ar;break;case 0:Ye.push(65533);break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:Ye.push(e);break}}function ir(e){switch(e){case 39:A=ar;break;case 0:Ye.push(65533);break;case 62:L(),A=H,R();break;case-1:L(),R(),z();break;default:Ye.push(e);break}}function ar(e){switch(e){case 9:case 10:case 12:case 32:break;case 62:A=H,R();break;case-1:L(),R(),z();break;default:A=or;break}}function or(e){switch(e){case 62:A=H,R();break;case-1:R(),z();break;default:break}}function sr(e){switch(e){case 93:A=cr;break;case-1:z();break;case 0:ct=!0;default:kt(ve)||F.push(e);break}}function cr(e){switch(e){case 93:A=lr;break;default:F.push(93),V(e,sr);break}}function lr(e){switch(e){case 93:F.push(93);break;case 62:Dt(),A=H;break;default:F.push(93),F.push(93),V(e,sr);break}}function ur(e){switch(vt(),Ue.push(38),e){case 9:case 10:case 12:case 32:case 60:case 38:case-1:V(e,vr);break;case 35:Ue.push(e),A=fr;break;default:V(e,dr);break}}function dr(e){de.lastIndex=O;var t=de.exec(T);if(!t)throw Error(`should never happen`);var n=t[1];if(!n){A=vr;return}switch(O+=n.length,c(Ue,Ae(n)),ze){case kn:case An:case jn:if(n[n.length-1]!==`;`&&/[=A-Za-z0-9]/.test(T[O])){A=vr;return}break;default:break}vt();var r=ue[n];typeof r==`number`?Ue.push(r):c(Ue,r),A=vr}dr.lookahead=-fe;function fr(e){switch(Be=0,e){case 120:case 88:Ue.push(e),A=pr;break;default:V(e,mr);break}}function pr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:V(e,hr);break;default:V(e,vr);break}}function mr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:V(e,gr);break;default:V(e,vr);break}}function hr(e){switch(e){case 65:case 66:case 67:case 68:case 69:case 70:Be*=16,Be+=e-55;break;case 97:case 98:case 99:case 100:case 101:case 102:Be*=16,Be+=e-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:Be*=16,Be+=e-48;break;case 59:A=_r;break;default:V(e,_r);break}}function gr(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:Be*=10,Be+=e-48;break;case 59:A=_r;break;default:V(e,_r);break}}function _r(e){Be in le?Be=le[Be]:(Be>1114111||Be>=55296&&Be<57344)&&(Be=65533),vt(),Be<=65535?Ue.push(Be):(Be-=65536,Ue.push(55296+(Be>>10)),Ue.push(56320+(Be&1023))),V(e,vr)}function vr(e){switch(ze){case kn:case An:case jn:Ge+=ke(Ue);break;default:c(F,Ue);break}V(e,ze)}function yr(e,t,n,i){switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 4:I._appendChild(I.createComment(t));return;case 5:var a=t,o=n,s=i;I.appendChild(new r(I,a,o,s)),at||a.toLowerCase()!==`html`||g.test(o)||s&&s.toLowerCase()===_||s===void 0&&v.test(o)?I._quirks=!0:(y.test(o)||s!==void 0&&v.test(o))&&(I._limitedQuirks=!0),M=br;return}I._quirks=!0,M=br,M(e,t,n,i)}function br(e,t,n,r){var i;switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 5:return;case 4:I._appendChild(I.createComment(t));return;case 2:if(t===`html`){i=Lt(I,t,n),N.push(i),I.appendChild(i),M=xr;return}break;case 3:switch(t){case`html`:case`head`:case`body`:case`br`:break;default:return}}i=Lt(I,`html`,null),N.push(i),I.appendChild(i),M=xr,M(e,t,n,r)}function xr(e,t,n,r){switch(e){case 1:if(t=t.replace(De,``),t.length===0)return;break;case 5:return;case 4:Ft(t);return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`head`:tt=B(t,n),M=Sr;return}break;case 3:switch(t){case`html`:case`head`:case`body`:case`br`:break;default:return}}xr(d,`head`,null),M(e,t,n,r)}function Sr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(It(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Ft(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`meta`:case`base`:case`basefont`:case`bgsound`:case`link`:B(t,n),N.pop();return;case`title`:Gt(t,n);return;case`noscript`:if(!rt){B(t,n),M=Cr;return}case`noframes`:case`style`:Wt(t,n);return;case`script`:zt(function(e){var r=Lt(e,t,n);return r._parser_inserted=!0,r._force_async=!1,et&&(r._already_started=!0),Dt(),r}),A=$t,Qe=M,M=Tr;return;case`template`:B(t,n),P.insertMarker(),it=!1,M=Fr,$e.push(M);return;case`head`:return}break;case 3:switch(t){case`head`:N.pop(),M=wr;return;case`body`:case`html`:case`br`:break;case`template`:if(!N.contains(`template`))return;N.generateImpliedEndTags(null,`thorough`),N.popTag(`template`),P.clearToMarker(),$e.pop(),Ut();return;default:return}break}Sr(f,`head`,null),M(e,t,n,r)}function Cr(e,t,n,r){switch(e){case 5:return;case 4:Sr(e,t);return;case 1:var i=t.match(De);if(i&&(Sr(e,i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 2:switch(t){case`html`:J(e,t,n,r);return;case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`style`:Sr(e,t,n);return;case`head`:case`noscript`:return}break;case 3:switch(t){case`noscript`:N.pop(),M=Sr;return;case`br`:break;default:return}break}Cr(f,`noscript`,null),M(e,t,n,r)}function wr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(It(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Ft(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`body`:B(t,n),it=!1,M=J;return;case`frameset`:B(t,n),M=Lr;return;case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:N.push(tt),Sr(d,t,n),N.removeElement(tt);return;case`head`:return}break;case 3:switch(t){case`template`:return Sr(e,t,n,r);case`body`:case`html`:case`br`:break;default:return}break}wr(d,`body`,null),it=!0,M(e,t,n,r)}function J(e,t,n,r){var i,o,c,l;switch(e){case 1:if(ct&&(t=t.replace(Oe,``),t.length===0))return;it&&we.test(t)&&(it=!1),qt(),It(t);return;case 5:return;case 4:Ft(t);return;case-1:if($e.length)return Fr(e);Zt();return;case 2:switch(t){case`html`:if(N.contains(`template`))return;Re(n,N.elements[0]);return;case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:Sr(d,t,n);return;case`body`:if(i=N.elements[1],!i||!(i instanceof s.HTMLBodyElement)||N.contains(`template`))return;it=!1,Re(n,i);return;case`frameset`:if(!it||(i=N.elements[1],!i||!(i instanceof s.HTMLBodyElement)))return;for(i.parentNode&&i.parentNode.removeChild(i);!(N.top instanceof s.HTMLHtmlElement);)N.pop();B(t,n),M=Lr;return;case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:N.inButtonScope(`p`)&&J(f,`p`),B(t,n);return;case`menu`:N.inButtonScope(`p`)&&J(f,`p`),je(N.top,`menuitem`)&&N.pop(),B(t,n);return;case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:N.inButtonScope(`p`)&&J(f,`p`),N.top instanceof s.HTMLHeadingElement&&N.pop(),B(t,n);return;case`pre`:case`listing`:N.inButtonScope(`p`)&&J(f,`p`),B(t,n),lt=!0,it=!1;return;case`form`:if(nt&&!N.contains(`template`))return;N.inButtonScope(`p`)&&J(f,`p`),l=B(t,n),N.contains(`template`)||(nt=l);return;case`li`:for(it=!1,o=N.elements.length-1;o>=0;o--){if(c=N.elements[o],c instanceof s.HTMLLIElement){J(f,`li`);break}if(je(c,b)&&!je(c,x))break}N.inButtonScope(`p`)&&J(f,`p`),B(t,n);return;case`dd`:case`dt`:for(it=!1,o=N.elements.length-1;o>=0;o--){if(c=N.elements[o],je(c,S)){J(f,c.localName);break}if(je(c,b)&&!je(c,x))break}N.inButtonScope(`p`)&&J(f,`p`),B(t,n);return;case`plaintext`:N.inButtonScope(`p`)&&J(f,`p`),B(t,n),A=en;return;case`button`:N.inScope(`button`)?(J(f,`button`),M(e,t,n,r)):(qt(),B(t,n),it=!1);return;case`a`:var u=P.findElementByTag(`a`);u&&(J(f,t),P.remove(u),N.removeElement(u));case`b`:case`big`:case`code`:case`em`:case`font`:case`i`:case`s`:case`small`:case`strike`:case`strong`:case`tt`:case`u`:qt(),P.push(B(t,n),n);return;case`nobr`:qt(),N.inScope(t)&&(J(f,t),qt()),P.push(B(t,n),n);return;case`applet`:case`marquee`:case`object`:qt(),B(t,n),P.insertMarker(),it=!1;return;case`table`:!I._quirks&&N.inButtonScope(`p`)&&J(f,`p`),B(t,n),it=!1,M=Er;return;case`area`:case`br`:case`embed`:case`img`:case`keygen`:case`wbr`:qt(),B(t,n),N.pop(),it=!1;return;case`input`:qt(),l=B(t,n),N.pop();var p=l.getAttribute(`type`);(!p||p.toLowerCase()!==`hidden`)&&(it=!1);return;case`param`:case`source`:case`track`:B(t,n),N.pop();return;case`hr`:N.inButtonScope(`p`)&&J(f,`p`),je(N.top,`menuitem`)&&N.pop(),B(t,n),N.pop(),it=!1;return;case`image`:J(d,`img`,n,r);return;case`textarea`:B(t,n),lt=!0,it=!1,A=U,Qe=M,M=Tr;return;case`xmp`:N.inButtonScope(`p`)&&J(f,`p`),qt(),it=!1,Wt(t,n);return;case`iframe`:it=!1,Wt(t,n);return;case`noembed`:Wt(t,n);return;case`select`:qt(),B(t,n),it=!1,M=M===Er||M===Or||M===Ar||M===jr||M===Mr?Pr:Nr;return;case`optgroup`:case`option`:N.top instanceof s.HTMLOptionElement&&J(f,`option`),qt(),B(t,n);return;case`menuitem`:je(N.top,`menuitem`)&&N.pop(),qt(),B(t,n);return;case`rb`:case`rtc`:N.inScope(`ruby`)&&N.generateImpliedEndTags(),B(t,n);return;case`rp`:case`rt`:N.inScope(`ruby`)&&N.generateImpliedEndTags(`rtc`),B(t,n);return;case`math`:qt(),Ie(n),Le(n),Bt(t,n,a.MATHML),r&&N.pop();return;case`svg`:qt(),Fe(n),Le(n),Bt(t,n,a.SVG),r&&N.pop();return;case`caption`:case`col`:case`colgroup`:case`frame`:case`head`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return}qt(),B(t,n);return;case 3:switch(t){case`template`:Sr(f,t,n);return;case`body`:if(!N.inScope(`body`))return;M=Ir;return;case`html`:if(!N.inScope(`body`))return;M=Ir,M(e,t,n);return;case`address`:case`article`:case`aside`:case`blockquote`:case`button`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`listing`:case`main`:case`menu`:case`nav`:case`ol`:case`pre`:case`section`:case`summary`:case`ul`:if(!N.inScope(t))return;N.generateImpliedEndTags(),N.popTag(t);return;case`form`:if(N.contains(`template`)){if(!N.inScope(`form`))return;N.generateImpliedEndTags(),N.popTag(`form`)}else{var m=nt;if(nt=null,!m||!N.elementInScope(m))return;N.generateImpliedEndTags(),N.removeElement(m)}return;case`p`:N.inButtonScope(t)?(N.generateImpliedEndTags(t),N.popTag(t)):(J(d,t,null),M(e,t,n,r));return;case`li`:if(!N.inListItemScope(t))return;N.generateImpliedEndTags(t),N.popTag(t);return;case`dd`:case`dt`:if(!N.inScope(t))return;N.generateImpliedEndTags(t),N.popTag(t);return;case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:if(!N.elementTypeInScope(s.HTMLHeadingElement))return;N.generateImpliedEndTags(),N.popElementType(s.HTMLHeadingElement);return;case`sarcasm`:break;case`a`:case`b`:case`big`:case`code`:case`em`:case`font`:case`i`:case`nobr`:case`s`:case`small`:case`strike`:case`strong`:case`tt`:case`u`:if(Yt(t))return;break;case`applet`:case`marquee`:case`object`:if(!N.inScope(t))return;N.generateImpliedEndTags(),N.popTag(t),P.clearToMarker();return;case`br`:J(d,t,null);return}for(o=N.elements.length-1;o>=0;o--)if(c=N.elements[o],je(c,t)){N.generateImpliedEndTags(t),N.popElement(c);break}else if(je(c,b))return;return}}function Tr(e,t,n,r){switch(e){case 1:It(t);return;case-1:N.top instanceof s.HTMLScriptElement&&(N.top._already_started=!0),N.pop(),M=Qe,M(e);return;case 3:t===`script`?Xt():(N.pop(),M=Qe);return;default:return}}function Er(e,t,n,r){function i(e){for(var t=0,n=e.length;t<n;t++)if(e[t][0]===`type`)return e[t][1].toLowerCase();return null}switch(e){case 1:if(st){J(e,t,n,r);return}else if(je(N.top,C)){ot=[],Qe=M,M=Dr,M(e,t,n,r);return}break;case 4:Ft(t);return;case 5:return;case 2:switch(t){case`caption`:N.clearToContext(E),P.insertMarker(),B(t,n),M=Or;return;case`colgroup`:N.clearToContext(E),B(t,n),M=kr;return;case`col`:Er(d,`colgroup`,null),M(e,t,n,r);return;case`tbody`:case`tfoot`:case`thead`:N.clearToContext(E),B(t,n),M=Ar;return;case`td`:case`th`:case`tr`:Er(d,`tbody`,null),M(e,t,n,r);return;case`table`:if(!N.inTableScope(t))return;Er(f,t),M(e,t,n,r);return;case`style`:case`script`:case`template`:Sr(e,t,n,r);return;case`input`:if(i(n)!==`hidden`)break;B(t,n),N.pop();return;case`form`:if(nt||N.contains(`template`))return;nt=B(t,n),N.popElement(nt);return}break;case 3:switch(t){case`table`:if(!N.inTableScope(t))return;N.popTag(t),Ut();return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return;case`template`:Sr(e,t,n,r);return}break;case-1:J(e,t,n,r);return}Rt=!0,J(e,t,n,r),Rt=!1}function Dr(e,t,n,r){if(e===u){if(ct&&(t=t.replace(Oe,``),t.length===0))return;ot.push(t)}else{var i=ot.join(``);ot.length=0,we.test(i)?(Rt=!0,J(u,i),Rt=!1):It(i),M=Qe,M(e,t,n,r)}}function Or(e,t,n,r){function i(){return N.inTableScope(`caption`)?(N.generateImpliedEndTags(),N.popTag(`caption`),P.clearToMarker(),M=Er,!0):!1}switch(e){case 2:switch(t){case`caption`:case`col`:case`colgroup`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:i()&&M(e,t,n,r);return}break;case 3:switch(t){case`caption`:i();return;case`table`:i()&&M(e,t,n,r);return;case`body`:case`col`:case`colgroup`:case`html`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return}break}J(e,t,n,r)}function kr(e,t,n,r){switch(e){case 1:var i=t.match(De);if(i&&(It(i[0]),t=t.substring(i[0].length)),t.length===0)return;break;case 4:Ft(t);return;case 5:return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`col`:B(t,n),N.pop();return;case`template`:Sr(e,t,n,r);return}break;case 3:switch(t){case`colgroup`:if(!je(N.top,`colgroup`))return;N.pop(),M=Er;return;case`col`:return;case`template`:Sr(e,t,n,r);return}break;case-1:J(e,t,n,r);return}je(N.top,`colgroup`)&&(kr(f,`colgroup`),M(e,t,n,r))}function Ar(e,t,n,r){function i(){!N.inTableScope(`tbody`)&&!N.inTableScope(`thead`)&&!N.inTableScope(`tfoot`)||(N.clearToContext(ee),Ar(f,N.top.localName,null),M(e,t,n,r))}switch(e){case 2:switch(t){case`tr`:N.clearToContext(ee),B(t,n),M=jr;return;case`th`:case`td`:Ar(d,`tr`,null),M(e,t,n,r);return;case`caption`:case`col`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:i();return}break;case 3:switch(t){case`table`:i();return;case`tbody`:case`tfoot`:case`thead`:N.inTableScope(t)&&(N.clearToContext(ee),N.pop(),M=Er);return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`td`:case`th`:case`tr`:return}break}Er(e,t,n,r)}function jr(e,t,n,r){function i(){return N.inTableScope(`tr`)?(N.clearToContext(te),N.pop(),M=Ar,!0):!1}switch(e){case 2:switch(t){case`th`:case`td`:N.clearToContext(te),B(t,n),M=Mr,P.insertMarker();return;case`caption`:case`col`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:case`tr`:i()&&M(e,t,n,r);return}break;case 3:switch(t){case`tr`:i();return;case`table`:i()&&M(e,t,n,r);return;case`tbody`:case`tfoot`:case`thead`:N.inTableScope(t)&&i()&&M(e,t,n,r);return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:case`td`:case`th`:return}break}Er(e,t,n,r)}function Mr(e,t,n,r){switch(e){case 2:switch(t){case`caption`:case`col`:case`colgroup`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:N.inTableScope(`td`)?(Mr(f,`td`),M(e,t,n,r)):N.inTableScope(`th`)&&(Mr(f,`th`),M(e,t,n,r));return}break;case 3:switch(t){case`td`:case`th`:if(!N.inTableScope(t))return;N.generateImpliedEndTags(),N.popTag(t),P.clearToMarker(),M=jr;return;case`body`:case`caption`:case`col`:case`colgroup`:case`html`:return;case`table`:case`tbody`:case`tfoot`:case`thead`:case`tr`:if(!N.inTableScope(t))return;Mr(f,N.inTableScope(`td`)?`td`:`th`),M(e,t,n,r);return}break}J(e,t,n,r)}function Nr(e,t,n,r){switch(e){case 1:if(ct&&(t=t.replace(Oe,``),t.length===0))return;It(t);return;case 4:Ft(t);return;case 5:return;case-1:J(e,t,n,r);return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`option`:N.top instanceof s.HTMLOptionElement&&Nr(f,t),B(t,n);return;case`optgroup`:N.top instanceof s.HTMLOptionElement&&Nr(f,`option`),N.top instanceof s.HTMLOptGroupElement&&Nr(f,t),B(t,n);return;case`select`:Nr(f,t);return;case`input`:case`keygen`:case`textarea`:if(!N.inSelectScope(`select`))return;Nr(f,`select`),M(e,t,n,r);return;case`script`:case`template`:Sr(e,t,n,r);return}break;case 3:switch(t){case`optgroup`:N.top instanceof s.HTMLOptionElement&&N.elements[N.elements.length-2]instanceof s.HTMLOptGroupElement&&Nr(f,`option`),N.top instanceof s.HTMLOptGroupElement&&N.pop();return;case`option`:N.top instanceof s.HTMLOptionElement&&N.pop();return;case`select`:if(!N.inSelectScope(t))return;N.popTag(t),Ut();return;case`template`:Sr(e,t,n,r);return}break}}function Pr(e,t,n,r){switch(t){case`caption`:case`table`:case`tbody`:case`tfoot`:case`thead`:case`tr`:case`td`:case`th`:switch(e){case 2:Pr(f,`select`),M(e,t,n,r);return;case 3:N.inTableScope(t)&&(Pr(f,`select`),M(e,t,n,r));return}}Nr(e,t,n,r)}function Fr(e,t,n,r){function i(i){M=i,$e[$e.length-1]=M,M(e,t,n,r)}switch(e){case 1:case 4:case 5:J(e,t,n,r);return;case-1:N.contains(`template`)?(N.popTag(`template`),P.clearToMarker(),$e.pop(),Ut(),M(e,t,n,r)):Zt();return;case 2:switch(t){case`base`:case`basefont`:case`bgsound`:case`link`:case`meta`:case`noframes`:case`script`:case`style`:case`template`:case`title`:Sr(e,t,n,r);return;case`caption`:case`colgroup`:case`tbody`:case`tfoot`:case`thead`:i(Er);return;case`col`:i(kr);return;case`tr`:i(Ar);return;case`td`:case`th`:i(jr);return}i(J);return;case 3:switch(t){case`template`:Sr(e,t,n,r);return;default:return}}}function Ir(e,t,n,r){switch(e){case 1:if(we.test(t))break;J(e,t);return;case 4:N.elements[0]._appendChild(I.createComment(t));return;case 5:return;case-1:Zt();return;case 2:if(t===`html`){J(e,t,n,r);return}break;case 3:if(t===`html`){if(et)return;M=zr;return}break}M=J,M(e,t,n,r)}function Lr(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&It(t);return;case 4:Ft(t);return;case 5:return;case-1:Zt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`frameset`:B(t,n);return;case`frame`:B(t,n),N.pop();return;case`noframes`:Sr(e,t,n,r);return}break;case 3:if(t===`frameset`){if(et&&N.top instanceof s.HTMLHtmlElement)return;N.pop(),!et&&!(N.top instanceof s.HTMLFrameSetElement)&&(M=Rr);return}break}}function Rr(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&It(t);return;case 4:Ft(t);return;case 5:return;case-1:Zt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`noframes`:Sr(e,t,n,r);return}break;case 3:if(t===`html`){M=Br;return}break}}function zr(e,t,n,r){switch(e){case 1:if(we.test(t))break;J(e,t,n,r);return;case 4:I._appendChild(I.createComment(t));return;case 5:J(e,t,n,r);return;case-1:Zt();return;case 2:if(t===`html`){J(e,t,n,r);return}break}M=J,M(e,t,n,r)}function Br(e,t,n,r){switch(e){case 1:t=t.replace(Te,``),t.length>0&&J(e,t,n,r);return;case 4:I._appendChild(I.createComment(t));return;case 5:J(e,t,n,r);return;case-1:Zt();return;case 2:switch(t){case`html`:J(e,t,n,r);return;case`noframes`:Sr(e,t,n,r);return}break}}function Vr(e,n,r,i){function o(e){for(var t=0,n=e.length;t<n;t++)switch(e[t][0]){case`color`:case`face`:case`size`:return!0}return!1}var s;switch(e){case 1:it&&Ee.test(n)&&(it=!1),ct&&(n=n.replace(Oe,`�`)),It(n);return;case 4:Ft(n);return;case 5:return;case 2:switch(n){case`font`:if(!o(r))break;case`b`:case`big`:case`blockquote`:case`body`:case`br`:case`center`:case`code`:case`dd`:case`div`:case`dl`:case`dt`:case`em`:case`embed`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:case`head`:case`hr`:case`i`:case`img`:case`li`:case`listing`:case`menu`:case`meta`:case`nobr`:case`ol`:case`p`:case`pre`:case`ruby`:case`s`:case`small`:case`span`:case`strong`:case`strike`:case`sub`:case`sup`:case`table`:case`tt`:case`u`:case`ul`:case`var`:if(et)break;do N.pop(),s=N.top;while(s.namespaceURI!==a.HTML&&!Me(s)&&!Ne(s));Pt(e,n,r,i);return}s=N.elements.length===1&&et?t:N.top,s.namespaceURI===a.MATHML?Ie(r):s.namespaceURI===a.SVG&&(n=Pe(n),Fe(r)),Le(r),Bt(n,r,s.namespaceURI),i&&(n===`script`&&(s.namespaceURI,a.SVG),N.pop());return;case 3:if(s=N.top,n===`script`&&s.namespaceURI===a.SVG&&s.localName===`script`)N.pop();else for(var c=N.elements.length-1,l=N.elements[c];;){if(l.localName.toLowerCase()===n){N.popElement(l);break}if(l=N.elements[--c],l.namespaceURI===a.HTML){M(e,n,r,i);break}}return}}return ut.testTokenizer=function(e,t,n,r){var i=[];switch(t){case`PCDATA state`:A=H;break;case`RCDATA state`:A=U;break;case`RAWTEXT state`:A=Qt;break;case`PLAINTEXT state`:A=en;break}if(n&&(He=n),Pt=function(e,t,n,r){switch(Dt(),e){case 1:i.length>0&&i[i.length-1][0]===`Character`?i[i.length-1][1]+=t:i.push([`Character`,t]);break;case 4:i.push([`Comment`,t]);break;case 5:i.push([`DOCTYPE`,t,n===void 0?null:n,r===void 0?null:r,!at]);break;case 2:for(var a=Object.create(null),o=0;o<n.length;o++){var s=n[o];s.length===1?a[s[0]]=``:a[s[0]]=s[1]}var c=[`StartTag`,t,a];r&&c.push(!0),i.push(c);break;case 3:i.push([`EndTag`,t]);break;case-1:break}},!r)this.parse(e,!0);else{for(var a=0;a<e.length;a++)this.parse(e[a]);this.parse(``,!0)}return i},ut}})),Hd=O(((e,t)=>{t.exports=s;var n=zd(),r=Bd(),i=Vd(),a=td(),o=ud();function s(e){this.contextObject=e}var c={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};s.prototype={hasFeature:function(e,t){var n=c[(e||``).toLowerCase()];return n&&n[t||``]||!1},createDocumentType:function(e,t,n){return o.isValidQName(e)||a.InvalidCharacterError(),new r(this.contextObject,e,t,n)},createDocument:function(e,t,r){var i=new n(!1,null),o=t?i.createElementNS(e,t):null;return r&&i.appendChild(r),o&&i.appendChild(o),e===a.NAMESPACE.HTML?i._contentType=`application/xhtml+xml`:e===a.NAMESPACE.SVG?i._contentType=`image/svg+xml`:i._contentType=`application/xml`,i},createHTMLDocument:function(e){var t=new n(!0,null);t.appendChild(new r(t,`html`));var i=t.createElement(`html`);t.appendChild(i);var a=t.createElement(`head`);if(i.appendChild(a),e!==void 0){var o=t.createElement(`title`);a.appendChild(o),o.appendChild(t.createTextNode(e))}return i.appendChild(t.createElement(`body`)),t.modclock=1,t},mozSetOutputMutationHandler:function(e,t){e.mutationHandler=t},mozGetInputMutationHandler:function(e){a.nyi()},mozHTMLParser:i}})),Ud=O(((e,t)=>{var n=kd(),r=Pd();t.exports=i;function i(e,t){this._window=e,this._href=t}i.prototype=Object.create(r.prototype,{constructor:{value:i},href:{get:function(){return this._href},set:function(e){this.assign(e)}},assign:{value:function(e){this._href=new n(this._href).resolve(e)}},replace:{value:function(e){this.assign(e)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})})),Wd=O(((e,t)=>{t.exports=Object.create(null,{appCodeName:{value:`Mozilla`},appName:{value:`Netscape`},appVersion:{value:`4.0`},platform:{value:``},product:{value:`Gecko`},productSub:{value:`20100101`},userAgent:{value:``},vendor:{value:``},vendorSub:{value:``},taintEnabled:{value:function(){return!1}}})})),Gd=O(((e,t)=>{t.exports={setTimeout,clearTimeout,setInterval,clearInterval}})),Kd=O(((e,t)=>{var n=td();e=t.exports={CSSStyleDeclaration:Nd(),CharacterData:bd(),Comment:Sd(),DOMException:$u(),DOMImplementation:Hd(),DOMTokenList:pd(),Document:zd(),DocumentFragment:Cd(),DocumentType:Bd(),Element:vd(),HTMLParser:Vd(),NamedNodeMap:_d(),Node:ad(),NodeList:cd(),NodeFilter:Td(),ProcessingInstruction:wd(),Text:xd(),Window:qd()},n.merge(e,jd()),n.merge(e,Id().elements),n.merge(e,Ld().elements)})),qd=O(((e,t)=>{var n=Hd(),r=nd(),i=Ud(),a=td();t.exports=o;function o(e){this.document=e||new n(null).createHTMLDocument(``),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new i(this,this.document._address||`about:blank`)}o.prototype=Object.create(r.prototype,{console:{value:console},history:{value:{back:a.nyi,forward:a.nyi,go:a.nyi}},navigator:{value:Wd()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler(`load`)},set:function(e){this._setEventHandler(`load`,e)}},getComputedStyle:{value:function(e){return e.style}}}),a.expose(Gd(),o),a.expose(Kd(),o)})),Jd=O((e=>{var t=Hd(),n=Vd();qd();var r=Kd();e.createDOMImplementation=function(){return new t(null)},e.createDocument=function(e,r){if(e||r){var i=new n;return i.parse(e||``,!0),i.document()}return new t(null).createHTMLDocument(``)},e.createIncrementalHTMLParser=function(){var e=new n;return{write:function(t){t.length>0&&e.parse(t,!1,function(){return!0})},end:function(t){e.parse(t||``,!0,function(){return!0})},process:function(t){return e.parse(``,!1,t)},document:function(){return e.document()}}},e.createWindow=function(t,n){var i=e.createDocument(t);return n!==void 0&&(i._address=n),new r.Window(i)},e.impl=r})),Yd=O(((e,t)=>{function n(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}function r(e,t){return Array(t+1).join(e)}function i(e){return e.replace(/^\n*/,``)}function a(e){for(var t=e.length;t>0&&e[t-1]===`
|
|
31
31
|
`;)t--;return e.substring(0,t)}function o(e){return a(i(e))}var s=`ADDRESS.ARTICLE.ASIDE.AUDIO.BLOCKQUOTE.BODY.CANVAS.CENTER.DD.DIR.DIV.DL.DT.FIELDSET.FIGCAPTION.FIGURE.FOOTER.FORM.FRAMESET.H1.H2.H3.H4.H5.H6.HEADER.HGROUP.HR.HTML.ISINDEX.LI.MAIN.MENU.NAV.NOFRAMES.NOSCRIPT.OL.OUTPUT.P.PRE.SECTION.TABLE.TBODY.TD.TFOOT.TH.THEAD.TR.UL`.split(`.`);function c(e){return h(e,s)}var l=[`AREA`,`BASE`,`BR`,`COL`,`COMMAND`,`EMBED`,`HR`,`IMG`,`INPUT`,`KEYGEN`,`LINK`,`META`,`PARAM`,`SOURCE`,`TRACK`,`WBR`];function u(e){return h(e,l)}function d(e){return g(e,l)}var f=[`A`,`TABLE`,`THEAD`,`TBODY`,`TFOOT`,`TH`,`TD`,`IFRAME`,`SCRIPT`,`AUDIO`,`VIDEO`];function p(e){return h(e,f)}function m(e){return g(e,f)}function h(e,t){return t.indexOf(e.nodeName)>=0}function g(e,t){return e.getElementsByTagName&&t.some(function(t){return e.getElementsByTagName(t).length})}var _=[[/\\/g,`\\\\`],[/\*/g,`\\*`],[/^-/g,`\\-`],[/^\+ /g,`\\+ `],[/^(=+)/g,`\\$1`],[/^(#{1,6}) /g,`\\$1 `],[/`/g,"\\`"],[/^~~~/g,`\\~~~`],[/\[/g,`\\[`],[/\]/g,`\\]`],[/^>/g,`\\>`],[/_/g,`\\_`],[/^(\d+)\. /g,`$1\\. `]];function v(e){return _.reduce(function(e,t){return e.replace(t[0],t[1])},e)}var y={};y.paragraph={filter:`p`,replacement:function(e){return`
|
|
32
32
|
|
|
33
33
|
`+e+`
|
|
@@ -75,7 +75,7 @@ Login cancelled.`),process.exit(0)};process.on(`SIGINT`,n);try{console.log(`Star
|
|
|
75
75
|
`)+`
|
|
76
76
|
|
|
77
77
|
`,this.references=[]),t}},y.emphasis={filter:[`em`,`i`],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:``}},y.strong={filter:[`strong`,`b`],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:``}},y.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n=e.parentNode.nodeName===`PRE`&&!t;return e.nodeName===`CODE`&&!n},replacement:function(e){if(!e)return``;e=e.replace(/\r?\n|\r/g,` `);for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?` `:``,n="`",r=e.match(/`+/gm)||[];r.indexOf(n)!==-1;)n+="`";return n+t+e+t+n}},y.image={filter:`img`,replacement:function(e,t){var n=v(b(t.getAttribute(`alt`))),r=x(t.getAttribute(`src`)||``),i=b(t.getAttribute(`title`)),a=i?` "`+S(i)+`"`:``;return r?``:``}};function b(e){return e?e.replace(/(\n+\s*)+/g,`
|
|
78
|
-
`):``}function x(e){var t=e.replace(/([<>()])/g,`\\$1`);return t.indexOf(` `)>=0?`<`+t+`>`:t}function S(e){return e.replace(/"/g,`\\"`)}function C(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}C.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return``}})},forNode:function(e){if(e.isBlank)return this.blankRule;var t;return(t=w(this.array,e,this.options))||(t=w(this._keep,e,this.options))||(t=w(this._remove,e,this.options))?t:this.defaultRule},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};function w(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(T(i,t,n))return i}}function T(e,t,n){var r=e.filter;if(typeof r==`string`){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else if(typeof r==`function`){if(r.call(e,t,n))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function E(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return e.nodeName===`PRE`};if(!(!t.firstChild||i(t))){for(var a=null,o=!1,s=null,c=te(s,t,i);c!==t;){if(c.nodeType===3||c.nodeType===4){var l=c.data.replace(/[ \r\n\t]+/g,` `);if((!a||/ $/.test(a.data))&&!o&&l[0]===` `&&(l=l.substr(1)),!l){c=ee(c);continue}c.data=l,a=c}else if(c.nodeType===1)n(c)||c.nodeName===`BR`?(a&&(a.data=a.data.replace(/ $/,``)),a=null,o=!1):r(c)||i(c)?(a=null,o=!0):a&&(o=!1);else{c=ee(c);continue}var u=te(s,c,i);s=c,c=u}a&&(a.data=a.data.replace(/ $/,``),a.data||ee(a))}}function ee(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function te(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}var ne=typeof window<`u`?window:{};function D(){var e=ne.DOMParser,t=!1;try{new e().parseFromString(``,`text/html`)&&(t=!0)}catch{}return t}function O(){var e=function(){},t=
|
|
78
|
+
`):``}function x(e){var t=e.replace(/([<>()])/g,`\\$1`);return t.indexOf(` `)>=0?`<`+t+`>`:t}function S(e){return e.replace(/"/g,`\\"`)}function C(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}C.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return``}})},forNode:function(e){if(e.isBlank)return this.blankRule;var t;return(t=w(this.array,e,this.options))||(t=w(this._keep,e,this.options))||(t=w(this._remove,e,this.options))?t:this.defaultRule},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};function w(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(T(i,t,n))return i}}function T(e,t,n){var r=e.filter;if(typeof r==`string`){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else if(typeof r==`function`){if(r.call(e,t,n))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function E(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return e.nodeName===`PRE`};if(!(!t.firstChild||i(t))){for(var a=null,o=!1,s=null,c=te(s,t,i);c!==t;){if(c.nodeType===3||c.nodeType===4){var l=c.data.replace(/[ \r\n\t]+/g,` `);if((!a||/ $/.test(a.data))&&!o&&l[0]===` `&&(l=l.substr(1)),!l){c=ee(c);continue}c.data=l,a=c}else if(c.nodeType===1)n(c)||c.nodeName===`BR`?(a&&(a.data=a.data.replace(/ $/,``)),a=null,o=!1):r(c)||i(c)?(a=null,o=!0):a&&(o=!1);else{c=ee(c);continue}var u=te(s,c,i);s=c,c=u}a&&(a.data=a.data.replace(/ $/,``),a.data||ee(a))}}function ee(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function te(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}var ne=typeof window<`u`?window:{};function D(){var e=ne.DOMParser,t=!1;try{new e().parseFromString(``,`text/html`)&&(t=!0)}catch{}return t}function O(){var e=function(){},t=Jd();return e.prototype.parseFromString=function(e){return t.createDocument(e)},e}var re=D()?ne.DOMParser:O();function ie(e,t){var n=typeof e==`string`?k().parseFromString(`<x-turndown id="turndown-root">`+e+`</x-turndown>`,`text/html`).getElementById(`turndown-root`):e.cloneNode(!0);return E({element:n,isBlock:c,isVoid:u,isPre:t.preformattedCode?oe:null}),n}var ae;function k(){return ae||=new re,ae}function oe(e){return e.nodeName===`PRE`||e.nodeName===`CODE`}function se(e,t){return e.isBlock=c(e),e.isCode=e.nodeName===`CODE`||e.parentNode.isCode,e.isBlank=ce(e),e.flankingWhitespace=A(e,t),e}function ce(e){return!u(e)&&!p(e)&&/^\s*$/i.test(e.textContent)&&!d(e)&&!m(e)}function A(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:``,trailing:``};var n=le(e.textContent);return n.leadingAscii&&ue(`left`,e,t)&&(n.leading=n.leadingNonAscii),n.trailingAscii&&ue(`right`,e,t)&&(n.trailing=n.trailingNonAscii),{leading:n.leading,trailing:n.trailing}}function le(e){var t=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:t[1],leadingAscii:t[2],leadingNonAscii:t[3],trailing:t[4],trailingNonAscii:t[5],trailingAscii:t[6]}}function ue(e,t,n){var r,i,a;return e===`left`?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(r.nodeType===3?a=i.test(r.nodeValue):n.preformattedCode&&r.nodeName===`CODE`?a=!1:r.nodeType===1&&!c(r)&&(a=i.test(r.textContent))),a}var de=Array.prototype.reduce;function fe(e){if(!(this instanceof fe))return new fe(e);this.options=n({},{rules:y,headingStyle:`setext`,hr:`* * *`,bulletListMarker:`*`,codeBlockStyle:`indented`,fence:"```",emDelimiter:`_`,strongDelimiter:`**`,linkStyle:`inlined`,linkReferenceStyle:`full`,br:` `,preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?`
|
|
79
79
|
|
|
80
80
|
`:``},keepReplacement:function(e,t){return t.isBlock?`
|
|
81
81
|
|
|
@@ -87,7 +87,7 @@ Login cancelled.`),process.exit(0)};process.on(`SIGINT`,n);try{console.log(`Star
|
|
|
87
87
|
|
|
88
88
|
`:e}},e),this.rules=new C(this.options)}fe.prototype={turndown:function(e){if(!_e(e))throw TypeError(e+` is not a string, or an element/document/fragment node.`);if(e===``)return``;var t=pe.call(this,new ie(e,this.options));return me.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else if(typeof e==`function`)e(this);else throw TypeError(`plugin must be a Function or an Array of Functions`);return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return v(e)}};function pe(e){var t=this;return de.call(e.childNodes,function(e,n){n=new se(n,t.options);var r=``;return n.nodeType===3?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):n.nodeType===1&&(r=he.call(t,n)),ge(e,r)},``)}function me(e){var t=this;return this.rules.forEach(function(n){typeof n.append==`function`&&(e=ge(e,n.append(t.options)))}),e.replace(/^[\t\r\n]+/,``).replace(/[\t\r\n\s]+$/,``)}function he(e){var t=this.rules.forNode(e),n=pe.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function ge(e,t){var n=a(e),r=i(t),o=Math.max(e.length-n.length,t.length-r.length);return n+`
|
|
89
89
|
|
|
90
|
-
`.substring(0,o)+r}function _e(e){return e!=null&&(typeof e==`string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}t.exports=fe})),
|
|
90
|
+
`.substring(0,o)+r}function _e(e){return e!=null&&(typeof e==`string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}t.exports=fe})),Xd=O((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Array.prototype.indexOf,n=Array.prototype.every,r={};r.tableCell={filter:[`th`,`td`],replacement:function(e,t){return o(e,t)}},r.tableRow={filter:`tr`,replacement:function(e,t){var n=``,r={left:`:--`,right:`--:`,center:`:-:`};if(i(t))for(var a=0;a<t.childNodes.length;a++){var s=`---`,c=(t.childNodes[a].getAttribute(`align`)||``).toLowerCase();c&&(s=r[c]||s),n+=o(s,t.childNodes[a])}return`
|
|
91
91
|
`+e+(n?`
|
|
92
92
|
`+n:``)}},r.table={filter:function(e){return e.nodeName===`TABLE`&&i(e.rows[0])},replacement:function(e){return e=e.replace(`
|
|
93
93
|
|
|
@@ -96,7 +96,7 @@ Login cancelled.`),process.exit(0)};process.on(`SIGINT`,n);try{console.log(`Star
|
|
|
96
96
|
|
|
97
97
|
`+e+`
|
|
98
98
|
|
|
99
|
-
`}},r.tableSection={filter:[`thead`,`tbody`,`tfoot`],replacement:function(e){return e}};function i(e){var t=e.parentNode;return t.nodeName===`THEAD`||t.firstChild===e&&(t.nodeName===`TABLE`||a(t))&&n.call(e.childNodes,function(e){return e.nodeName===`TH`})}function a(e){var t=e.previousSibling;return e.nodeName===`TBODY`&&(!t||t.nodeName===`THEAD`&&/^\s*$/i.test(t.textContent))}function o(e,n){var r=t.call(n.parentNode.childNodes,n),i=` `;return r===0&&(i=`| `),i+e+` |`}}));
|
|
99
|
+
`}},r.tableSection={filter:[`thead`,`tbody`,`tfoot`],replacement:function(e){return e}};function i(e){var t=e.parentNode;return t.nodeName===`THEAD`||t.firstChild===e&&(t.nodeName===`TABLE`||a(t))&&n.call(e.childNodes,function(e){return e.nodeName===`TH`})}function a(e){var t=e.previousSibling;return e.nodeName===`TBODY`&&(!t||t.nodeName===`THEAD`&&/^\s*$/i.test(t.textContent))}function o(e,n){var r=t.call(n.parentNode.childNodes,n),i=` `;return r===0&&(i=`| `),i+e+` |`}}));Yd(),Xd(),w.object({query:w.string().min(1).max(1e3),maxResults:w.number().int().min(1).max(20).optional(),searchDepth:w.enum([`basic`,`advanced`]).optional().describe(`Search depth`),includeAnswer:w.boolean().optional()});const Zd={name:`datasheet_search`,description:`Look up an electronic component's datasheet by manufacturer part number (MPN). Takes part numbers only (e.g. 'STM32H743ZIT6', 'LM358', 'ESP32-S3-WROOM-1') — not natural language, not parametric descriptions. For conceptual or parametric searches (e.g. 'low-noise op-amp', '100nF 0402 X5R'), use part_search instead, or web_search for broader research.`,inputSchema:w.object({query:w.string().min(1).max(500).describe(`Manufacturer part number to look up (e.g. 'STM32H743ZIT6'). Part numbers only — descriptions and parametric queries return poor results.`),limit:w.number().int().min(1).max(50).optional(),page:w.number().int().min(1).max(100).optional()})},Qd={name:`part_search`,description:`Search DigiKey for electronic components by keyword. Returns stock, pricing, and specs.`,inputSchema:w.object({keywords:w.string().min(1).max(500),limit:w.number().int().min(1).max(50).optional(),offset:w.number().int().min(0).max(1e3).optional(),inStock:w.boolean().optional()})},$d={name:`part_lookup`,description:`Look up a specific part by product number on DigiKey. Returns detailed stock and pricing.`,inputSchema:w.object({productNumber:w.string().min(1).max(200)})},ef={name:`part_alternatives`,description:`Find alternative parts for a given product number on DigiKey.`,inputSchema:w.object({productNumber:w.string().min(1).max(200)})};var tf=`---
|
|
100
100
|
name: phosphor-eda
|
|
101
101
|
description: >
|
|
102
102
|
Query electronic schematics (Altium, KiCad, Eagle, OrCAD) as structured
|
|
@@ -289,46 +289,1229 @@ TP=test point.
|
|
|
289
289
|
**Multi-page designs:** Ports bridge nets across pages. Same net name on
|
|
290
290
|
multiple pages = same electrical connection.
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
**Page names are organizational, not architectural.** They help humans navigate
|
|
293
|
+
the schematic but carry no technical authority. The same subcircuit can be
|
|
294
|
+
renamed, split across pages, or merged — only connectivity proves what a
|
|
295
|
+
section of the design actually does.
|
|
293
296
|
|
|
294
|
-
|
|
297
|
+
## Exploring a design
|
|
298
|
+
|
|
299
|
+
A schematic is a connectivity graph. Understanding a design means understanding
|
|
300
|
+
which components talk to each other, through what signals, and what crosses
|
|
301
|
+
the board boundary. Parts lists and page names are a starting point — not the
|
|
302
|
+
answer.
|
|
303
|
+
|
|
304
|
+
### \`list\` is discovery, \`show\` is understanding
|
|
305
|
+
|
|
306
|
+
\`list\` commands tell you what exists — names, counts, pages. They are indexes.
|
|
307
|
+
You don't understand a connector until you've seen its pinout (\`show
|
|
308
|
+
component\`). You don't understand a page until you've seen what's on it, what
|
|
309
|
+
its engineering notes say, and what signals bridge to other pages (\`show
|
|
310
|
+
page\`). You don't understand a net until you've seen every pin on it (\`show
|
|
311
|
+
net\`).
|
|
312
|
+
|
|
313
|
+
Never write a summary or draw a conclusion from \`list\` output alone. Every
|
|
314
|
+
\`list\` that surfaces something interesting must be followed by \`show\` to
|
|
315
|
+
understand what it actually is.
|
|
316
|
+
|
|
317
|
+
### When you are ready to write
|
|
318
|
+
|
|
319
|
+
You are not ready to write a summary until you can answer these questions from
|
|
320
|
+
\`show\` output — not from \`list\` output, not from page names, not from
|
|
321
|
+
assumptions:
|
|
322
|
+
|
|
323
|
+
- What does each connector carry? (\`show component\` on every non-trivial J)
|
|
324
|
+
- What is on each page that isn't self-explanatory? (\`show page\`)
|
|
325
|
+
- Which ICs talk to each other, and through what signals? (\`list nets -c\`,
|
|
326
|
+
\`trace\`)
|
|
327
|
+
|
|
328
|
+
If your understanding comes entirely from \`list\` output, you are not done
|
|
329
|
+
investigating. Go back and run the \`show\` commands.
|
|
330
|
+
|
|
331
|
+
### Build understanding from connectivity, not metadata
|
|
332
|
+
|
|
333
|
+
The order matters: boundaries first, then topology, then details. Each step
|
|
334
|
+
has two phases — discover (what exists) then understand (how it connects).
|
|
335
|
+
|
|
336
|
+
**1. System boundaries — connectors and external interfaces**
|
|
337
|
+
|
|
338
|
+
Connectors (J-prefix) define what enters and leaves the board. They reveal the
|
|
339
|
+
system context: what's on-board vs. off-board, what external modules exist,
|
|
340
|
+
what signals are meant to be probed/accessed.
|
|
341
|
+
|
|
342
|
+
\`\`\`sh
|
|
343
|
+
# Discover
|
|
344
|
+
list components --prefix J <FILE>
|
|
345
|
+
|
|
346
|
+
# Understand — for each non-trivial connector:
|
|
347
|
+
show component J8 <FILE> # what signals does this connector carry?
|
|
348
|
+
\`\`\`
|
|
349
|
+
|
|
350
|
+
A connector's part number tells you its form factor. Its *pinout* tells you
|
|
351
|
+
its role. A 26-pin board-to-board receptacle is meaningless until you see it
|
|
352
|
+
carries LVDS, I2C, and dedicated power rails for a specific subsystem — that
|
|
353
|
+
tells you something lives off-board.
|
|
354
|
+
|
|
355
|
+
**2. Page contents — what's actually on each page**
|
|
356
|
+
|
|
357
|
+
\`list pages\` gives you the table of contents. It does not tell you what each
|
|
358
|
+
page does. Use \`show page\` to see the actual components, the internal page
|
|
359
|
+
title (which often preserves design intent better than the navigation label),
|
|
360
|
+
engineering notes, and the nets that cross the page boundary.
|
|
361
|
+
|
|
362
|
+
\`\`\`sh
|
|
363
|
+
# Discover
|
|
364
|
+
list pages <FILE>
|
|
365
|
+
|
|
366
|
+
# Understand — for pages that aren't self-explanatory:
|
|
367
|
+
show page "Metis IO" <FILE> # components, page title, notes, nets
|
|
368
|
+
\`\`\`
|
|
369
|
+
|
|
370
|
+
\`show page\` surfaces text annotations placed on the schematic sheet —
|
|
371
|
+
revision notes, design rationale, change history, and configuration
|
|
372
|
+
documentation left by the engineer. These notes often explain *why* the
|
|
373
|
+
design looks the way it does, not just what's connected.
|
|
374
|
+
|
|
375
|
+
Don't assume a page's role from its name in the TOC. A page named "Lattice
|
|
376
|
+
FPGA" might contain interface circuitry that also touches other subsystems.
|
|
377
|
+
Read it.
|
|
378
|
+
|
|
379
|
+
**3. Inter-component topology — who talks to whom**
|
|
380
|
+
|
|
381
|
+
Use signal nets (not power) to understand which ICs form functional groups:
|
|
382
|
+
|
|
383
|
+
\`\`\`sh
|
|
384
|
+
# Discover
|
|
385
|
+
list nets -c U5 --no-power <FILE> # what signals touch U5?
|
|
386
|
+
|
|
387
|
+
# Understand
|
|
388
|
+
list nets -c U1 -c U5 --trace <FILE> # shared signals between MCU and FPGA
|
|
389
|
+
trace U1 U5 <FILE> # direct paths between them
|
|
390
|
+
\`\`\`
|
|
391
|
+
|
|
392
|
+
This reveals subsystem relationships that page names might obscure. Two
|
|
393
|
+
components on different pages sharing many signal nets are tightly coupled.
|
|
394
|
+
A component whose signals only reach a connector is an interface to something
|
|
395
|
+
off-board.
|
|
396
|
+
|
|
397
|
+
**4. Power architecture — rails and domains**
|
|
295
398
|
|
|
296
399
|
\`\`\`sh
|
|
297
400
|
list nets --power <FILE>
|
|
298
401
|
list components --page "Power" --no-passive <FILE>
|
|
299
|
-
show net P3V3 <FILE>
|
|
402
|
+
show net P3V3 <FILE> # what's powered by this rail?
|
|
300
403
|
\`\`\`
|
|
301
404
|
|
|
302
|
-
|
|
405
|
+
Power domains reveal which subsystems are independently powered, which share
|
|
406
|
+
rails, and where isolation boundaries exist.
|
|
407
|
+
|
|
408
|
+
**5. Detailed pinout — when you need specifics**
|
|
303
409
|
|
|
304
410
|
\`\`\`sh
|
|
305
|
-
show component U1 <FILE> #
|
|
411
|
+
show component U1 <FILE> # full pinout with traced destinations
|
|
306
412
|
list nets -c U1 --no-power <FILE> # signal net summary
|
|
307
413
|
\`\`\`
|
|
308
414
|
|
|
309
|
-
Cross-reference shunt annotations with passive values from
|
|
415
|
+
Cross-reference shunt annotations (\`(R50 to P3V3)\`) with passive values from
|
|
416
|
+
\`show component\` to understand pull-ups, termination, and biasing.
|
|
417
|
+
|
|
418
|
+
### Common pitfalls
|
|
419
|
+
|
|
420
|
+
- **Don't infer architecture from page names.** A page called "ASIC Interface"
|
|
421
|
+
might contain the interface circuitry *to* an ASIC (level shifters, buffers,
|
|
422
|
+
connectors), not the ASIC itself. Verify by checking what components are
|
|
423
|
+
actually on the page and what they connect to.
|
|
424
|
+
- **The BOM alone doesn't explain the design.** A component list tells you
|
|
425
|
+
what parts are on the board, but not how they're used or how they relate to
|
|
426
|
+
each other. The netlist and board hierarchy carry that context — which ICs
|
|
427
|
+
form a subsystem, which signals cross the board boundary, which functions are
|
|
428
|
+
on-board vs. off-board. Always query connectivity before drawing conclusions
|
|
429
|
+
about what a design does or how it changed.
|
|
430
|
+
- **A \`list\` command is not the end of a question, it's the beginning.** If
|
|
431
|
+
you ran \`list components --prefix J\` and see a Hirose connector, you still
|
|
432
|
+
don't know what it's for. Run \`show component\` on it. If you ran \`list
|
|
433
|
+
pages\` and see "Metis IO", you still don't know what's on that page. Run
|
|
434
|
+
\`show page\`. Conclusions require connectivity data, not just existence.
|
|
435
|
+
- **If you only ran \`list\` commands, you are not done.** Running several
|
|
436
|
+
\`list\` queries in parallel produces a broad index of the design — names,
|
|
437
|
+
counts, page structure. It does not produce understanding. Before writing
|
|
438
|
+
any summary, check: did I run \`show\` on the connectors, the non-obvious
|
|
439
|
+
pages, and the key ICs? If not, go back.
|
|
440
|
+
`;process.platform,process.platform;const nf=w.object({id:w.number().int().min(0),supported:w.boolean(),confidence:w.enum([`high`,`medium`,`low`]),reason:w.string().max(500)});w.object({verdicts:w.array(nf)});function rf(e){let t=e.split(`
|
|
441
|
+
`);if(t[0]?.trim()!==`---`)throw Error(`Skill markdown must start with frontmatter (---)`);let n=-1;for(let e=1;e<t.length;e++)if(t[e]?.trim()===`---`){n=e;break}if(n===-1)throw Error(`Skill markdown is missing closing frontmatter delimiter (---)`);let{name:r,description:i}=af(t.slice(1,n));return{name:r,description:i,instructions:t.slice(n+1).join(`
|
|
442
|
+
`).trim()}}function af(e){let t=``,n=``,r=0;for(;r<e.length;){let i=e[r];if(i.startsWith(`name:`))t=i.slice(5).trim(),r++;else if(i.startsWith(`description:`)){let t=i.slice(12).trim();if(t===`>`||t===`|`){let t=[];for(r++;r<e.length&&/^\s+/.test(e[r]);)t.push(e[r].trim()),r++;n=t.join(` `)}else n=t,r++}else r++}if(!t)throw Error(`Skill frontmatter is missing required field: name`);if(!n)throw Error(`Skill frontmatter is missing required field: description`);return{name:t,description:n}}rf(`---
|
|
443
|
+
name: instrument-control
|
|
444
|
+
description: >
|
|
445
|
+
Drive benchtop instruments (scopes, PSUs, DMMs, function generators, counters)
|
|
446
|
+
over SCPI/PyVISA. Use when the user asks to take measurements, drive a
|
|
447
|
+
stimulus, or capture data from a real instrument.
|
|
448
|
+
---
|
|
310
449
|
|
|
311
|
-
|
|
450
|
+
# Instrument Control
|
|
312
451
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
452
|
+
Control lab instruments over SCPI using \`pyvisa\` with the \`pyvisa-py\` backend.
|
|
453
|
+
No NI-VISA is installed — all communication uses pyvisa-py (USB-TMC, TCP/IP
|
|
454
|
+
raw socket, serial).
|
|
455
|
+
|
|
456
|
+
## Philosophy
|
|
457
|
+
|
|
458
|
+
**Ground yourself in real documentation.** Every vendor implements SCPI
|
|
459
|
+
differently. Do not generate SCPI commands from training memory — use the
|
|
460
|
+
programming manuals as the source of truth. You understand SCPI; the risk is
|
|
461
|
+
vendor-specific dialect, not the protocol itself.
|
|
462
|
+
|
|
463
|
+
**Verify command syntax in the manual before any write.** Parameter separators
|
|
464
|
+
(space vs comma), enable keywords (ON/OFF vs 1/0 vs a dedicated subcommand),
|
|
465
|
+
and query/write asymmetry vary between vendors — and sometimes between
|
|
466
|
+
subsystems on the same instrument. Never assume; always look it up.
|
|
467
|
+
|
|
468
|
+
**Reads are cheap; writes can do damage.** Querying an instrument never hurts
|
|
469
|
+
it. Writing settings can, and enabling output or sourcing energy can damage
|
|
470
|
+
hardware in milliseconds. The permission model reflects this asymmetry.
|
|
471
|
+
|
|
472
|
+
**The instrument's state is the only source of truth.** Never assume a
|
|
473
|
+
command succeeded — read back the setting and verify the instrument is in the
|
|
474
|
+
state you expect. The user can press a button on the front panel at any
|
|
475
|
+
moment, a previous command can silently fail, or the instrument can reject a
|
|
476
|
+
value that's out of range without raising an error. Every write must be
|
|
477
|
+
followed by a read that independently confirms the result.
|
|
478
|
+
|
|
479
|
+
**Protection limits are sacred.** Once set, never change OVP/OCP/compliance
|
|
480
|
+
without a direct user command.
|
|
481
|
+
|
|
482
|
+
## Programming manual index
|
|
483
|
+
|
|
484
|
+
An index of programming manuals for supported instruments is at
|
|
485
|
+
\`{{COMMAND_TABLES_DIR}}/index.json\`. This is a JSON array of entries:
|
|
486
|
+
|
|
487
|
+
\`\`\`json
|
|
488
|
+
{
|
|
489
|
+
"vendor": "rigol",
|
|
490
|
+
"model": "DP800/DP800A",
|
|
491
|
+
"doc": "Programming Guide",
|
|
492
|
+
"category": "dc_power_supply",
|
|
493
|
+
"url": "https://..."
|
|
494
|
+
}
|
|
495
|
+
\`\`\`
|
|
496
|
+
|
|
497
|
+
The \`model\` field is a series or family name (e.g. "DP800/DP800A",
|
|
498
|
+
"MSO1000Z/DS1000Z", "912xA Series"), not an exact model number. Match the
|
|
499
|
+
\`*IDN?\` response against the index by vendor and model family — for example,
|
|
500
|
+
a "DS1054Z" belongs to the "MSO1000Z/DS1000Z" entry.
|
|
501
|
+
|
|
502
|
+
### Lookup workflow
|
|
503
|
+
|
|
504
|
+
1. After \`*IDN?\`, read \`{{COMMAND_TABLES_DIR}}/index.json\`.
|
|
505
|
+
2. Find the entry matching the instrument's vendor and model family.
|
|
506
|
+
3. Call \`open_document\` on the \`url\` to load the programming manual.
|
|
507
|
+
4. Use \`grep_document\` to find the SCPI subsystem you need (e.g.
|
|
508
|
+
\`:VOLTage\`, \`:WAVeform\`, \`:MEASure\`), then \`read_document\` to get
|
|
509
|
+
the exact command syntax, parameters, and return formats.
|
|
510
|
+
5. Use the manual as your authoritative reference. Do not improvise
|
|
511
|
+
SCPI commands from training memory.
|
|
512
|
+
|
|
513
|
+
If the instrument is not in the index, fall back to \`web_search\` to find
|
|
514
|
+
the programming guide (search for the exact model number and "programming
|
|
515
|
+
guide" or "SCPI reference"), then open it the same way.
|
|
516
|
+
|
|
517
|
+
Training memory is the last resort. If you must use it, tell the user you're
|
|
518
|
+
working from general SCPI knowledge rather than a verified source, and
|
|
519
|
+
read back the instrument's response to confirm the command worked.
|
|
520
|
+
|
|
521
|
+
## Workflow
|
|
522
|
+
|
|
523
|
+
### 1. Discover
|
|
524
|
+
|
|
525
|
+
Enumerate connected instruments:
|
|
526
|
+
|
|
527
|
+
\`\`\`python
|
|
528
|
+
import pyvisa
|
|
529
|
+
|
|
530
|
+
rm = pyvisa.ResourceManager("@py")
|
|
531
|
+
resources = rm.list_resources("?*") # ?* includes USB RAW and TCPIP SOCKET
|
|
532
|
+
print(resources)
|
|
533
|
+
\`\`\`
|
|
534
|
+
|
|
535
|
+
**Pass \`"?*"\` to \`list_resources\`.** The default filter excludes USB RAW and
|
|
536
|
+
TCPIP SOCKET resources. Without it, many instruments are invisible.
|
|
537
|
+
|
|
538
|
+
If the list is empty:
|
|
539
|
+
- **macOS:** pyvisa-py has known issues on Apple Silicon. Check that the
|
|
540
|
+
instrument is visible via \`system_profiler SPUSBDataType\`. Try connecting
|
|
541
|
+
via TCP/IP (\`TCPIP::<ip>::<port>::SOCKET\`) if USB doesn't work.
|
|
542
|
+
- **Linux:** USB-TMC requires udev rules. Check \`lsusb\` to confirm the device
|
|
543
|
+
is visible, then verify \`/dev/usbtmc*\` or the udev rule exists.
|
|
544
|
+
- **Windows:** USB instruments often need the WinUSB driver installed via
|
|
545
|
+
Zadig. The vendor's native driver may block pyvisa-py access.
|
|
546
|
+
|
|
547
|
+
Surface the resource list to the user before proceeding.
|
|
548
|
+
|
|
549
|
+
### 2. Identify
|
|
550
|
+
|
|
551
|
+
\`\`\`python
|
|
552
|
+
with rm.open_resource(resource_string) as inst:
|
|
553
|
+
idn = inst.query("*IDN?")
|
|
554
|
+
print(idn) # e.g. "RIGOL TECHNOLOGIES,DS1054Z,DS1ZA1234,00.04.04.SP4"
|
|
555
|
+
\`\`\`
|
|
556
|
+
|
|
557
|
+
Parse vendor, model, serial, and firmware from the \`*IDN?\` response. Tell the
|
|
558
|
+
user what you found. This determines which manual to use.
|
|
559
|
+
|
|
560
|
+
**\`*IDN?\` is the only command you may send before reading the manual.** Do not
|
|
561
|
+
query settings, do not write configuration, do not send any other SCPI
|
|
562
|
+
commands. Every instrument has vendor-specific syntax, and sending commands
|
|
563
|
+
based on assumptions or training memory risks silent misconfiguration.
|
|
564
|
+
|
|
565
|
+
### 3. Download and read the programming manual
|
|
566
|
+
|
|
567
|
+
Read \`{{COMMAND_TABLES_DIR}}/index.json\` and find the entry matching the
|
|
568
|
+
instrument's vendor and model family. **Download the manual now** — call
|
|
569
|
+
\`open_document\` on its \`url\`. If the instrument isn't in the index, use
|
|
570
|
+
\`web_search\` to find the programming guide (search for the exact model
|
|
571
|
+
number and "programming guide" or "SCPI reference") and open it the same
|
|
572
|
+
way.
|
|
573
|
+
|
|
574
|
+
This is not optional and cannot be deferred. You need the manual open before
|
|
575
|
+
sending any commands beyond \`*IDN?\`.
|
|
576
|
+
|
|
577
|
+
**Verify the manual covers your instrument.** After opening the document,
|
|
578
|
+
confirm it is actually the programming manual (or SCPI reference) for the
|
|
579
|
+
model returned by \`*IDN?\`. Check the title page, introduction, or
|
|
580
|
+
applicability section. Manuals for a different model in the same family,
|
|
581
|
+
a user manual without SCPI commands, or a general product brochure are
|
|
582
|
+
not acceptable. If the manual does not match:
|
|
583
|
+
|
|
584
|
+
1. Do not proceed with commands from the wrong manual.
|
|
585
|
+
2. Search for the correct manual — try \`web_search\` with the exact model
|
|
586
|
+
number and "programming guide" or "SCPI reference."
|
|
587
|
+
3. If you cannot find the correct programming manual, **stop and ask the
|
|
588
|
+
user.** Do not attempt to work around the problem by guessing commands,
|
|
589
|
+
using a similar model's manual, or falling back to training memory.
|
|
590
|
+
|
|
591
|
+
For every SCPI subsystem you intend to use, find it in the manual with
|
|
592
|
+
\`grep_document\`, then read the relevant pages with \`read_document\` to get
|
|
593
|
+
the exact command syntax, parameters, and return formats. Specifically
|
|
594
|
+
verify before writing any command:
|
|
595
|
+
|
|
596
|
+
- Parameter separators (space, comma, or no separator)
|
|
597
|
+
- Enable/disable keywords (ON/OFF, 1/0, or a dedicated subcommand)
|
|
598
|
+
- Query response format (string, numeric, boolean — needed for readback)
|
|
599
|
+
- Command dependencies (some settings only apply in specific modes)
|
|
600
|
+
|
|
601
|
+
### 4. Set up protection (source instruments only)
|
|
602
|
+
|
|
603
|
+
For any instrument that can source energy — power supplies, function
|
|
604
|
+
generators, SMUs — establish a safety envelope **before planning or
|
|
605
|
+
discussing any other actions**. This is a standalone phase: agree on
|
|
606
|
+
protection values with the user, set them, confirm them, and report —
|
|
607
|
+
then and only then move on to the actual task.
|
|
608
|
+
|
|
609
|
+
No output may be enabled until this ritual completes successfully. Do not
|
|
610
|
+
combine protection setup with other configuration or planning.
|
|
611
|
+
|
|
612
|
+
**Phase A — Agree on limits:**
|
|
613
|
+
|
|
614
|
+
1. **Ask the user** for the maximum safe voltage and current (or amplitude
|
|
615
|
+
and offset, for function generators) that their setup can tolerate.
|
|
616
|
+
Discuss sensible values — these should protect the DUT and wiring, not
|
|
617
|
+
just match the instrument's max rating. Wait for explicit agreement
|
|
618
|
+
before proceeding.
|
|
619
|
+
|
|
620
|
+
**Phase B — Set and verify (based on manual-confirmed capabilities):**
|
|
621
|
+
|
|
622
|
+
2. **Look up protection capabilities** in the manual. Not all source
|
|
623
|
+
instruments expose the same protection features — what you search for
|
|
624
|
+
depends on the instrument type:
|
|
625
|
+
- **Power supplies:** Search for \`:VOLTage:PROTection\` and
|
|
626
|
+
\`:CURRent:PROTection\` subsystems (or vendor equivalents like
|
|
627
|
+
\`:OUTPut:OVP\`/\`:OUTPut:OCP\`). These are hardware trip points that
|
|
628
|
+
shut down the output if exceeded — **not** the channel output commands
|
|
629
|
+
(\`:VOLTage\`, \`:CURRent\`), which set the working setpoints. Do not
|
|
630
|
+
confuse the two.
|
|
631
|
+
- **SMUs:** Search for compliance commands (current compliance for
|
|
632
|
+
voltage-sourcing mode, voltage compliance for current-sourcing mode).
|
|
633
|
+
- **Function generators:** Most do not have OVP/OCP or separate
|
|
634
|
+
protection subsystems. Search the manual for output protection,
|
|
635
|
+
amplitude limits, or load impedance settings. If the manual exposes
|
|
636
|
+
any form of output limiting, use it. If the manual does not expose
|
|
637
|
+
any protection or limiting capability, **stop and warn the user**
|
|
638
|
+
that there is no hardware safety net — explain what you searched for
|
|
639
|
+
and that the instrument lacks it. Do not proceed until the user
|
|
640
|
+
explicitly acknowledges and accepts the risk.
|
|
641
|
+
Record exactly which protection features the manual documents. Only
|
|
642
|
+
configure protections the instrument actually supports — do not
|
|
643
|
+
synthesize commands from other instrument families.
|
|
644
|
+
3. **Set the protection limits** the manual supports to the agreed values.
|
|
645
|
+
4. **Enable the protection** if it requires a separate enable command (many
|
|
646
|
+
power supplies have separate \`OVP:VAL\` and \`OVP:STAT ON\` commands).
|
|
647
|
+
5. **Read back each protection setting and its enable state** with separate
|
|
648
|
+
query commands. Parse the response using the format you found in the
|
|
649
|
+
manual. Confirm the readback values match what you set. Command success
|
|
650
|
+
alone is not sufficient — the readback must independently verify the
|
|
651
|
+
state.
|
|
652
|
+
|
|
653
|
+
**Phase C — Report:**
|
|
654
|
+
|
|
655
|
+
6. **Report the confirmed settings** to the user. Show the readback values,
|
|
656
|
+
not just "protection is set." Wait for acknowledgement before moving on.
|
|
657
|
+
7. **Never change these limits** unless the user directly asks you to.
|
|
658
|
+
|
|
659
|
+
This is the single most important safety step. It caps the damage an incorrect
|
|
660
|
+
setting can do. Do not skip it, abbreviate it, or combine it with other
|
|
661
|
+
work.
|
|
662
|
+
|
|
663
|
+
### 5. Plan and ask
|
|
664
|
+
|
|
665
|
+
Before sending any commands that change instrument state:
|
|
666
|
+
|
|
667
|
+
- **Reads** (queries, measurements): proceed without asking.
|
|
668
|
+
- **Settings within the protection envelope**: summarise what you intend to
|
|
669
|
+
change (e.g. "I'll set CH1 to 3.3V / 0.5A, within your 12V / 2A limits").
|
|
670
|
+
Proceed unless the user objects.
|
|
671
|
+
- **Output-enable, source-on, any command that releases energy**: get explicit
|
|
672
|
+
confirmation. Every time.
|
|
673
|
+
- **Protection limit changes**: never. Only on direct user command.
|
|
674
|
+
|
|
675
|
+
### 6. Execute
|
|
676
|
+
|
|
677
|
+
For every SCPI command you send, follow this loop:
|
|
678
|
+
|
|
679
|
+
1. **Look up the command** in the manual. Confirm the exact syntax,
|
|
680
|
+
parameters, and the format of the query response. Do not send a command
|
|
681
|
+
you have not verified in the manual for this specific instrument.
|
|
682
|
+
2. **Send the command.**
|
|
683
|
+
3. **Read back the setting** with the corresponding query. Do not assume
|
|
684
|
+
the write succeeded — the instrument may silently reject out-of-range
|
|
685
|
+
values, the user may have changed something on the front panel, or a
|
|
686
|
+
mode dependency may prevent the setting from taking effect.
|
|
687
|
+
4. **Verify the readback** matches your intent. Parse the response using
|
|
688
|
+
the format from the manual (ON/OFF, 1/0, numeric — don't assume). If
|
|
689
|
+
the readback doesn't match, stop and diagnose before sending more
|
|
690
|
+
commands.
|
|
691
|
+
5. **Drain the error queue** after each logical block of commands.
|
|
692
|
+
|
|
693
|
+
This applies to every write, not just safety-critical ones. Instrument
|
|
694
|
+
state can change at any time, and silent failures are the norm in SCPI —
|
|
695
|
+
errors don't raise Python exceptions.
|
|
696
|
+
|
|
697
|
+
\`\`\`python
|
|
698
|
+
with rm.open_resource(resource_string) as inst:
|
|
699
|
+
inst.timeout = 10_000 # ms — adjust per operation
|
|
700
|
+
inst.read_termination = "\\n"
|
|
701
|
+
inst.write_termination = "\\n"
|
|
702
|
+
|
|
703
|
+
# Example: set voltage, then verify
|
|
704
|
+
inst.write(":VOLT 3.300")
|
|
705
|
+
actual = inst.query(":VOLT?")
|
|
706
|
+
print(f"Requested 3.300 V, instrument reports: {actual}")
|
|
707
|
+
|
|
708
|
+
# Drain error queue
|
|
709
|
+
while True:
|
|
710
|
+
err = inst.query("SYST:ERR?")
|
|
711
|
+
if err.startswith("0,") or err.startswith("+0,"):
|
|
712
|
+
break
|
|
713
|
+
print(f"Instrument error: {err}")
|
|
714
|
+
\`\`\`
|
|
715
|
+
|
|
716
|
+
Always use a context manager. Never leave a session open — a dropped process
|
|
717
|
+
locks the USB endpoint until reboot.
|
|
718
|
+
|
|
719
|
+
## Safety
|
|
720
|
+
|
|
721
|
+
### Power supplies
|
|
722
|
+
|
|
723
|
+
- **OVP/OCP are not channel settings.** OVP (\`:VOLTage:PROTection\`) is the
|
|
724
|
+
trip point that shuts down the output — it is distinct from the channel
|
|
725
|
+
voltage (\`:VOLTage\`). OCP (\`:CURRent:PROTection\`) is the trip point for
|
|
726
|
+
current — distinct from the channel current limit (\`:CURRent\`). Set the
|
|
727
|
+
protection trip points first via the step-4 ritual; configure the channel
|
|
728
|
+
operating values later.
|
|
729
|
+
- Set OVP and OCP **before** enabling output.
|
|
730
|
+
- Never enable output without confirming voltage, current limit, and that the
|
|
731
|
+
intended load is connected.
|
|
732
|
+
- Read back voltage and current after enabling output to verify.
|
|
733
|
+
- If the instrument reports a protection trip, stop and tell the user.
|
|
734
|
+
|
|
735
|
+
### Oscilloscopes
|
|
736
|
+
|
|
737
|
+
- Confirm probe attenuation matches the physical probe. A 10x probe with 1x
|
|
738
|
+
software setting gives readings that are 10x wrong but look coherent.
|
|
739
|
+
- Check coupling (AC/DC) and bandwidth limit — both affect measurements.
|
|
740
|
+
- Oscilloscopes are read-only with respect to the DUT. The damage path is
|
|
741
|
+
misinterpreting data, not the instrument itself.
|
|
742
|
+
- **Timebase offset sign convention:** a positive offset moves the trigger
|
|
743
|
+
point to the **left** of the screen (more post-trigger time visible). A
|
|
744
|
+
negative offset moves it to the **right** (more pre-trigger time). This
|
|
745
|
+
is universal across Rigol, Keysight, Siglent, and Tektronix. To capture
|
|
746
|
+
a startup transient after a power-on trigger, you need a **positive**
|
|
747
|
+
offset — not negative. Getting this backwards puts the event off-screen.
|
|
748
|
+
- **Verify the trigger is on-screen** after setting the timebase. Compute:
|
|
749
|
+
\`|offset| < 5 × scale\` (the visible window is ±5 divisions from center).
|
|
750
|
+
If the trigger point is outside this range, the event won't be captured.
|
|
751
|
+
Also, if the instrument's built-in measurements return a "no valid
|
|
752
|
+
measurement" sentinel (e.g. \`9.9E37\` on Rigol) after a capture, suspect
|
|
753
|
+
the trigger is off-screen before debugging anything else.
|
|
754
|
+
|
|
755
|
+
### Function generators
|
|
756
|
+
|
|
757
|
+
- Enable output **last**, after verifying amplitude, frequency, offset, and
|
|
758
|
+
load impedance setting.
|
|
759
|
+
- Treat output-enable as energy-releasing — always ask the user first.
|
|
760
|
+
- If the instrument has a high-Z / 50-ohm output impedance setting, confirm
|
|
761
|
+
it matches the actual load.
|
|
762
|
+
|
|
763
|
+
### Source-measure units
|
|
764
|
+
|
|
765
|
+
- Never source without compliance set first. An SMU with no compliance limit
|
|
766
|
+
will rail to full output and can destroy the DUT instantly.
|
|
767
|
+
- Most cheap benchtop gear is not an SMU. If the user has a Keithley
|
|
768
|
+
2400-series or similar, the compliance rules apply strictly.
|
|
769
|
+
|
|
770
|
+
### Multimeters and frequency counters
|
|
771
|
+
|
|
772
|
+
- Read-only with respect to the DUT. Safe to query freely.
|
|
773
|
+
|
|
774
|
+
### Readback type contract
|
|
775
|
+
|
|
776
|
+
When reading back a setting to verify it, first check the manual for the
|
|
777
|
+
response format. Instruments return enable states as \`ON\`/\`OFF\`, \`1\`/\`0\`,
|
|
778
|
+
or a numeric value — and it varies by vendor, by instrument, and sometimes
|
|
779
|
+
by subsystem. Before comparing a readback value, know what type the
|
|
780
|
+
instrument returns and parse accordingly. A string comparison of \`"1"\` against
|
|
781
|
+
\`"ON"\` is a silent verification failure.
|
|
782
|
+
|
|
783
|
+
### State machine preflight
|
|
784
|
+
|
|
785
|
+
For any multi-instrument sequence where one instrument triggers or stimulates
|
|
786
|
+
and another captures:
|
|
787
|
+
|
|
788
|
+
1. Confirm the stimulus source is in its **initial state** (output off,
|
|
789
|
+
trigger idle) before arming the capture instrument.
|
|
790
|
+
2. Arm the capture (e.g. scope single-trigger mode).
|
|
791
|
+
3. Only then enable the stimulus.
|
|
792
|
+
|
|
793
|
+
The required order is: DUT off → capture armed → stimulus enabled. Reversing
|
|
794
|
+
this risks missing the event or capturing a partial transient.
|
|
795
|
+
|
|
796
|
+
### General rule
|
|
797
|
+
|
|
798
|
+
Every write gets a readback. This is not optional and not limited to
|
|
799
|
+
safety-critical settings — see the execute loop in step 6. The instrument's
|
|
800
|
+
actual state is the only thing that matters; your command history is not
|
|
801
|
+
reliable evidence of what the instrument is doing right now.
|
|
802
|
+
|
|
803
|
+
### When results don't match expectations
|
|
804
|
+
|
|
805
|
+
**Do not invent a physical explanation for unexpected results.** If a
|
|
806
|
+
measurement or capture doesn't match what you expected, assume your
|
|
807
|
+
instrument configuration is wrong until proven otherwise. The base rate
|
|
808
|
+
for "I set it up wrong" is far higher than "the circuit is doing
|
|
809
|
+
something unexpected" — especially on the first capture.
|
|
810
|
+
|
|
811
|
+
Diagnose in this order:
|
|
812
|
+
|
|
813
|
+
1. **Check the instrument configuration.** Read back every relevant setting
|
|
814
|
+
from the instrument (timebase, trigger level, channel scale, offset,
|
|
815
|
+
coupling, probe attenuation, output voltage/current). Compare each
|
|
816
|
+
readback to your intent. Do not review your command history — re-read
|
|
817
|
+
the settings from the instrument, because the actual state may differ
|
|
818
|
+
from what you sent.
|
|
819
|
+
2. **Check the signal path.** Is the probe connected to the right channel?
|
|
820
|
+
Is the channel enabled? Is the coupling correct (AC vs DC)? Is the
|
|
821
|
+
impedance setting correct (50Ω vs 1MΩ)? Is the bandwidth limit on?
|
|
822
|
+
3. **Check your data interpretation.** Are the units correct? Is the
|
|
823
|
+
probe attenuation factor applied? Is the vertical offset accounted for?
|
|
824
|
+
Are you looking at the right channel's data?
|
|
825
|
+
4. **Only after 1–3 are exhausted:** consider whether the circuit is
|
|
826
|
+
doing something unexpected. Report your verified instrument settings
|
|
827
|
+
to the user and ask for their interpretation.
|
|
828
|
+
|
|
829
|
+
Never skip to step 4. A flat line is more likely a trigger offset error
|
|
830
|
+
than a dead circuit. A noisy signal is more likely a coupling or bandwidth
|
|
831
|
+
issue than a bad component. A reading of zero is more likely a disconnected
|
|
832
|
+
probe than a shorted output.
|
|
833
|
+
|
|
834
|
+
## Bus discipline
|
|
835
|
+
|
|
836
|
+
### Session lifecycle
|
|
837
|
+
|
|
838
|
+
Always use a context manager:
|
|
839
|
+
|
|
840
|
+
\`\`\`python
|
|
841
|
+
with rm.open_resource(resource_string) as inst:
|
|
842
|
+
...
|
|
843
|
+
\`\`\`
|
|
844
|
+
|
|
845
|
+
Never use bare \`rm.open_resource()\` without a \`with\` block. A dropped Python
|
|
846
|
+
process that doesn't close the session will lock the instrument's USB endpoint.
|
|
847
|
+
The only recovery is rebooting the instrument or the host.
|
|
848
|
+
|
|
849
|
+
### Timeouts
|
|
850
|
+
|
|
851
|
+
The default pyvisa timeout is 2000 ms. This is wrong for:
|
|
852
|
+
- Deep memory captures (10k+ points)
|
|
853
|
+
- Frequency sweeps
|
|
854
|
+
- Self-calibration (\`*CAL?\`)
|
|
855
|
+
- Any operation that takes more than a second
|
|
856
|
+
|
|
857
|
+
Set \`inst.timeout\` before long operations. If you're using \`*OPC?\` to wait
|
|
858
|
+
for completion, the VISA timeout must be **longer** than the operation time —
|
|
859
|
+
otherwise the timeout fires while the instrument is still working, and the
|
|
860
|
+
USBTMC abort sequence can lock the bus.
|
|
861
|
+
|
|
862
|
+
### Termination characters
|
|
863
|
+
|
|
864
|
+
Termination characters vary by transport. Getting this wrong is the most
|
|
865
|
+
common silent failure:
|
|
866
|
+
- **TCP/IP raw socket**: usually \`\\n\`
|
|
867
|
+
- **USB-TMC**: usually \`\\n\`, but some instruments use none (message-based)
|
|
868
|
+
- **Serial (RS-232)**: usually \`\\r\` or \`\\r\\n\`
|
|
869
|
+
- **GPIB**: no termination character (uses EOI line)
|
|
870
|
+
|
|
871
|
+
Check the command table or manual for the instrument's expected termination.
|
|
872
|
+
|
|
873
|
+
### Write/query pairing
|
|
874
|
+
|
|
875
|
+
Every \`write\` that expects a response must use \`query\` instead. Every \`query\`
|
|
876
|
+
must be followed by reading the response before sending another command.
|
|
877
|
+
Desyncing the buffer causes the next read to return the *previous* query's
|
|
878
|
+
answer — the classic "why is my voltage reading an IDN string" bug.
|
|
879
|
+
|
|
880
|
+
### Synchronization
|
|
881
|
+
|
|
882
|
+
Three IEEE 488.2 commands handle synchronization. They are **not**
|
|
883
|
+
interchangeable — each has different blocking semantics and failure modes:
|
|
884
|
+
|
|
885
|
+
- **\`*OPC?\`** (Operation Complete Query) — blocks the VISA read until all
|
|
886
|
+
pending operations finish, then returns \`1\`. This is what you want for
|
|
887
|
+
most cases: send a command, then \`inst.query("*OPC?")\` to wait. The
|
|
888
|
+
VISA timeout must be longer than the operation time, or the timeout fires
|
|
889
|
+
while the instrument is still busy and the USBTMC abort can lock the bus.
|
|
890
|
+
**You must read the response** — if you don't, the instrument generates a
|
|
891
|
+
"Query Interrupted" error on the next query.
|
|
892
|
+
- **\`*WAI\`** (Wait-to-Continue) — blocks the instrument's command parser
|
|
893
|
+
until pending operations finish. Does not block Python or the bus
|
|
894
|
+
controller — your script continues immediately after sending \`*WAI\`. This
|
|
895
|
+
means you get no confirmation the operation finished. Useful only when
|
|
896
|
+
you want the instrument to sequence its own commands internally but don't
|
|
897
|
+
need to know when it's done. **Not recommended** for agent use because
|
|
898
|
+
you need confirmation before proceeding.
|
|
899
|
+
- **\`*OPC\`** (Operation Complete) — sets bit 0 in the Event Status Register
|
|
900
|
+
(ESR) when all pending operations finish. Does not block anything. Used
|
|
901
|
+
with status register polling (\`*ESR?\`) or service request (SRQ) callbacks
|
|
902
|
+
for non-blocking async patterns. More complex to implement and rarely
|
|
903
|
+
needed in script-driven automation.
|
|
904
|
+
|
|
905
|
+
**Use \`*OPC?\` as the default.** It's the simplest mechanism that gives you
|
|
906
|
+
a confirmation gate. Do not use \`time.sleep\` — it's either too short (race
|
|
907
|
+
condition) or too long (wasted time), and it never confirms the operation
|
|
908
|
+
actually finished.
|
|
909
|
+
|
|
910
|
+
\`\`\`python
|
|
911
|
+
inst.write(":SINGle") # trigger a single acquisition
|
|
912
|
+
inst.timeout = 30_000 # bump timeout for the wait
|
|
913
|
+
inst.query("*OPC?") # blocks until acquisition completes
|
|
914
|
+
inst.timeout = 10_000 # restore normal timeout
|
|
915
|
+
\`\`\`
|
|
916
|
+
|
|
917
|
+
**Endless waits:** if the trigger condition is never met (e.g. scope in
|
|
918
|
+
single-trigger mode but no signal arrives), \`*OPC?\` will block until the
|
|
919
|
+
VISA timeout fires. For trigger-dependent operations, set a reasonable
|
|
920
|
+
timeout and handle the timeout error explicitly — don't let it hang.
|
|
921
|
+
|
|
922
|
+
### Sequencing
|
|
923
|
+
|
|
924
|
+
Never fire-and-forget a command and move on to the next step. Every
|
|
925
|
+
operation that changes instrument state must be confirmed complete before
|
|
926
|
+
you proceed. This is especially important with multiple instruments,
|
|
927
|
+
where race conditions are easy to create.
|
|
928
|
+
|
|
929
|
+
**Single-instrument sequencing:**
|
|
930
|
+
|
|
931
|
+
For every command that takes time (acquisition, self-cal, output settling):
|
|
932
|
+
|
|
933
|
+
1. Send the command.
|
|
934
|
+
2. Wait for completion with \`*OPC?\`.
|
|
935
|
+
3. Read back the result or state to confirm it matches your intent.
|
|
936
|
+
4. Only then send the next command.
|
|
937
|
+
|
|
938
|
+
Do not batch multiple state-changing commands and wait once at the end —
|
|
939
|
+
if the second command depends on the first having finished, you have a
|
|
940
|
+
race condition.
|
|
941
|
+
|
|
942
|
+
**Multi-instrument sequencing:**
|
|
943
|
+
|
|
944
|
+
When coordinating across instruments (e.g. PSU + scope, function gen +
|
|
945
|
+
DMM), each instrument has its own session and its own command buffer.
|
|
946
|
+
Commands sent to different instruments execute in parallel unless you
|
|
947
|
+
explicitly serialize them.
|
|
948
|
+
|
|
949
|
+
For every step in a multi-instrument sequence:
|
|
950
|
+
|
|
951
|
+
1. Send the command to instrument A.
|
|
952
|
+
2. Confirm completion on instrument A (\`*OPC?\` + readback).
|
|
953
|
+
3. Only then send the dependent command to instrument B.
|
|
954
|
+
4. Confirm completion on instrument B (\`*OPC?\` + readback).
|
|
955
|
+
|
|
956
|
+
Never assume that "I sent the PSU output-on command, so the voltage is
|
|
957
|
+
stable by the time I trigger the scope." Confirm PSU output is stable
|
|
958
|
+
(readback voltage, check it's within tolerance) before arming the scope.
|
|
959
|
+
|
|
960
|
+
### Error-queue drain
|
|
961
|
+
|
|
962
|
+
After every logical block of commands, drain the error queue:
|
|
963
|
+
|
|
964
|
+
\`\`\`python
|
|
965
|
+
while True:
|
|
966
|
+
err = inst.query("SYST:ERR?")
|
|
967
|
+
if err.startswith("0,") or err.startswith("+0,"):
|
|
968
|
+
break
|
|
969
|
+
print(f"Instrument error: {err}")
|
|
970
|
+
\`\`\`
|
|
971
|
+
|
|
972
|
+
Without this, a malformed SCPI command fails silently (errors don't raise
|
|
973
|
+
Python exceptions), and the next command's response looks correct. This is the
|
|
974
|
+
single biggest reliability win.
|
|
975
|
+
|
|
976
|
+
### Binary block transfers
|
|
977
|
+
|
|
978
|
+
Waveform data is usually transferred as IEEE 488.2 binary blocks. Use
|
|
979
|
+
\`query_binary_values\` with the correct dtype and endianness — these are
|
|
980
|
+
vendor-specific. A wrong dtype produces plausible-looking but garbage data.
|
|
981
|
+
|
|
982
|
+
Check the command table or manual for the instrument's binary format (int8,
|
|
983
|
+
int16, uint16, big-endian, little-endian) and any scaling formula needed to
|
|
984
|
+
convert raw ADC values to physical units.
|
|
985
|
+
|
|
986
|
+
**Post-transfer session state:** On some transports (especially USB-TMC),
|
|
987
|
+
querying the instrument immediately after \`query_binary_values\` can timeout
|
|
988
|
+
or return corrupt data — the session needs a moment to recover from the
|
|
989
|
+
bulk transfer. If you see timeouts after a binary read, try a short
|
|
990
|
+
\`time.sleep(0.1)\` before the next query, or close and reopen the resource
|
|
991
|
+
for the follow-up commands.
|
|
992
|
+
|
|
993
|
+
## Data handling
|
|
994
|
+
|
|
995
|
+
**Do not read raw waveform data into your context.** Large numeric arrays
|
|
996
|
+
(thousands of samples) will consume your context window and you will
|
|
997
|
+
hallucinate when trying to interpret them. Similarly, do not try to
|
|
998
|
+
interpret oscilloscope screenshots or instrument display images — you will
|
|
999
|
+
misread values.
|
|
1000
|
+
|
|
1001
|
+
Instead:
|
|
1002
|
+
|
|
1003
|
+
- **For quick measurements:** use the instrument's built-in measurement
|
|
1004
|
+
commands (\`MEAS:VPP?\`, \`MEAS:FREQ?\`, \`MEAS:VRMS?\`, etc.). These return
|
|
1005
|
+
single numbers computed by the instrument's hardware.
|
|
1006
|
+
- **For waveform analysis:** capture the waveform data to a file (CSV or
|
|
1007
|
+
binary), then use numpy/scipy to compute the statistics you need:
|
|
1008
|
+
|
|
1009
|
+
\`\`\`python
|
|
1010
|
+
import numpy as np
|
|
1011
|
+
|
|
1012
|
+
data = np.loadtxt("waveform.csv", delimiter=",")
|
|
1013
|
+
time, voltage = data[:, 0], data[:, 1]
|
|
1014
|
+
|
|
1015
|
+
vpp = np.ptp(voltage)
|
|
1016
|
+
vrms = np.sqrt(np.mean(voltage**2))
|
|
1017
|
+
mean = np.mean(voltage)
|
|
1018
|
+
\`\`\`
|
|
1019
|
+
|
|
1020
|
+
- **For the user:** saving waveforms and screenshots is encouraged. The UI
|
|
1021
|
+
renders them well. Save plots via matplotlib, save raw data to CSV for
|
|
1022
|
+
export.
|
|
1023
|
+
|
|
1024
|
+
## Common failure patterns
|
|
1025
|
+
|
|
1026
|
+
| Symptom | Likely cause | Fix |
|
|
1027
|
+
|---------|-------------|-----|
|
|
1028
|
+
| \`list_resources()\` returns empty | Default filter excludes USB RAW / TCPIP SOCKET | Pass \`"?*"\` to \`list_resources\`. Check udev / Zadig / USB visibility. |
|
|
1029
|
+
| "Resource busy" or "VI_ERROR_RSRC_BUSY" | Previous Python process still holds the endpoint | Restart the instrument, or wait for the OS to release the endpoint. Check for zombie Python processes. |
|
|
1030
|
+
| Waveform data looks like garbage | Wrong dtype or endianness in \`query_binary_values\` | Check the manual for the instrument's binary format. Common: int8, int16 (little-endian for Rigol, big-endian for some Keysight). |
|
|
1031
|
+
| Read returns unexpected string (e.g. IDN when expecting voltage) | Buffer desync — a previous query was not read | Every query must be followed by a read. Check for \`write\` where \`query\` was needed. |
|
|
1032
|
+
| Timeout on a long operation | \`inst.timeout\` shorter than the operation time | Bump timeout before the operation. Use \`*OPC?\` instead of \`time.sleep\`. |
|
|
1033
|
+
| Command accepted but has no effect | Wrong vendor SCPI dialect | Check the command table or manual. Common: Rigol requires absolute paths; Siglent uses different command names. |
|
|
1034
|
+
| "No error" from \`SYST:ERR?\` but wrong behaviour | Command was syntactically valid but semantically wrong for the current mode | Check command dependencies — some commands only work in specific instrument modes (e.g. scope acquisition settings depend on the active acquisition mode). |
|
|
1035
|
+
| Timeout or corrupt data immediately after \`query_binary_values\` | Post-binary-transfer session state on USB-TMC | Add a short \`time.sleep(0.1)\` before the next query, or close and reopen the resource for follow-up commands. |
|
|
1036
|
+
| Readback says \`1\` but you expected \`ON\` (or vice versa) | Vendor-specific response format for enable states | Check the manual for the query's response format. Parse as the correct type before comparing. |
|
|
1037
|
+
|
|
1038
|
+
## Three-strikes rule
|
|
1039
|
+
|
|
1040
|
+
After three failed attempts at the same instrument operation, stop and report
|
|
1041
|
+
to the user:
|
|
1042
|
+
|
|
1043
|
+
1. What you tried (exact SCPI commands sent).
|
|
1044
|
+
2. What happened (exact responses and errors received).
|
|
1045
|
+
3. What the command table or manual says the correct syntax should be.
|
|
1046
|
+
4. What you think is wrong.
|
|
1047
|
+
|
|
1048
|
+
Do not change instrument state or retry further without user approval.
|
|
1049
|
+
`),rf(`---
|
|
1050
|
+
name: simulation
|
|
1051
|
+
description: >
|
|
1052
|
+
Set up and run SPICE circuit simulations using spicelib. Use when the user
|
|
1053
|
+
asks to simulate a circuit, verify operating points, run AC/DC/transient
|
|
1054
|
+
analysis, or check a design with simulation.
|
|
1055
|
+
---
|
|
1056
|
+
|
|
1057
|
+
# SPICE Simulation
|
|
1058
|
+
|
|
1059
|
+
Drive SPICE simulations using the \`spicelib\` Python library. spicelib handles
|
|
1060
|
+
netlist editing, simulator execution, and result parsing — write Python scripts
|
|
1061
|
+
rather than invoking simulators directly.
|
|
1062
|
+
|
|
1063
|
+
## Philosophy
|
|
1064
|
+
|
|
1065
|
+
**Understand the design before picking a simulator.** The circuit determines
|
|
1066
|
+
what models you need, which determines what simulators can run the job. Don't
|
|
1067
|
+
start with "let me find ngspice" — start with "what components need models, and
|
|
1068
|
+
where do those models come from?"
|
|
1069
|
+
|
|
1070
|
+
**Strongly prefer official manufacturer models.** Official SPICE models
|
|
1071
|
+
accurately capture device behavior across operating conditions. If a
|
|
1072
|
+
manufacturer provides a model for LTspice but not ngspice, that's a good
|
|
1073
|
+
reason to prefer LTspice — or to ask the user to install it. Generic or
|
|
1074
|
+
training-knowledge models are a last resort, and only with the user's explicit
|
|
1075
|
+
agreement.
|
|
1076
|
+
|
|
1077
|
+
**Model passives accurately.** Real capacitors have ESR and ESL. Real
|
|
1078
|
+
inductors have DCR and self-resonance. These parasitics matter for power
|
|
1079
|
+
supply stability, filter response, and high-frequency behavior. Look up
|
|
1080
|
+
datasheet values or use manufacturer simulation models (Murata SimSurfing,
|
|
1081
|
+
TDK SEAT, Vishay, etc.) when available. Don't default to ideal R/C/L when
|
|
1082
|
+
better data exists.
|
|
1083
|
+
|
|
1084
|
+
**Never substitute or approximate without asking.** If a required model isn't
|
|
1085
|
+
available, or the right simulator isn't installed, stop and tell the user.
|
|
1086
|
+
Don't silently swap in a generic model, use ideal components where real ones
|
|
1087
|
+
matter, or pick a different simulator because it's convenient. The user needs
|
|
1088
|
+
to make that call.
|
|
1089
|
+
|
|
1090
|
+
**Simulate incrementally.** DC operating point first, then AC or transient.
|
|
1091
|
+
Each stage validates the previous one. If the bias point is wrong, AC gain
|
|
1092
|
+
numbers are meaningless.
|
|
1093
|
+
|
|
1094
|
+
**Report from data, not from intuition.** Use spicelib's \`RawRead\` to extract
|
|
1095
|
+
measurements programmatically. Don't eyeball text output. Present structured
|
|
1096
|
+
results with values, units, and pass/fail against requirements.
|
|
1097
|
+
|
|
1098
|
+
## Workflow
|
|
1099
|
+
|
|
1100
|
+
### 1. Understand the design
|
|
1101
|
+
|
|
1102
|
+
Before writing any simulation code, understand the circuit:
|
|
1103
|
+
|
|
1104
|
+
- Use \`phosphor-eda\` to extract the schematic topology, component values,
|
|
1105
|
+
and part numbers.
|
|
1106
|
+
- Identify **all** components that need models — not just active devices.
|
|
1107
|
+
This includes:
|
|
1108
|
+
- **Active devices** (transistors, ICs, op-amps, regulators) — always need
|
|
1109
|
+
manufacturer models.
|
|
1110
|
+
- **Passives with part numbers** (specific capacitors, inductors, ferrite
|
|
1111
|
+
beads) — look for manufacturer simulation models.
|
|
1112
|
+
- **Generic passives** (resistors without specific part numbers) — use
|
|
1113
|
+
ideal models, but add parasitic estimates where they matter for the
|
|
1114
|
+
analysis.
|
|
1115
|
+
- Note the manufacturer part numbers for every component — you'll need these
|
|
1116
|
+
to find models.
|
|
1117
|
+
|
|
1118
|
+
### 2. Research models
|
|
1119
|
+
|
|
1120
|
+
Search for official SPICE models for every component, starting with active
|
|
1121
|
+
devices and then passives:
|
|
1122
|
+
|
|
1123
|
+
**Active devices and ICs:**
|
|
1124
|
+
|
|
1125
|
+
- Use \`datasheet_search\` with the manufacturer part number to find the
|
|
1126
|
+
datasheet. Datasheets often link to SPICE models or application support
|
|
1127
|
+
pages.
|
|
1128
|
+
- Use \`web_search\` for "<part number> SPICE model" or "<manufacturer>
|
|
1129
|
+
<part number> simulation model" to find official download pages.
|
|
1130
|
+
- Note the **simulator format** of each model. Manufacturer models are
|
|
1131
|
+
often distributed as:
|
|
1132
|
+
- \`.lib\` / \`.sub\` / \`.mod\` files (generic SPICE, usually works with
|
|
1133
|
+
ngspice)
|
|
1134
|
+
- LTspice \`.asc\` schematics with embedded models (LTspice-specific)
|
|
1135
|
+
- PSpice libraries (often compatible with ngspice via compatibility mode)
|
|
1136
|
+
- If a manufacturer provides models in one simulator format only, that
|
|
1137
|
+
strongly favors using that simulator.
|
|
1138
|
+
- For ICs with no SPICE model, check whether the manufacturer provides a
|
|
1139
|
+
behavioral model, a macro model, or an IBIS model. These are not
|
|
1140
|
+
interchangeable — an IBIS model is for signal integrity, not circuit
|
|
1141
|
+
simulation.
|
|
1142
|
+
|
|
1143
|
+
**Passive components:**
|
|
1144
|
+
|
|
1145
|
+
- **Capacitors:** Check the manufacturer's simulation tool for the specific
|
|
1146
|
+
part number:
|
|
1147
|
+
- Murata: SimSurfing (murata.com) provides S-parameter and SPICE models
|
|
1148
|
+
for MLCCs, including ESR/ESL vs frequency.
|
|
1149
|
+
- TDK: SEAT (product.tdk.com) provides similar models.
|
|
1150
|
+
- Other manufacturers may offer downloadable \`.lib\` files.
|
|
1151
|
+
- **Inductors:** Check for manufacturer models that include DCR,
|
|
1152
|
+
self-resonant frequency, and saturation characteristics.
|
|
1153
|
+
- **Ferrite beads:** Impedance vs frequency models are essential — a ferrite
|
|
1154
|
+
bead modeled as a simple inductor is wrong. Use manufacturer models.
|
|
1155
|
+
- **Resistors:** Ideal models are usually fine. For precision circuits, add
|
|
1156
|
+
parasitic capacitance (typically 0.1-0.5 pF) and inductance for
|
|
1157
|
+
high-frequency work.
|
|
1158
|
+
|
|
1159
|
+
When manufacturer models aren't available for passives, build a subcircuit
|
|
1160
|
+
using datasheet parameters:
|
|
1161
|
+
|
|
1162
|
+
\`\`\`spice
|
|
1163
|
+
* C1: 10uF MLCC, X5R, 10V — ESR from datasheet
|
|
1164
|
+
.subckt C1_model p n
|
|
1165
|
+
C1 p mid 10u
|
|
1166
|
+
R_esr mid n 5m
|
|
1167
|
+
.ends
|
|
1168
|
+
\`\`\`
|
|
1169
|
+
|
|
1170
|
+
Look up ESR, ESL, DCR, and Q values from the component datasheet. Use
|
|
1171
|
+
\`datasheet_search\` or \`web_search\` to find them. If a datasheet gives an
|
|
1172
|
+
impedance vs frequency curve but not explicit ESR, extract the ESR from the
|
|
1173
|
+
minimum impedance point.
|
|
1174
|
+
|
|
1175
|
+
**Model inventory:** After researching, compile a list of every component,
|
|
1176
|
+
what model you're using, and where it came from. You'll present this to the
|
|
1177
|
+
user before simulating (see step 6).
|
|
1178
|
+
|
|
1179
|
+
**If official models aren't available for key active components, stop and
|
|
1180
|
+
tell the user.** List what you found and what's missing. The user may have
|
|
1181
|
+
models locally, may accept ideal substitutes for specific components, or may
|
|
1182
|
+
want to change the simulation scope.
|
|
1183
|
+
|
|
1184
|
+
### 3. Choose a simulator
|
|
1185
|
+
|
|
1186
|
+
Pick the simulator based on which one best supports the models you found:
|
|
1187
|
+
|
|
1188
|
+
- If most official models target **LTspice format**, prefer LTspice.
|
|
1189
|
+
- If models are in **generic SPICE format** (\`.lib\`, \`.sub\`), prefer ngspice
|
|
1190
|
+
(open source, cross-platform).
|
|
1191
|
+
- If you need **parallel simulation** or have a **large circuit**, consider
|
|
1192
|
+
Xyce.
|
|
1193
|
+
|
|
1194
|
+
Available simulators and install instructions:
|
|
1195
|
+
|
|
1196
|
+
- **ngspice** — Open source, cross-platform.
|
|
1197
|
+
Install: \`brew install ngspice\` (macOS), \`apt install ngspice\` (Linux),
|
|
1198
|
+
or download from ngspice.sourceforge.io (Windows).
|
|
1199
|
+
- **LTspice** — Free, Windows-native (macOS via wine for CLI use). Best
|
|
1200
|
+
when using manufacturer models distributed in LTspice format.
|
|
1201
|
+
- **Xyce** — Open source (Sandia), strong convergence, parallel simulation.
|
|
1202
|
+
Install from xyce.sandia.gov.
|
|
1203
|
+
- **QSPICE** — Free, Windows-only. Newer, fast, from the creator of LTspice.
|
|
1204
|
+
|
|
1205
|
+
If no supported simulator is installed, tell the user which one to install
|
|
1206
|
+
and why (based on the model requirements). Provide the install command or
|
|
1207
|
+
download URL. Don't proceed until it's available.
|
|
1208
|
+
|
|
1209
|
+
### 4. Verify the simulator binary
|
|
1210
|
+
|
|
1211
|
+
\`spicelib\` and \`schemdraw\` are pre-installed in the project venv. The SPICE
|
|
1212
|
+
simulator itself (ngspice, LTspice, Xyce, or QSPICE) is a separate binary that
|
|
1213
|
+
must be installed on the system — check it's reachable before proceeding:
|
|
1214
|
+
|
|
1215
|
+
\`\`\`python
|
|
1216
|
+
from spicelib.simulators.ngspice_simulator import NGspiceSimulator
|
|
1217
|
+
# Raises SpiceSimulatorError if ngspice is not found
|
|
1218
|
+
print(NGspiceSimulator.spice_exe)
|
|
1219
|
+
\`\`\`
|
|
1220
|
+
|
|
1221
|
+
For a custom install path:
|
|
1222
|
+
|
|
1223
|
+
\`\`\`python
|
|
1224
|
+
MyNGspice = NGspiceSimulator.create_from("/usr/local/bin/ngspice")
|
|
1225
|
+
\`\`\`
|
|
1226
|
+
|
|
1227
|
+
### 5. Build the netlist
|
|
1228
|
+
|
|
1229
|
+
Use \`SpiceEditor\` to construct or modify netlists programmatically:
|
|
1230
|
+
|
|
1231
|
+
\`\`\`python
|
|
1232
|
+
from spicelib import SpiceEditor
|
|
1233
|
+
|
|
1234
|
+
net = SpiceEditor("circuit.net")
|
|
1235
|
+
|
|
1236
|
+
# Set component values
|
|
1237
|
+
net.set_component_value("R1", "10k")
|
|
1238
|
+
net.set_component_value("C1", "100n")
|
|
1239
|
+
|
|
1240
|
+
# Set active device models
|
|
1241
|
+
net.set_element_model("Q1", "2N3904")
|
|
1242
|
+
|
|
1243
|
+
# Add analysis directives
|
|
1244
|
+
net.add_instructions(".op")
|
|
1245
|
+
|
|
1246
|
+
# Include model libraries
|
|
1247
|
+
net.add_instructions('.lib "models/2N3904.lib"')
|
|
1248
|
+
|
|
1249
|
+
net.save_netlist("sim_circuit.net")
|
|
1250
|
+
\`\`\`
|
|
1251
|
+
|
|
1252
|
+
If starting from scratch (no existing netlist), write the \`.net\` file directly
|
|
1253
|
+
using the \`write\` tool, then load it with \`SpiceEditor\` for any modifications.
|
|
1254
|
+
|
|
1255
|
+
**Netlist conventions:**
|
|
1256
|
+
- Node \`0\` is always ground — every circuit needs it.
|
|
1257
|
+
- Use descriptive node names: \`Vout\`, \`Vfb\`, \`Vcc\`, not bare numbers.
|
|
1258
|
+
- SPICE multipliers: \`k\` (1e3), \`Meg\` (1e6), \`m\` (1e-3), \`u\` (1e-6),
|
|
1259
|
+
\`n\` (1e-9), \`p\` (1e-12). Note: \`M\` means milli in SPICE, not mega.
|
|
1260
|
+
- Include \`.end\` at the end of every netlist.
|
|
1261
|
+
|
|
1262
|
+
### 6. Summarize the simulation model
|
|
1263
|
+
|
|
1264
|
+
Before running the simulation, present the user with a complete summary of
|
|
1265
|
+
what's being simulated. This serves as a review checkpoint — the user can
|
|
1266
|
+
catch model issues before wasting simulation time.
|
|
1267
|
+
|
|
1268
|
+
**Component model table:**
|
|
1269
|
+
|
|
1270
|
+
Present a markdown table listing every component in the simulation:
|
|
1271
|
+
|
|
1272
|
+
| Ref | Part | Model Type | Model Source | Key Parameters |
|
|
1273
|
+
|-----|------|-----------|--------------|----------------|
|
|
1274
|
+
| U1 | LM358 | Official SPICE | TI website, lm358.lib | — |
|
|
1275
|
+
| Q1 | 2N3904 | Official SPICE | ON Semi, 2N3904.lib | — |
|
|
1276
|
+
| C1 | GRM188R61A106ME69 | Manufacturer model | Murata SimSurfing | 10uF, ESR=5mΩ @ 1MHz |
|
|
1277
|
+
| C2 | Generic 100nF | Ideal + ESR | Estimated from X7R typ. | 100nF, ESR=50mΩ |
|
|
1278
|
+
| R1 | — | Ideal | — | 10kΩ |
|
|
1279
|
+
| L1 | SRN4018-2R2M | Manufacturer model | Bourns .lib | 2.2uH, DCR=68mΩ |
|
|
1280
|
+
|
|
1281
|
+
**Model source categories:**
|
|
1282
|
+
- **Official SPICE** — manufacturer-provided \`.lib\` or \`.sub\` file.
|
|
1283
|
+
- **Manufacturer model** — from a manufacturer simulation tool (SimSurfing,
|
|
1284
|
+
SEAT, etc.)
|
|
1285
|
+
- **Ideal + parasitics** — ideal component with parasitic values from the
|
|
1286
|
+
datasheet. State which datasheet values were used.
|
|
1287
|
+
- **Ideal** — no parasitics. Acceptable for standard resistors and
|
|
1288
|
+
components where parasitics don't affect the analysis.
|
|
1289
|
+
- **Estimated** — parasitic values estimated from typical values for the
|
|
1290
|
+
component class. Flag these clearly.
|
|
1291
|
+
|
|
1292
|
+
**Schematic rendering:**
|
|
1293
|
+
|
|
1294
|
+
Render a schematic of the simulation circuit using \`schemdraw\` so the user
|
|
1295
|
+
can visually verify the topology matches their intent. Save the image to the
|
|
1296
|
+
scratch directory and display it inline.
|
|
1297
|
+
|
|
1298
|
+
\`\`\`python
|
|
1299
|
+
import schemdraw
|
|
1300
|
+
import schemdraw.elements as elm
|
|
1301
|
+
|
|
1302
|
+
with schemdraw.Drawing() as d:
|
|
1303
|
+
d.config(fontsize=12)
|
|
1304
|
+
|
|
1305
|
+
# Example: simple voltage divider
|
|
1306
|
+
d += elm.SourceV().label("V1\\n5V").up()
|
|
1307
|
+
d += elm.Resistor().label("R1\\n10kΩ").right()
|
|
1308
|
+
d += elm.Dot()
|
|
1309
|
+
d += elm.Resistor().label("R2\\n10kΩ").down()
|
|
1310
|
+
d += elm.Ground()
|
|
1311
|
+
|
|
1312
|
+
d.save("sim_schematic.svg")
|
|
1313
|
+
\`\`\`
|
|
1314
|
+
|
|
1315
|
+
The schematic should reflect the actual simulation netlist — same node names,
|
|
1316
|
+
same component values, same topology. It does not need to replicate the full
|
|
1317
|
+
design schematic; it only needs to show the subcircuit being simulated,
|
|
1318
|
+
including stimulus sources and loads.
|
|
1319
|
+
|
|
1320
|
+
Display the schematic inline: \`\`
|
|
1321
|
+
|
|
1322
|
+
### 7. Run the simulation
|
|
1323
|
+
|
|
1324
|
+
\`\`\`python
|
|
1325
|
+
from spicelib import SimRunner, SpiceEditor, RawRead
|
|
1326
|
+
from spicelib.simulators.ngspice_simulator import NGspiceSimulator
|
|
1327
|
+
|
|
1328
|
+
runner = SimRunner(
|
|
1329
|
+
simulator=NGspiceSimulator,
|
|
1330
|
+
output_folder="./sim_output",
|
|
1331
|
+
)
|
|
1332
|
+
|
|
1333
|
+
net = SpiceEditor("sim_circuit.net")
|
|
1334
|
+
runner.run(net)
|
|
1335
|
+
runner.wait_completion()
|
|
1336
|
+
|
|
1337
|
+
for raw_file, log_file in runner:
|
|
1338
|
+
raw = RawRead(raw_file)
|
|
1339
|
+
# Process results...
|
|
1340
|
+
\`\`\`
|
|
1341
|
+
|
|
1342
|
+
**Timeouts:** SimRunner supports a \`timeout\` parameter (seconds) per
|
|
1343
|
+
simulation. Set it to avoid hanging on non-converging circuits:
|
|
1344
|
+
|
|
1345
|
+
\`\`\`python
|
|
1346
|
+
runner = SimRunner(simulator=NGspiceSimulator, output_folder="./sim_output", timeout=120)
|
|
1347
|
+
\`\`\`
|
|
1348
|
+
|
|
1349
|
+
### 8. Parse and report results
|
|
1350
|
+
|
|
1351
|
+
Use \`RawRead\` to extract data — don't parse text output:
|
|
1352
|
+
|
|
1353
|
+
\`\`\`python
|
|
1354
|
+
from spicelib import RawRead
|
|
1355
|
+
|
|
1356
|
+
raw = RawRead("sim_output/circuit.raw")
|
|
1357
|
+
|
|
1358
|
+
# Operating point
|
|
1359
|
+
vout = raw.get_wave("V(Vout)")
|
|
1360
|
+
|
|
1361
|
+
# Transient waveform
|
|
1362
|
+
time = raw.get_axis()
|
|
1363
|
+
vout_waveform = raw.get_wave("V(Vout)")
|
|
1364
|
+
|
|
1365
|
+
# Export to CSV for the user
|
|
1366
|
+
raw.to_csv("sim_output/results.csv")
|
|
1367
|
+
\`\`\`
|
|
1368
|
+
|
|
1369
|
+
For \`.MEAS\` results from the log file:
|
|
1370
|
+
|
|
1371
|
+
\`\`\`python
|
|
1372
|
+
from spicelib.log.logfile_data import LogfileData
|
|
1373
|
+
|
|
1374
|
+
log = LogfileData("sim_output/circuit.log")
|
|
1375
|
+
bw = log.get_measure_value("bandwidth")
|
|
1376
|
+
\`\`\`
|
|
1377
|
+
|
|
1378
|
+
## Analysis types
|
|
1379
|
+
|
|
1380
|
+
Run analyses incrementally. Each one validates the previous.
|
|
1381
|
+
|
|
1382
|
+
### DC operating point (always first)
|
|
1383
|
+
|
|
1384
|
+
Verify bias conditions before anything else.
|
|
1385
|
+
|
|
1386
|
+
\`\`\`
|
|
1387
|
+
.op
|
|
1388
|
+
\`\`\`
|
|
1389
|
+
|
|
1390
|
+
Check: Are all node voltages within supply rails? Are device currents
|
|
1391
|
+
physically reasonable? Is anything saturated that shouldn't be (or vice versa)?
|
|
1392
|
+
|
|
1393
|
+
### DC sweep
|
|
1394
|
+
|
|
1395
|
+
Vary a source or parameter to map transfer characteristics.
|
|
1396
|
+
|
|
1397
|
+
\`\`\`
|
|
1398
|
+
.dc V1 0 5 0.1
|
|
1399
|
+
\`\`\`
|
|
1400
|
+
|
|
1401
|
+
### AC small-signal
|
|
1402
|
+
|
|
1403
|
+
Frequency response at the DC operating point.
|
|
1404
|
+
|
|
1405
|
+
\`\`\`
|
|
1406
|
+
.ac dec 100 1 1G
|
|
1407
|
+
\`\`\`
|
|
1408
|
+
|
|
1409
|
+
Results are complex-valued (magnitude and phase). Extract gain, bandwidth,
|
|
1410
|
+
phase margin from the data programmatically.
|
|
1411
|
+
|
|
1412
|
+
### Transient
|
|
1413
|
+
|
|
1414
|
+
Large-signal time-domain behavior.
|
|
1415
|
+
|
|
1416
|
+
\`\`\`
|
|
1417
|
+
.tran 1u 10m
|
|
317
1418
|
\`\`\`
|
|
318
1419
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
1420
|
+
**Step size matters.** Too large causes inaccuracy, too small wastes time and
|
|
1421
|
+
can cause convergence issues. Start with a step ~100x smaller than the shortest
|
|
1422
|
+
time constant of interest.
|
|
1423
|
+
|
|
1424
|
+
## Convergence problems
|
|
1425
|
+
|
|
1426
|
+
If the simulation fails to converge:
|
|
1427
|
+
|
|
1428
|
+
1. **Check the circuit first.** Floating nodes, missing ground, zero-value
|
|
1429
|
+
sources, or loops of voltage sources / cutsets of current sources are
|
|
1430
|
+
structural problems, not convergence knob issues.
|
|
1431
|
+
2. **Add \`.options\`:** \`.options reltol=0.01\` relaxes the tolerance. Use as
|
|
1432
|
+
a diagnostic, not a permanent fix.
|
|
1433
|
+
3. **Add initial conditions:** \`.ic V(Vout)=0\` gives the simulator a
|
|
1434
|
+
starting point for circuits with feedback or multiple stable states.
|
|
1435
|
+
4. **Simplify the circuit.** If a complex model causes convergence issues,
|
|
1436
|
+
that's worth reporting to the user — the model may be the problem.
|
|
1437
|
+
|
|
1438
|
+
Don't silently relax tolerances or add \`.options gmin=1e-9 method=gear\`
|
|
1439
|
+
without telling the user. These affect accuracy.
|
|
1440
|
+
|
|
1441
|
+
## Simulator-specific notes
|
|
1442
|
+
|
|
1443
|
+
### ngspice
|
|
1444
|
+
|
|
1445
|
+
- Does **not** support \`.step\`. Use spicelib's \`SimStepper\` class for
|
|
1446
|
+
parameter sweeps, or use a \`.control\` / \`.endc\` block with \`alter\`.
|
|
1447
|
+
- Batch mode: ngspice runs with \`-b\` flag (spicelib handles this).
|
|
1448
|
+
- Compatibility mode: spicelib sets \`ngbehavior=kiltpsa\` by default for
|
|
1449
|
+
KiCad/LTspice/PSPICE netlist compatibility.
|
|
1450
|
+
- \`.title\` directive on line 1 can cause issues with spicelib's
|
|
1451
|
+
\`SpiceEditor\` (known issue). If loading a KiCad-exported netlist, remove
|
|
1452
|
+
or move the \`.title\` line.
|
|
1453
|
+
|
|
1454
|
+
### LTspice
|
|
1455
|
+
|
|
1456
|
+
- Native macOS version has limited CLI — wine is recommended for automation.
|
|
1457
|
+
- Models distributed in \`.asc\` schematic format need netlist export first.
|
|
1458
|
+
Use LTspice to generate the \`.net\` file, or use spicelib's \`AscEditor\`.
|
|
1459
|
+
|
|
1460
|
+
### Xyce
|
|
1461
|
+
|
|
1462
|
+
- Supports parallel simulation natively.
|
|
1463
|
+
- Older Xyce raw files may need \`RawRead("file.raw", dialect="xyce")\`.
|
|
1464
|
+
|
|
1465
|
+
## Error handling
|
|
1466
|
+
|
|
1467
|
+
When a simulation fails:
|
|
1468
|
+
|
|
1469
|
+
1. **Read the error message.** SPICE errors are usually specific — "unknown
|
|
1470
|
+
subcircuit", "singular matrix", "timestep too small" each have different
|
|
1471
|
+
fixes.
|
|
1472
|
+
2. **Classify the error:**
|
|
1473
|
+
- **Syntax error** — fix the netlist.
|
|
1474
|
+
- **Missing model/subcircuit** — the model file isn't included or the
|
|
1475
|
+
name doesn't match. Check \`.lib\` and \`.include\` paths.
|
|
1476
|
+
- **Convergence failure** — see the convergence section above.
|
|
1477
|
+
- **Timeout** — the circuit may be oscillating or the timestep is too
|
|
1478
|
+
small. Check the analysis parameters.
|
|
1479
|
+
3. **Fix and retry** — but only for clear, mechanical fixes (typo in a node
|
|
1480
|
+
name, missing \`.lib\` include). If the fix requires changing the circuit
|
|
1481
|
+
or making assumptions about component behavior, ask the user.
|
|
1482
|
+
4. **Three strikes rule.** After three failed attempts at the same simulation,
|
|
1483
|
+
stop and present the situation to the user: what you tried, what failed,
|
|
1484
|
+
and what you think the problem is.
|
|
1485
|
+
|
|
1486
|
+
## Reporting results
|
|
1487
|
+
|
|
1488
|
+
When presenting simulation results:
|
|
1489
|
+
|
|
1490
|
+
- State the simulator, analysis type, and key parameters.
|
|
1491
|
+
- Quote key values with units: \`Vout = 3.28 V\`, \`BW = 1.2 MHz\`,
|
|
1492
|
+
\`Phase margin = 45 deg\`.
|
|
1493
|
+
- Compare against requirements or datasheet expectations when available.
|
|
1494
|
+
Use the design review protocol for formal checks.
|
|
1495
|
+
- Export waveform data to CSV (\`raw.to_csv()\`) so the user can plot it
|
|
1496
|
+
in their own tools.
|
|
1497
|
+
- For pass/fail assessments, cite the spec and the measured value.
|
|
1498
|
+
- If results look suspicious (gain of 10000, negative resistance, currents
|
|
1499
|
+
in amps for a small-signal circuit), say so. Don't report garbage as if
|
|
1500
|
+
it's valid.
|
|
1501
|
+
`);const of={darwin:[`~/oss-cad-suite/bin`,`/opt/oss-cad-suite/bin`],linux:[`~/oss-cad-suite/bin`,`/opt/oss-cad-suite/bin`],win32:[`C:\\oss-cad-suite\\bin`,`~\\oss-cad-suite\\bin`]};function sf(e){let t={};for(let[n,r]of Object.entries(of))t[n]=r.map(t=>o(t,e));return t}function cf(...e){let t={};for(let n of e)if(n)for(let[e,r]of Object.entries(n)){let n=e;t[n]=[...t[n]??[],...r]}return t}const lf=(e,t)=>process.platform===`win32`?t??`${e}.exe`:e;[(lf(`LTspice`),o(n(),`AppData`,`Local`,`Programs`,`ADI`,`LTspice`,`LTspice.exe`)),lf(`ngspice`),(o(n(),`QSPICE`,`QSPICE64.exe`),o(n(),`AppData`,`Local`,`Programs`,`Qspice`,`QSPICE64.exe`)),lf(`Xyce`),lf(`kicad-cli`),(lf(`yosys`),cf(sf(lf(`yosys`)),{win32:[`C:\\msys64\\mingw64\\bin\\yosys.exe`]})),(lf(`verilator`),cf(sf(lf(`verilator`)))),(lf(`iverilog`),cf(sf(lf(`iverilog`)),{win32:[`C:\\iverilog\\bin\\iverilog.exe`]})),(lf(`ghdl`),cf(sf(lf(`ghdl`)),{win32:[`C:\\msys64\\mingw64\\bin\\ghdl.exe`]})),(lf(`vivado`,`vivado.bat`),process.platform),(lf(`quartus_sh`),process.platform),...[`ice40`,`ecp5`,`gowin`,`nexus`].map(e=>({name:`nextpnr-${e}`,type:`fpga-pnr`,binary:lf(`nextpnr-${e}`),platformPaths:cf(sf(lf(`nextpnr-${e}`)))})),lf(`octave-cli`),lf(`openscad`,`openscad.com`),lf(`freecadcmd`),lf(`sigrok-cli`),(lf(`gtkwave`),cf(sf(lf(`gtkwave`)),{darwin:[`/Applications/gtkwave.app/Contents/Resources/bin/gtkwave`],win32:[`C:\\msys64\\mingw64\\bin\\gtkwave.exe`,`C:\\msys64\\ucrt64\\bin\\gtkwave.exe`]})),lf(`gerbv`)];const uf={"darwin-arm64":`@phosphor-tools/cli-darwin-arm64`,"darwin-x64":`@phosphor-tools/cli-darwin-x64`,"linux-arm64":`@phosphor-tools/cli-linux-arm64`,"linux-x64":`@phosphor-tools/cli-linux-x64`,"win32-x64":`@phosphor-tools/cli-windows-x64`};function df(e=!0){return ff()??(e?pf():null)}function ff(){let t=uf[`${process.platform}-${process.arch}`];if(!t)return null;try{let n=e(import.meta.url).resolve(`${t}/package.json`),r=process.platform===`win32`?`phosphor-eda.exe`:`phosphor-eda`,a=o(i(n),`bin`,r);return b(a,x.X_OK),a}catch{return null}}function pf(){try{return g(process.platform===`win32`?`where`:`which`,[`phosphor-eda`],{encoding:`utf-8`,timeout:5e3}).trim()}catch{return null}}async function mf(e,t,n,r){let i=`${e}/proxy/${n}`,a;try{a=await fetch(i,{method:`POST`,signal:AbortSignal.timeout(3e4),headers:{"content-type":`application/json`,authorization:`Bearer ${t}`},body:JSON.stringify(r)})}catch(t){let r=t instanceof Error?t.message:String(t);throw await Ne(`proxy_error`,{endpoint:n,error:r}),Error(`Could not connect to Phosphor proxy at ${e}: ${r}`)}if(!a.ok){let e=await a.text().catch(()=>``);throw a.status===401?Error("Session expired or invalid. Run `phosphor-mcp login` to re-authenticate."):a.status===429?Error(`Rate limit exceeded. Please wait and try again.`):(await Ne(`proxy_error`,{endpoint:n,status_code:a.status}),Error(`Proxy ${n} failed (${a.status}): ${e.slice(0,500)}`))}return a.json()}function hf(e,t,n){e.tool(t.name,t.description,t.inputSchema.shape,async e=>{try{let t=await n(e);return{content:[{type:`text`,text:JSON.stringify(t,null,2)}]}}catch(e){return{isError:!0,content:[{type:`text`,text:`${t.name} failed: ${e instanceof Error?e.message:String(e)}`}]}}})}function gf(e){e.tool(`install_schematic_tools`,`Check if the phosphor-eda CLI is installed for querying electronic schematics (Altium, KiCad, Eagle, OrCAD). Call this FIRST when the user asks about schematic connectivity, components, nets, or pin assignments. Returns the CLI path and reference guide.`,async()=>{let e=df(!1);return e?(await Ne(`schematic_tools_installed`,{success:!0}),{content:[{type:`text`,text:[`phosphor-eda CLI found at: ${e}`,``,`---`,``,tf].join(`
|
|
1502
|
+
`)}]}):(await Ne(`schematic_tools_installed`,{success:!1}),{isError:!0,content:[{type:`text`,text:[`The phosphor-eda CLI binary was not found in the expected location.`,`It should be bundled inside the @phosphor-tools/cli-* platform`,`package installed as an optional dependency of this MCP server.`,``,`This usually means the platform package failed to install or`,`is missing for this OS/architecture.`].join(`
|
|
1503
|
+
`)}]})})}function _f(e,t){let n=async()=>{let e=await t.resolveToken();if(!e)throw Error("Not authenticated. Run `phosphor-mcp login` to sign in.");return e},r=async(e,r)=>{let i=await n();return mf(t.proxyUrl,i,e,r)};hf(e,Et,async e=>{let t=await Tt(We(process.cwd()),e);return await Ne(`document_opened`),t}),hf(e,Wt,async e=>{let t=await Ut(e);return await Ne(`document_grepped`),t}),hf(e,Nt,async e=>{let r=await jt({proxyUrl:t.proxyUrl,resolveToken:n},e);return await Ne(`document_read`),r}),hf(e,Zd,async e=>{let t=await r(`datasheet_search`,e);return await Ne(`datasheet_searched`),t}),hf(e,Qd,async e=>{let t=await r(`part_search`,e);return await Ne(`part_searched`),t}),hf(e,$d,async e=>{let t=await r(`part_lookup`,e);return await Ne(`part_looked_up`),t}),hf(e,ef,async e=>{let t=await r(`part_alternatives`,e);return await Ne(`part_alternatives_requested`),t}),gf(e)}function vf(e){let t=new y({name:`phosphor-mcp`,version:Te},{instructions:`phosphor-mcp: tools for electronic hardware design — schematics, datasheets, and documents.
|
|
323
1504
|
|
|
324
1505
|
## Tool selection
|
|
325
1506
|
|
|
326
1507
|
- **Schematics** (connectivity, components, nets, pins): call install_schematic_tools first, then query the design with the CLI.
|
|
327
|
-
- **
|
|
1508
|
+
- **Datasheet lookup by part number**: use datasheet_search with a manufacturer part number (e.g. 'STM32H743ZIT6', 'LM358'). Takes MPNs only — not natural language or parametric queries. Returns identification + direct PDF URLs.
|
|
1509
|
+
- **Parametric / conceptual part search** (e.g. "low-noise op-amp in SOIC-8"): use part_search (DigiKey, parametric) or web_search (broader research). Don't feed descriptions to datasheet_search.
|
|
328
1510
|
- **Reading PDFs** (datasheets, reference manuals): open_document → grep_document → read_document. Parses tables and text; better than fetching raw URLs.
|
|
329
1511
|
- **Part sourcing** (stock, pricing, alternatives): use part_search, part_lookup, part_alternatives — live DigiKey data.
|
|
330
1512
|
|
|
331
|
-
Typical workflow: datasheet_search → open_document (with datasheetUrl) → grep_document → read_document
|
|
1513
|
+
Typical workflow (known MPN): datasheet_search(mpn) → open_document (with datasheetUrl) → grep_document → read_document
|
|
1514
|
+
Discovery workflow (no MPN yet): part_search(description) → datasheet_search(mpn from result) → open_document ...
|
|
332
1515
|
Sourcing workflow: datasheet_search (identify part) → part_lookup (stock/pricing) → part_alternatives (if unavailable)
|
|
333
1516
|
|
|
334
1517
|
## Hardware reasoning
|
|
@@ -337,4 +1520,4 @@ When answering hardware questions, always verify claims against CLI output or do
|
|
|
337
1520
|
|
|
338
1521
|
The schematic is authoritative for connectivity (what is wired to what). Interpreting those connections (pin mux, peripheral instance, alternate function) requires the device's reference manual. If you haven't read the reference, say so.
|
|
339
1522
|
|
|
340
|
-
Cite evidence inline: [datasheet p.58: "VDD 1.8–3.6V"]. If you can't cite a source, say what document you'd need.`});return e&&
|
|
1523
|
+
Cite evidence inline: [datasheet p.58: "VDD 1.8–3.6V"]. If you can't cite a source, say what document you'd need.`});return e&&_f(t,e),t}async function yf(){let e=process.env.PHOSPHOR_PROXY_URL??`https://phosphor-app-dev.emma-fb4.workers.dev`,t=vf({proxyUrl:e,resolveToken:Re}),n=new v;await t.connect(n),await Ne(`server_started`,{proxy_url:e});let r=!1,i=async()=>{if(!r){r=!0;try{await Ae()}catch(e){console.error(`[mcp] PostHog shutdown error:`,e)}process.exit(0)}};process.on(`SIGINT`,i),process.on(`SIGTERM`,i)}function bf(e){return async(...t)=>{try{await e(...t)}catch(e){process.stderr.write(`Error: ${e instanceof Error?e.message:String(e)}\n`),process.exit(1)}}}const xf=new t().name(`phosphor-mcp`).description(`Phosphor MCP server for electronic hardware design tools`).version(Te).action(bf(yf));xf.command(`login`).description(`Authenticate with Phosphor`).action(bf(Fe)),xf.command(`logout`).description(`Clear stored credentials`).action(bf(Ie)),xf.command(`whoami`).description(`Show current user`).action(bf(Le)),xf.parse();export{};
|