@qitqode/qitqode-android-arm64 0.1.34 → 0.1.35
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/bundle/{chunk-4sw6frjt.js → chunk-0442cmw2.js} +1 -1
- package/bundle/{chunk-3vnnxq40.js → chunk-085pvqr4.js} +1 -1
- package/bundle/{chunk-zm5dfk2b.js → chunk-11g2rpv8.js} +1 -1
- package/bundle/{chunk-xy5cjach.js → chunk-2kens6wh.js} +1 -1
- package/bundle/{chunk-mdts0641.js → chunk-31g86yn6.js} +1 -1
- package/bundle/{chunk-ny9hnvzy.js → chunk-3d91q2qd.js} +1 -1
- package/bundle/chunk-496ajawz.js +2 -0
- package/bundle/{chunk-g4nq9swr.js → chunk-4hzm14xt.js} +1 -1
- package/bundle/{chunk-4ntbxet5.js → chunk-54wh8b12.js} +1 -1
- package/bundle/{chunk-57najm15.js → chunk-57nvmhjq.js} +1 -1
- package/bundle/{chunk-28cm7m3t.js → chunk-5e4fxy99.js} +43 -43
- package/bundle/{chunk-wfegee41.js → chunk-5qr286w8.js} +1 -1
- package/bundle/{chunk-jm722vy1.js → chunk-606vpgc4.js} +1 -1
- package/bundle/{chunk-p15sv2dg.js → chunk-6a1skxcj.js} +1 -1
- package/bundle/{chunk-xkv3yta0.js → chunk-6a77w77q.js} +1 -1
- package/bundle/chunk-6cj7cn5x.js +2 -0
- package/bundle/{chunk-xhkd9yf3.js → chunk-6ged58yw.js} +1 -1
- package/bundle/{chunk-d80hk5x9.js → chunk-8c1ypgw5.js} +1 -1
- package/bundle/{chunk-qyzze0dv.js → chunk-8rt63jbm.js} +1 -1
- package/bundle/{chunk-w9nzsd3w.js → chunk-8vg4fmg2.js} +19 -19
- package/bundle/{chunk-kdvs4871.js → chunk-945ebhte.js} +1 -1
- package/bundle/{chunk-npv80mcx.js → chunk-9548cc0c.js} +1 -1
- package/bundle/{chunk-q5fygrnr.js → chunk-9ayxg9mq.js} +1 -1
- package/bundle/{chunk-gdb67zmn.js → chunk-9yrypq1r.js} +1 -1
- package/bundle/{chunk-za63b5mc.js → chunk-a1hzeejj.js} +1 -1
- package/bundle/{chunk-5vzrn6za.js → chunk-a949at1c.js} +1 -1
- package/bundle/{chunk-ppkqr9cn.js → chunk-aa8hymcv.js} +1 -1
- package/bundle/{chunk-6b196wjz.js → chunk-axdzm75h.js} +1 -1
- package/bundle/{chunk-fdadk5tw.js → chunk-b6cybdj3.js} +1 -1
- package/bundle/{chunk-q1czj6be.js → chunk-ca4r31we.js} +1 -1
- package/bundle/{chunk-bja8q0ke.js → chunk-cqj21rfj.js} +1 -1
- package/bundle/{chunk-shenqgrx.js → chunk-dhc6e1t7.js} +1 -1
- package/bundle/{chunk-cfw9pyt7.js → chunk-dk6rbqvp.js} +1 -1
- package/bundle/{chunk-qc3ce3vc.js → chunk-dk975etf.js} +1 -1
- package/bundle/{chunk-f9v5n0t6.js → chunk-dyt3n3fe.js} +1 -1
- package/bundle/{chunk-wmaz57f6.js → chunk-e74efvj2.js} +4 -4
- package/bundle/{chunk-qbx70v64.js → chunk-e8ws454m.js} +1 -1
- package/bundle/{chunk-wwgd4rzx.js → chunk-er38zew1.js} +1 -1
- package/bundle/{chunk-1hmq2fpt.js → chunk-eva3nqqb.js} +1 -1
- package/bundle/{chunk-5xq3h51b.js → chunk-exmw8jfa.js} +1 -1
- package/bundle/{chunk-8eje5baf.js → chunk-f3bnn9rf.js} +1 -1
- package/bundle/{chunk-v6tgn668.js → chunk-g18ax6yp.js} +1 -1
- package/bundle/{chunk-wet3bnwn.js → chunk-gadyp6mb.js} +1 -1
- package/bundle/{chunk-knpyt206.js → chunk-gckgaqqr.js} +1 -1
- package/bundle/{chunk-sz0gkx88.js → chunk-ge8315te.js} +1 -1
- package/bundle/{chunk-a8119c3a.js → chunk-gsyt2sv7.js} +1 -1
- package/bundle/{chunk-2fkfbdcy.js → chunk-hv6eccx1.js} +2 -2
- package/bundle/{chunk-9y97bzht.js → chunk-jyczz3yh.js} +2 -2
- package/bundle/{chunk-zph1c2q1.js → chunk-k8k8z6b7.js} +1 -1
- package/bundle/{chunk-d8dk05kd.js → chunk-mxvypy3s.js} +1 -1
- package/bundle/chunk-n5ypgxrn.js +28 -0
- package/bundle/{chunk-696z96a6.js → chunk-n9xw9kqc.js} +1 -1
- package/bundle/{chunk-8d5k45yj.js → chunk-nc4wbc89.js} +1 -1
- package/bundle/{chunk-6v9nbb4c.js → chunk-ngk67rt3.js} +1 -1
- package/bundle/{chunk-vkqzmzpw.js → chunk-nj2bbtmx.js} +1 -1
- package/bundle/{chunk-vkq0faj8.js → chunk-nr1g57b2.js} +1 -1
- package/bundle/{chunk-b34t8v7x.js → chunk-p0ahbpxv.js} +1 -1
- package/bundle/{chunk-pe98rznj.js → chunk-p7y8z5rd.js} +1 -1
- package/bundle/{chunk-b8hmj4jq.js → chunk-pt26gerr.js} +1 -1
- package/bundle/{chunk-s2vasbwj.js → chunk-qw980y8h.js} +1 -1
- package/bundle/{chunk-q6wm9yt0.js → chunk-rcn0dhbj.js} +1 -1
- package/bundle/{chunk-j0jdkqf5.js → chunk-s5nde2kd.js} +1 -1
- package/bundle/{chunk-j8q252w3.js → chunk-sjw56r2n.js} +1 -1
- package/bundle/{chunk-ya8g02hv.js → chunk-srpe3v8e.js} +1 -1
- package/bundle/{chunk-hg0etbkx.js → chunk-st5jaszz.js} +1 -1
- package/bundle/{chunk-h2m8fdqm.js → chunk-t2vm08v6.js} +1 -1
- package/bundle/{chunk-rjy5mqwz.js → chunk-t3eymzg1.js} +1 -1
- package/bundle/{chunk-0csy9x1n.js → chunk-tbgczapt.js} +1 -1
- package/bundle/{chunk-x9s90xd1.js → chunk-tns5x4w0.js} +1 -1
- package/bundle/{chunk-zpf31kxb.js → chunk-txbwmwxj.js} +1 -1
- package/bundle/{chunk-esp6jv63.js → chunk-vysa9hp4.js} +1 -1
- package/bundle/{chunk-9msnx26q.js → chunk-w1n4rf6n.js} +1 -1
- package/bundle/{chunk-w5kg2yz0.js → chunk-xvntsbb1.js} +1 -1
- package/bundle/{chunk-y370dqf3.js → chunk-yprmd5b7.js} +1 -1
- package/bundle/{chunk-ygjtwjnk.js → chunk-zddknkw7.js} +1 -1
- package/bundle/{chunk-7hh0654f.js → chunk-ze9e6nt3.js} +1 -1
- package/bundle/{chunk-7bwe0ayr.js → chunk-znzan00b.js} +1 -1
- package/bundle/{chunk-qek6a75r.js → chunk-zrp55k47.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-425mq6k8.js +0 -2
- package/bundle/chunk-tt8jke90.js +0 -2
- package/bundle/chunk-wbzs30fk.js +0 -28
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$k as yJ,Al as uX,Bk as KH,Bl as dX,Ck as QH,Cl as Y1,Dl as R$,Ek as qZ,Fk as FZ,Gk as pG,Jk as RZ,Kk as Q1,Lk as M8,Mk as d7,Nk as LZ,Ok as NZ,Pk as FX,Qk as IX,Rk as AX,Sk as SX,Tk as wX,Uk as fV,Vk as xV,Wj as P$,Xj as r8,Xk as E$,Yk as VH,Zk as GH,al as TX,bl as kX,ck as Xq,cl as EX,dk as GV,ek as H7,el as a_,ik as J1,il as VX,jl as xX,kk as F0,lk as IJ,mk as f2,ml as L1,ol as z2,pk as b0,pl as WH,qk as z8,rl as B1,tk as kK,tl as k0,uk as EK,vk as R1,wk as EV,yk as D6,zk as YH}from"./chunk-
|
|
2
|
+
import{$k as yJ,Al as uX,Bk as KH,Bl as dX,Ck as QH,Cl as Y1,Dl as R$,Ek as qZ,Fk as FZ,Gk as pG,Jk as RZ,Kk as Q1,Lk as M8,Mk as d7,Nk as LZ,Ok as NZ,Pk as FX,Qk as IX,Rk as AX,Sk as SX,Tk as wX,Uk as fV,Vk as xV,Wj as P$,Xj as r8,Xk as E$,Yk as VH,Zk as GH,al as TX,bl as kX,ck as Xq,cl as EX,dk as GV,ek as H7,el as a_,ik as J1,il as VX,jl as xX,kk as F0,lk as IJ,mk as f2,ml as L1,ol as z2,pk as b0,pl as WH,qk as z8,rl as B1,tk as kK,tl as k0,uk as EK,vk as R1,wk as EV,yk as D6,zk as YH}from"./chunk-e74efvj2.js";import{El as g9}from"./chunk-st5jaszz.js";import{Rl as PG,Sl as bH,Vl as V0,Wl as e$,Xl as $1,Yl as JJ,bm as z$,cm as BJ,fm as U2,lm as H$,mm as i,om as O1}from"./chunk-a1hzeejj.js";import{qm as C9,rm as f6,sm as S1,tm as XJ,xm as Z0}from"./chunk-sjw56r2n.js";import{An as t0,Bn as i$,Cn as e0,Dn as b2,En as WX,Fm as XX,Gn as G$,In as _0,Jn as NJ,Ln as $Z,Rn as h7,co as m1,do as O8,en as f1}from"./chunk-nj4d554m.js";import{mp as g6}from"./chunk-yprmd5b7.js";import{Gp as ZZ,Hp as vV,Ip as YZ,Kp as U1}from"./chunk-keveg5gx.js";import{_p as e}from"./chunk-f3bnn9rf.js";import{$p as T2}from"./chunk-xqdrr7xg.js";import{aq as x$}from"./chunk-axdzm75h.js";import{_r as ZH}from"./chunk-a48t0g95.js";import{is as HZ}from"./chunk-er38zew1.js";import{As as G2,Bs as $V,Hs as v1,Is as X2}from"./chunk-6p94fpbn.js";import{pt as l9}from"./chunk-kv72hxkp.js";import{rt as BH}from"./chunk-nj2bbtmx.js";import{$t as WZ,At as $H,Ct as q9,Yt as jK,iu as D0,mu as H8,nu as f$,ou as k$,st as E2,vt as d9,wt as tU,xu as O$,zt as eU}from"./chunk-tns5x4w0.js";import{Cu as MH,Gu as B9,Ju as h9,Mu as y2,Nu as $$,Ru as O0,yu as qG}from"./chunk-e7v9trve.js";import{Tu as F}from"./chunk-m4j7jyrd.js";import{GG as xH,HF as H0,OI as G,QC as JH,QO as IU,RO as EG,TC as p1,UO as AU,WO as _Z,XF as UJ,YD as D$,bK as Z8,fP as HJ,iE as h2,lG as f,nP as l$,oO as F$,sG as EH,tF as n0,vK as b1,xK as kG,zP as eQ}from"./chunk-a0rp7gh4.js";import{UP as k3}from"./chunk-kfmz2p27.js";import{$P as p,_P as A9,aQ as o$,cQ as u0,dQ as S9,eQ as w9}from"./chunk-3k2b05fv.js";var wK=p((cS,P9)=>{function FK($){return Array.isArray($)?$:[$]}var w_=void 0,d6="",OK=" ",u6="\\",R_=/^\s+$/,L_=/(?:[^\\]|^)\\$/,N_=/^\\!/,y_=/^\\#/,T_=/\r?\n/g,k_=/^\.{0,2}\/|^\.{1,2}$/,E_=/\/$/,WJ="/",zK="node-ignore";if(typeof Symbol<"u")zK=Symbol.for("node-ignore");var CK=zK,jJ=($,J,Z)=>{return Object.defineProperty($,J,{value:Z}),Z},x_=/([0-z])-([0-z])/g,MK=()=>!1,b_=($)=>$.replace(x_,(J,Z,Y)=>Z.charCodeAt(0)<=Y.charCodeAt(0)?J:d6),v_=($)=>{let{length:J}=$;return $.slice(0,J-J%2)},h_=[[/^\uFEFF/,()=>d6],[/((?:\\\\)*?)(\\?\s+)$/,($,J,Z)=>J+(Z.indexOf("\\")===0?OK:d6)],[/(\\+?)\s/g,($,J)=>{let{length:Z}=J;return J.slice(0,Z-Z%2)+OK}],[/[\\$.|*+(){^]/g,($)=>`\\${$}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,($,J,Z)=>J+6<Z.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,($,J,Z)=>{let Y=Z.replace(/\\\*/g,"[^\\/]*");return J+Y}],[/\\\\\\(?=[$.|*+(){^])/g,()=>u6],[/\\\\/g,()=>u6],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,($,J,Z,Y,K)=>J===u6?`\\[${Z}${v_(Y)}${K}`:K==="]"?Y.length%2===0?`[${b_(Z)}${Y}]`:"[]":"[]"],[/(?:[^*])$/,($)=>/\/$/.test($)?`${$}$`:`${$}(?=$|\\/$)`]],g_=/(^|\\\/)?\\\*$/,Y8="regex",M9="checkRegex",qK="_",f_={[Y8]($,J){return`${J?`${J}[^/]+`:"[^/]*"}(?=$|\\/$)`},[M9]($,J){return`${J?`${J}[^/]*`:"[^/]*"}(?=$|\\/$)`}},m_=($)=>h_.reduce((J,[Z,Y])=>J.replace(Z,Y.bind($)),$),D9=($)=>typeof $==="string",u_=($)=>$&&D9($)&&!R_.test($)&&!L_.test($)&&$.indexOf("#")!==0,d_=($)=>$.split(T_).filter(Boolean);class DK{constructor($,J,Z,Y,K,Q){this.pattern=$,this.mark=J,this.negative=K,jJ(this,"body",Z),jJ(this,"ignoreCase",Y),jJ(this,"regexPrefix",Q)}get regex(){let $=qK+Y8;if(this[$])return this[$];return this._make(Y8,$)}get checkRegex(){let $=qK+M9;if(this[$])return this[$];return this._make(M9,$)}_make($,J){let Z=this.regexPrefix.replace(g_,f_[$]),Y=this.ignoreCase?new RegExp(Z,"i"):new RegExp(Z);return jJ(this,J,Y)}}var p_=({pattern:$,mark:J},Z)=>{let Y=!1,K=$;if(K.indexOf("!")===0)Y=!0,K=K.substr(1);K=K.replace(N_,"!").replace(y_,"#");let Q=m_(K);return new DK($,J,K,Z,Y,Q)};class PK{constructor($){this._ignoreCase=$,this._rules=[]}_add($){if($&&$[CK]){this._rules=this._rules.concat($._rules._rules),this._added=!0;return}if(D9($))$={pattern:$};if(u_($.pattern)){let J=p_($,this._ignoreCase);this._added=!0,this._rules.push(J)}}add($){return this._added=!1,FK(D9($)?d_($):$).forEach(this._add,this),this._added}test($,J,Z){let Y=!1,K=!1,Q;this._rules.forEach((X)=>{let{negative:W}=X;if(K===W&&Y!==K||W&&!Y&&!K&&!J)return;if(!X[Z].test($))return;Y=!W,K=W,Q=W?w_:X});let V={ignored:Y,unignored:K};if(Q)V.rule=Q;return V}}var c_=($,J)=>{throw new J($)},h1=($,J,Z)=>{if(!D9($))return Z(`path must be a string, but got \`${J}\``,TypeError);if(!$)return Z("path must not be empty",TypeError);if(h1.isNotRelative($))return Z(`path should be a \`path.relative()\`d string, but got "${J}"`,RangeError);return!0},IK=($)=>k_.test($);h1.isNotRelative=IK;h1.convert=($)=>$;class AK{constructor({ignorecase:$=!0,ignoreCase:J=$,allowRelativePaths:Z=!1}={}){jJ(this,CK,!0),this._rules=new PK(J),this._strictPathCheck=!Z,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add($){if(this._rules.add($))this._initCache();return this}addPattern($){return this.add($)}_test($,J,Z,Y){let K=$&&h1.convert($);return h1(K,$,this._strictPathCheck?c_:MK),this._t(K,J,Z,Y)}checkIgnore($){if(!E_.test($))return this.test($);let J=$.split(WJ).filter(Boolean);if(J.pop(),J.length){let Z=this._t(J.join(WJ)+WJ,this._testCache,!0,J);if(Z.ignored)return Z}return this._rules.test($,!1,M9)}_t($,J,Z,Y){if($ in J)return J[$];if(!Y)Y=$.split(WJ).filter(Boolean);if(Y.pop(),!Y.length)return J[$]=this._rules.test($,Z,Y8);let K=this._t(Y.join(WJ)+WJ,J,Z,Y);return J[$]=K.ignored?K:this._rules.test($,Z,Y8)}ignores($){return this._test($,this._ignoreCache,!1).ignored}createFilter(){return($)=>!this.ignores($)}filter($){return FK($).filter(this.createFilter())}test($){return this._test($,this._testCache,!0)}}var p6=($)=>new AK($),l_=($)=>h1($&&h1.convert($),$,MK),SK=()=>{let $=(Z)=>/^\\\\\?\\/.test(Z)||/["<>|\u0000-\u001F]+/u.test(Z)?Z:Z.replace(/\\/g,"/");h1.convert=$;let J=/^[a-z]:\//i;h1.isNotRelative=(Z)=>J.test(Z)||IK(Z)};if(typeof process<"u"&&process.platform==="win32")SK();P9.exports=p6;p6.default=p6;P9.exports.isPathValid=l_;jJ(P9.exports,Symbol.for("setupWindows"),SK)});var R9=p((q4)=>{q4.isInteger=($)=>{if(typeof $==="number")return Number.isInteger($);if(typeof $==="string"&&$.trim()!=="")return Number.isInteger(Number($));return!1};q4.find=($,J)=>$.nodes.find((Z)=>Z.type===J);q4.exceedsLimit=($,J,Z=1,Y)=>{if(Y===!1)return!1;if(!q4.isInteger($)||!q4.isInteger(J))return!1;return(Number(J)-Number($))/Number(Z)>=Y};q4.escapeNode=($,J=0,Z)=>{let Y=$.nodes[J];if(!Y)return;if(Z&&Y.type===Z||Y.type==="open"||Y.type==="close"){if(Y.escaped!==!0)Y.value="\\"+Y.value,Y.escaped=!0}};q4.encloseBrace=($)=>{if($.type!=="brace")return!1;if($.commas>>0+$.ranges>>0===0)return $.invalid=!0,!0;return!1};q4.isInvalidBrace=($)=>{if($.type!=="brace")return!1;if($.invalid===!0||$.dollar)return!0;if($.commas>>0+$.ranges>>0===0)return $.invalid=!0,!0;if($.open!==!0||$.close!==!0)return $.invalid=!0,!0;return!1};q4.isOpenOrClose=($)=>{if($.type==="open"||$.type==="close")return!0;return $.open===!0||$.close===!0};q4.reduce=($)=>$.reduce((J,Z)=>{if(Z.type==="text")J.push(Z.value);if(Z.type==="range")Z.type="text";return J},[]);q4.flatten=(...$)=>{let J=[],Z=(Y)=>{for(let K=0;K<Y.length;K++){let Q=Y[K];if(Array.isArray(Q)){Z(Q);continue}if(Q!==void 0)J.push(Q)}return J};return Z($),J}});var L9=p((Xw,gK)=>{var hK=R9();gK.exports=($,J={})=>{let Z=(Y,K={})=>{let Q=J.escapeInvalid&&hK.isInvalidBrace(K),V=Y.invalid===!0&&J.escapeInvalid===!0,X="";if(Y.value){if((Q||V)&&hK.isOpenOrClose(Y))return"\\"+Y.value;return Y.value}if(Y.value)return Y.value;if(Y.nodes)for(let W of Y.nodes)X+=Z(W);return X};return Z($)}});var mK=p((Ww,fK)=>{/*!
|
|
3
3
|
* is-number <https://github.com/jonschlinkert/is-number>
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
6
6
|
* Released under the MIT License.
|
|
7
|
-
*/fK.exports=function($){if(typeof $==="number")return $-$===0;if(typeof $==="string"&&$.trim()!=="")return Number.isFinite?Number.isFinite(+$):isFinite(+$);return!1}});var sK=p((
|
|
7
|
+
*/fK.exports=function($){if(typeof $==="number")return $-$===0;if(typeof $==="string"&&$.trim()!=="")return Number.isFinite?Number.isFinite(+$):isFinite(+$);return!1}});var sK=p((jw,iK)=>{/*!
|
|
8
8
|
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
9
9
|
*
|
|
10
10
|
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
11
11
|
* Released under the MIT License.
|
|
12
|
-
*/var uK=mK(),R2=($,J,Z)=>{if(uK($)===!1)throw TypeError("toRegexRange: expected the first argument to be a number");if(J===void 0||$===J)return String($);if(uK(J)===!1)throw TypeError("toRegexRange: expected the second argument to be a number.");let Y={relaxZeros:!0,...Z};if(typeof Y.strictZeros==="boolean")Y.relaxZeros=Y.strictZeros===!1;let K=String(Y.relaxZeros),Q=String(Y.shorthand),V=String(Y.capture),X=String(Y.wrap),W=$+":"+J+"="+K+Q+V+X;if(R2.cache.hasOwnProperty(W))return R2.cache[W].result;let B=Math.min($,J),j=Math.max($,J);if(Math.abs(B-j)===1){let M=$+"|"+J;if(Y.capture)return`(${M})`;if(Y.wrap===!1)return M;return`(?:${M})`}let _=rK($)||rK(J),q={min:$,max:J,a:B,b:j},H=[],C=[];if(_)q.isPadded=_,q.maxLen=String(q.max).length;if(B<0){let M=j<0?Math.abs(j):1;C=dK(M,Math.abs(B),q,Y),B=q.a=0}if(j>=0)H=dK(B,j,q,Y);if(q.negatives=C,q.positives=H,q.result=S4(C,H,Y),Y.capture===!0)q.result=`(${q.result})`;else if(Y.wrap!==!1&&H.length+C.length>1)q.result=`(?:${q.result})`;return R2.cache[W]=q,q.result};function S4($,J,Z){let Y=r6($,J,"-",!1,Z)||[],K=r6(J,$,"",!1,Z)||[],Q=r6($,J,"-?",!0,Z)||[];return Y.concat(Q).concat(K).join("|")}function w4($,J){let Z=1,Y=1,K=cK($,Z),Q=new Set([J]);while($<=K&&K<=J)Q.add(K),Z+=1,K=cK($,Z);K=lK(J+1,Y)-1;while($<K&&K<=J)Q.add(K),Y+=1,K=lK(J+1,Y)-1;return Q=[...Q],Q.sort(N4),Q}function R4($,J,Z){if($===J)return{pattern:$,count:[],digits:0};let Y=L4($,J),K=Y.length,Q="",V=0;for(let X=0;X<K;X++){let[W,B]=Y[X];if(W===B)Q+=W;else if(W!=="0"||B!=="9")Q+=y4(W,B,Z);else V++}if(V)Q+=Z.shorthand===!0?"\\d":"[0-9]";return{pattern:Q,count:[V],digits:K}}function dK($,J,Z,Y){let K=w4($,J),Q=[],V=$,X;for(let W=0;W<K.length;W++){let B=K[W],j=R4(String(V),String(B),Y),_="";if(!Z.isPadded&&X&&X.pattern===j.pattern){if(X.count.length>1)X.count.pop();X.count.push(j.count[0]),X.string=X.pattern+oK(X.count),V=B+1;continue}if(Z.isPadded)_=T4(B,Z,Y);j.string=_+j.pattern+oK(j.count),Q.push(j),V=B+1,X=j}return Q}function r6($,J,Z,Y,K){let Q=[];for(let V of $){let{string:X}=V;if(!Y&&!pK(J,"string",X))Q.push(Z+X);if(Y&&pK(J,"string",X))Q.push(Z+X)}return Q}function L4($,J){let Z=[];for(let Y=0;Y<$.length;Y++)Z.push([$[Y],J[Y]]);return Z}function N4($,J){return $>J?1:J>$?-1:0}function pK($,J,Z){return $.some((Y)=>Y[J]===Z)}function cK($,J){return Number(String($).slice(0,-J)+"9".repeat(J))}function lK($,J){return $-$%Math.pow(10,J)}function oK($){let[J=0,Z=""]=$;if(Z||J>1)return`{${J+(Z?","+Z:"")}}`;return""}function y4($,J,Z){return`[${$}${J-$===1?"":"-"}${J}]`}function rK($){return/^-?(0+)\d/.test($)}function T4($,J,Z){if(!J.isPadded)return $;let Y=Math.abs(J.maxLen-String($).length),K=Z.relaxZeros!==!1;switch(Y){case 0:return"";case 1:return K?"0?":"0";case 2:return K?"0{0,2}":"00";default:return K?`0{0,${Y}}`:`0{${Y}}`}}R2.cache={};R2.clearCache=()=>R2.cache={};iK.exports=R2});var n6=p((
|
|
12
|
+
*/var uK=mK(),R2=($,J,Z)=>{if(uK($)===!1)throw TypeError("toRegexRange: expected the first argument to be a number");if(J===void 0||$===J)return String($);if(uK(J)===!1)throw TypeError("toRegexRange: expected the second argument to be a number.");let Y={relaxZeros:!0,...Z};if(typeof Y.strictZeros==="boolean")Y.relaxZeros=Y.strictZeros===!1;let K=String(Y.relaxZeros),Q=String(Y.shorthand),V=String(Y.capture),X=String(Y.wrap),W=$+":"+J+"="+K+Q+V+X;if(R2.cache.hasOwnProperty(W))return R2.cache[W].result;let B=Math.min($,J),j=Math.max($,J);if(Math.abs(B-j)===1){let M=$+"|"+J;if(Y.capture)return`(${M})`;if(Y.wrap===!1)return M;return`(?:${M})`}let _=rK($)||rK(J),q={min:$,max:J,a:B,b:j},H=[],C=[];if(_)q.isPadded=_,q.maxLen=String(q.max).length;if(B<0){let M=j<0?Math.abs(j):1;C=dK(M,Math.abs(B),q,Y),B=q.a=0}if(j>=0)H=dK(B,j,q,Y);if(q.negatives=C,q.positives=H,q.result=S4(C,H,Y),Y.capture===!0)q.result=`(${q.result})`;else if(Y.wrap!==!1&&H.length+C.length>1)q.result=`(?:${q.result})`;return R2.cache[W]=q,q.result};function S4($,J,Z){let Y=r6($,J,"-",!1,Z)||[],K=r6(J,$,"",!1,Z)||[],Q=r6($,J,"-?",!0,Z)||[];return Y.concat(Q).concat(K).join("|")}function w4($,J){let Z=1,Y=1,K=cK($,Z),Q=new Set([J]);while($<=K&&K<=J)Q.add(K),Z+=1,K=cK($,Z);K=lK(J+1,Y)-1;while($<K&&K<=J)Q.add(K),Y+=1,K=lK(J+1,Y)-1;return Q=[...Q],Q.sort(N4),Q}function R4($,J,Z){if($===J)return{pattern:$,count:[],digits:0};let Y=L4($,J),K=Y.length,Q="",V=0;for(let X=0;X<K;X++){let[W,B]=Y[X];if(W===B)Q+=W;else if(W!=="0"||B!=="9")Q+=y4(W,B,Z);else V++}if(V)Q+=Z.shorthand===!0?"\\d":"[0-9]";return{pattern:Q,count:[V],digits:K}}function dK($,J,Z,Y){let K=w4($,J),Q=[],V=$,X;for(let W=0;W<K.length;W++){let B=K[W],j=R4(String(V),String(B),Y),_="";if(!Z.isPadded&&X&&X.pattern===j.pattern){if(X.count.length>1)X.count.pop();X.count.push(j.count[0]),X.string=X.pattern+oK(X.count),V=B+1;continue}if(Z.isPadded)_=T4(B,Z,Y);j.string=_+j.pattern+oK(j.count),Q.push(j),V=B+1,X=j}return Q}function r6($,J,Z,Y,K){let Q=[];for(let V of $){let{string:X}=V;if(!Y&&!pK(J,"string",X))Q.push(Z+X);if(Y&&pK(J,"string",X))Q.push(Z+X)}return Q}function L4($,J){let Z=[];for(let Y=0;Y<$.length;Y++)Z.push([$[Y],J[Y]]);return Z}function N4($,J){return $>J?1:J>$?-1:0}function pK($,J,Z){return $.some((Y)=>Y[J]===Z)}function cK($,J){return Number(String($).slice(0,-J)+"9".repeat(J))}function lK($,J){return $-$%Math.pow(10,J)}function oK($){let[J=0,Z=""]=$;if(Z||J>1)return`{${J+(Z?","+Z:"")}}`;return""}function y4($,J,Z){return`[${$}${J-$===1?"":"-"}${J}]`}function rK($){return/^-?(0+)\d/.test($)}function T4($,J,Z){if(!J.isPadded)return $;let Y=Math.abs(J.maxLen-String($).length),K=Z.relaxZeros!==!1;switch(Y){case 0:return"";case 1:return K?"0?":"0";case 2:return K?"0{0,2}":"00";default:return K?`0{0,${Y}}`:`0{${Y}}`}}R2.cache={};R2.clearCache=()=>R2.cache={};iK.exports=R2});var n6=p((Uw,ZQ)=>{/*!
|
|
13
13
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
14
14
|
*
|
|
15
15
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
16
16
|
* Licensed under the MIT License.
|
|
17
|
-
*/var k4=u0("util"),aK=sK(),nK=($)=>$!==null&&typeof $==="object"&&!Array.isArray($),E4=($)=>{return(J)=>$===!0?Number(J):String(J)},i6=($)=>{return typeof $==="number"||typeof $==="string"&&$!==""},V8=($)=>Number.isInteger(+$),s6=($)=>{let J=`${$}`,Z=-1;if(J[0]==="-")J=J.slice(1);if(J==="0")return!1;while(J[++Z]==="0");return Z>0},x4=($,J,Z)=>{if(typeof $==="string"||typeof J==="string")return!0;return Z.stringify===!0},b4=($,J,Z)=>{if(J>0){let Y=$[0]==="-"?"-":"";if(Y)$=$.slice(1);$=Y+$.padStart(Y?J-1:J,"0")}if(Z===!1)return String($);return $},y9=($,J)=>{let Z=$[0]==="-"?"-":"";if(Z)$=$.slice(1),J--;while($.length<J)$="0"+$;return Z?"-"+$:$},v4=($,J,Z)=>{$.negatives.sort((X,W)=>X<W?-1:X>W?1:0),$.positives.sort((X,W)=>X<W?-1:X>W?1:0);let Y=J.capture?"":"?:",K="",Q="",V;if($.positives.length)K=$.positives.map((X)=>y9(String(X),Z)).join("|");if($.negatives.length)Q=`-(${Y}${$.negatives.map((X)=>y9(String(X),Z)).join("|")})`;if(K&&Q)V=`${K}|${Q}`;else V=K||Q;if(J.wrap)return`(${Y}${V})`;return V},tK=($,J,Z,Y)=>{if(Z)return aK($,J,{wrap:!1,...Y});let K=String.fromCharCode($);if($===J)return K;let Q=String.fromCharCode(J);return`[${K}-${Q}]`},eK=($,J,Z)=>{if(Array.isArray($)){let Y=Z.wrap===!0,K=Z.capture?"":"?:";return Y?`(${K}${$.join("|")})`:$.join("|")}return aK($,J,Z)},$Q=(...$)=>{return RangeError("Invalid range arguments: "+k4.inspect(...$))},JQ=($,J,Z)=>{if(Z.strictRanges===!0)throw $Q([$,J]);return[]},h4=($,J)=>{if(J.strictRanges===!0)throw TypeError(`Expected step "${$}" to be a number`);return[]},g4=($,J,Z=1,Y={})=>{let K=Number($),Q=Number(J);if(!Number.isInteger(K)||!Number.isInteger(Q)){if(Y.strictRanges===!0)throw $Q([$,J]);return[]}if(K===0)K=0;if(Q===0)Q=0;let V=K>Q,X=String($),W=String(J),B=String(Z);Z=Math.max(Math.abs(Z),1);let j=s6(X)||s6(W)||s6(B),_=j?Math.max(X.length,W.length,B.length):0,q=j===!1&&x4($,J,Y)===!1,H=Y.transform||E4(q);if(Y.toRegex&&Z===1)return tK(y9($,_),y9(J,_),!0,Y);let C={negatives:[],positives:[]},M=(P)=>C[P<0?"negatives":"positives"].push(Math.abs(P)),I=[],z=0;while(V?K>=Q:K<=Q){if(Y.toRegex===!0&&Z>1)M(K);else I.push(b4(H(K,z),_,q));K=V?K-Z:K+Z,z++}if(Y.toRegex===!0)return Z>1?v4(C,Y,_):eK(I,null,{wrap:!1,...Y});return I},f4=($,J,Z=1,Y={})=>{if(!V8($)&&$.length>1||!V8(J)&&J.length>1)return JQ($,J,Y);let K=Y.transform||((q)=>String.fromCharCode(q)),Q=`${$}`.charCodeAt(0),V=`${J}`.charCodeAt(0),X=Q>V,W=Math.min(Q,V),B=Math.max(Q,V);if(Y.toRegex&&Z===1)return tK(W,B,!1,Y);let j=[],_=0;while(X?Q>=V:Q<=V)j.push(K(Q,_)),Q=X?Q-Z:Q+Z,_++;if(Y.toRegex===!0)return eK(j,null,{wrap:!1,options:Y});return j},N9=($,J,Z,Y={})=>{if(J==null&&i6($))return[$];if(!i6($)||!i6(J))return JQ($,J,Y);if(typeof Z==="function")return N9($,J,1,{transform:Z});if(nK(Z))return N9($,J,0,Z);let K={...Y};if(K.capture===!0)K.wrap=!0;if(Z=Z||K.step||1,!V8(Z)){if(Z!=null&&!nK(Z))return h4(Z,K);return N9($,J,1,Z)}if(V8($)&&V8(J))return g4($,J,Z,K);return f4($,J,Math.max(Math.abs(Z),1),K)};ZQ.exports=N9});var QQ=p((
|
|
18
|
-
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var OQ=p((_w,_Q)=>{var c4=L9(),{MAX_LENGTH:UQ,CHAR_BACKSLASH:a6,CHAR_BACKTICK:l4,CHAR_COMMA:o4,CHAR_DOT:r4,CHAR_LEFT_PARENTHESES:i4,CHAR_RIGHT_PARENTHESES:s4,CHAR_LEFT_CURLY_BRACE:n4,CHAR_RIGHT_CURLY_BRACE:a4,CHAR_LEFT_SQUARE_BRACKET:HQ,CHAR_RIGHT_SQUARE_BRACKET:BQ,CHAR_DOUBLE_QUOTE:t4,CHAR_SINGLE_QUOTE:e4,CHAR_NO_BREAK_SPACE:$O,CHAR_ZERO_WIDTH_NOBREAK_SPACE:JO}=jQ(),ZO=($,J={})=>{if(typeof $!=="string")throw TypeError("Expected a string");let Z=J||{},Y=typeof Z.maxLength==="number"?Math.min(UQ,Z.maxLength):UQ;if($.length>Y)throw SyntaxError(`Input length (${$.length}), exceeds max characters (${Y})`);let K={type:"root",input:$,nodes:[]},Q=[K],V=K,X=K,W=0,B=$.length,j=0,_=0,q,H=()=>$[j++],C=(M)=>{if(M.type==="text"&&X.type==="dot")X.type="text";if(X&&X.type==="text"&&M.type==="text"){X.value+=M.value;return}return V.nodes.push(M),M.parent=V,M.prev=X,X=M,M};C({type:"bos"});while(j<B){if(V=Q[Q.length-1],q=H(),q===JO||q===$O)continue;if(q===a6){C({type:"text",value:(J.keepEscaping?q:"")+H()});continue}if(q===BQ){C({type:"text",value:"\\"+q});continue}if(q===HQ){W++;let M;while(j<B&&(M=H())){if(q+=M,M===HQ){W++;continue}if(M===a6){q+=H();continue}if(M===BQ){if(W--,W===0)break}}C({type:"text",value:q});continue}if(q===i4){V=C({type:"paren",nodes:[]}),Q.push(V),C({type:"text",value:q});continue}if(q===s4){if(V.type!=="paren"){C({type:"text",value:q});continue}V=Q.pop(),C({type:"text",value:q}),V=Q[Q.length-1];continue}if(q===t4||q===e4||q===l4){let M=q,I;if(J.keepQuotes!==!0)q="";while(j<B&&(I=H())){if(I===a6){q+=I+H();continue}if(I===M){if(J.keepQuotes===!0)q+=I;break}q+=I}C({type:"text",value:q});continue}if(q===n4){_++;let I={type:"brace",open:!0,close:!1,dollar:X.value&&X.value.slice(-1)==="$"||V.dollar===!0,depth:_,commas:0,ranges:0,nodes:[]};V=C(I),Q.push(V),C({type:"open",value:q});continue}if(q===a4){if(V.type!=="brace"){C({type:"text",value:q});continue}let M="close";V=Q.pop(),V.close=!0,C({type:M,value:q}),_--,V=Q[Q.length-1];continue}if(q===o4&&_>0){if(V.ranges>0){V.ranges=0;let M=V.nodes.shift();V.nodes=[M,{type:"text",value:c4(V)}]}C({type:"comma",value:q}),V.commas++;continue}if(q===r4&&_>0&&V.commas===0){let M=V.nodes;if(_===0||M.length===0){C({type:"text",value:q});continue}if(X.type==="dot"){if(V.range=[],X.value+=q,X.type="range",V.nodes.length!==3&&V.nodes.length!==5){V.invalid=!0,V.ranges=0,X.type="text";continue}V.ranges++,V.args=[];continue}if(X.type==="range"){M.pop();let I=M[M.length-1];I.value+=X.value+q,X=I,V.ranges--;continue}C({type:"dot",value:q});continue}C({type:"text",value:q})}do if(V=Q.pop(),V.type!=="root"){V.nodes.forEach((z)=>{if(!z.nodes){if(z.type==="open")z.isOpen=!0;if(z.type==="close")z.isClose=!0;if(!z.nodes)z.type="text";z.invalid=!0}});let M=Q[Q.length-1],I=M.nodes.indexOf(V);M.nodes.splice(I,1,...V.nodes)}while(Q.length>0);return C({type:"eos"}),K};_Q.exports=ZO});var zQ=p((Ow,FQ)=>{var qQ=L9(),YO=QQ(),KO=XQ(),QO=OQ(),d0=($,J={})=>{let Z=[];if(Array.isArray($))for(let Y of $){let K=d0.create(Y,J);if(Array.isArray(K))Z.push(...K);else Z.push(K)}else Z=[].concat(d0.create($,J));if(J&&J.expand===!0&&J.nodupes===!0)Z=[...new Set(Z)];return Z};d0.parse=($,J={})=>QO($,J);d0.stringify=($,J={})=>{if(typeof $==="string")return qQ(d0.parse($,J),J);return qQ($,J)};d0.compile=($,J={})=>{if(typeof $==="string")$=d0.parse($,J);return YO($,J)};d0.expand=($,J={})=>{if(typeof $==="string")$=d0.parse($,J);let Z=KO($,J);if(J.noempty===!0)Z=Z.filter(Boolean);if(J.nodupes===!0)Z=[...new Set(Z)];return Z};d0.create=($,J={})=>{if($===""||$.length<3)return[$];return J.expand!==!0?d0.compile($,J):d0.expand($,J)};FQ.exports=d0});var G8=p((qw,MQ)=>{var VO=u0("path"),CQ={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},GO={...CQ,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"},XO={__proto__:null,alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};MQ.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:65536,POSIX_REGEX_SOURCE:XO,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:VO.sep,extglobChars($){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${$.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars($){return $===!0?GO:CQ}}});var X8=p((OO)=>{var WO=u0("path"),jO=process.platform==="win32",{REGEX_BACKSLASH:UO,REGEX_REMOVE_BACKSLASH:HO,REGEX_SPECIAL_CHARS:BO,REGEX_SPECIAL_CHARS_GLOBAL:_O}=G8();OO.isObject=($)=>$!==null&&typeof $==="object"&&!Array.isArray($);OO.hasRegexChars=($)=>BO.test($);OO.isRegexChar=($)=>$.length===1&&OO.hasRegexChars($);OO.escapeRegex=($)=>$.replace(_O,"\\$1");OO.toPosixSlashes=($)=>$.replace(UO,"/");OO.removeBackslashes=($)=>{return $.replace(HO,(J)=>{return J==="\\"?"":J})};OO.supportsLookbehinds=()=>{let $=process.version.slice(1).split(".").map(Number);if($.length===3&&$[0]>=9||$[0]===8&&$[1]>=10)return!0;return!1};OO.isWindows=($)=>{if($&&typeof $.windows==="boolean")return $.windows;return jO===!0||WO.sep==="\\"};OO.escapeLast=($,J,Z)=>{let Y=$.lastIndexOf(J,Z);if(Y===-1)return $;if($[Y-1]==="\\")return OO.escapeLast($,J,Y-1);return`${$.slice(0,Y)}\\${$.slice(Y)}`};OO.removePrefix=($,J={})=>{let Z=$;if(Z.startsWith("./"))Z=Z.slice(2),J.prefix="./";return Z};OO.wrapOutput=($,J={},Z={})=>{let Y=Z.contains?"":"^",K=Z.contains?"":"$",Q=`${Y}(?:${$})${K}`;if(J.negated===!0)Q=`(?:^(?!${Q}).*$)`;return Q}});var yQ=p((zw,NQ)=>{var IQ=X8(),{CHAR_ASTERISK:t6,CHAR_AT:SO,CHAR_BACKWARD_SLASH:W8,CHAR_COMMA:wO,CHAR_DOT:e6,CHAR_EXCLAMATION_MARK:$7,CHAR_FORWARD_SLASH:LQ,CHAR_LEFT_CURLY_BRACE:J7,CHAR_LEFT_PARENTHESES:Z7,CHAR_LEFT_SQUARE_BRACKET:RO,CHAR_PLUS:LO,CHAR_QUESTION_MARK:AQ,CHAR_RIGHT_CURLY_BRACE:NO,CHAR_RIGHT_PARENTHESES:SQ,CHAR_RIGHT_SQUARE_BRACKET:yO}=G8(),wQ=($)=>{return $===LQ||$===W8},RQ=($)=>{if($.isPrefix!==!0)$.depth=$.isGlobstar?1/0:1},TO=($,J)=>{let Z=J||{},Y=$.length-1,K=Z.parts===!0||Z.scanToEnd===!0,Q=[],V=[],X=[],W=$,B=-1,j=0,_=0,q=!1,H=!1,C=!1,M=!1,I=!1,z=!1,P=!1,D=!1,L=!1,R=!1,N=0,x,b,v={value:"",depth:0,isGlob:!1},m=()=>B>=Y,A=()=>W.charCodeAt(B+1),u=()=>{return x=b,W.charCodeAt(++B)};while(B<Y){b=u();let A$;if(b===W8){if(P=v.backslashes=!0,b=u(),b===J7)z=!0;continue}if(z===!0||b===J7){N++;while(m()!==!0&&(b=u())){if(b===W8){P=v.backslashes=!0,u();continue}if(b===J7){N++;continue}if(z!==!0&&b===e6&&(b=u())===e6){if(q=v.isBrace=!0,C=v.isGlob=!0,R=!0,K===!0)continue;break}if(z!==!0&&b===wO){if(q=v.isBrace=!0,C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===NO){if(N--,N===0){z=!1,q=v.isBrace=!0,R=!0;break}}}if(K===!0)continue;break}if(b===LQ){if(Q.push(B),V.push(v),v={value:"",depth:0,isGlob:!1},R===!0)continue;if(x===e6&&B===j+1){j+=2;continue}_=B+1;continue}if(Z.noext!==!0){if((b===LO||b===SO||b===t6||b===AQ||b===$7)===!0&&A()===Z7){if(C=v.isGlob=!0,M=v.isExtglob=!0,R=!0,b===$7&&B===j)L=!0;if(K===!0){while(m()!==!0&&(b=u())){if(b===W8){P=v.backslashes=!0,b=u();continue}if(b===SQ){C=v.isGlob=!0,R=!0;break}}continue}break}}if(b===t6){if(x===t6)I=v.isGlobstar=!0;if(C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===AQ){if(C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===RO){while(m()!==!0&&(A$=u())){if(A$===W8){P=v.backslashes=!0,u();continue}if(A$===yO){H=v.isBracket=!0,C=v.isGlob=!0,R=!0;break}}if(K===!0)continue;break}if(Z.nonegate!==!0&&b===$7&&B===j){D=v.negated=!0,j++;continue}if(Z.noparen!==!0&&b===Z7){if(C=v.isGlob=!0,K===!0){while(m()!==!0&&(b=u())){if(b===Z7){P=v.backslashes=!0,b=u();continue}if(b===SQ){R=!0;break}}continue}break}if(C===!0){if(R=!0,K===!0)continue;break}}if(Z.noext===!0)M=!1,C=!1;let r=W,S="",T="";if(j>0)S=W.slice(0,j),W=W.slice(j),_-=j;if(r&&C===!0&&_>0)r=W.slice(0,_),T=W.slice(_);else if(C===!0)r="",T=W;else r=W;if(r&&r!==""&&r!=="/"&&r!==W){if(wQ(r.charCodeAt(r.length-1)))r=r.slice(0,-1)}if(Z.unescape===!0){if(T)T=IQ.removeBackslashes(T);if(r&&P===!0)r=IQ.removeBackslashes(r)}let k={prefix:S,input:$,start:j,base:r,glob:T,isBrace:q,isBracket:H,isGlob:C,isExtglob:M,isGlobstar:I,negated:D,negatedExtglob:L};if(Z.tokens===!0){if(k.maxDepth=0,!wQ(b))V.push(v);k.tokens=V}if(Z.parts===!0||Z.tokens===!0){let A$;for(let s=0;s<Q.length;s++){let J$=A$?A$+1:j,Z$=Q[s],W$=$.slice(J$,Z$);if(Z.tokens){if(s===0&&j!==0)V[s].isPrefix=!0,V[s].value=S;else V[s].value=W$;RQ(V[s]),k.maxDepth+=V[s].depth}if(s!==0||W$!=="")X.push(W$);A$=Z$}if(A$&&A$+1<$.length){let s=$.slice(A$+1);if(X.push(s),Z.tokens)V[V.length-1].value=s,RQ(V[V.length-1]),k.maxDepth+=V[V.length-1].depth}k.slashes=Q,k.parts=X}return k};NQ.exports=TO});var bQ=p((Cw,xQ)=>{var j8=G8(),S0=X8(),{MAX_LENGTH:T9,POSIX_REGEX_SOURCE:kO,REGEX_NON_SPECIAL_CHARS:EO,REGEX_SPECIAL_CHARS_BACKREF:xO,REPLACEMENTS:TQ}=j8,bO=($,J)=>{if(typeof J.expandRange==="function")return J.expandRange(...$,J);$.sort();let Z=`[${$.join("-")}]`;try{new RegExp(Z)}catch(Y){return $.map((K)=>S0.escapeRegex(K)).join("..")}return Z},OJ=($,J)=>{return`Missing ${$}: "${J}" - use "\\\\${J}" to match literal characters`},kQ=($)=>{let J=[],Z=0,Y=0,K=0,Q="",V=!1;for(let X of $){if(V===!0){Q+=X,V=!1;continue}if(X==="\\"){Q+=X,V=!0;continue}if(X==='"'){K=K===1?0:1,Q+=X;continue}if(K===0){if(X==="[")Z++;else if(X==="]"&&Z>0)Z--;else if(Z===0){if(X==="(")Y++;else if(X===")"&&Y>0)Y--;else if(X==="|"&&Y===0){J.push(Q),Q="";continue}}}Q+=X}return J.push(Q),J},vO=($)=>{let J=!1;for(let Z of $){if(J===!0){J=!1;continue}if(Z==="\\"){J=!0;continue}if(/[?*+@!()[\]{}]/.test(Z))return!1}return!0},EQ=($)=>{let J=$.trim(),Z=!0;while(Z===!0)if(Z=!1,/^@\([^\\()[\]{}|]+\)$/.test(J))J=J.slice(2,-1),Z=!0;if(!vO(J))return;return J.replace(/\\(.)/g,"$1")},hO=($)=>{let J=$.map(EQ).filter(Boolean);for(let Z=0;Z<J.length;Z++)for(let Y=Z+1;Y<J.length;Y++){let K=J[Z],Q=J[Y],V=K[0];if(!V||K!==V.repeat(K.length)||Q!==V.repeat(Q.length))continue;if(K===Q||K.startsWith(Q)||Q.startsWith(K))return!0}return!1},Y7=($,J=!0)=>{if($[0]!=="+"&&$[0]!=="*"||$[1]!=="(")return;let Z=0,Y=0,K=0,Q=!1;for(let V=1;V<$.length;V++){let X=$[V];if(Q===!0){Q=!1;continue}if(X==="\\"){Q=!0;continue}if(X==='"'){K=K===1?0:1;continue}if(K===1)continue;if(X==="["){Z++;continue}if(X==="]"&&Z>0){Z--;continue}if(Z>0)continue;if(X==="("){Y++;continue}if(X===")"){if(Y--,Y===0){if(J===!0&&V!==$.length-1)return;return{type:$[0],body:$.slice(2,V),end:V}}}}},gO=($)=>{let J=0,Z=[];while(J<$.length){let K=Y7($.slice(J),!1);if(!K||K.type!=="*")return;let Q=kQ(K.body).map((X)=>X.trim());if(Q.length!==1)return;let V=EQ(Q[0]);if(!V||V.length!==1)return;Z.push(V),J+=K.end+1}if(Z.length<1)return;return`${Z.length===1?S0.escapeRegex(Z[0]):`[${Z.map((K)=>S0.escapeRegex(K)).join("")}]`}*`},fO=($)=>{let J=0,Z=$.trim(),Y=Y7(Z);while(Y)J++,Z=Y.body.trim(),Y=Y7(Z);return J},mO=($,J)=>{if(J.maxExtglobRecursion===!1)return{risky:!1};let Z=typeof J.maxExtglobRecursion==="number"?J.maxExtglobRecursion:j8.DEFAULT_MAX_EXTGLOB_RECURSION,Y=kQ($).map((K)=>K.trim());if(Y.length>1){if(Y.some((K)=>K==="")||Y.some((K)=>/^[*?]+$/.test(K))||hO(Y))return{risky:!0}}for(let K of Y){let Q=gO(K);if(Q)return{risky:!0,safeOutput:Q};if(fO(K)>Z)return{risky:!0}}return{risky:!1}},K7=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");$=TQ[$]||$;let Z={...J},Y=typeof Z.maxLength==="number"?Math.min(T9,Z.maxLength):T9,K=$.length;if(K>Y)throw SyntaxError(`Input length: ${K}, exceeds maximum allowed length: ${Y}`);let Q={type:"bos",value:"",output:Z.prepend||""},V=[Q],X=Z.capture?"":"?:",W=S0.isWindows(J),B=j8.globChars(W),j=j8.extglobChars(B),{DOT_LITERAL:_,PLUS_LITERAL:q,SLASH_LITERAL:H,ONE_CHAR:C,DOTS_SLASH:M,NO_DOT:I,NO_DOT_SLASH:z,NO_DOTS_SLASH:P,QMARK:D,QMARK_NO_DOT:L,STAR:R,START_ANCHOR:N}=B,x=(d)=>{return`(${X}(?:(?!${N}${d.dot?M:_}).)*?)`},b=Z.dot?"":I,v=Z.dot?D:L,m=Z.bash===!0?x(Z):R;if(Z.capture)m=`(${m})`;if(typeof Z.noext==="boolean")Z.noextglob=Z.noext;let A={input:$,index:-1,start:0,dot:Z.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:V};$=S0.removePrefix($,A),K=$.length;let u=[],r=[],S=[],T=Q,k,A$=()=>A.index===K-1,s=A.peek=(d=1)=>$[A.index+d],J$=A.advance=()=>$[++A.index]||"",Z$=()=>$.slice(A.index+1),W$=(d="",Y$=0)=>{A.consumed+=d,A.index+=Y$},y$=(d)=>{A.output+=d.output!=null?d.output:d.value,W$(d.value)},Q$=()=>{let d=1;while(s()==="!"&&(s(2)!=="("||s(3)==="?"))J$(),A.start++,d++;if(d%2===0)return!1;return A.negated=!0,A.start++,!0},y=(d)=>{A[d]++,S.push(d)},n=(d)=>{A[d]--,S.pop()},a=(d)=>{if(T.type==="globstar"){let Y$=A.braces>0&&(d.type==="comma"||d.type==="brace"),g=d.extglob===!0||u.length&&(d.type==="pipe"||d.type==="paren");if(d.type!=="slash"&&d.type!=="paren"&&!Y$&&!g)A.output=A.output.slice(0,-T.output.length),T.type="star",T.value="*",T.output=m,A.output+=T.output}if(u.length&&d.type!=="paren")u[u.length-1].inner+=d.value;if(d.value||d.output)y$(d);if(T&&T.type==="text"&&d.type==="text"){T.value+=d.value,T.output=(T.output||"")+d.value;return}d.prev=T,V.push(d),T=d},c$=(d,Y$)=>{let g={...j[Y$],conditions:1,inner:""};g.prev=T,g.parens=A.parens,g.output=A.output,g.startIndex=A.index,g.tokensIndex=V.length;let t=(Z.capture?"(":"")+g.open;y("parens"),a({type:d,value:Y$,output:A.output?"":C}),a({type:"paren",extglob:!0,value:J$(),output:t}),u.push(g)},l=(d)=>{let Y$=$.slice(d.startIndex,A.index+1),g=$.slice(d.startIndex+2,A.index),t=mO(g,Z);if((d.type==="plus"||d.type==="star")&&t.risky){let M$=t.safeOutput?(d.output?"":C)+(Z.capture?`(${t.safeOutput})`:t.safeOutput):void 0,r$=V[d.tokensIndex];r$.type="text",r$.value=Y$,r$.output=M$||S0.escapeRegex(Y$);for(let K0=d.tokensIndex+1;K0<V.length;K0++)V[K0].value="",V[K0].output="",delete V[K0].suffix;A.output=d.output+r$.output,A.backtrack=!0,a({type:"paren",extglob:!0,value:k,output:""}),n("parens");return}let C$=d.close+(Z.capture?")":""),T$;if(d.type==="negate"){let M$=m;if(d.inner&&d.inner.length>1&&d.inner.includes("/"))M$=x(Z);if(M$!==m||A$()||/^\)+$/.test(Z$()))C$=d.close=`)$))${M$}`;if(d.inner.includes("*")&&(T$=Z$())&&/^\.[^\\/.]+$/.test(T$)){let r$=K7(T$,{...J,fastpaths:!1}).output;C$=d.close=`)${r$})${M$})`}if(d.prev.type==="bos")A.negatedExtglob=!0}a({type:"paren",extglob:!0,value:k,output:C$}),n("parens")};if(Z.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test($)){let d=!1,Y$=$.replace(xO,(g,t,C$,T$,M$,r$)=>{if(T$==="\\")return d=!0,g;if(T$==="?"){if(t)return t+T$+(M$?D.repeat(M$.length):"");if(r$===0)return v+(M$?D.repeat(M$.length):"");return D.repeat(C$.length)}if(T$===".")return _.repeat(C$.length);if(T$==="*"){if(t)return t+T$+(M$?m:"");return m}return t?g:`\\${g}`});if(d===!0)if(Z.unescape===!0)Y$=Y$.replace(/\\/g,"");else Y$=Y$.replace(/\\+/g,(g)=>{return g.length%2===0?"\\\\":g?"\\":""});if(Y$===$&&Z.contains===!0)return A.output=$,A;return A.output=S0.wrapOutput(Y$,A,J),A}while(!A$()){if(k=J$(),k==="\x00")continue;if(k==="\\"){let g=s();if(g==="/"&&Z.bash!==!0)continue;if(g==="."||g===";")continue;if(!g){k+="\\",a({type:"text",value:k});continue}let t=/^\\+/.exec(Z$()),C$=0;if(t&&t[0].length>2){if(C$=t[0].length,A.index+=C$,C$%2!==0)k+="\\"}if(Z.unescape===!0)k=J$();else k+=J$();if(A.brackets===0){a({type:"text",value:k});continue}}if(A.brackets>0&&(k!=="]"||T.value==="["||T.value==="[^")){if(Z.posix!==!1&&k===":"){let g=T.value.slice(1);if(g.includes("[")){if(T.posix=!0,g.includes(":")){let t=T.value.lastIndexOf("["),C$=T.value.slice(0,t),T$=T.value.slice(t+2),M$=kO[T$];if(M$){if(T.value=C$+M$,A.backtrack=!0,J$(),!Q.output&&V.indexOf(T)===1)Q.output=C;continue}}}}if(k==="["&&s()!==":"||k==="-"&&s()==="]")k=`\\${k}`;if(k==="]"&&(T.value==="["||T.value==="[^"))k=`\\${k}`;if(Z.posix===!0&&k==="!"&&T.value==="[")k="^";T.value+=k,y$({value:k});continue}if(A.quotes===1&&k!=='"'){k=S0.escapeRegex(k),T.value+=k,y$({value:k});continue}if(k==='"'){if(A.quotes=A.quotes===1?0:1,Z.keepQuotes===!0)a({type:"text",value:k});continue}if(k==="("){y("parens"),a({type:"paren",value:k});continue}if(k===")"){if(A.parens===0&&Z.strictBrackets===!0)throw SyntaxError(OJ("opening","("));let g=u[u.length-1];if(g&&A.parens===g.parens+1){l(u.pop());continue}a({type:"paren",value:k,output:A.parens?")":"\\)"}),n("parens");continue}if(k==="["){if(Z.nobracket===!0||!Z$().includes("]")){if(Z.nobracket!==!0&&Z.strictBrackets===!0)throw SyntaxError(OJ("closing","]"));k=`\\${k}`}else y("brackets");a({type:"bracket",value:k});continue}if(k==="]"){if(Z.nobracket===!0||T&&T.type==="bracket"&&T.value.length===1){a({type:"text",value:k,output:`\\${k}`});continue}if(A.brackets===0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("opening","["));a({type:"text",value:k,output:`\\${k}`});continue}n("brackets");let g=T.value.slice(1);if(T.posix!==!0&&g[0]==="^"&&!g.includes("/"))k=`/${k}`;if(T.value+=k,y$({value:k}),Z.literalBrackets===!1||S0.hasRegexChars(g))continue;let t=S0.escapeRegex(T.value);if(A.output=A.output.slice(0,-T.value.length),Z.literalBrackets===!0){A.output+=t,T.value=t;continue}T.value=`(${X}${t}|${T.value})`,A.output+=T.value;continue}if(k==="{"&&Z.nobrace!==!0){y("braces");let g={type:"brace",value:k,output:"(",outputIndex:A.output.length,tokensIndex:A.tokens.length};r.push(g),a(g);continue}if(k==="}"){let g=r[r.length-1];if(Z.nobrace===!0||!g){a({type:"text",value:k,output:k});continue}let t=")";if(g.dots===!0){let C$=V.slice(),T$=[];for(let M$=C$.length-1;M$>=0;M$--){if(V.pop(),C$[M$].type==="brace")break;if(C$[M$].type!=="dots")T$.unshift(C$[M$].value)}t=bO(T$,Z),A.backtrack=!0}if(g.comma!==!0&&g.dots!==!0){let C$=A.output.slice(0,g.outputIndex),T$=A.tokens.slice(g.tokensIndex);g.value=g.output="\\{",k=t="\\}",A.output=C$;for(let M$ of T$)A.output+=M$.output||M$.value}a({type:"brace",value:k,output:t}),n("braces"),r.pop();continue}if(k==="|"){if(u.length>0)u[u.length-1].conditions++;a({type:"text",value:k});continue}if(k===","){let g=k,t=r[r.length-1];if(t&&S[S.length-1]==="braces")t.comma=!0,g="|";a({type:"comma",value:k,output:g});continue}if(k==="/"){if(T.type==="dot"&&A.index===A.start+1){A.start=A.index+1,A.consumed="",A.output="",V.pop(),T=Q;continue}a({type:"slash",value:k,output:H});continue}if(k==="."){if(A.braces>0&&T.type==="dot"){if(T.value===".")T.output=_;let g=r[r.length-1];T.type="dots",T.output+=k,T.value+=k,g.dots=!0;continue}if(A.braces+A.parens===0&&T.type!=="bos"&&T.type!=="slash"){a({type:"text",value:k,output:_});continue}a({type:"dot",value:k,output:_});continue}if(k==="?"){if(!(T&&T.value==="(")&&Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){c$("qmark",k);continue}if(T&&T.type==="paren"){let t=s(),C$=k;if(t==="<"&&!S0.supportsLookbehinds())throw Error("Node.js v10 or higher is required for regex lookbehinds");if(T.value==="("&&!/[!=<:]/.test(t)||t==="<"&&!/<([!=]|\w+>)/.test(Z$()))C$=`\\${k}`;a({type:"text",value:k,output:C$});continue}if(Z.dot!==!0&&(T.type==="slash"||T.type==="bos")){a({type:"qmark",value:k,output:L});continue}a({type:"qmark",value:k,output:D});continue}if(k==="!"){if(Z.noextglob!==!0&&s()==="("){if(s(2)!=="?"||!/[!=<:]/.test(s(3))){c$("negate",k);continue}}if(Z.nonegate!==!0&&A.index===0){Q$();continue}}if(k==="+"){if(Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){c$("plus",k);continue}if(T&&T.value==="("||Z.regex===!1){a({type:"plus",value:k,output:q});continue}if(T&&(T.type==="bracket"||T.type==="paren"||T.type==="brace")||A.parens>0){a({type:"plus",value:k});continue}a({type:"plus",value:q});continue}if(k==="@"){if(Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){a({type:"at",extglob:!0,value:k,output:""});continue}a({type:"text",value:k});continue}if(k!=="*"){if(k==="$"||k==="^")k=`\\${k}`;let g=EO.exec(Z$());if(g)k+=g[0],A.index+=g[0].length;a({type:"text",value:k});continue}if(T&&(T.type==="globstar"||T.star===!0)){T.type="star",T.star=!0,T.value+=k,T.output=m,A.backtrack=!0,A.globstar=!0,W$(k);continue}let d=Z$();if(Z.noextglob!==!0&&/^\([^?]/.test(d)){c$("star",k);continue}if(T.type==="star"){if(Z.noglobstar===!0){W$(k);continue}let g=T.prev,t=g.prev,C$=g.type==="slash"||g.type==="bos",T$=t&&(t.type==="star"||t.type==="globstar");if(Z.bash===!0&&(!C$||d[0]&&d[0]!=="/")){a({type:"star",value:k,output:""});continue}let M$=A.braces>0&&(g.type==="comma"||g.type==="brace"),r$=u.length&&(g.type==="pipe"||g.type==="paren");if(!C$&&g.type!=="paren"&&!M$&&!r$){a({type:"star",value:k,output:""});continue}while(d.slice(0,3)==="/**"){let K0=$[A.index+4];if(K0&&K0!=="/")break;d=d.slice(3),W$("/**",3)}if(g.type==="bos"&&A$()){T.type="globstar",T.value+=k,T.output=x(Z),A.output=T.output,A.globstar=!0,W$(k);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&!T$&&A$()){A.output=A.output.slice(0,-(g.output+T.output).length),g.output=`(?:${g.output}`,T.type="globstar",T.output=x(Z)+(Z.strictSlashes?")":"|$)"),T.value+=k,A.globstar=!0,A.output+=g.output+T.output,W$(k);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&d[0]==="/"){let K0=d[1]!==void 0?"|$":"";A.output=A.output.slice(0,-(g.output+T.output).length),g.output=`(?:${g.output}`,T.type="globstar",T.output=`${x(Z)}${H}|${H}${K0})`,T.value+=k,A.output+=g.output+T.output,A.globstar=!0,W$(k+J$()),a({type:"slash",value:"/",output:""});continue}if(g.type==="bos"&&d[0]==="/"){T.type="globstar",T.value+=k,T.output=`(?:^|${H}|${x(Z)}${H})`,A.output=T.output,A.globstar=!0,W$(k+J$()),a({type:"slash",value:"/",output:""});continue}A.output=A.output.slice(0,-T.output.length),T.type="globstar",T.output=x(Z),T.value+=k,A.output+=T.output,A.globstar=!0,W$(k);continue}let Y$={type:"star",value:k,output:m};if(Z.bash===!0){if(Y$.output=".*?",T.type==="bos"||T.type==="slash")Y$.output=b+Y$.output;a(Y$);continue}if(T&&(T.type==="bracket"||T.type==="paren")&&Z.regex===!0){Y$.output=k,a(Y$);continue}if(A.index===A.start||T.type==="slash"||T.type==="dot"){if(T.type==="dot")A.output+=z,T.output+=z;else if(Z.dot===!0)A.output+=P,T.output+=P;else A.output+=b,T.output+=b;if(s()!=="*")A.output+=C,T.output+=C}a(Y$)}while(A.brackets>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing","]"));A.output=S0.escapeLast(A.output,"["),n("brackets")}while(A.parens>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing",")"));A.output=S0.escapeLast(A.output,"("),n("parens")}while(A.braces>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing","}"));A.output=S0.escapeLast(A.output,"{"),n("braces")}if(Z.strictSlashes!==!0&&(T.type==="star"||T.type==="bracket"))a({type:"maybe_slash",value:"",output:`${H}?`});if(A.backtrack===!0){A.output="";for(let d of A.tokens)if(A.output+=d.output!=null?d.output:d.value,d.suffix)A.output+=d.suffix}return A};K7.fastpaths=($,J)=>{let Z={...J},Y=typeof Z.maxLength==="number"?Math.min(T9,Z.maxLength):T9,K=$.length;if(K>Y)throw SyntaxError(`Input length: ${K}, exceeds maximum allowed length: ${Y}`);$=TQ[$]||$;let Q=S0.isWindows(J),{DOT_LITERAL:V,SLASH_LITERAL:X,ONE_CHAR:W,DOTS_SLASH:B,NO_DOT:j,NO_DOTS:_,NO_DOTS_SLASH:q,STAR:H,START_ANCHOR:C}=j8.globChars(Q),M=Z.dot?_:j,I=Z.dot?q:j,z=Z.capture?"":"?:",P={negated:!1,prefix:""},D=Z.bash===!0?".*?":H;if(Z.capture)D=`(${D})`;let L=(b)=>{if(b.noglobstar===!0)return D;return`(${z}(?:(?!${C}${b.dot?B:V}).)*?)`},R=(b)=>{switch(b){case"*":return`${M}${W}${D}`;case".*":return`${V}${W}${D}`;case"*.*":return`${M}${D}${V}${W}${D}`;case"*/*":return`${M}${D}${X}${W}${I}${D}`;case"**":return M+L(Z);case"**/*":return`(?:${M}${L(Z)}${X})?${I}${W}${D}`;case"**/*.*":return`(?:${M}${L(Z)}${X})?${I}${D}${V}${W}${D}`;case"**/.*":return`(?:${M}${L(Z)}${X})?${V}${W}${D}`;default:{let v=/^(.*?)\.(\w+)$/.exec(b);if(!v)return;let m=R(v[1]);if(!m)return;return m+V+v[2]}}},N=S0.removePrefix($,P),x=R(N);if(x&&Z.strictSlashes!==!0)x+=`${X}?`;return x};xQ.exports=K7});var hQ=p((Mw,vQ)=>{var uO=u0("path"),dO=yQ(),Q7=bQ(),V7=X8(),pO=G8(),cO=($)=>$&&typeof $==="object"&&!Array.isArray($),U0=($,J,Z=!1)=>{if(Array.isArray($)){let j=$.map((q)=>U0(q,J,Z));return(q)=>{for(let H of j){let C=H(q);if(C)return C}return!1}}let Y=cO($)&&$.tokens&&$.input;if($===""||typeof $!=="string"&&!Y)throw TypeError("Expected pattern to be a non-empty string");let K=J||{},Q=V7.isWindows(J),V=Y?U0.compileRe($,J):U0.makeRe($,J,!1,!0),X=V.state;delete V.state;let W=()=>!1;if(K.ignore){let j={...J,ignore:null,onMatch:null,onResult:null};W=U0(K.ignore,j,Z)}let B=(j,_=!1)=>{let{isMatch:q,match:H,output:C}=U0.test(j,V,J,{glob:$,posix:Q}),M={glob:$,state:X,regex:V,posix:Q,input:j,output:C,match:H,isMatch:q};if(typeof K.onResult==="function")K.onResult(M);if(q===!1)return M.isMatch=!1,_?M:!1;if(W(j)){if(typeof K.onIgnore==="function")K.onIgnore(M);return M.isMatch=!1,_?M:!1}if(typeof K.onMatch==="function")K.onMatch(M);return _?M:!0};if(Z)B.state=X;return B};U0.test=($,J,Z,{glob:Y,posix:K}={})=>{if(typeof $!=="string")throw TypeError("Expected input to be a string");if($==="")return{isMatch:!1,output:""};let Q=Z||{},V=Q.format||(K?V7.toPosixSlashes:null),X=$===Y,W=X&&V?V($):$;if(X===!1)W=V?V($):$,X=W===Y;if(X===!1||Q.capture===!0)if(Q.matchBase===!0||Q.basename===!0)X=U0.matchBase($,J,Z,K);else X=J.exec(W);return{isMatch:Boolean(X),match:X,output:W}};U0.matchBase=($,J,Z,Y=V7.isWindows(Z))=>{return(J instanceof RegExp?J:U0.makeRe(J,Z)).test(uO.basename($))};U0.isMatch=($,J,Z)=>U0(J,Z)($);U0.parse=($,J)=>{if(Array.isArray($))return $.map((Z)=>U0.parse(Z,J));return Q7($,{...J,fastpaths:!1})};U0.scan=($,J)=>dO($,J);U0.compileRe=($,J,Z=!1,Y=!1)=>{if(Z===!0)return $.output;let K=J||{},Q=K.contains?"":"^",V=K.contains?"":"$",X=`${Q}(?:${$.output})${V}`;if($&&$.negated===!0)X=`^(?!${X}).*$`;let W=U0.toRegex(X,J);if(Y===!0)W.state=$;return W};U0.makeRe=($,J={},Z=!1,Y=!1)=>{if(!$||typeof $!=="string")throw TypeError("Expected a non-empty string");let K={negated:!1,fastpaths:!0};if(J.fastpaths!==!1&&($[0]==="."||$[0]==="*"))K.output=Q7.fastpaths($,J);if(!K.output)K=Q7($,J);return U0.compileRe(K,J,Z,Y)};U0.toRegex=($,J)=>{try{let Z=J||{};return new RegExp($,Z.flags||(Z.nocase?"i":""))}catch(Z){if(J&&J.debug===!0)throw Z;return/$^/}};U0.constants=pO;vQ.exports=U0});var pQ=p((Dw,dQ)=>{var fQ=u0("util"),mQ=zQ(),w1=hQ(),G7=X8(),gQ=($)=>$===""||$==="./",uQ=($)=>{let J=$.indexOf("{");return J>-1&&$.indexOf("}",J)>-1},a$=($,J,Z)=>{J=[].concat(J),$=[].concat($);let Y=new Set,K=new Set,Q=new Set,V=0,X=(j)=>{if(Q.add(j.output),Z&&Z.onResult)Z.onResult(j)};for(let j=0;j<J.length;j++){let _=w1(String(J[j]),{...Z,onResult:X},!0),q=_.state.negated||_.state.negatedExtglob;if(q)V++;for(let H of $){let C=_(H,!0);if(!(q?!C.isMatch:C.isMatch))continue;if(q)Y.add(C.output);else Y.delete(C.output),K.add(C.output)}}let B=(V===J.length?[...Q]:[...K]).filter((j)=>!Y.has(j));if(Z&&B.length===0){if(Z.failglob===!0)throw Error(`No matches found for "${J.join(", ")}"`);if(Z.nonull===!0||Z.nullglob===!0)return Z.unescape?J.map((j)=>j.replace(/\\/g,"")):J}return B};a$.match=a$;a$.matcher=($,J)=>w1($,J);a$.isMatch=($,J,Z)=>w1(J,Z)($);a$.any=a$.isMatch;a$.not=($,J,Z={})=>{J=[].concat(J).map(String);let Y=new Set,K=[],V=new Set(a$($,J,{...Z,onResult:(X)=>{if(Z.onResult)Z.onResult(X);K.push(X.output)}}));for(let X of K)if(!V.has(X))Y.add(X);return[...Y]};a$.contains=($,J,Z)=>{if(typeof $!=="string")throw TypeError(`Expected a string: "${fQ.inspect($)}"`);if(Array.isArray(J))return J.some((Y)=>a$.contains($,Y,Z));if(typeof J==="string"){if(gQ($)||gQ(J))return!1;if($.includes(J)||$.startsWith("./")&&$.slice(2).includes(J))return!0}return a$.isMatch($,J,{...Z,contains:!0})};a$.matchKeys=($,J,Z)=>{if(!G7.isObject($))throw TypeError("Expected the first argument to be an object");let Y=a$(Object.keys($),J,Z),K={};for(let Q of Y)K[Q]=$[Q];return K};a$.some=($,J,Z)=>{let Y=[].concat($);for(let K of[].concat(J)){let Q=w1(String(K),Z);if(Y.some((V)=>Q(V)))return!0}return!1};a$.every=($,J,Z)=>{let Y=[].concat($);for(let K of[].concat(J)){let Q=w1(String(K),Z);if(!Y.every((V)=>Q(V)))return!1}return!0};a$.all=($,J,Z)=>{if(typeof $!=="string")throw TypeError(`Expected a string: "${fQ.inspect($)}"`);return[].concat(J).every((Y)=>w1(Y,Z)($))};a$.capture=($,J,Z)=>{let Y=G7.isWindows(Z),Q=w1.makeRe(String($),{...Z,capture:!0}).exec(Y?G7.toPosixSlashes(J):J);if(Q)return Q.slice(1).map((V)=>V===void 0?"":V)};a$.makeRe=(...$)=>w1.makeRe(...$);a$.scan=(...$)=>w1.scan(...$);a$.parse=($,J)=>{let Z=[];for(let Y of[].concat($||[]))for(let K of mQ(String(Y),J))Z.push(w1.parse(K,J));return Z};a$.braces=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");if(J&&J.nobrace===!0||!uQ($))return[$];return mQ($,J)};a$.braceExpand=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");return a$.braces($,{...J,expand:!0})};a$.hasBraces=uQ;dQ.exports=a$});var lQ=p((Pw,cQ)=>{/*!
|
|
17
|
+
*/var k4=u0("util"),aK=sK(),nK=($)=>$!==null&&typeof $==="object"&&!Array.isArray($),E4=($)=>{return(J)=>$===!0?Number(J):String(J)},i6=($)=>{return typeof $==="number"||typeof $==="string"&&$!==""},V8=($)=>Number.isInteger(+$),s6=($)=>{let J=`${$}`,Z=-1;if(J[0]==="-")J=J.slice(1);if(J==="0")return!1;while(J[++Z]==="0");return Z>0},x4=($,J,Z)=>{if(typeof $==="string"||typeof J==="string")return!0;return Z.stringify===!0},b4=($,J,Z)=>{if(J>0){let Y=$[0]==="-"?"-":"";if(Y)$=$.slice(1);$=Y+$.padStart(Y?J-1:J,"0")}if(Z===!1)return String($);return $},y9=($,J)=>{let Z=$[0]==="-"?"-":"";if(Z)$=$.slice(1),J--;while($.length<J)$="0"+$;return Z?"-"+$:$},v4=($,J,Z)=>{$.negatives.sort((X,W)=>X<W?-1:X>W?1:0),$.positives.sort((X,W)=>X<W?-1:X>W?1:0);let Y=J.capture?"":"?:",K="",Q="",V;if($.positives.length)K=$.positives.map((X)=>y9(String(X),Z)).join("|");if($.negatives.length)Q=`-(${Y}${$.negatives.map((X)=>y9(String(X),Z)).join("|")})`;if(K&&Q)V=`${K}|${Q}`;else V=K||Q;if(J.wrap)return`(${Y}${V})`;return V},tK=($,J,Z,Y)=>{if(Z)return aK($,J,{wrap:!1,...Y});let K=String.fromCharCode($);if($===J)return K;let Q=String.fromCharCode(J);return`[${K}-${Q}]`},eK=($,J,Z)=>{if(Array.isArray($)){let Y=Z.wrap===!0,K=Z.capture?"":"?:";return Y?`(${K}${$.join("|")})`:$.join("|")}return aK($,J,Z)},$Q=(...$)=>{return RangeError("Invalid range arguments: "+k4.inspect(...$))},JQ=($,J,Z)=>{if(Z.strictRanges===!0)throw $Q([$,J]);return[]},h4=($,J)=>{if(J.strictRanges===!0)throw TypeError(`Expected step "${$}" to be a number`);return[]},g4=($,J,Z=1,Y={})=>{let K=Number($),Q=Number(J);if(!Number.isInteger(K)||!Number.isInteger(Q)){if(Y.strictRanges===!0)throw $Q([$,J]);return[]}if(K===0)K=0;if(Q===0)Q=0;let V=K>Q,X=String($),W=String(J),B=String(Z);Z=Math.max(Math.abs(Z),1);let j=s6(X)||s6(W)||s6(B),_=j?Math.max(X.length,W.length,B.length):0,q=j===!1&&x4($,J,Y)===!1,H=Y.transform||E4(q);if(Y.toRegex&&Z===1)return tK(y9($,_),y9(J,_),!0,Y);let C={negatives:[],positives:[]},M=(P)=>C[P<0?"negatives":"positives"].push(Math.abs(P)),I=[],z=0;while(V?K>=Q:K<=Q){if(Y.toRegex===!0&&Z>1)M(K);else I.push(b4(H(K,z),_,q));K=V?K-Z:K+Z,z++}if(Y.toRegex===!0)return Z>1?v4(C,Y,_):eK(I,null,{wrap:!1,...Y});return I},f4=($,J,Z=1,Y={})=>{if(!V8($)&&$.length>1||!V8(J)&&J.length>1)return JQ($,J,Y);let K=Y.transform||((q)=>String.fromCharCode(q)),Q=`${$}`.charCodeAt(0),V=`${J}`.charCodeAt(0),X=Q>V,W=Math.min(Q,V),B=Math.max(Q,V);if(Y.toRegex&&Z===1)return tK(W,B,!1,Y);let j=[],_=0;while(X?Q>=V:Q<=V)j.push(K(Q,_)),Q=X?Q-Z:Q+Z,_++;if(Y.toRegex===!0)return eK(j,null,{wrap:!1,options:Y});return j},N9=($,J,Z,Y={})=>{if(J==null&&i6($))return[$];if(!i6($)||!i6(J))return JQ($,J,Y);if(typeof Z==="function")return N9($,J,1,{transform:Z});if(nK(Z))return N9($,J,0,Z);let K={...Y};if(K.capture===!0)K.wrap=!0;if(Z=Z||K.step||1,!V8(Z)){if(Z!=null&&!nK(Z))return h4(Z,K);return N9($,J,1,Z)}if(V8($)&&V8(J))return g4($,J,Z,K);return f4($,J,Math.max(Math.abs(Z),1),K)};ZQ.exports=N9});var QQ=p((Hw,KQ)=>{var m4=n6(),YQ=R9(),u4=($,J={})=>{let Z=(Y,K={})=>{let Q=YQ.isInvalidBrace(K),V=Y.invalid===!0&&J.escapeInvalid===!0,X=Q===!0||V===!0,W=J.escapeInvalid===!0?"\\":"",B="";if(Y.isOpen===!0)return W+Y.value;if(Y.isClose===!0)return console.log("node.isClose",W,Y.value),W+Y.value;if(Y.type==="open")return X?W+Y.value:"(";if(Y.type==="close")return X?W+Y.value:")";if(Y.type==="comma")return Y.prev.type==="comma"?"":X?Y.value:"|";if(Y.value)return Y.value;if(Y.nodes&&Y.ranges>0){let j=YQ.reduce(Y.nodes),_=m4(...j,{...J,wrap:!1,toRegex:!0,strictZeros:!0});if(_.length!==0)return j.length>1&&_.length>1?`(${_})`:_}if(Y.nodes)for(let j of Y.nodes)B+=Z(j,Y);return B};return Z($)};KQ.exports=u4});var XQ=p((Bw,GQ)=>{var d4=n6(),VQ=L9(),_J=R9(),L2=($="",J="",Z=!1)=>{let Y=[];if($=[].concat($),J=[].concat(J),!J.length)return $;if(!$.length)return Z?_J.flatten(J).map((K)=>`{${K}}`):J;for(let K of $)if(Array.isArray(K))for(let Q of K)Y.push(L2(Q,J,Z));else for(let Q of J){if(Z===!0&&typeof Q==="string")Q=`{${Q}}`;Y.push(Array.isArray(Q)?L2(K,Q,Z):K+Q)}return _J.flatten(Y)},p4=($,J={})=>{let Z=J.rangeLimit===void 0?1000:J.rangeLimit,Y=(K,Q={})=>{K.queue=[];let V=Q,X=Q.queue;while(V.type!=="brace"&&V.type!=="root"&&V.parent)V=V.parent,X=V.queue;if(K.invalid||K.dollar){X.push(L2(X.pop(),VQ(K,J)));return}if(K.type==="brace"&&K.invalid!==!0&&K.nodes.length===2){X.push(L2(X.pop(),["{}"]));return}if(K.nodes&&K.ranges>0){let _=_J.reduce(K.nodes);if(_J.exceedsLimit(..._,J.step,Z))throw RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let q=d4(..._,J);if(q.length===0)q=VQ(K,J);X.push(L2(X.pop(),q)),K.nodes=[];return}let W=_J.encloseBrace(K),B=K.queue,j=K;while(j.type!=="brace"&&j.type!=="root"&&j.parent)j=j.parent,B=j.queue;for(let _=0;_<K.nodes.length;_++){let q=K.nodes[_];if(q.type==="comma"&&K.type==="brace"){if(_===1)B.push("");B.push("");continue}if(q.type==="close"){X.push(L2(X.pop(),B,W));continue}if(q.value&&q.type!=="open"){B.push(L2(B.pop(),q.value));continue}if(q.nodes)Y(q,K)}return B};return _J.flatten(Y($))};GQ.exports=p4});var jQ=p((_w,WQ)=>{WQ.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
18
|
+
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var OQ=p((Ow,_Q)=>{var c4=L9(),{MAX_LENGTH:UQ,CHAR_BACKSLASH:a6,CHAR_BACKTICK:l4,CHAR_COMMA:o4,CHAR_DOT:r4,CHAR_LEFT_PARENTHESES:i4,CHAR_RIGHT_PARENTHESES:s4,CHAR_LEFT_CURLY_BRACE:n4,CHAR_RIGHT_CURLY_BRACE:a4,CHAR_LEFT_SQUARE_BRACKET:HQ,CHAR_RIGHT_SQUARE_BRACKET:BQ,CHAR_DOUBLE_QUOTE:t4,CHAR_SINGLE_QUOTE:e4,CHAR_NO_BREAK_SPACE:$O,CHAR_ZERO_WIDTH_NOBREAK_SPACE:JO}=jQ(),ZO=($,J={})=>{if(typeof $!=="string")throw TypeError("Expected a string");let Z=J||{},Y=typeof Z.maxLength==="number"?Math.min(UQ,Z.maxLength):UQ;if($.length>Y)throw SyntaxError(`Input length (${$.length}), exceeds max characters (${Y})`);let K={type:"root",input:$,nodes:[]},Q=[K],V=K,X=K,W=0,B=$.length,j=0,_=0,q,H=()=>$[j++],C=(M)=>{if(M.type==="text"&&X.type==="dot")X.type="text";if(X&&X.type==="text"&&M.type==="text"){X.value+=M.value;return}return V.nodes.push(M),M.parent=V,M.prev=X,X=M,M};C({type:"bos"});while(j<B){if(V=Q[Q.length-1],q=H(),q===JO||q===$O)continue;if(q===a6){C({type:"text",value:(J.keepEscaping?q:"")+H()});continue}if(q===BQ){C({type:"text",value:"\\"+q});continue}if(q===HQ){W++;let M;while(j<B&&(M=H())){if(q+=M,M===HQ){W++;continue}if(M===a6){q+=H();continue}if(M===BQ){if(W--,W===0)break}}C({type:"text",value:q});continue}if(q===i4){V=C({type:"paren",nodes:[]}),Q.push(V),C({type:"text",value:q});continue}if(q===s4){if(V.type!=="paren"){C({type:"text",value:q});continue}V=Q.pop(),C({type:"text",value:q}),V=Q[Q.length-1];continue}if(q===t4||q===e4||q===l4){let M=q,I;if(J.keepQuotes!==!0)q="";while(j<B&&(I=H())){if(I===a6){q+=I+H();continue}if(I===M){if(J.keepQuotes===!0)q+=I;break}q+=I}C({type:"text",value:q});continue}if(q===n4){_++;let I={type:"brace",open:!0,close:!1,dollar:X.value&&X.value.slice(-1)==="$"||V.dollar===!0,depth:_,commas:0,ranges:0,nodes:[]};V=C(I),Q.push(V),C({type:"open",value:q});continue}if(q===a4){if(V.type!=="brace"){C({type:"text",value:q});continue}let M="close";V=Q.pop(),V.close=!0,C({type:M,value:q}),_--,V=Q[Q.length-1];continue}if(q===o4&&_>0){if(V.ranges>0){V.ranges=0;let M=V.nodes.shift();V.nodes=[M,{type:"text",value:c4(V)}]}C({type:"comma",value:q}),V.commas++;continue}if(q===r4&&_>0&&V.commas===0){let M=V.nodes;if(_===0||M.length===0){C({type:"text",value:q});continue}if(X.type==="dot"){if(V.range=[],X.value+=q,X.type="range",V.nodes.length!==3&&V.nodes.length!==5){V.invalid=!0,V.ranges=0,X.type="text";continue}V.ranges++,V.args=[];continue}if(X.type==="range"){M.pop();let I=M[M.length-1];I.value+=X.value+q,X=I,V.ranges--;continue}C({type:"dot",value:q});continue}C({type:"text",value:q})}do if(V=Q.pop(),V.type!=="root"){V.nodes.forEach((z)=>{if(!z.nodes){if(z.type==="open")z.isOpen=!0;if(z.type==="close")z.isClose=!0;if(!z.nodes)z.type="text";z.invalid=!0}});let M=Q[Q.length-1],I=M.nodes.indexOf(V);M.nodes.splice(I,1,...V.nodes)}while(Q.length>0);return C({type:"eos"}),K};_Q.exports=ZO});var zQ=p((qw,FQ)=>{var qQ=L9(),YO=QQ(),KO=XQ(),QO=OQ(),d0=($,J={})=>{let Z=[];if(Array.isArray($))for(let Y of $){let K=d0.create(Y,J);if(Array.isArray(K))Z.push(...K);else Z.push(K)}else Z=[].concat(d0.create($,J));if(J&&J.expand===!0&&J.nodupes===!0)Z=[...new Set(Z)];return Z};d0.parse=($,J={})=>QO($,J);d0.stringify=($,J={})=>{if(typeof $==="string")return qQ(d0.parse($,J),J);return qQ($,J)};d0.compile=($,J={})=>{if(typeof $==="string")$=d0.parse($,J);return YO($,J)};d0.expand=($,J={})=>{if(typeof $==="string")$=d0.parse($,J);let Z=KO($,J);if(J.noempty===!0)Z=Z.filter(Boolean);if(J.nodupes===!0)Z=[...new Set(Z)];return Z};d0.create=($,J={})=>{if($===""||$.length<3)return[$];return J.expand!==!0?d0.compile($,J):d0.expand($,J)};FQ.exports=d0});var G8=p((Fw,MQ)=>{var VO=u0("path"),CQ={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},GO={...CQ,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"},XO={__proto__:null,alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};MQ.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:65536,POSIX_REGEX_SOURCE:XO,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:VO.sep,extglobChars($){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${$.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars($){return $===!0?GO:CQ}}});var X8=p((OO)=>{var WO=u0("path"),jO=process.platform==="win32",{REGEX_BACKSLASH:UO,REGEX_REMOVE_BACKSLASH:HO,REGEX_SPECIAL_CHARS:BO,REGEX_SPECIAL_CHARS_GLOBAL:_O}=G8();OO.isObject=($)=>$!==null&&typeof $==="object"&&!Array.isArray($);OO.hasRegexChars=($)=>BO.test($);OO.isRegexChar=($)=>$.length===1&&OO.hasRegexChars($);OO.escapeRegex=($)=>$.replace(_O,"\\$1");OO.toPosixSlashes=($)=>$.replace(UO,"/");OO.removeBackslashes=($)=>{return $.replace(HO,(J)=>{return J==="\\"?"":J})};OO.supportsLookbehinds=()=>{let $=process.version.slice(1).split(".").map(Number);if($.length===3&&$[0]>=9||$[0]===8&&$[1]>=10)return!0;return!1};OO.isWindows=($)=>{if($&&typeof $.windows==="boolean")return $.windows;return jO===!0||WO.sep==="\\"};OO.escapeLast=($,J,Z)=>{let Y=$.lastIndexOf(J,Z);if(Y===-1)return $;if($[Y-1]==="\\")return OO.escapeLast($,J,Y-1);return`${$.slice(0,Y)}\\${$.slice(Y)}`};OO.removePrefix=($,J={})=>{let Z=$;if(Z.startsWith("./"))Z=Z.slice(2),J.prefix="./";return Z};OO.wrapOutput=($,J={},Z={})=>{let Y=Z.contains?"":"^",K=Z.contains?"":"$",Q=`${Y}(?:${$})${K}`;if(J.negated===!0)Q=`(?:^(?!${Q}).*$)`;return Q}});var yQ=p((Cw,NQ)=>{var IQ=X8(),{CHAR_ASTERISK:t6,CHAR_AT:SO,CHAR_BACKWARD_SLASH:W8,CHAR_COMMA:wO,CHAR_DOT:e6,CHAR_EXCLAMATION_MARK:$7,CHAR_FORWARD_SLASH:LQ,CHAR_LEFT_CURLY_BRACE:J7,CHAR_LEFT_PARENTHESES:Z7,CHAR_LEFT_SQUARE_BRACKET:RO,CHAR_PLUS:LO,CHAR_QUESTION_MARK:AQ,CHAR_RIGHT_CURLY_BRACE:NO,CHAR_RIGHT_PARENTHESES:SQ,CHAR_RIGHT_SQUARE_BRACKET:yO}=G8(),wQ=($)=>{return $===LQ||$===W8},RQ=($)=>{if($.isPrefix!==!0)$.depth=$.isGlobstar?1/0:1},TO=($,J)=>{let Z=J||{},Y=$.length-1,K=Z.parts===!0||Z.scanToEnd===!0,Q=[],V=[],X=[],W=$,B=-1,j=0,_=0,q=!1,H=!1,C=!1,M=!1,I=!1,z=!1,P=!1,D=!1,L=!1,R=!1,N=0,x,b,v={value:"",depth:0,isGlob:!1},m=()=>B>=Y,A=()=>W.charCodeAt(B+1),u=()=>{return x=b,W.charCodeAt(++B)};while(B<Y){b=u();let A$;if(b===W8){if(P=v.backslashes=!0,b=u(),b===J7)z=!0;continue}if(z===!0||b===J7){N++;while(m()!==!0&&(b=u())){if(b===W8){P=v.backslashes=!0,u();continue}if(b===J7){N++;continue}if(z!==!0&&b===e6&&(b=u())===e6){if(q=v.isBrace=!0,C=v.isGlob=!0,R=!0,K===!0)continue;break}if(z!==!0&&b===wO){if(q=v.isBrace=!0,C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===NO){if(N--,N===0){z=!1,q=v.isBrace=!0,R=!0;break}}}if(K===!0)continue;break}if(b===LQ){if(Q.push(B),V.push(v),v={value:"",depth:0,isGlob:!1},R===!0)continue;if(x===e6&&B===j+1){j+=2;continue}_=B+1;continue}if(Z.noext!==!0){if((b===LO||b===SO||b===t6||b===AQ||b===$7)===!0&&A()===Z7){if(C=v.isGlob=!0,M=v.isExtglob=!0,R=!0,b===$7&&B===j)L=!0;if(K===!0){while(m()!==!0&&(b=u())){if(b===W8){P=v.backslashes=!0,b=u();continue}if(b===SQ){C=v.isGlob=!0,R=!0;break}}continue}break}}if(b===t6){if(x===t6)I=v.isGlobstar=!0;if(C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===AQ){if(C=v.isGlob=!0,R=!0,K===!0)continue;break}if(b===RO){while(m()!==!0&&(A$=u())){if(A$===W8){P=v.backslashes=!0,u();continue}if(A$===yO){H=v.isBracket=!0,C=v.isGlob=!0,R=!0;break}}if(K===!0)continue;break}if(Z.nonegate!==!0&&b===$7&&B===j){D=v.negated=!0,j++;continue}if(Z.noparen!==!0&&b===Z7){if(C=v.isGlob=!0,K===!0){while(m()!==!0&&(b=u())){if(b===Z7){P=v.backslashes=!0,b=u();continue}if(b===SQ){R=!0;break}}continue}break}if(C===!0){if(R=!0,K===!0)continue;break}}if(Z.noext===!0)M=!1,C=!1;let r=W,S="",T="";if(j>0)S=W.slice(0,j),W=W.slice(j),_-=j;if(r&&C===!0&&_>0)r=W.slice(0,_),T=W.slice(_);else if(C===!0)r="",T=W;else r=W;if(r&&r!==""&&r!=="/"&&r!==W){if(wQ(r.charCodeAt(r.length-1)))r=r.slice(0,-1)}if(Z.unescape===!0){if(T)T=IQ.removeBackslashes(T);if(r&&P===!0)r=IQ.removeBackslashes(r)}let k={prefix:S,input:$,start:j,base:r,glob:T,isBrace:q,isBracket:H,isGlob:C,isExtglob:M,isGlobstar:I,negated:D,negatedExtglob:L};if(Z.tokens===!0){if(k.maxDepth=0,!wQ(b))V.push(v);k.tokens=V}if(Z.parts===!0||Z.tokens===!0){let A$;for(let s=0;s<Q.length;s++){let J$=A$?A$+1:j,Z$=Q[s],W$=$.slice(J$,Z$);if(Z.tokens){if(s===0&&j!==0)V[s].isPrefix=!0,V[s].value=S;else V[s].value=W$;RQ(V[s]),k.maxDepth+=V[s].depth}if(s!==0||W$!=="")X.push(W$);A$=Z$}if(A$&&A$+1<$.length){let s=$.slice(A$+1);if(X.push(s),Z.tokens)V[V.length-1].value=s,RQ(V[V.length-1]),k.maxDepth+=V[V.length-1].depth}k.slashes=Q,k.parts=X}return k};NQ.exports=TO});var bQ=p((Mw,xQ)=>{var j8=G8(),S0=X8(),{MAX_LENGTH:T9,POSIX_REGEX_SOURCE:kO,REGEX_NON_SPECIAL_CHARS:EO,REGEX_SPECIAL_CHARS_BACKREF:xO,REPLACEMENTS:TQ}=j8,bO=($,J)=>{if(typeof J.expandRange==="function")return J.expandRange(...$,J);$.sort();let Z=`[${$.join("-")}]`;try{new RegExp(Z)}catch(Y){return $.map((K)=>S0.escapeRegex(K)).join("..")}return Z},OJ=($,J)=>{return`Missing ${$}: "${J}" - use "\\\\${J}" to match literal characters`},kQ=($)=>{let J=[],Z=0,Y=0,K=0,Q="",V=!1;for(let X of $){if(V===!0){Q+=X,V=!1;continue}if(X==="\\"){Q+=X,V=!0;continue}if(X==='"'){K=K===1?0:1,Q+=X;continue}if(K===0){if(X==="[")Z++;else if(X==="]"&&Z>0)Z--;else if(Z===0){if(X==="(")Y++;else if(X===")"&&Y>0)Y--;else if(X==="|"&&Y===0){J.push(Q),Q="";continue}}}Q+=X}return J.push(Q),J},vO=($)=>{let J=!1;for(let Z of $){if(J===!0){J=!1;continue}if(Z==="\\"){J=!0;continue}if(/[?*+@!()[\]{}]/.test(Z))return!1}return!0},EQ=($)=>{let J=$.trim(),Z=!0;while(Z===!0)if(Z=!1,/^@\([^\\()[\]{}|]+\)$/.test(J))J=J.slice(2,-1),Z=!0;if(!vO(J))return;return J.replace(/\\(.)/g,"$1")},hO=($)=>{let J=$.map(EQ).filter(Boolean);for(let Z=0;Z<J.length;Z++)for(let Y=Z+1;Y<J.length;Y++){let K=J[Z],Q=J[Y],V=K[0];if(!V||K!==V.repeat(K.length)||Q!==V.repeat(Q.length))continue;if(K===Q||K.startsWith(Q)||Q.startsWith(K))return!0}return!1},Y7=($,J=!0)=>{if($[0]!=="+"&&$[0]!=="*"||$[1]!=="(")return;let Z=0,Y=0,K=0,Q=!1;for(let V=1;V<$.length;V++){let X=$[V];if(Q===!0){Q=!1;continue}if(X==="\\"){Q=!0;continue}if(X==='"'){K=K===1?0:1;continue}if(K===1)continue;if(X==="["){Z++;continue}if(X==="]"&&Z>0){Z--;continue}if(Z>0)continue;if(X==="("){Y++;continue}if(X===")"){if(Y--,Y===0){if(J===!0&&V!==$.length-1)return;return{type:$[0],body:$.slice(2,V),end:V}}}}},gO=($)=>{let J=0,Z=[];while(J<$.length){let K=Y7($.slice(J),!1);if(!K||K.type!=="*")return;let Q=kQ(K.body).map((X)=>X.trim());if(Q.length!==1)return;let V=EQ(Q[0]);if(!V||V.length!==1)return;Z.push(V),J+=K.end+1}if(Z.length<1)return;return`${Z.length===1?S0.escapeRegex(Z[0]):`[${Z.map((K)=>S0.escapeRegex(K)).join("")}]`}*`},fO=($)=>{let J=0,Z=$.trim(),Y=Y7(Z);while(Y)J++,Z=Y.body.trim(),Y=Y7(Z);return J},mO=($,J)=>{if(J.maxExtglobRecursion===!1)return{risky:!1};let Z=typeof J.maxExtglobRecursion==="number"?J.maxExtglobRecursion:j8.DEFAULT_MAX_EXTGLOB_RECURSION,Y=kQ($).map((K)=>K.trim());if(Y.length>1){if(Y.some((K)=>K==="")||Y.some((K)=>/^[*?]+$/.test(K))||hO(Y))return{risky:!0}}for(let K of Y){let Q=gO(K);if(Q)return{risky:!0,safeOutput:Q};if(fO(K)>Z)return{risky:!0}}return{risky:!1}},K7=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");$=TQ[$]||$;let Z={...J},Y=typeof Z.maxLength==="number"?Math.min(T9,Z.maxLength):T9,K=$.length;if(K>Y)throw SyntaxError(`Input length: ${K}, exceeds maximum allowed length: ${Y}`);let Q={type:"bos",value:"",output:Z.prepend||""},V=[Q],X=Z.capture?"":"?:",W=S0.isWindows(J),B=j8.globChars(W),j=j8.extglobChars(B),{DOT_LITERAL:_,PLUS_LITERAL:q,SLASH_LITERAL:H,ONE_CHAR:C,DOTS_SLASH:M,NO_DOT:I,NO_DOT_SLASH:z,NO_DOTS_SLASH:P,QMARK:D,QMARK_NO_DOT:L,STAR:R,START_ANCHOR:N}=B,x=(d)=>{return`(${X}(?:(?!${N}${d.dot?M:_}).)*?)`},b=Z.dot?"":I,v=Z.dot?D:L,m=Z.bash===!0?x(Z):R;if(Z.capture)m=`(${m})`;if(typeof Z.noext==="boolean")Z.noextglob=Z.noext;let A={input:$,index:-1,start:0,dot:Z.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:V};$=S0.removePrefix($,A),K=$.length;let u=[],r=[],S=[],T=Q,k,A$=()=>A.index===K-1,s=A.peek=(d=1)=>$[A.index+d],J$=A.advance=()=>$[++A.index]||"",Z$=()=>$.slice(A.index+1),W$=(d="",Y$=0)=>{A.consumed+=d,A.index+=Y$},y$=(d)=>{A.output+=d.output!=null?d.output:d.value,W$(d.value)},Q$=()=>{let d=1;while(s()==="!"&&(s(2)!=="("||s(3)==="?"))J$(),A.start++,d++;if(d%2===0)return!1;return A.negated=!0,A.start++,!0},y=(d)=>{A[d]++,S.push(d)},n=(d)=>{A[d]--,S.pop()},a=(d)=>{if(T.type==="globstar"){let Y$=A.braces>0&&(d.type==="comma"||d.type==="brace"),g=d.extglob===!0||u.length&&(d.type==="pipe"||d.type==="paren");if(d.type!=="slash"&&d.type!=="paren"&&!Y$&&!g)A.output=A.output.slice(0,-T.output.length),T.type="star",T.value="*",T.output=m,A.output+=T.output}if(u.length&&d.type!=="paren")u[u.length-1].inner+=d.value;if(d.value||d.output)y$(d);if(T&&T.type==="text"&&d.type==="text"){T.value+=d.value,T.output=(T.output||"")+d.value;return}d.prev=T,V.push(d),T=d},c$=(d,Y$)=>{let g={...j[Y$],conditions:1,inner:""};g.prev=T,g.parens=A.parens,g.output=A.output,g.startIndex=A.index,g.tokensIndex=V.length;let t=(Z.capture?"(":"")+g.open;y("parens"),a({type:d,value:Y$,output:A.output?"":C}),a({type:"paren",extglob:!0,value:J$(),output:t}),u.push(g)},l=(d)=>{let Y$=$.slice(d.startIndex,A.index+1),g=$.slice(d.startIndex+2,A.index),t=mO(g,Z);if((d.type==="plus"||d.type==="star")&&t.risky){let M$=t.safeOutput?(d.output?"":C)+(Z.capture?`(${t.safeOutput})`:t.safeOutput):void 0,r$=V[d.tokensIndex];r$.type="text",r$.value=Y$,r$.output=M$||S0.escapeRegex(Y$);for(let K0=d.tokensIndex+1;K0<V.length;K0++)V[K0].value="",V[K0].output="",delete V[K0].suffix;A.output=d.output+r$.output,A.backtrack=!0,a({type:"paren",extglob:!0,value:k,output:""}),n("parens");return}let C$=d.close+(Z.capture?")":""),T$;if(d.type==="negate"){let M$=m;if(d.inner&&d.inner.length>1&&d.inner.includes("/"))M$=x(Z);if(M$!==m||A$()||/^\)+$/.test(Z$()))C$=d.close=`)$))${M$}`;if(d.inner.includes("*")&&(T$=Z$())&&/^\.[^\\/.]+$/.test(T$)){let r$=K7(T$,{...J,fastpaths:!1}).output;C$=d.close=`)${r$})${M$})`}if(d.prev.type==="bos")A.negatedExtglob=!0}a({type:"paren",extglob:!0,value:k,output:C$}),n("parens")};if(Z.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test($)){let d=!1,Y$=$.replace(xO,(g,t,C$,T$,M$,r$)=>{if(T$==="\\")return d=!0,g;if(T$==="?"){if(t)return t+T$+(M$?D.repeat(M$.length):"");if(r$===0)return v+(M$?D.repeat(M$.length):"");return D.repeat(C$.length)}if(T$===".")return _.repeat(C$.length);if(T$==="*"){if(t)return t+T$+(M$?m:"");return m}return t?g:`\\${g}`});if(d===!0)if(Z.unescape===!0)Y$=Y$.replace(/\\/g,"");else Y$=Y$.replace(/\\+/g,(g)=>{return g.length%2===0?"\\\\":g?"\\":""});if(Y$===$&&Z.contains===!0)return A.output=$,A;return A.output=S0.wrapOutput(Y$,A,J),A}while(!A$()){if(k=J$(),k==="\x00")continue;if(k==="\\"){let g=s();if(g==="/"&&Z.bash!==!0)continue;if(g==="."||g===";")continue;if(!g){k+="\\",a({type:"text",value:k});continue}let t=/^\\+/.exec(Z$()),C$=0;if(t&&t[0].length>2){if(C$=t[0].length,A.index+=C$,C$%2!==0)k+="\\"}if(Z.unescape===!0)k=J$();else k+=J$();if(A.brackets===0){a({type:"text",value:k});continue}}if(A.brackets>0&&(k!=="]"||T.value==="["||T.value==="[^")){if(Z.posix!==!1&&k===":"){let g=T.value.slice(1);if(g.includes("[")){if(T.posix=!0,g.includes(":")){let t=T.value.lastIndexOf("["),C$=T.value.slice(0,t),T$=T.value.slice(t+2),M$=kO[T$];if(M$){if(T.value=C$+M$,A.backtrack=!0,J$(),!Q.output&&V.indexOf(T)===1)Q.output=C;continue}}}}if(k==="["&&s()!==":"||k==="-"&&s()==="]")k=`\\${k}`;if(k==="]"&&(T.value==="["||T.value==="[^"))k=`\\${k}`;if(Z.posix===!0&&k==="!"&&T.value==="[")k="^";T.value+=k,y$({value:k});continue}if(A.quotes===1&&k!=='"'){k=S0.escapeRegex(k),T.value+=k,y$({value:k});continue}if(k==='"'){if(A.quotes=A.quotes===1?0:1,Z.keepQuotes===!0)a({type:"text",value:k});continue}if(k==="("){y("parens"),a({type:"paren",value:k});continue}if(k===")"){if(A.parens===0&&Z.strictBrackets===!0)throw SyntaxError(OJ("opening","("));let g=u[u.length-1];if(g&&A.parens===g.parens+1){l(u.pop());continue}a({type:"paren",value:k,output:A.parens?")":"\\)"}),n("parens");continue}if(k==="["){if(Z.nobracket===!0||!Z$().includes("]")){if(Z.nobracket!==!0&&Z.strictBrackets===!0)throw SyntaxError(OJ("closing","]"));k=`\\${k}`}else y("brackets");a({type:"bracket",value:k});continue}if(k==="]"){if(Z.nobracket===!0||T&&T.type==="bracket"&&T.value.length===1){a({type:"text",value:k,output:`\\${k}`});continue}if(A.brackets===0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("opening","["));a({type:"text",value:k,output:`\\${k}`});continue}n("brackets");let g=T.value.slice(1);if(T.posix!==!0&&g[0]==="^"&&!g.includes("/"))k=`/${k}`;if(T.value+=k,y$({value:k}),Z.literalBrackets===!1||S0.hasRegexChars(g))continue;let t=S0.escapeRegex(T.value);if(A.output=A.output.slice(0,-T.value.length),Z.literalBrackets===!0){A.output+=t,T.value=t;continue}T.value=`(${X}${t}|${T.value})`,A.output+=T.value;continue}if(k==="{"&&Z.nobrace!==!0){y("braces");let g={type:"brace",value:k,output:"(",outputIndex:A.output.length,tokensIndex:A.tokens.length};r.push(g),a(g);continue}if(k==="}"){let g=r[r.length-1];if(Z.nobrace===!0||!g){a({type:"text",value:k,output:k});continue}let t=")";if(g.dots===!0){let C$=V.slice(),T$=[];for(let M$=C$.length-1;M$>=0;M$--){if(V.pop(),C$[M$].type==="brace")break;if(C$[M$].type!=="dots")T$.unshift(C$[M$].value)}t=bO(T$,Z),A.backtrack=!0}if(g.comma!==!0&&g.dots!==!0){let C$=A.output.slice(0,g.outputIndex),T$=A.tokens.slice(g.tokensIndex);g.value=g.output="\\{",k=t="\\}",A.output=C$;for(let M$ of T$)A.output+=M$.output||M$.value}a({type:"brace",value:k,output:t}),n("braces"),r.pop();continue}if(k==="|"){if(u.length>0)u[u.length-1].conditions++;a({type:"text",value:k});continue}if(k===","){let g=k,t=r[r.length-1];if(t&&S[S.length-1]==="braces")t.comma=!0,g="|";a({type:"comma",value:k,output:g});continue}if(k==="/"){if(T.type==="dot"&&A.index===A.start+1){A.start=A.index+1,A.consumed="",A.output="",V.pop(),T=Q;continue}a({type:"slash",value:k,output:H});continue}if(k==="."){if(A.braces>0&&T.type==="dot"){if(T.value===".")T.output=_;let g=r[r.length-1];T.type="dots",T.output+=k,T.value+=k,g.dots=!0;continue}if(A.braces+A.parens===0&&T.type!=="bos"&&T.type!=="slash"){a({type:"text",value:k,output:_});continue}a({type:"dot",value:k,output:_});continue}if(k==="?"){if(!(T&&T.value==="(")&&Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){c$("qmark",k);continue}if(T&&T.type==="paren"){let t=s(),C$=k;if(t==="<"&&!S0.supportsLookbehinds())throw Error("Node.js v10 or higher is required for regex lookbehinds");if(T.value==="("&&!/[!=<:]/.test(t)||t==="<"&&!/<([!=]|\w+>)/.test(Z$()))C$=`\\${k}`;a({type:"text",value:k,output:C$});continue}if(Z.dot!==!0&&(T.type==="slash"||T.type==="bos")){a({type:"qmark",value:k,output:L});continue}a({type:"qmark",value:k,output:D});continue}if(k==="!"){if(Z.noextglob!==!0&&s()==="("){if(s(2)!=="?"||!/[!=<:]/.test(s(3))){c$("negate",k);continue}}if(Z.nonegate!==!0&&A.index===0){Q$();continue}}if(k==="+"){if(Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){c$("plus",k);continue}if(T&&T.value==="("||Z.regex===!1){a({type:"plus",value:k,output:q});continue}if(T&&(T.type==="bracket"||T.type==="paren"||T.type==="brace")||A.parens>0){a({type:"plus",value:k});continue}a({type:"plus",value:q});continue}if(k==="@"){if(Z.noextglob!==!0&&s()==="("&&s(2)!=="?"){a({type:"at",extglob:!0,value:k,output:""});continue}a({type:"text",value:k});continue}if(k!=="*"){if(k==="$"||k==="^")k=`\\${k}`;let g=EO.exec(Z$());if(g)k+=g[0],A.index+=g[0].length;a({type:"text",value:k});continue}if(T&&(T.type==="globstar"||T.star===!0)){T.type="star",T.star=!0,T.value+=k,T.output=m,A.backtrack=!0,A.globstar=!0,W$(k);continue}let d=Z$();if(Z.noextglob!==!0&&/^\([^?]/.test(d)){c$("star",k);continue}if(T.type==="star"){if(Z.noglobstar===!0){W$(k);continue}let g=T.prev,t=g.prev,C$=g.type==="slash"||g.type==="bos",T$=t&&(t.type==="star"||t.type==="globstar");if(Z.bash===!0&&(!C$||d[0]&&d[0]!=="/")){a({type:"star",value:k,output:""});continue}let M$=A.braces>0&&(g.type==="comma"||g.type==="brace"),r$=u.length&&(g.type==="pipe"||g.type==="paren");if(!C$&&g.type!=="paren"&&!M$&&!r$){a({type:"star",value:k,output:""});continue}while(d.slice(0,3)==="/**"){let K0=$[A.index+4];if(K0&&K0!=="/")break;d=d.slice(3),W$("/**",3)}if(g.type==="bos"&&A$()){T.type="globstar",T.value+=k,T.output=x(Z),A.output=T.output,A.globstar=!0,W$(k);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&!T$&&A$()){A.output=A.output.slice(0,-(g.output+T.output).length),g.output=`(?:${g.output}`,T.type="globstar",T.output=x(Z)+(Z.strictSlashes?")":"|$)"),T.value+=k,A.globstar=!0,A.output+=g.output+T.output,W$(k);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&d[0]==="/"){let K0=d[1]!==void 0?"|$":"";A.output=A.output.slice(0,-(g.output+T.output).length),g.output=`(?:${g.output}`,T.type="globstar",T.output=`${x(Z)}${H}|${H}${K0})`,T.value+=k,A.output+=g.output+T.output,A.globstar=!0,W$(k+J$()),a({type:"slash",value:"/",output:""});continue}if(g.type==="bos"&&d[0]==="/"){T.type="globstar",T.value+=k,T.output=`(?:^|${H}|${x(Z)}${H})`,A.output=T.output,A.globstar=!0,W$(k+J$()),a({type:"slash",value:"/",output:""});continue}A.output=A.output.slice(0,-T.output.length),T.type="globstar",T.output=x(Z),T.value+=k,A.output+=T.output,A.globstar=!0,W$(k);continue}let Y$={type:"star",value:k,output:m};if(Z.bash===!0){if(Y$.output=".*?",T.type==="bos"||T.type==="slash")Y$.output=b+Y$.output;a(Y$);continue}if(T&&(T.type==="bracket"||T.type==="paren")&&Z.regex===!0){Y$.output=k,a(Y$);continue}if(A.index===A.start||T.type==="slash"||T.type==="dot"){if(T.type==="dot")A.output+=z,T.output+=z;else if(Z.dot===!0)A.output+=P,T.output+=P;else A.output+=b,T.output+=b;if(s()!=="*")A.output+=C,T.output+=C}a(Y$)}while(A.brackets>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing","]"));A.output=S0.escapeLast(A.output,"["),n("brackets")}while(A.parens>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing",")"));A.output=S0.escapeLast(A.output,"("),n("parens")}while(A.braces>0){if(Z.strictBrackets===!0)throw SyntaxError(OJ("closing","}"));A.output=S0.escapeLast(A.output,"{"),n("braces")}if(Z.strictSlashes!==!0&&(T.type==="star"||T.type==="bracket"))a({type:"maybe_slash",value:"",output:`${H}?`});if(A.backtrack===!0){A.output="";for(let d of A.tokens)if(A.output+=d.output!=null?d.output:d.value,d.suffix)A.output+=d.suffix}return A};K7.fastpaths=($,J)=>{let Z={...J},Y=typeof Z.maxLength==="number"?Math.min(T9,Z.maxLength):T9,K=$.length;if(K>Y)throw SyntaxError(`Input length: ${K}, exceeds maximum allowed length: ${Y}`);$=TQ[$]||$;let Q=S0.isWindows(J),{DOT_LITERAL:V,SLASH_LITERAL:X,ONE_CHAR:W,DOTS_SLASH:B,NO_DOT:j,NO_DOTS:_,NO_DOTS_SLASH:q,STAR:H,START_ANCHOR:C}=j8.globChars(Q),M=Z.dot?_:j,I=Z.dot?q:j,z=Z.capture?"":"?:",P={negated:!1,prefix:""},D=Z.bash===!0?".*?":H;if(Z.capture)D=`(${D})`;let L=(b)=>{if(b.noglobstar===!0)return D;return`(${z}(?:(?!${C}${b.dot?B:V}).)*?)`},R=(b)=>{switch(b){case"*":return`${M}${W}${D}`;case".*":return`${V}${W}${D}`;case"*.*":return`${M}${D}${V}${W}${D}`;case"*/*":return`${M}${D}${X}${W}${I}${D}`;case"**":return M+L(Z);case"**/*":return`(?:${M}${L(Z)}${X})?${I}${W}${D}`;case"**/*.*":return`(?:${M}${L(Z)}${X})?${I}${D}${V}${W}${D}`;case"**/.*":return`(?:${M}${L(Z)}${X})?${V}${W}${D}`;default:{let v=/^(.*?)\.(\w+)$/.exec(b);if(!v)return;let m=R(v[1]);if(!m)return;return m+V+v[2]}}},N=S0.removePrefix($,P),x=R(N);if(x&&Z.strictSlashes!==!0)x+=`${X}?`;return x};xQ.exports=K7});var hQ=p((Dw,vQ)=>{var uO=u0("path"),dO=yQ(),Q7=bQ(),V7=X8(),pO=G8(),cO=($)=>$&&typeof $==="object"&&!Array.isArray($),U0=($,J,Z=!1)=>{if(Array.isArray($)){let j=$.map((q)=>U0(q,J,Z));return(q)=>{for(let H of j){let C=H(q);if(C)return C}return!1}}let Y=cO($)&&$.tokens&&$.input;if($===""||typeof $!=="string"&&!Y)throw TypeError("Expected pattern to be a non-empty string");let K=J||{},Q=V7.isWindows(J),V=Y?U0.compileRe($,J):U0.makeRe($,J,!1,!0),X=V.state;delete V.state;let W=()=>!1;if(K.ignore){let j={...J,ignore:null,onMatch:null,onResult:null};W=U0(K.ignore,j,Z)}let B=(j,_=!1)=>{let{isMatch:q,match:H,output:C}=U0.test(j,V,J,{glob:$,posix:Q}),M={glob:$,state:X,regex:V,posix:Q,input:j,output:C,match:H,isMatch:q};if(typeof K.onResult==="function")K.onResult(M);if(q===!1)return M.isMatch=!1,_?M:!1;if(W(j)){if(typeof K.onIgnore==="function")K.onIgnore(M);return M.isMatch=!1,_?M:!1}if(typeof K.onMatch==="function")K.onMatch(M);return _?M:!0};if(Z)B.state=X;return B};U0.test=($,J,Z,{glob:Y,posix:K}={})=>{if(typeof $!=="string")throw TypeError("Expected input to be a string");if($==="")return{isMatch:!1,output:""};let Q=Z||{},V=Q.format||(K?V7.toPosixSlashes:null),X=$===Y,W=X&&V?V($):$;if(X===!1)W=V?V($):$,X=W===Y;if(X===!1||Q.capture===!0)if(Q.matchBase===!0||Q.basename===!0)X=U0.matchBase($,J,Z,K);else X=J.exec(W);return{isMatch:Boolean(X),match:X,output:W}};U0.matchBase=($,J,Z,Y=V7.isWindows(Z))=>{return(J instanceof RegExp?J:U0.makeRe(J,Z)).test(uO.basename($))};U0.isMatch=($,J,Z)=>U0(J,Z)($);U0.parse=($,J)=>{if(Array.isArray($))return $.map((Z)=>U0.parse(Z,J));return Q7($,{...J,fastpaths:!1})};U0.scan=($,J)=>dO($,J);U0.compileRe=($,J,Z=!1,Y=!1)=>{if(Z===!0)return $.output;let K=J||{},Q=K.contains?"":"^",V=K.contains?"":"$",X=`${Q}(?:${$.output})${V}`;if($&&$.negated===!0)X=`^(?!${X}).*$`;let W=U0.toRegex(X,J);if(Y===!0)W.state=$;return W};U0.makeRe=($,J={},Z=!1,Y=!1)=>{if(!$||typeof $!=="string")throw TypeError("Expected a non-empty string");let K={negated:!1,fastpaths:!0};if(J.fastpaths!==!1&&($[0]==="."||$[0]==="*"))K.output=Q7.fastpaths($,J);if(!K.output)K=Q7($,J);return U0.compileRe(K,J,Z,Y)};U0.toRegex=($,J)=>{try{let Z=J||{};return new RegExp($,Z.flags||(Z.nocase?"i":""))}catch(Z){if(J&&J.debug===!0)throw Z;return/$^/}};U0.constants=pO;vQ.exports=U0});var pQ=p((Pw,dQ)=>{var fQ=u0("util"),mQ=zQ(),w1=hQ(),G7=X8(),gQ=($)=>$===""||$==="./",uQ=($)=>{let J=$.indexOf("{");return J>-1&&$.indexOf("}",J)>-1},a$=($,J,Z)=>{J=[].concat(J),$=[].concat($);let Y=new Set,K=new Set,Q=new Set,V=0,X=(j)=>{if(Q.add(j.output),Z&&Z.onResult)Z.onResult(j)};for(let j=0;j<J.length;j++){let _=w1(String(J[j]),{...Z,onResult:X},!0),q=_.state.negated||_.state.negatedExtglob;if(q)V++;for(let H of $){let C=_(H,!0);if(!(q?!C.isMatch:C.isMatch))continue;if(q)Y.add(C.output);else Y.delete(C.output),K.add(C.output)}}let B=(V===J.length?[...Q]:[...K]).filter((j)=>!Y.has(j));if(Z&&B.length===0){if(Z.failglob===!0)throw Error(`No matches found for "${J.join(", ")}"`);if(Z.nonull===!0||Z.nullglob===!0)return Z.unescape?J.map((j)=>j.replace(/\\/g,"")):J}return B};a$.match=a$;a$.matcher=($,J)=>w1($,J);a$.isMatch=($,J,Z)=>w1(J,Z)($);a$.any=a$.isMatch;a$.not=($,J,Z={})=>{J=[].concat(J).map(String);let Y=new Set,K=[],V=new Set(a$($,J,{...Z,onResult:(X)=>{if(Z.onResult)Z.onResult(X);K.push(X.output)}}));for(let X of K)if(!V.has(X))Y.add(X);return[...Y]};a$.contains=($,J,Z)=>{if(typeof $!=="string")throw TypeError(`Expected a string: "${fQ.inspect($)}"`);if(Array.isArray(J))return J.some((Y)=>a$.contains($,Y,Z));if(typeof J==="string"){if(gQ($)||gQ(J))return!1;if($.includes(J)||$.startsWith("./")&&$.slice(2).includes(J))return!0}return a$.isMatch($,J,{...Z,contains:!0})};a$.matchKeys=($,J,Z)=>{if(!G7.isObject($))throw TypeError("Expected the first argument to be an object");let Y=a$(Object.keys($),J,Z),K={};for(let Q of Y)K[Q]=$[Q];return K};a$.some=($,J,Z)=>{let Y=[].concat($);for(let K of[].concat(J)){let Q=w1(String(K),Z);if(Y.some((V)=>Q(V)))return!0}return!1};a$.every=($,J,Z)=>{let Y=[].concat($);for(let K of[].concat(J)){let Q=w1(String(K),Z);if(!Y.every((V)=>Q(V)))return!1}return!0};a$.all=($,J,Z)=>{if(typeof $!=="string")throw TypeError(`Expected a string: "${fQ.inspect($)}"`);return[].concat(J).every((Y)=>w1(Y,Z)($))};a$.capture=($,J,Z)=>{let Y=G7.isWindows(Z),Q=w1.makeRe(String($),{...Z,capture:!0}).exec(Y?G7.toPosixSlashes(J):J);if(Q)return Q.slice(1).map((V)=>V===void 0?"":V)};a$.makeRe=(...$)=>w1.makeRe(...$);a$.scan=(...$)=>w1.scan(...$);a$.parse=($,J)=>{let Z=[];for(let Y of[].concat($||[]))for(let K of mQ(String(Y),J))Z.push(w1.parse(K,J));return Z};a$.braces=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");if(J&&J.nobrace===!0||!uQ($))return[$];return mQ($,J)};a$.braceExpand=($,J)=>{if(typeof $!=="string")throw TypeError("Expected a string");return a$.braces($,{...J,expand:!0})};a$.hasBraces=uQ;dQ.exports=a$});var lQ=p((Iw,cQ)=>{/*!
|
|
19
19
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
20
20
|
*
|
|
21
21
|
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
22
22
|
* Licensed under the MIT License.
|
|
23
|
-
*/cQ.exports=function(J){if(typeof J!=="string"||J==="")return!1;var Z;while(Z=/(\\).|([@?!+*]\(.*\))/g.exec(J)){if(Z[2])return!0;J=J.slice(Z.index+Z[0].length)}return!1}});var iQ=p((
|
|
23
|
+
*/cQ.exports=function(J){if(typeof J!=="string"||J==="")return!1;var Z;while(Z=/(\\).|([@?!+*]\(.*\))/g.exec(J)){if(Z[2])return!0;J=J.slice(Z.index+Z[0].length)}return!1}});var iQ=p((Aw,rQ)=>{/*!
|
|
24
24
|
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
25
25
|
*
|
|
26
26
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
27
27
|
* Released under the MIT License.
|
|
28
|
-
*/var lO=lQ(),oQ={"{":"}","(":")","[":"]"},oO=function($){if($[0]==="!")return!0;var J=0,Z=-2,Y=-2,K=-2,Q=-2,V=-2;while(J<$.length){if($[J]==="*")return!0;if($[J+1]==="?"&&/[\].+)]/.test($[J]))return!0;if(Y!==-1&&$[J]==="["&&$[J+1]!=="]"){if(Y<J)Y=$.indexOf("]",J);if(Y>J){if(V===-1||V>Y)return!0;if(V=$.indexOf("\\",J),V===-1||V>Y)return!0}}if(K!==-1&&$[J]==="{"&&$[J+1]!=="}"){if(K=$.indexOf("}",J),K>J){if(V=$.indexOf("\\",J),V===-1||V>K)return!0}}if(Q!==-1&&$[J]==="("&&$[J+1]==="?"&&/[:!=]/.test($[J+2])&&$[J+3]!==")"){if(Q=$.indexOf(")",J),Q>J){if(V=$.indexOf("\\",J),V===-1||V>Q)return!0}}if(Z!==-1&&$[J]==="("&&$[J+1]!=="|"){if(Z<J)Z=$.indexOf("|",J);if(Z!==-1&&$[Z+1]!==")"){if(Q=$.indexOf(")",Z),Q>Z){if(V=$.indexOf("\\",Z),V===-1||V>Q)return!0}}}if($[J]==="\\"){var X=$[J+1];J+=2;var W=oQ[X];if(W){var B=$.indexOf(W,J);if(B!==-1)J=B+1}if($[J]==="!")return!0}else J++}return!1},rO=function($){if($[0]==="!")return!0;var J=0;while(J<$.length){if(/[*?{}()[\]]/.test($[J]))return!0;if($[J]==="\\"){var Z=$[J+1];J+=2;var Y=oQ[Z];if(Y){var K=$.indexOf(Y,J);if(K!==-1)J=K+1}if($[J]==="!")return!0}else J++}return!1};rQ.exports=function(J,Z){if(typeof J!=="string"||J==="")return!1;if(lO(J))return!0;var Y=oO;if(Z&&Z.strict===!1)Y=rO;return Y(J)}});var iG=p((Qk,rG)=>{var _z=["||","&&",";;","|&","<(","<<<",">>",">&","<&","&",";","(",")","|","<",">"],oG=/[\n\r\u2028\u2029]/,Oz=/[\s#!"$&'():;<=>@\\^`|]/g;rG.exports=function(J){return J.map(function(Z){if(Z==="")return"''";if(Z&&typeof Z==="object"){if(Z.op==="glob"){if(typeof Z.pattern!=="string")throw TypeError("glob token requires a string `pattern`");if(oG.test(Z.pattern))throw TypeError("glob `pattern` must not contain line terminators");return Z.pattern.replace(Oz,"\\$&")}if(typeof Z.op==="string"){if(_z.indexOf(Z.op)<0)throw TypeError("invalid `op` value: "+JSON.stringify(Z.op));return Z.op.replace(/[\s\S]/g,"\\$&")}if(typeof Z.comment==="string"){if(oG.test(Z.comment))throw TypeError("`comment` must not contain line terminators");return"#"+Z.comment}throw TypeError("unrecognized object token shape")}if(/["\s\\]/.test(Z)&&!/'/.test(Z))return"'"+Z.replace(/(['])/g,"\\$1")+"'";if(/["'\s]/.test(Z))return'"'+Z.replace(/(["\\$`!])/g,"\\$1")+'"';return String(Z).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var JX=p((Vk,$X)=>{var eG="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",sG=new RegExp("^"+eG+"$"),nG="|&;()<> \\t",qz='"((\\\\"|[^"])*?)"',Fz="'((\\\\'|[^'])*?)'",zz=/^#$/,aG="'",tG='"',k7="$",p2="",Cz=4294967296;for(zZ=0;zZ<4;zZ++)p2+=(Cz*Math.random()).toString(16);var zZ,Mz=new RegExp("^"+p2);function Dz($,J){var Z=J.lastIndex,Y=[],K;while(K=J.exec($))if(Y.push(K),J.lastIndex===K.index)J.lastIndex+=1;return J.lastIndex=Z,Y}function Pz($,J,Z){var Y=typeof $==="function"?$(Z):$[Z];if(typeof Y>"u"&&Z!="")Y="";else if(typeof Y>"u")Y="$";if(typeof Y==="object")return J+p2+JSON.stringify(Y)+p2;return J+Y}function Iz($,J,Z){if(!Z)Z={};var Y=Z.escape||"\\",K="(\\"+Y+`['"`+nG+`]|[^\\s'"`+nG+"])+",Q=new RegExp(["("+eG+")","("+K+"|"+qz+"|"+Fz+")+"].join("|"),"g"),V=Dz($,Q);if(V.length===0)return[];if(!J)J={};var X=!1;return V.map(function(W){var B=W[0];if(!B||X)return;if(sG.test(B))return{op:B};var j=!1,_=!1,q="",H=!1,C;function M(){C+=1;var P,D,L=B.charAt(C);if(L==="{"){if(C+=1,B.charAt(C)==="}")throw Error("Bad substitution: "+B.slice(C-2,C+1));if(P=B.indexOf("}",C),P<0)throw Error("Bad substitution: "+B.slice(C));D=B.slice(C,P),C=P}else if(/[*@#?$!_-]/.test(L))D=L,C+=1;else{var R=B.slice(C);if(P=R.match(/[^\w\d_]/),!P)D=R,C=B.length;else D=R.slice(0,P.index),C+=P.index-1}return Pz(J,"",D)}for(C=0;C<B.length;C++){var I=B.charAt(C);if(H=H||!j&&(I==="*"||I==="?"),_)q+=I,_=!1;else if(j)if(I===j)j=!1;else if(j==aG)q+=I;else if(I===Y)if(C+=1,I=B.charAt(C),I===tG||I===Y||I===k7)q+=I;else q+=Y+I;else if(I===k7)q+=M();else q+=I;else if(I===tG||I===aG)j=I;else if(sG.test(I))return{op:B};else if(zz.test(I)){X=!0;var z={comment:$.slice(W.index+C+1)};if(q.length)return[q,z];return[z]}else if(I===Y)_=!0;else if(I===k7)q+=M();else q+=I}if(H)return{op:"glob",pattern:q};return q}).reduce(function(W,B){return typeof B>"u"?W:W.concat(B)},[])}$X.exports=function(J,Z,Y){var K=Iz(J,Z,Y);if(typeof Z!=="function")return K;return K.reduce(function(Q,V){if(typeof V==="object")return Q.concat(V);var X=V.split(RegExp("("+p2+".*?"+p2+")","g"));if(X.length===1)return Q.concat(X[0]);return Q.concat(X.filter(Boolean).map(function(W){if(Mz.test(W))return JSON.parse(W.split(p2)[1]);return W}))},[])}});var ZX=p((Az)=>{Az.quote=iG();Az.parse=JX()});var TJ=p((Vb,nX)=>{nX.exports=r2;r2.CAPTURING_PHASE=1;r2.AT_TARGET=2;r2.BUBBLING_PHASE=3;function r2($,J){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=r2.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,$)this.type=$;if(J)for(var Z in J)this[Z]=J[Z]}r2.prototype=Object.create(Object.prototype,{constructor:{value:r2},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){if(this.cancelable)this.defaultPrevented=!0}},initEvent:{value:function(J,Z,Y){if(this._initialized=!0,this._dispatching)return;this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=J,this.bubbles=Z,this.cancelable=Y}}})});var s7=p((Gb,tX)=>{var aX=TJ();tX.exports=i7;function i7(){aX.call(this),this.view=null,this.detail=0}i7.prototype=Object.create(aX.prototype,{constructor:{value:i7},initUIEvent:{value:function($,J,Z,Y,K){this.initEvent($,J,Z),this.view=Y,this.detail=K}}})});var a7=p((Xb,$W)=>{var eX=s7();$W.exports=n7;function n7(){eX.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}n7.prototype=Object.create(eX.prototype,{constructor:{value:n7},initMouseEvent:{value:function($,J,Z,Y,K,Q,V,X,W,B,j,_,q,H,C){switch(this.initEvent($,J,Z,Y,K),this.screenX=Q,this.screenY=V,this.clientX=X,this.clientY=W,this.ctrlKey=B,this.altKey=j,this.shiftKey=_,this.metaKey=q,this.button=H,H){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=C}},getModifierState:{value:function($){switch($){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var xZ=p((Wb,ZW)=>{ZW.exports=EZ;var kC=1,EC=3,xC=4,bC=5,vC=7,hC=8,gC=9,fC=11,mC=12,uC=13,dC=14,pC=15,cC=17,lC=18,oC=19,rC=20,iC=21,sC=22,nC=23,aC=24,tC=25,eC=[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"],$M=[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."],JW={INDEX_SIZE_ERR:kC,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:EC,WRONG_DOCUMENT_ERR:xC,INVALID_CHARACTER_ERR:bC,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:vC,NOT_FOUND_ERR:hC,NOT_SUPPORTED_ERR:gC,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:fC,SYNTAX_ERR:mC,INVALID_MODIFICATION_ERR:uC,NAMESPACE_ERR:dC,INVALID_ACCESS_ERR:pC,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:cC,SECURITY_ERR:lC,NETWORK_ERR:oC,ABORT_ERR:rC,URL_MISMATCH_ERR:iC,QUOTA_EXCEEDED_ERR:sC,TIMEOUT_ERR:nC,INVALID_NODE_TYPE_ERR:aC,DATA_CLONE_ERR:tC};function EZ($){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=$,this.message=$M[$],this.name=eC[$]}EZ.prototype.__proto__=Error.prototype;for(I8 in JW)kZ={value:JW[I8]},Object.defineProperty(EZ,I8,kZ),Object.defineProperty(EZ.prototype,I8,kZ);var kZ,I8});var bZ=p((JM)=>{JM.isApiWritable=!globalThis.__domino_frozen__});var X0=p((KM)=>{var G0=xZ(),B0=G0,YM=bZ().isApiWritable;KM.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"};KM.IndexSizeError=function(){throw new G0(B0.INDEX_SIZE_ERR)};KM.HierarchyRequestError=function(){throw new G0(B0.HIERARCHY_REQUEST_ERR)};KM.WrongDocumentError=function(){throw new G0(B0.WRONG_DOCUMENT_ERR)};KM.InvalidCharacterError=function(){throw new G0(B0.INVALID_CHARACTER_ERR)};KM.NoModificationAllowedError=function(){throw new G0(B0.NO_MODIFICATION_ALLOWED_ERR)};KM.NotFoundError=function(){throw new G0(B0.NOT_FOUND_ERR)};KM.NotSupportedError=function(){throw new G0(B0.NOT_SUPPORTED_ERR)};KM.InvalidStateError=function(){throw new G0(B0.INVALID_STATE_ERR)};KM.SyntaxError=function(){throw new G0(B0.SYNTAX_ERR)};KM.InvalidModificationError=function(){throw new G0(B0.INVALID_MODIFICATION_ERR)};KM.NamespaceError=function(){throw new G0(B0.NAMESPACE_ERR)};KM.InvalidAccessError=function(){throw new G0(B0.INVALID_ACCESS_ERR)};KM.TypeMismatchError=function(){throw new G0(B0.TYPE_MISMATCH_ERR)};KM.SecurityError=function(){throw new G0(B0.SECURITY_ERR)};KM.NetworkError=function(){throw new G0(B0.NETWORK_ERR)};KM.AbortError=function(){throw new G0(B0.ABORT_ERR)};KM.UrlMismatchError=function(){throw new G0(B0.URL_MISMATCH_ERR)};KM.QuotaExceededError=function(){throw new G0(B0.QUOTA_EXCEEDED_ERR)};KM.TimeoutError=function(){throw new G0(B0.TIMEOUT_ERR)};KM.InvalidNodeTypeError=function(){throw new G0(B0.INVALID_NODE_TYPE_ERR)};KM.DataCloneError=function(){throw new G0(B0.DATA_CLONE_ERR)};KM.nyi=function(){throw Error("NotYetImplemented")};KM.shouldOverride=function(){throw Error("Abstract function; should be overriding in subclass.")};KM.assert=function($,J){if(!$)throw Error("Assertion failed: "+(J||"")+`
|
|
29
|
-
`+Error().stack)};KM.expose=function($,J){for(var Z in $)Object.defineProperty(J.prototype,Z,{value:$[Z],writable:YM})};KM.merge=function($,J){for(var Z in J)$[Z]=J[Z]};KM.documentOrder=function($,J){return 3-($.compareDocumentPosition(J)&6)};KM.toASCIILowerCase=function($){return $.replace(/[A-Z]+/g,function(J){return J.toLowerCase()})};KM.toASCIIUpperCase=function($){return $.replace(/[a-z]+/g,function(J){return J.toUpperCase()})}});var t7=p((
|
|
28
|
+
*/var lO=lQ(),oQ={"{":"}","(":")","[":"]"},oO=function($){if($[0]==="!")return!0;var J=0,Z=-2,Y=-2,K=-2,Q=-2,V=-2;while(J<$.length){if($[J]==="*")return!0;if($[J+1]==="?"&&/[\].+)]/.test($[J]))return!0;if(Y!==-1&&$[J]==="["&&$[J+1]!=="]"){if(Y<J)Y=$.indexOf("]",J);if(Y>J){if(V===-1||V>Y)return!0;if(V=$.indexOf("\\",J),V===-1||V>Y)return!0}}if(K!==-1&&$[J]==="{"&&$[J+1]!=="}"){if(K=$.indexOf("}",J),K>J){if(V=$.indexOf("\\",J),V===-1||V>K)return!0}}if(Q!==-1&&$[J]==="("&&$[J+1]==="?"&&/[:!=]/.test($[J+2])&&$[J+3]!==")"){if(Q=$.indexOf(")",J),Q>J){if(V=$.indexOf("\\",J),V===-1||V>Q)return!0}}if(Z!==-1&&$[J]==="("&&$[J+1]!=="|"){if(Z<J)Z=$.indexOf("|",J);if(Z!==-1&&$[Z+1]!==")"){if(Q=$.indexOf(")",Z),Q>Z){if(V=$.indexOf("\\",Z),V===-1||V>Q)return!0}}}if($[J]==="\\"){var X=$[J+1];J+=2;var W=oQ[X];if(W){var B=$.indexOf(W,J);if(B!==-1)J=B+1}if($[J]==="!")return!0}else J++}return!1},rO=function($){if($[0]==="!")return!0;var J=0;while(J<$.length){if(/[*?{}()[\]]/.test($[J]))return!0;if($[J]==="\\"){var Z=$[J+1];J+=2;var Y=oQ[Z];if(Y){var K=$.indexOf(Y,J);if(K!==-1)J=K+1}if($[J]==="!")return!0}else J++}return!1};rQ.exports=function(J,Z){if(typeof J!=="string"||J==="")return!1;if(lO(J))return!0;var Y=oO;if(Z&&Z.strict===!1)Y=rO;return Y(J)}});var iG=p((Vk,rG)=>{var _z=["||","&&",";;","|&","<(","<<<",">>",">&","<&","&",";","(",")","|","<",">"],oG=/[\n\r\u2028\u2029]/,Oz=/[\s#!"$&'():;<=>@\\^`|]/g;rG.exports=function(J){return J.map(function(Z){if(Z==="")return"''";if(Z&&typeof Z==="object"){if(Z.op==="glob"){if(typeof Z.pattern!=="string")throw TypeError("glob token requires a string `pattern`");if(oG.test(Z.pattern))throw TypeError("glob `pattern` must not contain line terminators");return Z.pattern.replace(Oz,"\\$&")}if(typeof Z.op==="string"){if(_z.indexOf(Z.op)<0)throw TypeError("invalid `op` value: "+JSON.stringify(Z.op));return Z.op.replace(/[\s\S]/g,"\\$&")}if(typeof Z.comment==="string"){if(oG.test(Z.comment))throw TypeError("`comment` must not contain line terminators");return"#"+Z.comment}throw TypeError("unrecognized object token shape")}if(/["\s\\]/.test(Z)&&!/'/.test(Z))return"'"+Z.replace(/(['])/g,"\\$1")+"'";if(/["'\s]/.test(Z))return'"'+Z.replace(/(["\\$`!])/g,"\\$1")+'"';return String(Z).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var JX=p((Gk,$X)=>{var eG="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",sG=new RegExp("^"+eG+"$"),nG="|&;()<> \\t",qz='"((\\\\"|[^"])*?)"',Fz="'((\\\\'|[^'])*?)'",zz=/^#$/,aG="'",tG='"',k7="$",p2="",Cz=4294967296;for(zZ=0;zZ<4;zZ++)p2+=(Cz*Math.random()).toString(16);var zZ,Mz=new RegExp("^"+p2);function Dz($,J){var Z=J.lastIndex,Y=[],K;while(K=J.exec($))if(Y.push(K),J.lastIndex===K.index)J.lastIndex+=1;return J.lastIndex=Z,Y}function Pz($,J,Z){var Y=typeof $==="function"?$(Z):$[Z];if(typeof Y>"u"&&Z!="")Y="";else if(typeof Y>"u")Y="$";if(typeof Y==="object")return J+p2+JSON.stringify(Y)+p2;return J+Y}function Iz($,J,Z){if(!Z)Z={};var Y=Z.escape||"\\",K="(\\"+Y+`['"`+nG+`]|[^\\s'"`+nG+"])+",Q=new RegExp(["("+eG+")","("+K+"|"+qz+"|"+Fz+")+"].join("|"),"g"),V=Dz($,Q);if(V.length===0)return[];if(!J)J={};var X=!1;return V.map(function(W){var B=W[0];if(!B||X)return;if(sG.test(B))return{op:B};var j=!1,_=!1,q="",H=!1,C;function M(){C+=1;var P,D,L=B.charAt(C);if(L==="{"){if(C+=1,B.charAt(C)==="}")throw Error("Bad substitution: "+B.slice(C-2,C+1));if(P=B.indexOf("}",C),P<0)throw Error("Bad substitution: "+B.slice(C));D=B.slice(C,P),C=P}else if(/[*@#?$!_-]/.test(L))D=L,C+=1;else{var R=B.slice(C);if(P=R.match(/[^\w\d_]/),!P)D=R,C=B.length;else D=R.slice(0,P.index),C+=P.index-1}return Pz(J,"",D)}for(C=0;C<B.length;C++){var I=B.charAt(C);if(H=H||!j&&(I==="*"||I==="?"),_)q+=I,_=!1;else if(j)if(I===j)j=!1;else if(j==aG)q+=I;else if(I===Y)if(C+=1,I=B.charAt(C),I===tG||I===Y||I===k7)q+=I;else q+=Y+I;else if(I===k7)q+=M();else q+=I;else if(I===tG||I===aG)j=I;else if(sG.test(I))return{op:B};else if(zz.test(I)){X=!0;var z={comment:$.slice(W.index+C+1)};if(q.length)return[q,z];return[z]}else if(I===Y)_=!0;else if(I===k7)q+=M();else q+=I}if(H)return{op:"glob",pattern:q};return q}).reduce(function(W,B){return typeof B>"u"?W:W.concat(B)},[])}$X.exports=function(J,Z,Y){var K=Iz(J,Z,Y);if(typeof Z!=="function")return K;return K.reduce(function(Q,V){if(typeof V==="object")return Q.concat(V);var X=V.split(RegExp("("+p2+".*?"+p2+")","g"));if(X.length===1)return Q.concat(X[0]);return Q.concat(X.filter(Boolean).map(function(W){if(Mz.test(W))return JSON.parse(W.split(p2)[1]);return W}))},[])}});var ZX=p((Az)=>{Az.quote=iG();Az.parse=JX()});var TJ=p((Gb,nX)=>{nX.exports=r2;r2.CAPTURING_PHASE=1;r2.AT_TARGET=2;r2.BUBBLING_PHASE=3;function r2($,J){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=r2.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,$)this.type=$;if(J)for(var Z in J)this[Z]=J[Z]}r2.prototype=Object.create(Object.prototype,{constructor:{value:r2},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){if(this.cancelable)this.defaultPrevented=!0}},initEvent:{value:function(J,Z,Y){if(this._initialized=!0,this._dispatching)return;this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=J,this.bubbles=Z,this.cancelable=Y}}})});var s7=p((Xb,tX)=>{var aX=TJ();tX.exports=i7;function i7(){aX.call(this),this.view=null,this.detail=0}i7.prototype=Object.create(aX.prototype,{constructor:{value:i7},initUIEvent:{value:function($,J,Z,Y,K){this.initEvent($,J,Z),this.view=Y,this.detail=K}}})});var a7=p((Wb,$W)=>{var eX=s7();$W.exports=n7;function n7(){eX.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}n7.prototype=Object.create(eX.prototype,{constructor:{value:n7},initMouseEvent:{value:function($,J,Z,Y,K,Q,V,X,W,B,j,_,q,H,C){switch(this.initEvent($,J,Z,Y,K),this.screenX=Q,this.screenY=V,this.clientX=X,this.clientY=W,this.ctrlKey=B,this.altKey=j,this.shiftKey=_,this.metaKey=q,this.button=H,H){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=C}},getModifierState:{value:function($){switch($){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var xZ=p((jb,ZW)=>{ZW.exports=EZ;var kC=1,EC=3,xC=4,bC=5,vC=7,hC=8,gC=9,fC=11,mC=12,uC=13,dC=14,pC=15,cC=17,lC=18,oC=19,rC=20,iC=21,sC=22,nC=23,aC=24,tC=25,eC=[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"],$M=[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."],JW={INDEX_SIZE_ERR:kC,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:EC,WRONG_DOCUMENT_ERR:xC,INVALID_CHARACTER_ERR:bC,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:vC,NOT_FOUND_ERR:hC,NOT_SUPPORTED_ERR:gC,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:fC,SYNTAX_ERR:mC,INVALID_MODIFICATION_ERR:uC,NAMESPACE_ERR:dC,INVALID_ACCESS_ERR:pC,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:cC,SECURITY_ERR:lC,NETWORK_ERR:oC,ABORT_ERR:rC,URL_MISMATCH_ERR:iC,QUOTA_EXCEEDED_ERR:sC,TIMEOUT_ERR:nC,INVALID_NODE_TYPE_ERR:aC,DATA_CLONE_ERR:tC};function EZ($){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=$,this.message=$M[$],this.name=eC[$]}EZ.prototype.__proto__=Error.prototype;for(I8 in JW)kZ={value:JW[I8]},Object.defineProperty(EZ,I8,kZ),Object.defineProperty(EZ.prototype,I8,kZ);var kZ,I8});var bZ=p((JM)=>{JM.isApiWritable=!globalThis.__domino_frozen__});var X0=p((KM)=>{var G0=xZ(),B0=G0,YM=bZ().isApiWritable;KM.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"};KM.IndexSizeError=function(){throw new G0(B0.INDEX_SIZE_ERR)};KM.HierarchyRequestError=function(){throw new G0(B0.HIERARCHY_REQUEST_ERR)};KM.WrongDocumentError=function(){throw new G0(B0.WRONG_DOCUMENT_ERR)};KM.InvalidCharacterError=function(){throw new G0(B0.INVALID_CHARACTER_ERR)};KM.NoModificationAllowedError=function(){throw new G0(B0.NO_MODIFICATION_ALLOWED_ERR)};KM.NotFoundError=function(){throw new G0(B0.NOT_FOUND_ERR)};KM.NotSupportedError=function(){throw new G0(B0.NOT_SUPPORTED_ERR)};KM.InvalidStateError=function(){throw new G0(B0.INVALID_STATE_ERR)};KM.SyntaxError=function(){throw new G0(B0.SYNTAX_ERR)};KM.InvalidModificationError=function(){throw new G0(B0.INVALID_MODIFICATION_ERR)};KM.NamespaceError=function(){throw new G0(B0.NAMESPACE_ERR)};KM.InvalidAccessError=function(){throw new G0(B0.INVALID_ACCESS_ERR)};KM.TypeMismatchError=function(){throw new G0(B0.TYPE_MISMATCH_ERR)};KM.SecurityError=function(){throw new G0(B0.SECURITY_ERR)};KM.NetworkError=function(){throw new G0(B0.NETWORK_ERR)};KM.AbortError=function(){throw new G0(B0.ABORT_ERR)};KM.UrlMismatchError=function(){throw new G0(B0.URL_MISMATCH_ERR)};KM.QuotaExceededError=function(){throw new G0(B0.QUOTA_EXCEEDED_ERR)};KM.TimeoutError=function(){throw new G0(B0.TIMEOUT_ERR)};KM.InvalidNodeTypeError=function(){throw new G0(B0.INVALID_NODE_TYPE_ERR)};KM.DataCloneError=function(){throw new G0(B0.DATA_CLONE_ERR)};KM.nyi=function(){throw Error("NotYetImplemented")};KM.shouldOverride=function(){throw Error("Abstract function; should be overriding in subclass.")};KM.assert=function($,J){if(!$)throw Error("Assertion failed: "+(J||"")+`
|
|
29
|
+
`+Error().stack)};KM.expose=function($,J){for(var Z in $)Object.defineProperty(J.prototype,Z,{value:$[Z],writable:YM})};KM.merge=function($,J){for(var Z in J)$[Z]=J[Z]};KM.documentOrder=function($,J){return 3-($.compareDocumentPosition(J)&6)};KM.toASCIILowerCase=function($){return $.replace(/[A-Z]+/g,function(J){return J.toLowerCase()})};KM.toASCIIUpperCase=function($){return $.replace(/[a-z]+/g,function(J){return J.toUpperCase()})}});var t7=p((Bb,KW)=>{var i2=TJ(),bM=a7(),vM=X0();KW.exports=YW;function YW(){}YW.prototype={addEventListener:function(J,Z,Y){if(!Z)return;if(Y===void 0)Y=!1;if(!this._listeners)this._listeners=Object.create(null);if(!this._listeners[J])this._listeners[J]=[];var K=this._listeners[J];for(var Q=0,V=K.length;Q<V;Q++){var X=K[Q];if(X.listener===Z&&X.capture===Y)return}var W={listener:Z,capture:Y};if(typeof Z==="function")W.f=Z;K.push(W)},removeEventListener:function(J,Z,Y){if(Y===void 0)Y=!1;if(this._listeners){var K=this._listeners[J];if(K)for(var Q=0,V=K.length;Q<V;Q++){var X=K[Q];if(X.listener===Z&&X.capture===Y){if(K.length===1)this._listeners[J]=void 0;else K.splice(Q,1);return}}}},dispatchEvent:function(J){return this._dispatchEvent(J,!1)},_dispatchEvent:function(J,Z){if(typeof Z!=="boolean")Z=!1;function Y(B,j){var{type:_,eventPhase:q}=j;if(j.currentTarget=B,q!==i2.CAPTURING_PHASE&&B._handlers&&B._handlers[_]){var H=B._handlers[_],C;if(typeof H==="function")C=H.call(j.currentTarget,j);else{var M=H.handleEvent;if(typeof M!=="function")throw TypeError("handleEvent property of event handler object isnot a function.");C=M.call(H,j)}switch(j.type){case"mouseover":if(C===!0)j.preventDefault();break;case"beforeunload":default:if(C===!1)j.preventDefault();break}}var I=B._listeners&&B._listeners[_];if(!I)return;I=I.slice();for(var z=0,P=I.length;z<P;z++){if(j._immediatePropagationStopped)return;var D=I[z];if(q===i2.CAPTURING_PHASE&&!D.capture||q===i2.BUBBLING_PHASE&&D.capture)continue;if(D.f)D.f.call(j.currentTarget,j);else{var L=D.listener.handleEvent;if(typeof L!=="function")throw TypeError("handleEvent property of event listener object is not a function.");L.call(D.listener,j)}}}if(!J._initialized||J._dispatching)vM.InvalidStateError();J.isTrusted=Z,J._dispatching=!0,J.target=this;var K=[];for(var Q=this.parentNode;Q;Q=Q.parentNode)K.push(Q);J.eventPhase=i2.CAPTURING_PHASE;for(var V=K.length-1;V>=0;V--)if(Y(K[V],J),J._propagationStopped)break;if(!J._propagationStopped)J.eventPhase=i2.AT_TARGET,Y(this,J);if(J.bubbles&&!J._propagationStopped){J.eventPhase=i2.BUBBLING_PHASE;for(var X=0,W=K.length;X<W;X++)if(Y(K[X],J),J._propagationStopped)break}if(J._dispatching=!1,J.eventPhase=i2.AT_TARGET,J.currentTarget=null,Z&&!J.defaultPrevented&&J instanceof bM)switch(J.type){case"mousedown":this._armed={x:J.clientX,y:J.clientY,t:J.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":if(this._isClick(J))this._doClick(J);this._armed=null;break}return!J.defaultPrevented},_isClick:function($){return this._armed!==null&&$.type==="mouseup"&&$.isTrusted&&$.button===0&&$.timeStamp-this._armed.t<1000&&Math.abs($.clientX-this._armed.x)<10&&Math.abs($.clientY-this._armed.Y)<10},_doClick:function($){if(this._click_in_progress)return;this._click_in_progress=!0;var J=this;while(J&&!J._post_click_activation_steps)J=J.parentNode;if(J&&J._pre_click_activation_steps)J._pre_click_activation_steps();var Z=this.ownerDocument.createEvent("MouseEvent");Z.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,$.screenX,$.screenY,$.clientX,$.clientY,$.ctrlKey,$.altKey,$.shiftKey,$.metaKey,$.button,null);var Y=this._dispatchEvent(Z,!0);if(J){if(Y){if(J._post_click_activation_steps)J._post_click_activation_steps(Z)}else if(J._cancelled_activation_steps)J._cancelled_activation_steps()}},_setEventHandler:function(J,Z){if(!this._handlers)this._handlers=Object.create(null);this._handlers[J]=Z},_getEventHandler:function(J){return this._handlers&&this._handlers[J]||null}}});var e7=p((_b,QW)=>{var r1=X0(),V1=QW.exports={valid:function($){return r1.assert($,"list falsy"),r1.assert($._previousSibling,"previous falsy"),r1.assert($._nextSibling,"next falsy"),!0},insertBefore:function($,J){r1.assert(V1.valid($)&&V1.valid(J));var Z=$,Y=$._previousSibling,K=J,Q=J._previousSibling;Z._previousSibling=Q,Y._nextSibling=K,Q._nextSibling=Z,K._previousSibling=Y,r1.assert(V1.valid($)&&V1.valid(J))},replace:function($,J){if(r1.assert(V1.valid($)&&(J===null||V1.valid(J))),J!==null)V1.insertBefore(J,$);V1.remove($),r1.assert(V1.valid($)&&(J===null||V1.valid(J)))},remove:function($){r1.assert(V1.valid($));var J=$._previousSibling;if(J===$)return;var Z=$._nextSibling;J._nextSibling=Z,Z._previousSibling=J,$._previousSibling=$._nextSibling=$,r1.assert(V1.valid($))}}});var $Y=p((Ob,BW)=>{BW.exports={serializeOne:pM,\u{275}escapeMatchingClosingTag:jW,\u{275}escapeClosingCommentTag:UW,\u{275}escapeProcessingInstructionContent:HW};var WW=X0(),s2=WW.NAMESPACE,VW={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},hM={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},gM={},GW=/[&<>\u00A0]/g,XW=/[&"<>\u00A0]/g;function fM($){if(!GW.test($))return $;return $.replace(GW,(J)=>{switch(J){case"&":return"&";case"<":return"<";case">":return">";case"\xA0":return" "}})}function mM($){if(!XW.test($))return $;return $.replace(XW,(J)=>{switch(J){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case"\xA0":return" "}})}function uM($){var J=$.namespaceURI;if(!J)return $.localName;if(J===s2.XML)return"xml:"+$.localName;if(J===s2.XLINK)return"xlink:"+$.localName;if(J===s2.XMLNS)if($.localName==="xmlns")return"xmlns";else return"xmlns:"+$.localName;return $.name}function jW($,J){let Z="</"+J;if(!$.toLowerCase().includes(Z))return $;let Y=[...$],K=$.matchAll(new RegExp(Z,"ig"));for(let Q of K)Y[Q.index]="<";return Y.join("")}var dM=/--!?>/;function UW($){if(!dM.test($))return $;return $.replace(/(--\!?)>/g,"$1>")}function HW($){return $.includes(">")?$.replaceAll(">",">"):$}function pM($,J){var Z="";switch($.nodeType){case 1:var Y=$.namespaceURI,K=Y===s2.HTML,Q=K||Y===s2.SVG||Y===s2.MATHML?$.localName:$.tagName;Z+="<"+Q;for(var V=0,X=$._numattrs;V<X;V++){var W=$._attr(V);if(Z+=" "+uM(W),W.value!==void 0)Z+='="'+mM(W.value)+'"'}if(Z+=">",!(K&&hM[Q])){var B=$.serialize();if(VW[Q.toUpperCase()])B=jW(B,Q);if(K&&gM[Q]&&B.charAt(0)===`
|
|
30
30
|
`)Z+=`
|
|
31
|
-
`;Z+=B,Z+="</"+Q+">"}break;case 3:case 4:var j;if(J.nodeType===1&&J.namespaceURI===s2.HTML)j=J.tagName;else j="";if(VW[j]||j==="NOSCRIPT"&&J.ownerDocument._scripting_enabled)Z+=$.data;else Z+=fM($.data);break;case 8:Z+="<!--"+UW($.data)+"-->";break;case 7:let _=HW($.data);Z+="<?"+$.target+" "+_+"?>";break;case 10:Z+="<!DOCTYPE "+$.name,Z+=">";break;default:WW.InvalidStateError()}return Z}});var P0=p((Ob,CW)=>{CW.exports=$0;var zW=t7(),vZ=e7(),_W=$Y(),m$=X0();function $0(){zW.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var f0=$0.ELEMENT_NODE=1,JY=$0.ATTRIBUTE_NODE=2,hZ=$0.TEXT_NODE=3,cM=$0.CDATA_SECTION_NODE=4,lM=$0.ENTITY_REFERENCE_NODE=5,ZY=$0.ENTITY_NODE=6,OW=$0.PROCESSING_INSTRUCTION_NODE=7,qW=$0.COMMENT_NODE=8,A8=$0.DOCUMENT_NODE=9,G1=$0.DOCUMENT_TYPE_NODE=10,B2=$0.DOCUMENT_FRAGMENT_NODE=11,YY=$0.NOTATION_NODE=12,KY=$0.DOCUMENT_POSITION_DISCONNECTED=1,QY=$0.DOCUMENT_POSITION_PRECEDING=2,VY=$0.DOCUMENT_POSITION_FOLLOWING=4,FW=$0.DOCUMENT_POSITION_CONTAINS=8,GY=$0.DOCUMENT_POSITION_CONTAINED_BY=16,XY=$0.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;$0.prototype=Object.create(zW.prototype,{baseURI:{get:m$.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===f0?this.parentNode:null}},hasChildNodes:{value:m$.shouldOverride},firstChild:{get:m$.shouldOverride},lastChild:{get:m$.shouldOverride},isConnected:{get:function(){let $=this;while($!=null){if($.nodeType===$0.DOCUMENT_NODE)return!0;if($=$.parentNode,$!=null&&$.nodeType===$0.DOCUMENT_FRAGMENT_NODE)$=$.host}return!1}},previousSibling:{get:function(){var $=this.parentNode;if(!$)return null;if(this===$.firstChild)return null;return this._previousSibling}},nextSibling:{get:function(){var $=this.parentNode,J=this._nextSibling;if(!$)return null;if(J===$.firstChild)return null;return J}},textContent:{get:function(){return null},set:function($){}},innerText:{get:function(){return null},set:function($){}},_countChildrenOfType:{value:function($){var J=0;for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===$)J++;return J}},_ensureInsertValid:{value:function(J,Z,Y){var K=this,Q,V;if(!J.nodeType)throw TypeError("not a node");switch(K.nodeType){case A8:case B2:case f0:break;default:m$.HierarchyRequestError()}if(J.isAncestor(K))m$.HierarchyRequestError();if(Z!==null||!Y){if(Z.parentNode!==K)m$.NotFoundError()}switch(J.nodeType){case B2:case G1:case f0:case hZ:case OW:case qW:break;default:m$.HierarchyRequestError()}if(K.nodeType===A8)switch(J.nodeType){case hZ:m$.HierarchyRequestError();break;case B2:if(J._countChildrenOfType(hZ)>0)m$.HierarchyRequestError();switch(J._countChildrenOfType(f0)){case 0:break;case 1:if(Z!==null){if(Y&&Z.nodeType===G1)m$.HierarchyRequestError();for(V=Z.nextSibling;V!==null;V=V.nextSibling)if(V.nodeType===G1)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(f0),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==f0)m$.HierarchyRequestError();break;default:m$.HierarchyRequestError()}break;case f0:if(Z!==null){if(Y&&Z.nodeType===G1)m$.HierarchyRequestError();for(V=Z.nextSibling;V!==null;V=V.nextSibling)if(V.nodeType===G1)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(f0),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==f0)m$.HierarchyRequestError();break;case G1:if(Z===null){if(K._countChildrenOfType(f0))m$.HierarchyRequestError()}else for(V=K.firstChild;V!==null;V=V.nextSibling){if(V===Z)break;if(V.nodeType===f0)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(G1),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==G1)m$.HierarchyRequestError();break}else if(J.nodeType===G1)m$.HierarchyRequestError()}},insertBefore:{value:function(J,Z){var Y=this;Y._ensureInsertValid(J,Z,!0);var K=Z;if(K===J)K=J.nextSibling;return Y.doc.adoptNode(J),J._insertOrReplace(Y,K,!1),J}},appendChild:{value:function($){return this.insertBefore($,null)}},_appendChild:{value:function($){$._insertOrReplace(this,null,!1)}},removeChild:{value:function(J){var Z=this;if(!J.nodeType)throw TypeError("not a node");if(J.parentNode!==Z)m$.NotFoundError();return J.remove(),J}},replaceChild:{value:function(J,Z){var Y=this;if(Y._ensureInsertValid(J,Z,!1),J.doc!==Y.doc)Y.doc.adoptNode(J);return J._insertOrReplace(Y,Z,!0),Z}},contains:{value:function(J){if(J===null)return!1;if(this===J)return!0;return(this.compareDocumentPosition(J)&GY)!==0}},compareDocumentPosition:{value:function(J){if(this===J)return 0;if(this.doc!==J.doc||this.rooted!==J.rooted)return KY+XY;var Z=[],Y=[];for(var K=this;K!==null;K=K.parentNode)Z.push(K);for(K=J;K!==null;K=K.parentNode)Y.push(K);if(Z.reverse(),Y.reverse(),Z[0]!==Y[0])return KY+XY;K=Math.min(Z.length,Y.length);for(var Q=1;Q<K;Q++)if(Z[Q]!==Y[Q])if(Z[Q].index<Y[Q].index)return VY;else return QY;if(Z.length<Y.length)return VY+GY;else return QY+FW}},isSameNode:{value:function(J){return this===J}},isEqualNode:{value:function(J){if(!J)return!1;if(J.nodeType!==this.nodeType)return!1;if(!this.isEqual(J))return!1;for(var Z=this.firstChild,Y=J.firstChild;Z&&Y;Z=Z.nextSibling,Y=Y.nextSibling)if(!Z.isEqualNode(Y))return!1;return Z===null&&Y===null}},cloneNode:{value:function($){var J=this.clone();if($)for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)J._appendChild(Z.cloneNode(!0));return J}},lookupPrefix:{value:function(J){var Z;if(J===""||J===null||J===void 0)return null;switch(this.nodeType){case f0:return this._lookupNamespacePrefix(J,this);case A8:return Z=this.documentElement,Z?Z.lookupPrefix(J):null;case ZY:case YY:case B2:case G1:return null;case JY:return Z=this.ownerElement,Z?Z.lookupPrefix(J):null;default:return Z=this.parentElement,Z?Z.lookupPrefix(J):null}}},lookupNamespaceURI:{value:function(J){if(J===""||J===void 0)J=null;var Z;switch(this.nodeType){case f0:return m$.shouldOverride();case A8:return Z=this.documentElement,Z?Z.lookupNamespaceURI(J):null;case ZY:case YY:case G1:case B2:return null;case JY:return Z=this.ownerElement,Z?Z.lookupNamespaceURI(J):null;default:return Z=this.parentElement,Z?Z.lookupNamespaceURI(J):null}}},isDefaultNamespace:{value:function(J){if(J===""||J===void 0)J=null;var Z=this.lookupNamespaceURI(null);return Z===J}},index:{get:function(){var $=this.parentNode;if(this===$.firstChild)return 0;var J=$.childNodes;if(this._index===void 0||J[this._index]!==this){for(var Z=0;Z<J.length;Z++)J[Z]._index=Z;m$.assert(J[this._index]===this)}return this._index}},isAncestor:{value:function($){if(this.doc!==$.doc)return!1;if(this.rooted!==$.rooted)return!1;for(var J=$;J;J=J.parentNode)if(J===this)return!0;return!1}},ensureSameDoc:{value:function($){if($.ownerDocument===null)$.ownerDocument=this.doc;else if($.ownerDocument!==this.doc)m$.WrongDocumentError()}},removeChildren:{value:m$.shouldOverride},_insertOrReplace:{value:function(J,Z,Y){var K=this,Q,V;if(K.nodeType===B2&&K.rooted)m$.HierarchyRequestError();if(J._childNodes){if(Q=Z===null?J._childNodes.length:Z.index,K.parentNode===J){var X=K.index;if(X<Q)Q--}}if(Y){if(Z.rooted)Z.doc.mutateRemove(Z);Z.parentNode=null}var W=Z;if(W===null)W=J.firstChild;var B=K.rooted&&J.rooted;if(K.nodeType===B2){var j=[0,Y?1:0],_;for(var q=K.firstChild;q!==null;q=_)_=q.nextSibling,j.push(q),q.parentNode=J;var H=j.length;if(Y)vZ.replace(W,H>2?j[2]:null);else if(H>2&&W!==null)vZ.insertBefore(j[2],W);if(J._childNodes){j[0]=Z===null?J._childNodes.length:Z._index,J._childNodes.splice.apply(J._childNodes,j);for(V=2;V<H;V++)j[V]._index=j[0]+(V-2)}else if(J._firstChild===Z){if(H>2)J._firstChild=j[2];else if(Y)J._firstChild=null}if(K._childNodes)K._childNodes.length=0;else K._firstChild=null;if(J.rooted){J.modify();for(V=2;V<H;V++)J.doc.mutateInsert(j[V])}}else{if(Z===K)return;if(B)K._remove();else if(K.parentNode)K.remove();if(K.parentNode=J,Y){if(vZ.replace(W,K),J._childNodes)K._index=Q,J._childNodes[Q]=K;else if(J._firstChild===Z)J._firstChild=K}else{if(W!==null)vZ.insertBefore(K,W);if(J._childNodes)K._index=Q,J._childNodes.splice(Q,0,K);else if(J._firstChild===Z)J._firstChild=K}if(B)J.modify(),J.doc.mutateMove(K);else if(J.rooted)J.modify(),J.doc.mutateInsert(K)}}},lastModTime:{get:function(){if(!this._lastModTime)this._lastModTime=this.doc.modclock;return this._lastModTime}},modify:{value:function(){if(this.doc.modclock){var $=++this.doc.modclock;for(var J=this;J;J=J.parentElement)if(J._lastModTime)J._lastModTime=$}}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){var $;for(var J=this.firstChild;J!==null;J=$){if($=J.nextSibling,J.normalize)J.normalize();if(J.nodeType!==$0.TEXT_NODE)continue;if(J.nodeValue===""){this.removeChild(J);continue}var Z=J.previousSibling;if(Z===null)continue;else if(Z.nodeType===$0.TEXT_NODE)Z.appendData(J.nodeValue),this.removeChild(J)}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;var $="";for(var J=this.firstChild;J!==null;J=J.nextSibling)$+=_W.serializeOne(J,this);return $}},outerHTML:{get:function(){return _W.serializeOne(this,{nodeType:0})},set:m$.nyi},ELEMENT_NODE:{value:f0},ATTRIBUTE_NODE:{value:JY},TEXT_NODE:{value:hZ},CDATA_SECTION_NODE:{value:cM},ENTITY_REFERENCE_NODE:{value:lM},ENTITY_NODE:{value:ZY},PROCESSING_INSTRUCTION_NODE:{value:OW},COMMENT_NODE:{value:qW},DOCUMENT_NODE:{value:A8},DOCUMENT_TYPE_NODE:{value:G1},DOCUMENT_FRAGMENT_NODE:{value:B2},NOTATION_NODE:{value:YY},DOCUMENT_POSITION_DISCONNECTED:{value:KY},DOCUMENT_POSITION_PRECEDING:{value:QY},DOCUMENT_POSITION_FOLLOWING:{value:VY},DOCUMENT_POSITION_CONTAINS:{value:FW},DOCUMENT_POSITION_CONTAINED_BY:{value:GY},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:XY}})});var DW=p((qb,MW)=>{MW.exports=class extends Array{constructor(J){super(J&&J.length||0);if(J)for(var Z in J)this[Z]=J[Z]}item(J){return this[J]||null}}});var IW=p((Fb,PW)=>{function oM($){return this[$]||null}function rM($){if(!$)$=[];return $.item=oM,$}PW.exports=rM});var n2=p((zb,AW)=>{var WY;try{WY=DW()}catch($){WY=IW()}AW.exports=WY});var gZ=p((Cb,RW)=>{RW.exports=wW;var SW=P0(),iM=n2();function wW(){SW.call(this),this._firstChild=this._childNodes=null}wW.prototype=Object.create(SW.prototype,{hasChildNodes:{value:function(){if(this._childNodes)return this._childNodes.length>0;return this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){if(this._childNodes)return this._childNodes.length===0?null:this._childNodes[0];return this._firstChild}},lastChild:{get:function(){var $=this._childNodes,J;if($)return $.length===0?null:$[$.length-1];if(J=this._firstChild,J===null)return null;return J._previousSibling}},_ensureChildNodes:{value:function(){if(this._childNodes)return;var $=this._firstChild,J=$,Z=this._childNodes=new iM;if($)do Z.push(J),J=J._nextSibling;while(J!==$);this._firstChild=null}},removeChildren:{value:function(){var J=this.rooted?this.ownerDocument:null,Z=this.firstChild,Y;while(Z!==null){if(Y=Z,Z=Y.nextSibling,J)J.mutateRemove(Y);Y.parentNode=null}if(this._childNodes)this._childNodes.length=0;else this._firstChild=null;this.modify()}}})});var fZ=p((YD)=>{YD.isValidName=JD;YD.isValidQName=ZD;var sM=/^[_:A-Za-z][-.:\w]+$/,nM=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,S8="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",w8="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",a2="["+S8+"]["+w8+"]*",jY=S8+":",UY=w8+":",aM=new RegExp("^["+jY+"]["+UY+"]*$"),tM=new RegExp("^("+a2+"|"+a2+":"+a2+")$"),LW=/[\uD800-\uDB7F\uDC00-\uDFFF]/,NW=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,yW=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;S8+="\uD800-\uDB7F\uDC00-\uDFFF";w8+="\uD800-\uDB7F\uDC00-\uDFFF";a2="["+S8+"]["+w8+"]*";jY=S8+":";UY=w8+":";var eM=new RegExp("^["+jY+"]["+UY+"]*$"),$D=new RegExp("^("+a2+"|"+a2+":"+a2+")$");function JD($){if(sM.test($))return!0;if(aM.test($))return!0;if(!LW.test($))return!1;if(!eM.test($))return!1;var J=$.match(NW),Z=$.match(yW);return Z!==null&&2*Z.length===J.length}function ZD($){if(nM.test($))return!0;if(tM.test($))return!0;if(!LW.test($))return!1;if(!$D.test($))return!1;var J=$.match(NW),Z=$.match(yW);return Z!==null&&2*Z.length===J.length}});var HY=p((GD)=>{var TW=X0();GD.property=function($){if(Array.isArray($.type)){var J=Object.create(null);$.type.forEach(function(K){J[K.value||K]=K.alias||K});var Z=$.missing;if(Z===void 0)Z=null;var Y=$.invalid;if(Y===void 0)Y=Z;return{get:function(){var K=this._getattr($.name);if(K===null)return Z;if(K=J[K.toLowerCase()],K!==void 0)return K;if(Y!==null)return Y;return K},set:function(K){this._setattr($.name,K)}}}else if($.type===Boolean)return{get:function(){return this.hasAttribute($.name)},set:function(K){if(K)this._setattr($.name,"");else this.removeAttribute($.name)}};else if($.type===Number||$.type==="long"||$.type==="unsigned long"||$.type==="limited unsigned long with fallback")return VD($);else if(!$.type||$.type===String)return{get:function(){return this._getattr($.name)||""},set:function(K){if($.treatNullAsEmptyString&&K===null)K="";this._setattr($.name,K)}};else if(typeof $.type==="function")return $.type($.name,$);throw Error("Invalid attribute definition")};function VD($){var J;if(typeof $.default==="function")J=$.default;else if(typeof $.default==="number")J=function(){return $.default};else J=function(){TW.assert(!1,typeof $.default)};var Z=$.type==="unsigned long",Y=$.type==="long",K=$.type==="limited unsigned long with fallback",Q=$.min,V=$.max,X=$.setmin;if(Q===void 0){if(Z)Q=0;if(Y)Q=-2147483648;if(K)Q=1}if(V===void 0){if(Z||Y||K)V=2147483647}return{get:function(){var W=this._getattr($.name),B=$.float?parseFloat(W):parseInt(W,10);if(W===null||!isFinite(B)||Q!==void 0&&B<Q||V!==void 0&&B>V)return J.call(this);if(Z||Y||K){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(W))return J.call(this);B=B|0}return B},set:function(W){if(!$.float)W=Math.floor(W);if(X!==void 0&&W<X)TW.IndexSizeError($.name+" set to "+W);if(Z)W=W<0||W>2147483647?J.call(this):W|0;else if(K)W=W<1||W>2147483647?J.call(this):W|0;else if(Y)W=W<-2147483648||W>2147483647?J.call(this):W|0;this._setattr($.name,String(W))}}}GD.registerChangeHandler=function($,J,Z){var Y=$.prototype;if(!Object.prototype.hasOwnProperty.call(Y,"_attributeChangeHandlers"))Y._attributeChangeHandlers=Object.create(Y._attributeChangeHandlers||null);Y._attributeChangeHandlers[J]=Z}});var xW=p((Pb,EW)=>{EW.exports=kW;var jD=P0();function kW($,J){this.root=$,this.filter=J,this.lastModTime=$.lastModTime,this.done=!1,this.cache=[],this.traverse()}kW.prototype=Object.create(Object.prototype,{length:{get:function(){if(this.checkcache(),!this.done)this.traverse();return this.cache.length}},item:{value:function($){if(this.checkcache(),!this.done&&$>=this.cache.length)this.traverse();return this.cache[$]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var $=this.cache.length-1;$>=0;$--)this[$]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function($){if($!==void 0)$++;var J;while((J=this.next())!==null)if(this[this.cache.length]=J,this.cache.push(J),$&&this.cache.length===$)return;this.done=!0}},next:{value:function(){var $=this.cache.length===0?this.root:this.cache[this.cache.length-1],J;if($.nodeType===jD.DOCUMENT_NODE)J=$.documentElement;else J=$.nextElement(this.root);while(J){if(this.filter(J))return J;J=J.nextElement(this.root)}return null}}})});var _Y=p((Ib,hW)=>{var BY=X0();hW.exports=vW;function vW($,J){this._getString=$,this._setString=J,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(vW.prototype,{length:{get:function(){return this._length}},item:{value:function($){var J=kJ(this);if($<0||$>=J.length)return null;return J[$]}},contains:{value:function($){$=String($);var J=kJ(this);return J.indexOf($)>-1}},add:{value:function(){var $=kJ(this);for(var J=0,Z=arguments.length;J<Z;J++){var Y=R8(arguments[J]);if($.indexOf(Y)<0)$.push(Y)}this._update($)}},remove:{value:function(){var $=kJ(this);for(var J=0,Z=arguments.length;J<Z;J++){var Y=R8(arguments[J]),K=$.indexOf(Y);if(K>-1)$.splice(K,1)}this._update($)}},toggle:{value:function(J,Z){if(J=R8(J),this.contains(J)){if(Z===void 0||Z===!1)return this.remove(J),!1;return!0}else{if(Z===void 0||Z===!0)return this.add(J),!0;return!1}}},replace:{value:function(J,Z){if(String(Z)==="")BY.SyntaxError();J=R8(J),Z=R8(Z);var Y=kJ(this),K=Y.indexOf(J);if(K<0)return!1;var Q=Y.indexOf(Z);if(Q<0)Y[K]=Z;else if(K<Q)Y[K]=Z,Y.splice(Q,1);else Y.splice(K,1);return this._update(Y),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function($){this._setString($),this._update()}},_update:{value:function($){if($)bW(this,$),this._setString($.join(" ").trim());else bW(this,kJ(this));this._lastStringValue=this._getString()}}});function bW($,J){var Z=$._length,Y;$._length=J.length;for(Y=0;Y<J.length;Y++)$[Y]=J[Y];for(;Y<Z;Y++)$[Y]=void 0}function R8($){if($=String($),$==="")BY.SyntaxError();if(/[ \t\r\n\f]/.test($))BY.InvalidCharacterError();return $}function UD($){var J=$._length,Z=Array(J);for(var Y=0;Y<J;Y++)Z[Y]=$[Y];return Z}function kJ($){var J=$._getString();if(J===$._lastStringValue)return UD($);var Z=J.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(Z==="")return[];else{var Y=Object.create(null);return Z.split(/[ \t\r\n\f]+/g).filter(function(K){var Q="$"+K;if(Y[Q])return!1;return Y[Q]=!0,!0})}}});var pZ=p((bJ,pW)=>{var mZ=Object.create(null,{location:{get:function(){throw Error("window.location is not supported.")}}}),HD=function($,J){return $.compareDocumentPosition(J)},BD=function($,J){return HD($,J)&2?1:-1},dZ=function($){while(($=$.nextSibling)&&$.nodeType!==1);return $},xJ=function($){while(($=$.previousSibling)&&$.nodeType!==1);return $},_D=function($){if($=$.firstChild)while($.nodeType!==1&&($=$.nextSibling));return $},OD=function($){if($=$.lastChild)while($.nodeType!==1&&($=$.previousSibling));return $},EJ=function($){if(!$.parentNode)return!1;var J=$.parentNode.nodeType;return J===1||J===9},gW=function($){if(!$)return $;var J=$[0];if(J==='"'||J==="'"){if($[$.length-1]===J)$=$.slice(1,-1);else $=$.slice(1);return $.replace(_$.str_escape,function(Z){var Y=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(Z);if(!Y)return Z.slice(1);if(Y[2])return"";var K=parseInt(Y[1],16);return String.fromCodePoint?String.fromCodePoint(K):String.fromCharCode(K)})}else if(_$.ident.test($))return _2($);else return $},_2=function($){return $.replace(_$.escape,function(J){var Z=/^\\([0-9A-Fa-f]+)/.exec(J);if(!Z)return J[1];var Y=parseInt(Z[1],16);return String.fromCodePoint?String.fromCodePoint(Y):String.fromCharCode(Y)})},qD=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf;return function($,J){var Z=this.length;while(Z--)if(this[Z]===J)return Z;return-1}}(),mW=function($,J){var Z=_$.inside.source.replace(/</g,$).replace(/>/g,J);return new RegExp(Z)},m0=function($,J,Z){return $=$.source,$=$.replace(J,Z.source||Z),new RegExp($)},fW=function($,J){return $.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",J).join("/")},FD=function($,J){var Z=$.replace(/\s+/g,""),Y;if(Z==="even")Z="2n+0";else if(Z==="odd")Z="2n+1";else if(Z.indexOf("n")===-1)Z="0n"+Z;return Y=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(Z),{group:Y[1]==="-"?-(Y[2]||1):+(Y[2]||1),offset:Y[4]?Y[3]==="-"?-Y[4]:+Y[4]:0}},OY=function($,J,Z){var Y=FD($),K=Y.group,Q=Y.offset,V=!Z?_D:OD,X=!Z?dZ:xJ;return function(W){if(!EJ(W))return;var B=V(W.parentNode),j=0;while(B){if(J(B,W))j++;if(B===W)return j-=Q,K&&j?j%K===0&&j<0===K<0:!j;B=X(B)}}},z0={"*":function(){return function(){return!0}}(),type:function($){return $=$.toLowerCase(),function(J){return J.nodeName.toLowerCase()===$}},attr:function($,J,Z,Y){return J=uW[J],function(K){var Q;switch($){case"for":Q=K.htmlFor;break;case"class":if(Q=K.className,Q===""&&K.getAttribute("class")==null)Q=null;break;case"href":case"src":Q=K.getAttribute($,2);break;case"title":Q=K.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(K.getAttribute){Q=K.getAttribute($);break}default:if(K.hasAttribute&&!K.hasAttribute($))break;Q=K[$]!=null?K[$]:K.getAttribute&&K.getAttribute($);break}if(Q==null)return;if(Q=Q+"",Y)Q=Q.toLowerCase(),Z=Z.toLowerCase();return J(Q,Z)}},":first-child":function($){return!xJ($)&&EJ($)},":last-child":function($){return!dZ($)&&EJ($)},":only-child":function($){return!xJ($)&&!dZ($)&&EJ($)},":nth-child":function($,J){return OY($,function(){return!0},J)},":nth-last-child":function($){return z0[":nth-child"]($,!0)},":root":function($){return $.ownerDocument.documentElement===$},":empty":function($){return!$.firstChild},":not":function($){var J=FY($);return function(Z){return!J(Z)}},":first-of-type":function($){if(!EJ($))return;var J=$.nodeName;while($=xJ($))if($.nodeName===J)return;return!0},":last-of-type":function($){if(!EJ($))return;var J=$.nodeName;while($=dZ($))if($.nodeName===J)return;return!0},":only-of-type":function($){return z0[":first-of-type"]($)&&z0[":last-of-type"]($)},":nth-of-type":function($,J){return OY($,function(Z,Y){return Z.nodeName===Y.nodeName},J)},":nth-last-of-type":function($){return z0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!z0[":checked"]($)},":enabled":function($){return!$.disabled&&$.type!=="hidden"},":disabled":function($){return!!$.disabled},":target":function($){return $.id===mZ.location.hash.substring(1)},":focus":function($){return $===$.ownerDocument.activeElement},":is":function($){return FY($)},":matches":function($){return z0[":is"]($)},":nth-match":function($,J){var Z=$.split(/\s*,\s*/),Y=Z.shift(),K=FY(Z.join(","));return OY(Y,K,J)},":nth-last-match":function($){return z0[":nth-match"]($,!0)},":links-here":function($){return $+""===mZ.location+""},":lang":function($){return function(J){while(J){if(J.lang)return J.lang.indexOf($)===0;J=J.parentNode}}},":dir":function($){return function(J){while(J){if(J.dir)return J.dir===$;J=J.parentNode}}},":scope":function($,J){var Z=J||$.ownerDocument;if(Z.nodeType===9)return $===Z.documentElement;return $===Z},":any-link":function($){return typeof $.href==="string"},":local-link":function($){if($.nodeName)return $.href&&$.host===mZ.location.host;var J=+$+1;return function(Z){if(!Z.href)return;var Y=mZ.location+"",K=Z+"";return fW(Y,J)===fW(K,J)}},":default":function($){return!!$.defaultSelected},":valid":function($){return $.willValidate||$.validity&&$.validity.valid},":invalid":function($){return!z0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!z0[":in-range"]($)},":required":function($){return!!$.required},":optional":function($){return!$.required},":read-only":function($){if($.readOnly)return!0;var J=$.getAttribute("contenteditable"),Z=$.contentEditable,Y=$.nodeName.toLowerCase();return Y=Y!=="input"&&Y!=="textarea",(Y||$.disabled)&&J==null&&Z!=="true"},":read-write":function($){return!z0[":read-only"]($)},":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($){return function(J){var Z=J.innerText||J.textContent||J.value||"";return Z.indexOf($)!==-1}},":has":function($){return function(J){return dW($,J).length>0}}},uW={"-":function(){return!0},"=":function($,J){return $===J},"*=":function($,J){return $.indexOf(J)!==-1},"~=":function($,J){var Z,Y,K,Q;for(Y=0;;Y=Z+1){if(Z=$.indexOf(J,Y),Z===-1)return!1;if(K=$[Z-1],Q=$[Z+J.length],(!K||K===" ")&&(!Q||Q===" "))return!0}},"|=":function($,J){var Z=$.indexOf(J),Y;if(Z!==0)return;return Y=$[Z+J.length],Y==="-"||!Y},"^=":function($,J){return $.indexOf(J)===0},"$=":function($,J){var Z=$.lastIndexOf(J);return Z!==-1&&Z+J.length===$.length},"!=":function($,J){return $!==J}},L8={" ":function($){return function(J){while(J=J.parentNode)if($(J))return J}},">":function($){return function(J){if(J=J.parentNode)return $(J)&&J}},"+":function($){return function(J){if(J=xJ(J))return $(J)&&J}},"~":function($){return function(J){while(J=xJ(J))if($(J))return J}},noop:function($){return function(J){return $(J)&&J}},ref:function($,J){var Z;function Y(K){var Q=K.ownerDocument,V=Q.getElementsByTagName("*"),X=V.length;while(X--)if(Z=V[X],Y.test(K))return Z=null,!0;Z=null}return Y.combinator=function(K){if(!Z||!Z.getAttribute)return;var Q=Z.getAttribute(J)||"";if(Q[0]==="#")Q=Q.substring(1);if(Q===K.id&&$(Z))return Z},Y}},_$={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)$/};_$.cssid=m0(_$.cssid,"nonascii",_$.nonascii);_$.cssid=m0(_$.cssid,"escape",_$.escape);_$.qname=m0(_$.qname,"cssid",_$.cssid);_$.simple=m0(_$.simple,"cssid",_$.cssid);_$.ref=m0(_$.ref,"cssid",_$.cssid);_$.attr=m0(_$.attr,"cssid",_$.cssid);_$.pseudo=m0(_$.pseudo,"cssid",_$.cssid);_$.inside=m0(_$.inside,`[^"'>]*`,_$.inside);_$.attr=m0(_$.attr,"inside",mW("\\[","\\]"));_$.pseudo=m0(_$.pseudo,"inside",mW("\\(","\\)"));_$.simple=m0(_$.simple,"pseudo",_$.pseudo);_$.simple=m0(_$.simple,"attr",_$.attr);_$.ident=m0(_$.ident,"cssid",_$.cssid);_$.str_escape=m0(_$.str_escape,"escape",_$.escape);var N8=function($){var J=$.replace(/^\s+|\s+$/g,""),Z,Y=[],K=[],Q,V,X,W,B;while(J){if(X=_$.qname.exec(J))J=J.substring(X[0].length),V=_2(X[1]),K.push(uZ(V,!0));else if(X=_$.simple.exec(J))J=J.substring(X[0].length),V="*",K.push(uZ(V,!0)),K.push(uZ(X));else throw SyntaxError("Invalid selector.");while(X=_$.simple.exec(J))J=J.substring(X[0].length),K.push(uZ(X));if(J[0]==="!")J=J.substring(1),Q=CD(),Q.qname=V,K.push(Q.simple);if(X=_$.ref.exec(J)){J=J.substring(X[0].length),B=L8.ref(qY(K),_2(X[1])),Y.push(B.combinator),K=[];continue}if(X=_$.combinator.exec(J)){if(J=J.substring(X[0].length),W=X[1]||X[2]||X[3],W===","){Y.push(L8.noop(qY(K)));break}}else W="noop";if(!L8[W])throw SyntaxError("Bad combinator.");Y.push(L8[W](qY(K))),K=[]}if(Z=zD(Y),Z.qname=V,Z.sel=J,Q)Q.lname=Z.qname,Q.test=Z,Q.qname=Q.qname,Q.sel=Z.sel,Z=Q;if(B)B.test=Z,B.qname=Z.qname,B.sel=Z.sel,Z=B;return Z},uZ=function($,J){if(J)return $==="*"?z0["*"]:z0.type($);if($[1])return $[1][0]==="."?z0.attr("class","~=",_2($[1].substring(1)),!1):z0.attr("id","=",_2($[1].substring(1)),!1);if($[2])return $[3]?z0[_2($[2])](gW($[3])):z0[_2($[2])];if($[4]){var Z=$[6],Y=/["'\s]\s*I$/i.test(Z);if(Y)Z=Z.replace(/\s*I$/i,"");return z0.attr(_2($[4]),$[5]||"-",gW(Z),Y)}throw SyntaxError("Unknown Selector.")},qY=function($){var J=$.length,Z;if(J<2)return $[0];return function(Y){if(!Y)return;for(Z=0;Z<J;Z++)if(!$[Z](Y))return;return!0}},zD=function($){if($.length<2)return function(J){return!!$[0](J)};return function(J){var Z=$.length;while(Z--)if(!(J=$[Z](J)))return;return!0}},CD=function(){var $;function J(Z){var Y=Z.ownerDocument,K=Y.getElementsByTagName(J.lname),Q=K.length;while(Q--)if(J.test(K[Q])&&$===Z)return $=null,!0;$=null}return J.simple=function(Z){return $=Z,!0},J},FY=function($){var J=N8($),Z=[J];while(J.sel)J=N8(J.sel),Z.push(J);if(Z.length<2)return J;return function(Y){var K=Z.length,Q=0;for(;Q<K;Q++)if(Z[Q](Y))return!0}},dW=function($,J){var Z=[],Y=N8($),K=J.getElementsByTagName(Y.qname),Q=0,V;while(V=K[Q++])if(Y(V))Z.push(V);if(Y.sel){while(Y.sel){Y=N8(Y.sel),K=J.getElementsByTagName(Y.qname),Q=0;while(V=K[Q++])if(Y(V)&&qD.call(Z,V)===-1)Z.push(V)}Z.sort(BD)}return Z};pW.exports=bJ=function($,J){var Z,Y;if(J.nodeType!==11&&$.indexOf(" ")===-1){if($[0]==="#"&&J.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test($)){if(J.doc._hasMultipleElementsWithId){if(Z=$.substring(1),!J.doc._hasMultipleElementsWithId(Z))return Y=J.doc.getElementById(Z),Y?[Y]:[]}}if($[0]==="."&&/^\.\w+$/.test($))return J.getElementsByClassName($.substring(1));if(/^\w+$/.test($))return J.getElementsByTagName($)}return dW($,J)};bJ.selectors=z0;bJ.operators=uW;bJ.combinators=L8;bJ.matches=function($,J){var Z={sel:J};do if(Z=N8(Z.sel),Z($))return!0;while(Z.sel);return!1}});var cZ=p((Ab,cW)=>{var MD=P0(),DD=e7(),zY=function($,J){var Z=$.createDocumentFragment();for(var Y=0;Y<J.length;Y++){var K=J[Y],Q=K instanceof MD;Z.appendChild(Q?K:$.createTextNode(String(K)))}return Z},PD={after:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.nextSibling;if(Z===null)return;while(Y&&J.some(function(Q){return Q===Y}))Y=Y.nextSibling;var K=zY(this.doc,J);Z.insertBefore(K,Y)}},before:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.previousSibling;if(Z===null)return;while(Y&&J.some(function(V){return V===Y}))Y=Y.previousSibling;var K=zY(this.doc,J),Q=Y?Y.nextSibling:Z.firstChild;Z.insertBefore(K,Q)}},remove:{value:function(){if(this.parentNode===null)return;if(this.doc){if(this.doc._preremoveNodeIterators(this),this.rooted)this.doc.mutateRemove(this)}this._remove(),this.parentNode=null}},_remove:{value:function(){var J=this.parentNode;if(J===null)return;if(J._childNodes)J._childNodes.splice(this.index,1);else if(J._firstChild===this)if(this._nextSibling===this)J._firstChild=null;else J._firstChild=this._nextSibling;DD.remove(this),J.modify()}},replaceWith:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.nextSibling;if(Z===null)return;while(Y&&J.some(function(Q){return Q===Y}))Y=Y.nextSibling;var K=zY(this.doc,J);if(this.parentNode===Z)Z.replaceChild(K,this);else Z.insertBefore(K,Y)}}};cW.exports=PD});var CY=p((Sb,oW)=>{var lW=P0(),ID={nextElementSibling:{get:function(){if(this.parentNode){for(var $=this.nextSibling;$!==null;$=$.nextSibling)if($.nodeType===lW.ELEMENT_NODE)return $}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var $=this.previousSibling;$!==null;$=$.previousSibling)if($.nodeType===lW.ELEMENT_NODE)return $}return null}}};oW.exports=ID});var MY=p((wb,iW)=>{iW.exports=rW;var vJ=X0();function rW($){this.element=$}Object.defineProperties(rW.prototype,{length:{get:vJ.shouldOverride},item:{value:vJ.shouldOverride},getNamedItem:{value:function(J){return this.element.getAttributeNode(J)}},getNamedItemNS:{value:function(J,Z){return this.element.getAttributeNodeNS(J,Z)}},setNamedItem:{value:vJ.nyi},setNamedItemNS:{value:vJ.nyi},removeNamedItem:{value:function(J){var Z=this.element.getAttributeNode(J);if(Z)return this.element.removeAttribute(J),Z;vJ.NotFoundError()}},removeNamedItemNS:{value:function(J,Z){var Y=this.element.getAttributeNodeNS(J,Z);if(Y)return this.element.removeAttributeNS(J,Z),Y;vJ.NotFoundError()}}})});var gJ=p((Rb,eW)=>{eW.exports=O2;var DY=fZ(),Y0=X0(),N1=Y0.NAMESPACE,oZ=HY(),q1=P0(),PY=n2(),AD=$Y(),lZ=xW(),hJ=xZ(),SD=_Y(),IY=pZ(),nW=gZ(),wD=cZ(),RD=CY(),aW=MY(),sW=Object.create(null);function O2($,J,Z,Y){nW.call(this),this.nodeType=q1.ELEMENT_NODE,this.ownerDocument=$,this.localName=J,this.namespaceURI=Z,this.prefix=Y,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function AY($,J){if($.nodeType===q1.TEXT_NODE)J.push($._data);else for(var Z=0,Y=$.childNodes.length;Z<Y;Z++)AY($.childNodes[Z],J)}O2.prototype=Object.create(nW.prototype,{isHTML:{get:function(){return this.namespaceURI===N1.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var J;if(this.prefix===null)J=this.localName;else J=this.prefix+":"+this.localName;if(this.isHTML){var Z=sW[J];if(!Z)sW[J]=Z=Y0.toASCIIUpperCase(J);J=Z}this._tagName=J}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var $=[];return AY(this,$),$.join("")},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerText:{get:function(){var $=[];return AY(this,$),$.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerHTML:{get:function(){return this.serialize()},set:Y0.nyi},outerHTML:{get:function(){return AD.serializeOne(this,{nodeType:0})},set:function($){var J=this.ownerDocument,Z=this.parentNode;if(Z===null)return;if(Z.nodeType===q1.DOCUMENT_NODE)Y0.NoModificationAllowedError();if(Z.nodeType===q1.DOCUMENT_FRAGMENT_NODE)Z=Z.ownerDocument.createElement("body");var Y=J.implementation.mozHTMLParser(J._address,Z);Y.parse($===null?"":String($),!0),this.replaceWith(Y._asDocumentFragment())}},_insertAdjacent:{value:function(J,Z){var Y=!1;switch(J){case"beforebegin":Y=!0;case"afterend":var K=this.parentNode;if(K===null)return null;return K.insertBefore(Z,Y?this:this.nextSibling);case"afterbegin":Y=!0;case"beforeend":return this.insertBefore(Z,Y?this.firstChild:null);default:return Y0.SyntaxError()}}},insertAdjacentElement:{value:function(J,Z){if(Z.nodeType!==q1.ELEMENT_NODE)throw TypeError("not an element");return J=Y0.toASCIILowerCase(String(J)),this._insertAdjacent(J,Z)}},insertAdjacentText:{value:function(J,Z){var Y=this.ownerDocument.createTextNode(Z);J=Y0.toASCIILowerCase(String(J)),this._insertAdjacent(J,Y)}},insertAdjacentHTML:{value:function(J,Z){J=Y0.toASCIILowerCase(String(J)),Z=String(Z);var Y;switch(J){case"beforebegin":case"afterend":if(Y=this.parentNode,Y===null||Y.nodeType===q1.DOCUMENT_NODE)Y0.NoModificationAllowedError();break;case"afterbegin":case"beforeend":Y=this;break;default:Y0.SyntaxError()}if(!(Y instanceof O2)||Y.ownerDocument.isHTML&&Y.localName==="html"&&Y.namespaceURI===N1.HTML)Y=Y.ownerDocument.createElementNS(N1.HTML,"body");var K=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,Y);K.parse(Z,!0),this._insertAdjacent(J,K._asDocumentFragment())}},children:{get:function(){if(!this._children)this._children=new tW(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new wY(this);return this._attributes}},firstElementChild:{get:function(){for(var $=this.firstChild;$!==null;$=$.nextSibling)if($.nodeType===q1.ELEMENT_NODE)return $;return null}},lastElementChild:{get:function(){for(var $=this.lastChild;$!==null;$=$.previousSibling)if($.nodeType===q1.ELEMENT_NODE)return $;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function($){if(!$)$=this.ownerDocument.documentElement;var J=this.firstElementChild;if(!J){if(this===$)return null;J=this.nextElementSibling}if(J)return J;for(var Z=this.parentElement;Z&&Z!==$;Z=Z.parentElement)if(J=Z.nextElementSibling,J)return J;return null}},getElementsByTagName:{value:function(J){var Z;if(!J)return new PY;if(J==="*")Z=function(){return!0};else if(this.isHTML)Z=LD(J);else Z=SY(J);return new lZ(this,Z)}},getElementsByTagNameNS:{value:function(J,Z){var Y;if(J==="*"&&Z==="*")Y=function(){return!0};else if(J==="*")Y=SY(Z);else if(Z==="*")Y=ND(J);else Y=yD(J,Z);return new lZ(this,Y)}},getElementsByClassName:{value:function(J){if(J=String(J).trim(),J===""){var Z=new PY;return Z}return J=J.split(/[ \t\r\n\f]+/),new lZ(this,TD(J))}},getElementsByName:{value:function(J){return new lZ(this,kD(String(J)))}},clone:{value:function(){var J;if(this.namespaceURI!==N1.HTML||this.prefix||!this.ownerDocument.isHTML)J=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName);else J=this.ownerDocument.createElement(this.localName);for(var Z=0,Y=this._attrKeys.length;Z<Y;Z++){var K=this._attrKeys[Z],Q=this._attrsByLName[K],V=Q.cloneNode();V._setOwnerElement(J),J._attrsByLName[K]=V,J._addQName(V)}return J._attrKeys=this._attrKeys.concat(),J}},isEqual:{value:function(J){if(this.localName!==J.localName||this.namespaceURI!==J.namespaceURI||this.prefix!==J.prefix||this._numattrs!==J._numattrs)return!1;for(var Z=0,Y=this._numattrs;Z<Y;Z++){var K=this._attr(Z);if(!J.hasAttributeNS(K.namespaceURI,K.localName))return!1;if(J.getAttributeNS(K.namespaceURI,K.localName)!==K.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(J,Z){if(this.namespaceURI&&this.namespaceURI===J&&this.prefix!==null&&Z.lookupNamespaceURI(this.prefix)===J)return this.prefix;for(var Y=0,K=this._numattrs;Y<K;Y++){var Q=this._attr(Y);if(Q.prefix==="xmlns"&&Q.value===J&&Z.lookupNamespaceURI(Q.localName)===J)return Q.localName}var V=this.parentElement;return V?V._lookupNamespacePrefix(J,Z):null}},lookupNamespaceURI:{value:function(J){if(J===""||J===void 0)J=null;if(this.namespaceURI!==null&&this.prefix===J)return this.namespaceURI;for(var Z=0,Y=this._numattrs;Z<Y;Z++){var K=this._attr(Z);if(K.namespaceURI===N1.XMLNS){if(K.prefix==="xmlns"&&K.localName===J||J===null&&K.prefix===null&&K.localName==="xmlns")return K.value||null}}var Q=this.parentElement;return Q?Q.lookupNamespaceURI(J):null}},getAttribute:{value:function(J){var Z=this.getAttributeNode(J);return Z?Z.value:null}},getAttributeNS:{value:function(J,Z){var Y=this.getAttributeNodeNS(J,Z);return Y?Y.value:null}},getAttributeNode:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Z=this._attrsByQName[J];if(!Z)return null;if(Array.isArray(Z))Z=Z[0];return Z}},getAttributeNodeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=this._attrsByLName[J+"|"+Z];return Y?Y:null}},hasAttribute:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);return this._attrsByQName[J]!==void 0}},hasAttributeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=J+"|"+Z;return this._attrsByLName[Y]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(J,Z){if(J=String(J),!DY.isValidName(J))Y0.InvalidCharacterError();if(/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Y=this._attrsByQName[J];if(Y===void 0){if(Z===void 0||Z===!0)return this._setAttribute(J,""),!0;return!1}else{if(Z===void 0||Z===!1)return this.removeAttribute(J),!1;return!0}}},_setAttribute:{value:function(J,Z){var Y=this._attrsByQName[J],K;if(!Y)Y=this._newattr(J),K=!0;else if(Array.isArray(Y))Y=Y[0];if(Y.value=Z,this._attributes)this._attributes[J]=Y;if(K&&this._newattrhook)this._newattrhook(J,Z)}},setAttribute:{value:function(J,Z){if(J=String(J),!DY.isValidName(J))Y0.InvalidCharacterError();if(/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);this._setAttribute(J,String(Z))}},_setAttributeNS:{value:function(J,Z,Y){var K=Z.indexOf(":"),Q,V;if(K<0)Q=null,V=Z;else Q=Z.substring(0,K),V=Z.substring(K+1);if(J===""||J===void 0)J=null;var X=(J===null?"":J)+"|"+V,W=this._attrsByLName[X],B;if(!W){if(W=new y8(this,V,Q,J),B=!0,this._attrsByLName[X]=W,this._attributes)this._attributes[this._attrKeys.length]=W;this._attrKeys.push(X),this._addQName(W)}if(W.value=Y,B&&this._newattrhook)this._newattrhook(Z,Y)}},setAttributeNS:{value:function(J,Z,Y){if(J=J===null||J===void 0||J===""?null:String(J),Z=String(Z),!DY.isValidQName(Z))Y0.InvalidCharacterError();var K=Z.indexOf(":"),Q=K<0?null:Z.substring(0,K);if(Q!==null&&J===null||Q==="xml"&&J!==N1.XML||(Z==="xmlns"||Q==="xmlns")&&J!==N1.XMLNS||J===N1.XMLNS&&!(Z==="xmlns"||Q==="xmlns"))Y0.NamespaceError();this._setAttributeNS(J,Z,String(Y))}},setAttributeNode:{value:function(J){if(J.ownerElement!==null&&J.ownerElement!==this)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);var Z=null,Y=this._attrsByQName[J.name];if(Y){if(!Array.isArray(Y))Y=[Y];if(Y.some(function(K){return K===J}))return J;else if(J.ownerElement!==null)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);Y.forEach(function(K){this.removeAttributeNode(K)},this),Z=Y[0]}return this.setAttributeNodeNS(J),Z}},setAttributeNodeNS:{value:function(J){if(J.ownerElement!==null)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);var Z=J.namespaceURI,Y=(Z===null?"":Z)+"|"+J.localName,K=this._attrsByLName[Y];if(K)this.removeAttributeNode(K);if(J._setOwnerElement(this),this._attrsByLName[Y]=J,this._attributes)this._attributes[this._attrKeys.length]=J;if(this._attrKeys.push(Y),this._addQName(J),this._newattrhook)this._newattrhook(J.name,J.value);return K||null}},removeAttribute:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Z=this._attrsByQName[J];if(!Z)return;if(Array.isArray(Z))if(Z.length>2)Z=Z.shift();else this._attrsByQName[J]=Z[1],Z=Z[0];else this._attrsByQName[J]=void 0;var Y=Z.namespaceURI,K=(Y===null?"":Y)+"|"+Z.localName;this._attrsByLName[K]=void 0;var Q=this._attrKeys.indexOf(K);if(this._attributes)Array.prototype.splice.call(this._attributes,Q,1),this._attributes[J]=void 0;this._attrKeys.splice(Q,1);var V=Z.onchange;if(Z._setOwnerElement(null),V)V.call(Z,this,Z.localName,Z.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Z)}},removeAttributeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=J+"|"+Z,K=this._attrsByLName[Y];if(!K)return;this._attrsByLName[Y]=void 0;var Q=this._attrKeys.indexOf(Y);if(this._attributes)Array.prototype.splice.call(this._attributes,Q,1);this._attrKeys.splice(Q,1),this._removeQName(K);var V=K.onchange;if(K._setOwnerElement(null),V)V.call(K,this,K.localName,K.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(K)}},removeAttributeNode:{value:function(J){var Z=J.namespaceURI,Y=(Z===null?"":Z)+"|"+J.localName;if(this._attrsByLName[Y]!==J)Y0.NotFoundError();return this.removeAttributeNS(Z,J.localName),J}},getAttributeNames:{value:function(){var J=this;return this._attrKeys.map(function(Z){return J._attrsByLName[Z].name})}},_getattr:{value:function(J){var Z=this._attrsByQName[J];return Z?Z.value:null}},_setattr:{value:function(J,Z){var Y=this._attrsByQName[J],K;if(!Y)Y=this._newattr(J),K=!0;if(Y.value=String(Z),this._attributes)this._attributes[J]=Y;if(K&&this._newattrhook)this._newattrhook(J,Z)}},_newattr:{value:function(J){var Z=new y8(this,J,null,null),Y="|"+J;if(this._attrsByQName[J]=Z,this._attrsByLName[Y]=Z,this._attributes)this._attributes[this._attrKeys.length]=Z;return this._attrKeys.push(Y),Z}},_addQName:{value:function($){var J=$.name,Z=this._attrsByQName[J];if(!Z)this._attrsByQName[J]=$;else if(Array.isArray(Z))Z.push($);else this._attrsByQName[J]=[Z,$];if(this._attributes)this._attributes[J]=$}},_removeQName:{value:function($){var J=$.name,Z=this._attrsByQName[J];if(Array.isArray(Z)){var Y=Z.indexOf($);if(Y0.assert(Y!==-1),Z.length===2){if(this._attrsByQName[J]=Z[1-Y],this._attributes)this._attributes[J]=this._attrsByQName[J]}else if(Z.splice(Y,1),this._attributes&&this._attributes[J]===$)this._attributes[J]=Z[0]}else if(Y0.assert(Z===$),this._attrsByQName[J]=void 0,this._attributes)this._attributes[J]=void 0}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function($){return this._attrsByLName[this._attrKeys[$]]}},id:oZ.property({name:"id"}),className:oZ.property({name:"class"}),classList:{get:function(){var $=this;if(this._classList)return this._classList;var J=new SD(function(){return $.className||""},function(Z){$.className=Z});return this._classList=J,J},set:function($){this.className=$}},matches:{value:function($){return IY.matches(this,$)}},closest:{value:function($){var J=this;do{if(J.matches&&J.matches($))return J;J=J.parentElement||J.parentNode}while(J!==null&&J.nodeType===q1.ELEMENT_NODE);return null}},querySelector:{value:function($){return IY($,this)[0]}},querySelectorAll:{value:function($){var J=IY($,this);return J.item?J:new PY(J)}}});Object.defineProperties(O2.prototype,wD);Object.defineProperties(O2.prototype,RD);oZ.registerChangeHandler(O2,"id",function($,J,Z,Y){if($.rooted){if(Z)$.ownerDocument.delId(Z,$);if(Y)$.ownerDocument.addId(Y,$)}});oZ.registerChangeHandler(O2,"class",function($,J,Z,Y){if($._classList)$._classList._update()});function y8($,J,Z,Y,K){this.localName=J,this.prefix=Z===null||Z===""?null:""+Z,this.namespaceURI=Y===null||Y===""?null:""+Y,this.data=K,this._setOwnerElement($)}y8.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(J){if(this._ownerElement=J,this.prefix===null&&this.namespaceURI===null&&J)this.onchange=J._attributeChangeHandlers[this.localName];else 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($){var J=this.data;if($=$===void 0?"":$+"",$===J)return;if(this.data=$,this.ownerElement){if(this.onchange)this.onchange(this.ownerElement,this.localName,J,$);if(this.ownerElement.rooted)this.ownerElement.ownerDocument.mutateAttr(this,J)}}},cloneNode:{value:function(J){return new y8(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return q1.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function($){this.value=$}},textContent:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}},innerText:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}}});O2._Attr=y8;function wY($){aW.call(this,$);for(var J in $._attrsByQName)this[J]=$._attrsByQName[J];for(var Z=0;Z<$._attrKeys.length;Z++)this[Z]=$._attrsByLName[$._attrKeys[Z]]}wY.prototype=Object.create(aW.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function($){if($=$>>>0,$>=this.length)return null;return this.element._attrsByLName[this.element._attrKeys[$]]}}});if(globalThis.Symbol?.iterator)wY.prototype[globalThis.Symbol.iterator]=function(){var $=0,J=this.length,Z=this;return{next:function(){if($<J)return{value:Z.item($++)};return{done:!0}}}};function tW($){this.element=$,this.updateCache()}tW.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(J){return this.updateCache(),this.childrenByNumber[J]||null}},namedItem:{value:function(J){return this.updateCache(),this.childrenByName[J]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var J=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;var Z=this.childrenByNumber&&this.childrenByNumber.length||0;for(var Y=0;Y<Z;Y++)this[Y]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var K=this.element.firstChild;K!==null;K=K.nextSibling)if(K.nodeType===q1.ELEMENT_NODE){this[this.childrenByNumber.length]=K,this.childrenByNumber.push(K);var Q=K.getAttribute("id");if(Q&&!this.childrenByName[Q])this.childrenByName[Q]=K;var V=K.getAttribute("name");if(V&&this.element.namespaceURI===N1.HTML&&J.test(this.element.localName)&&!this.childrenByName[V])this.childrenByName[Q]=K}}}}});function SY($){return function(J){return J.localName===$}}function LD($){var J=Y0.toASCIILowerCase($);if(J===$)return SY($);return function(Z){return Z.isHTML?Z.localName===J:Z.localName===$}}function ND($){return function(J){return J.namespaceURI===$}}function yD($,J){return function(Z){return Z.namespaceURI===$&&Z.localName===J}}function TD($){return function(J){return $.every(function(Z){return J.classList.contains(Z)})}}function kD($){return function(J){if(J.namespaceURI!==N1.HTML)return!1;return J.getAttribute("name")===$}}});var RY=p((Lb,K5)=>{K5.exports=Y5;var J5=P0(),ED=n2(),Z5=X0(),$5=Z5.HierarchyRequestError,xD=Z5.NotFoundError;function Y5(){J5.call(this)}Y5.prototype=Object.create(J5.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function($,J){if(!$.nodeType)throw TypeError("not a node");$5()}},replaceChild:{value:function($,J){if(!$.nodeType)throw TypeError("not a node");$5()}},removeChild:{value:function($){if(!$.nodeType)throw TypeError("not a node");xD()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new ED;return this._childNodes}}})});var T8=p((Nb,G5)=>{G5.exports=rZ;var V5=RY(),Q5=X0(),bD=cZ(),vD=CY();function rZ(){V5.call(this)}rZ.prototype=Object.create(V5.prototype,{substringData:{value:function(J,Z){if(arguments.length<2)throw TypeError("Not enough arguments");if(J=J>>>0,Z=Z>>>0,J>this.data.length||J<0||Z<0)Q5.IndexSizeError();return this.data.substring(J,J+Z)}},appendData:{value:function(J){if(arguments.length<1)throw TypeError("Not enough arguments");this.data+=String(J)}},insertData:{value:function(J,Z){return this.replaceData(J,0,Z)}},deleteData:{value:function(J,Z){return this.replaceData(J,Z,"")}},replaceData:{value:function(J,Z,Y){var K=this.data,Q=K.length;if(J=J>>>0,Z=Z>>>0,Y=String(Y),J>Q||J<0)Q5.IndexSizeError();if(J+Z>Q)Z=Q-J;var V=K.substring(0,J),X=K.substring(J+Z);this.data=V+Y+X}},isEqual:{value:function(J){return this._data===J._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(rZ.prototype,bD);Object.defineProperties(rZ.prototype,vD)});var NY=p((yb,U5)=>{U5.exports=LY;var X5=X0(),W5=P0(),j5=T8();function LY($,J){j5.call(this),this.nodeType=W5.TEXT_NODE,this.ownerDocument=$,this._data=J,this._index=void 0}var k8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if($===this._data)return;if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this);if(this.parentNode&&this.parentNode._textchangehook)this.parentNode._textchangehook(this)}};LY.prototype=Object.create(j5.prototype,{nodeName:{value:"#text"},nodeValue:k8,textContent:k8,innerText:k8,data:{get:k8.get,set:function($){k8.set.call(this,$===null?"":String($))}},splitText:{value:function(J){if(J>this._data.length||J<0)X5.IndexSizeError();var Z=this._data.substring(J),Y=this.ownerDocument.createTextNode(Z);this.data=this.data.substring(0,J);var K=this.parentNode;if(K!==null)K.insertBefore(Y,this.nextSibling);return Y}},wholeText:{get:function(){var J=this.textContent;for(var Z=this.nextSibling;Z;Z=Z.nextSibling){if(Z.nodeType!==W5.TEXT_NODE)break;J+=Z.textContent}return J}},replaceWholeText:{value:X5.nyi},clone:{value:function(){return new LY(this.ownerDocument,this._data)}}})});var TY=p((Tb,B5)=>{B5.exports=yY;var hD=P0(),H5=T8();function yY($,J){H5.call(this),this.nodeType=hD.COMMENT_NODE,this.ownerDocument=$,this._data=J}var E8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};yY.prototype=Object.create(H5.prototype,{nodeName:{value:"#comment"},nodeValue:E8,textContent:E8,innerText:E8,data:{get:E8.get,set:function($){E8.set.call(this,$===null?"":String($))}},clone:{value:function(){return new yY(this.ownerDocument,this._data)}}})});var EY=p((kb,q5)=>{q5.exports=kY;var gD=P0(),fD=n2(),O5=gZ(),iZ=gJ(),mD=pZ(),_5=X0();function kY($){O5.call(this),this.nodeType=gD.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=$}kY.prototype=Object.create(O5.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(iZ.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(iZ.prototype,"innerText"),querySelector:{value:function($){var J=this.querySelectorAll($);return J.length?J[0]:null}},querySelectorAll:{value:function($){var J=Object.create(this);J.isHTML=!0,J.getElementsByTagName=iZ.prototype.getElementsByTagName,J.nextElement=Object.getOwnPropertyDescriptor(iZ.prototype,"firstElementChild").get;var Z=mD($,J);return Z.item?Z:new fD(Z)}},clone:{value:function(){return new kY(this.ownerDocument)}},isEqual:{value:function(J){return!0}},innerHTML:{get:function(){return this.serialize()},set:_5.nyi},outerHTML:{get:function(){return this.serialize()},set:_5.nyi}})});var bY=p((Eb,z5)=>{z5.exports=xY;var uD=P0(),F5=T8();function xY($,J,Z){F5.call(this),this.nodeType=uD.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=J,this._data=Z}var x8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};xY.prototype=Object.create(F5.prototype,{nodeName:{get:function(){return this.target}},nodeValue:x8,textContent:x8,innerText:x8,data:{get:x8.get,set:function($){x8.set.call(this,$===null?"":String($))}},clone:{value:function(){return new xY(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(J){return this.target===J.target&&this._data===J._data}}})});var b8=p((xb,C5)=>{var vY={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};C5.exports=vY.constructor=vY.prototype=vY});var gY=p((vb,D5)=>{var bb=D5.exports={nextSkippingChildren:dD,nextAncestorSibling:hY,next:pD,previous:cD,deepLastChild:M5};function dD($,J){if($===J)return null;if($.nextSibling!==null)return $.nextSibling;return hY($,J)}function hY($,J){for($=$.parentNode;$!==null;$=$.parentNode){if($===J)return null;if($.nextSibling!==null)return $.nextSibling}return null}function pD($,J){var Z=$.firstChild;if(Z!==null)return Z;if($===J)return null;if(Z=$.nextSibling,Z!==null)return Z;return hY($,J)}function M5($){while($.lastChild)$=$.lastChild;return $}function cD($,J){var Z=$.previousSibling;if(Z!==null)return M5(Z);if(Z=$.parentNode,Z===J)return null;return Z}});var L5=p((hb,R5)=>{R5.exports=w5;var lD=P0(),I0=b8(),P5=gY(),S5=X0(),fY={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},mY={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function I5($,J){var Z,Y,K,Q,V;Y=$._currentNode[fY[J]];while(Y!==null){if(Q=$._internalFilter(Y),Q===I0.FILTER_ACCEPT)return $._currentNode=Y,Y;if(Q===I0.FILTER_SKIP){if(Z=Y[fY[J]],Z!==null){Y=Z;continue}}while(Y!==null){if(V=Y[mY[J]],V!==null){Y=V;break}if(K=Y.parentNode,K===null||K===$.root||K===$._currentNode)return null;else Y=K}}return null}function A5($,J){var Z,Y,K;if(Z=$._currentNode,Z===$.root)return null;while(!0){K=Z[mY[J]];while(K!==null){if(Z=K,Y=$._internalFilter(Z),Y===I0.FILTER_ACCEPT)return $._currentNode=Z,Z;if(K=Z[fY[J]],Y===I0.FILTER_REJECT||K===null)K=Z[mY[J]]}if(Z=Z.parentNode,Z===null||Z===$.root)return null;if($._internalFilter(Z)===I0.FILTER_ACCEPT)return null}}function w5($,J,Z){if(!$||!$.nodeType)S5.NotSupportedError();this._root=$,this._whatToShow=Number(J)||0,this._filter=Z||null,this._active=!1,this._currentNode=$}Object.defineProperties(w5.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(J){if(!(J instanceof lD))throw TypeError("Not a Node");this._currentNode=J}},_internalFilter:{value:function(J){var Z,Y;if(this._active)S5.InvalidStateError();if(!(1<<J.nodeType-1&this._whatToShow))return I0.FILTER_SKIP;if(Y=this._filter,Y===null)Z=I0.FILTER_ACCEPT;else{this._active=!0;try{if(typeof Y==="function")Z=Y(J);else Z=Y.acceptNode(J)}finally{this._active=!1}}return+Z}},parentNode:{value:function(){var J=this._currentNode;while(J!==this.root){if(J=J.parentNode,J===null)return null;if(this._internalFilter(J)===I0.FILTER_ACCEPT)return this._currentNode=J,J}return null}},firstChild:{value:function(){return I5(this,"first")}},lastChild:{value:function(){return I5(this,"last")}},previousSibling:{value:function(){return A5(this,"previous")}},nextSibling:{value:function(){return A5(this,"next")}},previousNode:{value:function(){var J,Z,Y,K;J=this._currentNode;while(J!==this._root){for(Y=J.previousSibling;Y;Y=J.previousSibling){if(J=Y,Z=this._internalFilter(J),Z===I0.FILTER_REJECT)continue;for(K=J.lastChild;K;K=J.lastChild)if(J=K,Z=this._internalFilter(J),Z===I0.FILTER_REJECT)break;if(Z===I0.FILTER_ACCEPT)return this._currentNode=J,J}if(J===this.root||J.parentNode===null)return null;if(J=J.parentNode,this._internalFilter(J)===I0.FILTER_ACCEPT)return this._currentNode=J,J}return null}},nextNode:{value:function(){var J,Z,Y,K;J=this._currentNode,Z=I0.FILTER_ACCEPT;$:while(!0){for(Y=J.firstChild;Y;Y=J.firstChild)if(J=Y,Z=this._internalFilter(J),Z===I0.FILTER_ACCEPT)return this._currentNode=J,J;else if(Z===I0.FILTER_REJECT)break;for(K=P5.nextSkippingChildren(J,this.root);K;K=P5.nextSkippingChildren(J,this.root))if(J=K,Z=this._internalFilter(J),Z===I0.FILTER_ACCEPT)return this._currentNode=J,J;else if(Z===I0.FILTER_SKIP)continue $;return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var x5=p((gb,E5)=>{E5.exports=k5;var uY=b8(),dY=gY(),T5=X0();function oD($,J,Z){if(Z)return dY.next($,J);else{if($===J)return null;return dY.previous($,null)}}function N5($,J){for(;J;J=J.parentNode)if($===J)return!0;return!1}function y5($,J){var Z,Y;Z=$._referenceNode,Y=$._pointerBeforeReferenceNode;while(!0){if(Y===J)Y=!Y;else if(Z=oD(Z,$._root,J),Z===null)return null;var K=$._internalFilter(Z);if(K===uY.FILTER_ACCEPT)break}return $._referenceNode=Z,$._pointerBeforeReferenceNode=Y,Z}function k5($,J,Z){if(!$||!$.nodeType)T5.NotSupportedError();this._root=$,this._referenceNode=$,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(J)||0,this._filter=Z||null,this._active=!1,$.doc._attachNodeIterator(this)}Object.defineProperties(k5.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(J){var Z,Y;if(this._active)T5.InvalidStateError();if(!(1<<J.nodeType-1&this._whatToShow))return uY.FILTER_SKIP;if(Y=this._filter,Y===null)Z=uY.FILTER_ACCEPT;else{this._active=!0;try{if(typeof Y==="function")Z=Y(J);else Z=Y.acceptNode(J)}finally{this._active=!1}}return+Z}},_preremove:{value:function(J){if(N5(J,this._root))return;if(!N5(J,this._referenceNode))return;if(this._pointerBeforeReferenceNode){var Z=J;while(Z.lastChild)Z=Z.lastChild;if(Z=dY.next(Z,this.root),Z){this._referenceNode=Z;return}this._pointerBeforeReferenceNode=!1}if(J.previousSibling===null)this._referenceNode=J.parentNode;else{this._referenceNode=J.previousSibling;var Y;for(Y=this._referenceNode.lastChild;Y;Y=this._referenceNode.lastChild)this._referenceNode=Y}}},nextNode:{value:function(){return y5(this,!0)}},previousNode:{value:function(){return y5(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var sZ=p((fb,b5)=>{b5.exports=A0;function A0($){if(!$)return Object.create(A0.prototype);this.url=$.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var J=A0.pattern.exec(this.url);if(J){if(J[2])this.scheme=J[2];if(J[4]){var Z=J[4].match(A0.userinfoPattern);if(Z)this.username=Z[1],this.password=Z[3],J[4]=J[4].substring(Z[0].length);if(J[4].match(A0.portPattern)){var Y=J[4].lastIndexOf(":");this.host=J[4].substring(0,Y),this.port=J[4].substring(Y+1)}else this.host=J[4]}if(J[5])this.path=J[5];if(J[6])this.query=J[7];if(J[8])this.fragment=J[9]}}A0.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;A0.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;A0.portPattern=/:\d+$/;A0.authorityPattern=/^[^:\/?#]+:\/\//;A0.hierarchyPattern=/^[^:\/?#]+:\//;A0.percentEncode=function(J){var Z=J.charCodeAt(0);if(Z<256)return"%"+Z.toString(16);else throw Error("can't percent-encode codepoints > 255 yet")};A0.prototype={constructor:A0,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return A0.authorityPattern.test(this.url)},isHierarchical:function(){return A0.hierarchyPattern.test(this.url)},toString:function(){var $="";if(this.scheme!==void 0)$+=this.scheme+":";if(this.isAbsolute()){if($+="//",this.username||this.password){if($+=this.username||"",this.password)$+=":"+this.password;$+="@"}if(this.host)$+=this.host}if(this.port!==void 0)$+=":"+this.port;if(this.path!==void 0)$+=this.path;if(this.query!==void 0)$+="?"+this.query;if(this.fragment!==void 0)$+="#"+this.fragment;return $},resolve:function($){var J=this,Z=new A0($),Y=new A0;if(Z.scheme!==void 0)Y.scheme=Z.scheme,Y.username=Z.username,Y.password=Z.password,Y.host=Z.host,Y.port=Z.port,Y.path=Q(Z.path),Y.query=Z.query;else if(Y.scheme=J.scheme,Z.host!==void 0)Y.username=Z.username,Y.password=Z.password,Y.host=Z.host,Y.port=Z.port,Y.path=Q(Z.path),Y.query=Z.query;else if(Y.username=J.username,Y.password=J.password,Y.host=J.host,Y.port=J.port,!Z.path)if(Y.path=J.path,Z.query!==void 0)Y.query=Z.query;else Y.query=J.query;else{if(Z.path.charAt(0)==="/")Y.path=Q(Z.path);else Y.path=K(J.path,Z.path),Y.path=Q(Y.path);Y.query=Z.query}return Y.fragment=Z.fragment,Y.toString();function K(V,X){if(J.host!==void 0&&!J.path)return"/"+X;var W=V.lastIndexOf("/");if(W===-1)return X;else return V.substring(0,W+1)+X}function Q(V){if(!V)return V;var X="";while(V.length>0){if(V==="."||V===".."){V="";break}var W=V.substring(0,2),B=V.substring(0,3),j=V.substring(0,4);if(B==="../")V=V.substring(3);else if(W==="./")V=V.substring(2);else if(B==="/./")V="/"+V.substring(3);else if(W==="/."&&V.length===2)V="/";else if(j==="/../"||B==="/.."&&V.length===3)V="/"+V.substring(4),X=X.replace(/\/?[^\/]*$/,"");else{var _=V.match(/(\/?([^\/]*))/)[0];X+=_,V=V.substring(_.length)}}return X}}}});var g5=p((mb,h5)=>{h5.exports=pY;var v5=TJ();function pY($,J){v5.call(this,$,J)}pY.prototype=Object.create(v5.prototype,{constructor:{value:pY}})});var cY=p((ub,f5)=>{f5.exports={Event:TJ(),UIEvent:s7(),MouseEvent:a7(),CustomEvent:g5()}});var p5=p((u5)=>{Object.defineProperty(u5,"__esModule",{value:!0});u5.hyphenate=u5.parse=void 0;function rD($){let J=[],Z=0,Y=0,K=0,Q=0,V=0,X=null;while(Z<$.length)switch($.charCodeAt(Z++)){case 40:Y++;break;case 41:Y--;break;case 39:if(K===0)K=39;else if(K===39&&$.charCodeAt(Z-1)!==92)K=0;break;case 34:if(K===0)K=34;else if(K===34&&$.charCodeAt(Z-1)!==92)K=0;break;case 58:if(!X&&Y===0&&K===0)X=m5($.substring(V,Z-1).trim()),Q=Z;break;case 59:if(X&&Q>0&&Y===0&&K===0){let B=$.substring(Q,Z-1).trim();J.push(X,B),V=Z,Q=0,X=null}break}if(X&&Q){let W=$.slice(Q).trim();J.push(X,W)}return J}u5.parse=rD;function m5($){return $.replace(/[a-z][A-Z]/g,(J)=>{return J.charAt(0)+"-"+J.charAt(1)}).toLowerCase()}u5.hyphenate=m5});var nZ=p((pb,i5)=>{var{parse:sD}=p5();i5.exports=function($){let J=new r5($);return new Proxy(J,{get:function(Y,K){return K in Y?Y[K]:Y.getPropertyValue(c5(K))},has:function(Y,K){return!0},set:function(Y,K,Q){if(K in Y)Y[K]=Q;else Y.setProperty(c5(K),Q??void 0);return!0}})};function c5($){return $.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function r5($){this._element=$}var l5="!important";function o5($){let J={property:{},priority:{}};if(!$)return J;let Z=sD($);if(Z.length<2)return J;for(let Y=0;Y<Z.length;Y+=2){let K=Z[Y],Q=Z[Y+1];if(Q.endsWith(l5))J.priority[K]="important",Q=Q.slice(0,-l5.length).trim();J.property[K]=Q}return J}var fJ={};r5.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var $=this.cssText;this._parsedStyles=o5($),this._lastParsedText=$,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var $=this._parsed,J="";for(var Z in $.property){if(J)J+=" ";if(J+=Z+": "+$.property[Z],$.priority[Z])J+=" !"+$.priority[Z];J+=";"}this.cssText=J,this._lastParsedText=J,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function($){this._element.setAttribute("style",$)}},length:{get:function(){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names.length}},item:{value:function($){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names[$]}},getPropertyValue:{value:function($){return $=$.toLowerCase(),this._parsed.property[$]||""}},getPropertyPriority:{value:function($){return $=$.toLowerCase(),this._parsed.priority[$]||""}},setProperty:{value:function($,J,Z){if($=$.toLowerCase(),J===null||J===void 0)J="";if(Z===null||Z===void 0)Z="";if(J!==fJ)J=""+J;if(J=J.trim(),J===""){this.removeProperty($);return}if(Z!==""&&Z!==fJ&&!/^important$/i.test(Z))return;var Y=this._parsed;if(J===fJ){if(!Y.property[$])return;if(Z!=="")Y.priority[$]="important";else delete Y.priority[$]}else{if(J.indexOf(";")!==-1)return;var K=o5($+":"+J);if(Object.getOwnPropertyNames(K.property).length===0)return;if(Object.getOwnPropertyNames(K.priority).length!==0)return;for(var Q in K.property)if(Y.property[Q]=K.property[Q],Z===fJ)continue;else if(Z!=="")Y.priority[Q]="important";else if(Y.priority[Q])delete Y.priority[Q]}this._serialize()}},setPropertyValue:{value:function($,J){return this.setProperty($,J,fJ)}},setPropertyPriority:{value:function($,J){return this.setProperty($,fJ,J)}},removeProperty:{value:function($){$=$.toLowerCase();var J=this._parsed;if($ in J.property)delete J.property[$],delete J.priority[$],this._serialize()}}})});var lY=p((cb,s5)=>{var C0=sZ();s5.exports=v8;function v8(){}v8.prototype=Object.create(Object.prototype,{_url:{get:function(){return new C0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.scheme=$,J=Z.toString()}this.href=J}},host:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host+($.port?":"+$.port:"");else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.host=$,delete Z.port,J=Z.toString()}this.href=J}},hostname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.host=$,J=Z.toString()}this.href=J}},port:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased()&&$.port!==void 0)return $.port;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=""+$,$=$.replace(/[^0-9].*$/,""),$=$.replace(/^0+/,""),$.length===0)$="0";if(parseInt($,10)<=65535)Z.port=$,J=Z.toString()}this.href=J}},pathname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical())return $.path;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,C0.percentEncode),Z.path=$,J=Z.toString()}this.href=J}},search:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical()&&$.query!==void 0)return"?"+$.query;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,C0.percentEncode),Z.query=$,J=Z.toString()}this.href=J}},hash:{get:function(){var $=this._url;if($==null||$.fragment==null||$.fragment==="")return"";else return"#"+$.fragment},set:function($){var J=this.href,Z=new C0(J);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,C0.percentEncode),Z.fragment=$,J=Z.toString(),this.href=J}},username:{get:function(){var $=this._url;return $.username||""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,C0.percentEncode),Z.username=$,J=Z.toString();this.href=J}},password:{get:function(){var $=this._url;return $.password||""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()){if($==="")Z.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,C0.percentEncode),Z.password=$;J=Z.toString()}this.href=J}},origin:{get:function(){var $=this._url;if($==null)return"";var J=function(Z){var Y=[$.scheme,$.host,+$.port||Z];return Y[0]+"://"+Y[1]+(Y[2]===Z?"":":"+Y[2])};switch($.scheme){case"ftp":return J(21);case"gopher":return J(70);case"http":case"ws":return J(80);case"https":case"wss":return J(443);default:return $.scheme+"://"}}}});v8._inherit=function($){Object.getOwnPropertyNames(v8.prototype).forEach(function(J){if(J==="constructor"||J==="href")return;var Z=Object.getOwnPropertyDescriptor(v8.prototype,J);Object.defineProperty($,J,Z)})}});var oY=p((lb,t5)=>{var n5=HY(),nD=bZ().isApiWritable;t5.exports=function($,J,Z,Y){var K=$.ctor;if(K){var Q=$.props||{};if($.attributes)for(var V in $.attributes){var X=$.attributes[V];if(typeof X!=="object"||Array.isArray(X))X={type:X};if(!X.name)X.name=V.toLowerCase();Q[V]=n5.property(X)}if(Q.constructor={value:K,writable:nD},K.prototype=Object.create(($.superclass||J).prototype,Q),$.events)tD(K,$.events);Z[$.name]=K}else K=J;return($.tags||$.tag&&[$.tag]||[]).forEach(function(W){Y[W]=K}),K};function a5($,J,Z,Y){this.body=$,this.document=J,this.form=Z,this.element=Y}a5.prototype.build=function(){return()=>{}};function aD($,J,Z,Y){var K=$.ownerDocument||Object.create(null),Q=$.form||Object.create(null);$[J]=new a5(Y,K,Q,$).build()}function tD($,J){var Z=$.prototype;J.forEach(function(Y){Object.defineProperty(Z,"on"+Y,{get:function(){return this._getEventHandler(Y)},set:function(K){this._setEventHandler(Y,K)}}),n5.registerChangeHandler($,"on"+Y,aD)})}});var tZ=p((YP)=>{var rY=P0(),e5=gJ(),eD=nZ(),c0=X0(),$j=lY(),$P=oY(),i1=YP.elements={},h8=Object.create(null);YP.createElement=function($,J,Z){var Y=h8[J]||ZP;return new Y($,J,Z)};function o($){return $P($,K$,i1,h8)}function W0($){return{get:function(){var J=this._getattr($);if(J===null)return"";var Z=this.doc._resolve(J);return Z===null?J:Z},set:function(J){this._setattr($,J)}}}function aZ($){return{get:function(){var J=this._getattr($);if(J===null)return null;if(J.toLowerCase()==="use-credentials")return"use-credentials";return"anonymous"},set:function(J){if(J===null||J===void 0)this.removeAttribute($);else this._setattr($,J)}}}var mJ={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},JP={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},F1=function($,J,Z){K$.call(this,$,J,Z),this._form=null},K$=YP.HTMLElement=o({superclass:e5,name:"HTMLElement",ctor:function(J,Z,Y){e5.call(this,J,Z,c0.NAMESPACE.HTML,Y)},props:{dangerouslySetInnerHTML:{set:function($){this._innerHTML=$}},innerHTML:{get:function(){return this.serialize()},set:function($){var J=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);J.parse($===null?"":String($),!0);var Z=this instanceof h8.template?this.content:this;while(Z.hasChildNodes())Z.removeChild(Z.firstChild);Z.appendChild(J._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new eD(this);return this._style},set:function($){if($===null||$===void 0)$="";this._setattr("style",String($))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(this._click_in_progress)return;this._click_in_progress=!0;try{if(this._pre_click_activation_steps)this._pre_click_activation_steps();var $=this.ownerDocument.createEvent("MouseEvent");$.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var J=this.dispatchEvent($);if(J){if(this._post_click_activation_steps)this._post_click_activation_steps($)}else if(this._cancelled_activation_steps)this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}},submit:{value:c0.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(){if(this.tagName in JP||this.contentEditable)return 0;else return-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"]}),ZP=o({name:"HTMLUnknownElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}}),z1={form:{get:function(){return this._form}}};o({tag:"a",name:"HTMLAnchorElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_post_click_activation_steps:{value:function($){if(this.href)this.ownerDocument.defaultView.location=this.href}}},attributes:{href:W0,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:mJ,coords:String,charset:String,name:String,rev:String,shape:String}});$j._inherit(h8.a.prototype);o({tag:"area",name:"HTMLAreaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:W0,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:mJ,noHref:Boolean}});$j._inherit(h8.area.prototype);o({tag:"br",name:"HTMLBRElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{clear:String}});o({tag:"base",name:"HTMLBaseElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{target:String}});o({tag:"body",name:"HTMLBodyElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}});o({tag:"button",name:"HTMLButtonElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:W0,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:""}}});o({tag:"dl",name:"HTMLDListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{compact:Boolean}});o({tag:"data",name:"HTMLDataElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{value:String}});o({tag:"datalist",name:"HTMLDataListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"details",name:"HTMLDetailsElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{open:Boolean}});o({tag:"div",name:"HTMLDivElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"embed",name:"HTMLEmbedElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,type:String,width:String,height:String,align:String,name:String}});o({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{disabled:Boolean,name:String}});o({tag:"form",name:"HTMLFormElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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"}}});o({tag:"hr",name:"HTMLHRElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});o({tag:"head",name:"HTMLHeadElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"html",name:"HTMLHtmlElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{xmlns:W0,version:String}});o({tag:"iframe",name:"HTMLIFrameElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:mJ,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:W0,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});o({tag:"img",name:"HTMLImageElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{alt:String,src:W0,srcset:String,crossOrigin:aZ,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:mJ,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:W0,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:W0,border:{type:String,treatNullAsEmptyString:!0}}});o({tag:"input",name:"HTMLInputElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.form,_post_click_activation_steps:{value:function($){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio"){var J=this.form.getElementsByName(this.name);for(var Z=J.length-1;Z>=0;Z--){var Y=J[Z];Y.checked=Y===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:W0,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}});o({tag:"keygen",name:"HTMLKeygenElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});o({tag:"li",name:"HTMLLIElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{value:{type:"long",default:0},type:String}});o({tag:"label",name:"HTMLLabelElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{htmlFor:{name:"for",type:String}}});o({tag:"legend",name:"HTMLLegendElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"link",name:"HTMLLinkElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{href:W0,rel:String,media:String,hreflang:String,type:String,crossOrigin:aZ,nonce:String,integrity:String,referrerPolicy:mJ,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});o({tag:"map",name:"HTMLMapElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String}});o({tag:"menu",name:"HTMLMenuElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});o({tag:"meta",name:"HTMLMetaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});o({tag:"meter",name:"HTMLMeterElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1});o({tags:["ins","del"],name:"HTMLModElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{cite:W0,dateTime:String}});o({tag:"ol",name:"HTMLOListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_numitems:{get:function(){var $=0;return this.childNodes.forEach(function(J){if(J.nodeType===rY.ELEMENT_NODE&&J.tagName==="LI")$++}),$}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){if(this.reversed)return this._numitems;else return 1}},compact:Boolean}});o({tag:"object",name:"HTMLObjectElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{data:W0,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:W0,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});o({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{disabled:Boolean,label:String}});o({tag:"option",name:"HTMLOptionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{form:{get:function(){var $=this.parentNode;while($&&$.nodeType===rY.ELEMENT_NODE){if($.localName==="select")return $.form;$=$.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function($){this._setattr("value",$)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){this.textContent=$}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});o({tag:"output",name:"HTMLOutputElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String}});o({tag:"p",name:"HTMLParagraphElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"param",name:"HTMLParamElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String,value:String,type:String,valueType:String}});o({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{width:{type:"long",default:0}}});o({tag:"progress",name:"HTMLProgressElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{max:{type:Number,float:!0,default:1,min:0}}});o({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{cite:W0}});o({tag:"script",name:"HTMLScriptElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{text:{get:function(){var $="";for(var J=0,Z=this.childNodes.length;J<Z;J++){var Y=this.childNodes[J];if(Y.nodeType===rY.TEXT_NODE)$+=Y._data}return $},set:function($){if(this.removeChildren(),$!==null&&$!=="")this.appendChild(this.ownerDocument.createTextNode($))}}},attributes:{src:W0,type:String,charset:String,referrerPolicy:mJ,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:aZ,nonce:String,integrity:String}});o({tag:"select",name:"HTMLSelectElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.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}}});o({tag:"span",name:"HTMLSpanElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"style",name:"HTMLStyleElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{media:String,type:String,scoped:Boolean}});o({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({name:"HTMLTableCellElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}});o({tag:"table",name:"HTMLTableElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tag:"template",name:"HTMLTemplateElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y),this._contentFragment=J._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});o({tag:"tr",name:"HTMLTableRowElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});o({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function($){this.textContent=$}},value:{get:function(){return this.defaultValue},set:function($){this.defaultValue=$}},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:""}}});o({tag:"time",name:"HTMLTimeElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{dateTime:String,pubDate:Boolean}});o({tag:"title",name:"HTMLTitleElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{text:{get:function(){return this.textContent}}}});o({tag:"ul",name:"HTMLUListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{type:String,compact:Boolean}});o({name:"HTMLMediaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,crossOrigin:aZ,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});o({name:"HTMLAudioElement",tag:"audio",superclass:i1.HTMLMediaElement,ctor:function(J,Z,Y){i1.HTMLMediaElement.call(this,J,Z,Y)}});o({name:"HTMLVideoElement",tag:"video",superclass:i1.HTMLMediaElement,ctor:function(J,Z,Y){i1.HTMLMediaElement.call(this,J,Z,Y)},attributes:{poster:W0,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});o({tag:"td",name:"HTMLTableDataCellElement",superclass:i1.HTMLTableCellElement,ctor:function(J,Z,Y){i1.HTMLTableCellElement.call(this,J,Z,Y)}});o({tag:"th",name:"HTMLTableHeaderCellElement",superclass:i1.HTMLTableCellElement,ctor:function(J,Z,Y){i1.HTMLTableCellElement.call(this,J,Z,Y)}});o({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"frame",name:"HTMLFrameElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"canvas",name:"HTMLCanvasElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{getContext:{value:c0.nyi},probablySupportsContext:{value:c0.nyi},setContext:{value:c0.nyi},transferControlToProxy:{value:c0.nyi},toDataURL:{value:c0.nyi},toBlob:{value:c0.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});o({tag:"dialog",name:"HTMLDialogElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{show:{value:c0.nyi},showModal:{value:c0.nyi},close:{value:c0.nyi}},attributes:{open:Boolean,returnValue:String}});o({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_label:{get:function(){var $=this._getattr("label");if($!==null&&$!=="")return $;return $=this.textContent,$.replace(/[ \t\n\f\r]+/g," ").trim()}},label:{get:function(){var $=this._getattr("label");if($!==null)return $;return this._label},set:function($){this._setattr("label",$)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:W0,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});o({tag:"source",name:"HTMLSourceElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{srcset:String,sizes:String,media:String,src:W0,type:String,width:String,height:String}});o({tag:"track",name:"HTMLTrackElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,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:c0.nyi},track:{get:c0.nyi}}});o({tag:"font",name:"HTMLFontElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});o({tag:"dir",name:"HTMLDirectoryElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{compact:Boolean}});o({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"]})});var nY=p((WP)=>{var Jj=gJ(),QP=oY(),VP=X0(),GP=nZ(),XP=WP.elements={},Zj=Object.create(null);WP.createElement=function($,J,Z){var Y=Zj[J]||sY;return new Y($,J,Z)};function iY($){return QP($,sY,XP,Zj)}var sY=iY({superclass:Jj,name:"SVGElement",ctor:function(J,Z,Y){Jj.call(this,J,Z,VP.NAMESPACE.SVG,Y)},props:{style:{get:function(){if(!this._style)this._style=new GP(this);return this._style}}}});iY({name:"SVGSVGElement",ctor:function(J,Z,Y){sY.call(this,J,Z,Y)},tag:"svg",props:{createSVGRect:{value:function(){return WP.createElement(this.ownerDocument,"rect",null)}}}});iY({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"]})});var Qj=p((ab,Kj)=>{Kj.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var $6=p((tb,Oj)=>{Oj.exports=f8;var w0=P0(),jP=n2(),Uj=gZ(),q2=gJ(),UP=NY(),HP=TY(),g8=TJ(),BP=EY(),_P=bY(),OP=m8(),qP=L5(),FP=x5(),Vj=b8(),Gj=sZ(),Xj=pZ(),zP=cY(),eZ=fZ(),aY=tZ(),CP=nY(),v$=X0(),uJ=Qj(),pJ=v$.NAMESPACE,tY=bZ().isApiWritable;function f8($,J){Uj.call(this),this.nodeType=w0.DOCUMENT_NODE,this.isHTML=$,this._address=J||"about:blank",this.readyState="loading",this.implementation=new OP(this),this.ownerDocument=null,this._contentType=$?"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 MP={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},DP={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},dJ=function($,J,Z){return{get:function(){var Y=$.call(this);if(Y)return Y[J];return Z},set:function(Y){var K=$.call(this);if(K)K[J]=Y}}};function Wj($,J){var Z,Y,K;if($==="")$=null;if(!eZ.isValidQName(J))v$.InvalidCharacterError();if(Z=null,Y=J,K=J.indexOf(":"),K>=0)Z=J.substring(0,K),Y=J.substring(K+1);if(Z!==null&&$===null)v$.NamespaceError();if(Z==="xml"&&$!==pJ.XML)v$.NamespaceError();if((Z==="xmlns"||J==="xmlns")&&$!==pJ.XMLNS)v$.NamespaceError();if($===pJ.XMLNS&&!(Z==="xmlns"||J==="xmlns"))v$.NamespaceError();return{namespace:$,prefix:Z,localName:Y}}f8.prototype=Object.create(Uj.prototype,{_setMutationHandler:{value:function($){this.mutationHandler=$}},_dispatchRendererEvent:{value:function($,J,Z){var Y=this._nodes[$];if(!Y)return;Y._dispatchEvent(new g8(J,Z),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:v$.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function($){return new UP(this,String($))}},createComment:{value:function($){return new HP(this,$)}},createDocumentFragment:{value:function(){return new BP(this)}},createProcessingInstruction:{value:function($,J){if(!eZ.isValidName($)||J.indexOf("?>")!==-1)v$.InvalidCharacterError();return new _P(this,$,J)}},createAttribute:{value:function($){if($=String($),!eZ.isValidName($))v$.InvalidCharacterError();if(this.isHTML)$=v$.toASCIILowerCase($);return new q2._Attr(null,$,null,null,"")}},createAttributeNS:{value:function($,J){$=$===null||$===void 0||$===""?null:String($),J=String(J);var Z=Wj($,J);return new q2._Attr(null,Z.localName,Z.prefix,Z.namespace,"")}},createElement:{value:function($){if($=String($),!eZ.isValidName($))v$.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test($))$=v$.toASCIILowerCase($);return aY.createElement(this,$,null)}else if(this.contentType==="application/xhtml+xml")return aY.createElement(this,$,null);else return new q2(this,$,null,null)},writable:tY},createElementNS:{value:function($,J){$=$===null||$===void 0||$===""?null:String($),J=String(J);var Z=Wj($,J);return this._createElementNS(Z.localName,Z.namespace,Z.prefix)},writable:tY},_createElementNS:{value:function($,J,Z){if(J===pJ.HTML)return aY.createElement(this,$,Z);else if(J===pJ.SVG)return CP.createElement(this,$,Z);return new q2(this,$,J,Z)}},createEvent:{value:function(J){J=J.toLowerCase();var Z=DP[J]||J,Y=zP[MP[Z]];if(Y){var K=new Y;return K._initialized=!1,K}else v$.NotSupportedError()}},createTreeWalker:{value:function($,J,Z){if(!$)throw TypeError("root argument is required");if(!($ instanceof w0))throw TypeError("root not a node");return J=J===void 0?Vj.SHOW_ALL:+J,Z=Z===void 0?null:Z,new qP($,J,Z)}},createNodeIterator:{value:function($,J,Z){if(!$)throw TypeError("root argument is required");if(!($ instanceof w0))throw TypeError("root not a node");return J=J===void 0?Vj.SHOW_ALL:+J,Z=Z===void 0?null:Z,new FP($,J,Z)}},_attachNodeIterator:{value:function($){if(!this._nodeIterators)this._nodeIterators=[];this._nodeIterators.push($)}},_detachNodeIterator:{value:function($){var J=this._nodeIterators.indexOf($);this._nodeIterators.splice(J,1)}},_preremoveNodeIterators:{value:function($){if(this._nodeIterators)this._nodeIterators.forEach(function(J){J._preremove($)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var J=this.firstChild;J!==null;J=J.nextSibling)if(J.nodeType===w0.DOCUMENT_TYPE_NODE)this.doctype=J;else if(J.nodeType===w0.ELEMENT_NODE)this.documentElement=J}},insertBefore:{value:function(J,Z){return w0.prototype.insertBefore.call(this,J,Z),this._updateDocTypeElement(),J}},replaceChild:{value:function(J,Z){return w0.prototype.replaceChild.call(this,J,Z),this._updateDocTypeElement(),Z}},removeChild:{value:function(J){return w0.prototype.removeChild.call(this,J),this._updateDocTypeElement(),J}},getElementById:{value:function($){var J=this.byId[$];if(!J)return null;if(J instanceof s1)return J.getFirst();return J}},_hasMultipleElementsWithId:{value:function($){return this.byId[$]instanceof s1}},getElementsByName:{value:q2.prototype.getElementsByName},getElementsByTagName:{value:q2.prototype.getElementsByTagName},getElementsByTagNameNS:{value:q2.prototype.getElementsByTagNameNS},getElementsByClassName:{value:q2.prototype.getElementsByClassName},adoptNode:{value:function(J){if(J.nodeType===w0.DOCUMENT_NODE)v$.NotSupportedError();if(J.nodeType===w0.ATTRIBUTE_NODE)return J;if(J.parentNode)J.parentNode.removeChild(J);if(J.ownerDocument!==this)_j(J,this);return J}},importNode:{value:function(J,Z){return this.adoptNode(J.cloneNode(Z))},writable:tY},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:v$.nyi,set:v$.nyi},referrer:{get:v$.nyi},cookie:{get:v$.nyi,set:v$.nyi},lastModified:{get:v$.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:v$.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var $=this._titleElement,J=$?$.textContent:"";return J.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function($){var J=this._titleElement,Z=this.head;if(!J&&!Z)return;if(!J)J=this.createElement("title"),Z.appendChild(J);J.textContent=$}},dir:dJ(function(){var $=this.documentElement;if($&&$.tagName==="HTML")return $},"dir",""),fgColor:dJ(function(){return this.body},"text",""),linkColor:dJ(function(){return this.body},"link",""),vlinkColor:dJ(function(){return this.body},"vLink",""),alinkColor:dJ(function(){return this.body},"aLink",""),bgColor:dJ(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 jj(this.documentElement,"body")},set:v$.nyi},head:{get:function(){return jj(this.documentElement,"head")}},images:{get:v$.nyi},embeds:{get:v$.nyi},plugins:{get:v$.nyi},links:{get:v$.nyi},forms:{get:v$.nyi},scripts:{get:v$.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:v$.nyi},outerHTML:{get:function(){return this.serialize()},set:v$.nyi},write:{value:function($){if(!this.isHTML)v$.InvalidStateError();if(!this._parser)return;if(!this._parser);var J=arguments.join("");this._parser.parse(J)}},writeln:{value:function(J){this.write(Array.prototype.join.call(arguments,"")+`
|
|
32
|
-
`)}},open:{value:function(){this.documentElement=null}},close:{value:function(){if(this.readyState="interactive",this._dispatchEvent(new g8("readystatechange"),!0),this._dispatchEvent(new g8("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new g8("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new g8("load"),!0)}},clone:{value:function(){var J=new f8(this.isHTML,this._address);return J._quirks=this._quirks,J._contentType=this._contentType,J}},cloneNode:{value:function(J){var Z=w0.prototype.cloneNode.call(this,!1);if(J)for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)Z._appendChild(Z.importNode(Y,!0));return Z._updateDocTypeElement(),Z}},isEqual:{value:function(J){return!0}},mutateValue:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.VALUE,target:$,data:$.data})}},mutateAttr:{value:function($,J){if(this.mutationHandler)this.mutationHandler({type:uJ.ATTR,target:$.ownerElement,attr:$})}},mutateRemoveAttr:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.REMOVE_ATTR,target:$.ownerElement,attr:$})}},mutateRemove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.REMOVE,target:$.parentNode,node:$});Bj($)}},mutateInsert:{value:function($){if(Hj($),this.mutationHandler)this.mutationHandler({type:uJ.INSERT,target:$.parentNode,node:$})}},mutateMove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.MOVE,target:$})}},addId:{value:function(J,Z){var Y=this.byId[J];if(!Y)this.byId[J]=Z;else{if(!(Y instanceof s1))Y=new s1(Y),this.byId[J]=Y;Y.add(Z)}}},delId:{value:function(J,Z){var Y=this.byId[J];if(v$.assert(Y),Y instanceof s1){if(Y.del(Z),Y.length===1)this.byId[J]=Y.downgrade()}else this.byId[J]=void 0}},_resolve:{value:function($){return new Gj(this._documentBaseURL).resolve($)}},_documentBaseURL:{get:function(){var $=this._address;if($==="about:blank")$="/";var J=this.querySelector("base[href]");if(J)return new Gj($).resolve(J.getAttribute("href"));return $}},_templateDoc:{get:function(){if(!this._templateDocCache){var $=new f8(this.isHTML,this._address);this._templateDocCache=$._templateDocCache=$}return this._templateDocCache}},querySelector:{value:function($){return Xj($,this)[0]}},querySelectorAll:{value:function($){var J=Xj($,this);return J.item?J:new jP(J)}}});var PP=["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"];PP.forEach(function($){Object.defineProperty(f8.prototype,"on"+$,{get:function(){return this._getEventHandler($)},set:function(J){this._setEventHandler($,J)}})});function jj($,J){if($&&$.isHTML){for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===w0.ELEMENT_NODE&&Z.localName===J&&Z.namespaceURI===pJ.HTML)return Z}return null}function IP($){if($._nid=$.ownerDocument._nextnid++,$.ownerDocument._nodes[$._nid]=$,$.nodeType===w0.ELEMENT_NODE){var J=$.getAttribute("id");if(J)$.ownerDocument.addId(J,$);if($._roothook)$._roothook()}}function AP($){if($.nodeType===w0.ELEMENT_NODE){var J=$.getAttribute("id");if(J)$.ownerDocument.delId(J,$)}$.ownerDocument._nodes[$._nid]=void 0,$._nid=void 0}function Hj($){if(IP($),$.nodeType===w0.ELEMENT_NODE)for(var J=$.firstChild;J!==null;J=J.nextSibling)Hj(J)}function Bj($){AP($);for(var J=$.firstChild;J!==null;J=J.nextSibling)Bj(J)}function _j($,J){if($.ownerDocument=J,$._lastModTime=void 0,Object.prototype.hasOwnProperty.call($,"_tagName"))$._tagName=void 0;for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)_j(Z,J)}function s1($){this.nodes=Object.create(null),this.nodes[$._nid]=$,this.length=1,this.firstNode=void 0}s1.prototype.add=function($){if(!this.nodes[$._nid])this.nodes[$._nid]=$,this.length++,this.firstNode=void 0};s1.prototype.del=function($){if(this.nodes[$._nid])delete this.nodes[$._nid],this.length--,this.firstNode=void 0};s1.prototype.getFirst=function(){if(!this.firstNode){var $;for($ in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[$])&w0.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[$]}return this.firstNode};s1.prototype.downgrade=function(){if(this.length===1){var $;for($ in this.nodes)return this.nodes[$]}return this}});var Z6=p((eb,Fj)=>{Fj.exports=J6;var SP=P0(),qj=RY(),wP=cZ();function J6($,J,Z,Y){qj.call(this),this.nodeType=SP.DOCUMENT_TYPE_NODE,this.ownerDocument=$||null,this.name=J,this.publicId=Z||"",this.systemId=Y||""}J6.prototype=Object.create(qj.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new J6(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(J){return this.name===J.name&&this.publicId===J.publicId&&this.systemId===J.systemId}}});Object.defineProperties(J6.prototype,wP)});var W6=p(($v,mj)=>{mj.exports=b$;var RP=$6(),LP=Z6(),eY=P0(),X$=X0().NAMESPACE,kj=tZ(),u$=kj.elements,t2=Function.prototype.apply.bind(Array.prototype.push),Y6=-1,cJ=1,R0=2,N$=3,y1=4,NP=5,yP=[],TP=/^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,kP="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",zj=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,EP=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,$J=Object.create(null);$J[X$.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};$J[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};$J[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var Z3=Object.create(null);Z3[X$.HTML]={__proto__:null,address:!0,div:!0,p:!0};var Ej=Object.create(null);Ej[X$.HTML]={__proto__:null,dd:!0,dt:!0};var lJ=Object.create(null);lJ[X$.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var xj=Object.create(null);xj[X$.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 bj=Object.create(null);bj[X$.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 V6=Object.create(null);V6[X$.HTML]={__proto__:null,table:!0,template:!0,html:!0};var G6=Object.create(null);G6[X$.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var Y3=Object.create(null);Y3[X$.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var vj=Object.create(null);vj[X$.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var T1=Object.create(null);T1[X$.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};T1[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};T1[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var X6=Object.create(T1);X6[X$.HTML]=Object.create(T1[X$.HTML]);X6[X$.HTML].ol=!0;X6[X$.HTML].ul=!0;var K3=Object.create(T1);K3[X$.HTML]=Object.create(T1[X$.HTML]);K3[X$.HTML].button=!0;var hj=Object.create(null);hj[X$.HTML]={__proto__:null,html:!0,table:!0,template:!0};var xP=Object.create(null);xP[X$.HTML]={__proto__:null,optgroup:!0,option:!0};var gj=Object.create(null);gj[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var fj=Object.create(null);fj[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var Cj={__proto__:null,"xlink:actuate":X$.XLINK,"xlink:arcrole":X$.XLINK,"xlink:href":X$.XLINK,"xlink:role":X$.XLINK,"xlink:show":X$.XLINK,"xlink:title":X$.XLINK,"xlink:type":X$.XLINK,"xml:base":X$.XML,"xml:lang":X$.XML,"xml:space":X$.XML,xmlns:X$.XMLNS,"xmlns:xlink":X$.XMLNS},Mj={__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"},Dj={__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"},Pj={__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},bP={__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},Ij=/(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,vP=32,hP=/[^\r"&\u0000]+/g,gP=/[^\r'&\u0000]+/g,fP=/[^\r\t\n\f &>\u0000]+/g,mP=/[^\r\t\n\f \/>A-Z\u0000]+/g,uP=/[^\r\t\n\f \/=>A-Z\u0000]+/g,dP=/[^\]\r\u0000\uffff]*/g,pP=/[^&<\r\u0000\uffff]*/g,Aj=/[^<\r\u0000\uffff]*/g,cP=/[^\r\u0000\uffff]*/g,Sj=/(?:(\/)?([a-z]+)>)|[\s\S]/g,wj=/(?:([-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,K6=/[^\x09\x0A\x0C\x0D\x20]/,$3=/[^\x09\x0A\x0C\x0D\x20]/g,lP=/[^\x00\x09\x0A\x0C\x0D\x20]/,e2=/^[\x09\x0A\x0C\x0D\x20]+/,Q6=/\x00/g;function L0($){var J=16384;if($.length<J)return String.fromCharCode.apply(String,$);var Z="";for(var Y=0;Y<$.length;Y+=J)Z+=String.fromCharCode.apply(String,$.slice(Y,Y+J));return Z}function oP($){var J=[];for(var Z=0;Z<$.length;Z++)J[Z]=$.charCodeAt(Z);return J}function d$($,J){if(typeof J==="string")return $.namespaceURI===X$.HTML&&$.localName===J;var Z=J[$.namespaceURI];return Z&&Z[$.localName]}function Rj($){return d$($,gj)}function Lj($){if(d$($,fj))return!0;if($.namespaceURI===X$.MATHML&&$.localName==="annotation-xml"){var J=$.getAttribute("encoding");if(J)J=J.toLowerCase();if(J==="text/html"||J==="application/xhtml+xml")return!0}return!1}function rP($){if($ in Dj)return Dj[$];else return $}function Nj($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]in Mj)$[J][0]=Mj[$[J][0]]}function yj($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]==="definitionurl"){$[J][0]="definitionURL";break}}function J3($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]in Cj)$[J].push(Cj[$[J][0]])}function Tj($,J){for(var Z=0,Y=$.length;Z<Y;Z++){var K=$[Z][0],Q=$[Z][1];if(J.hasAttribute(K))continue;J._setAttribute(K,Q)}}b$.ElementStack=function(){this.elements=[],this.top=null};b$.ElementStack.prototype.push=function($){this.elements.push($),this.top=$};b$.ElementStack.prototype.pop=function($){this.elements.pop(),this.top=this.elements[this.elements.length-1]};b$.ElementStack.prototype.popTag=function($){for(var J=this.elements.length-1;J>0;J--){var Z=this.elements[J];if(d$(Z,$))break}this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.popElementType=function($){for(var J=this.elements.length-1;J>0;J--)if(this.elements[J]instanceof $)break;this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.popElement=function($){for(var J=this.elements.length-1;J>0;J--)if(this.elements[J]===$)break;this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.removeElement=function($){if(this.top===$)this.pop();else{var J=this.elements.lastIndexOf($);if(J!==-1)this.elements.splice(J,1)}};b$.ElementStack.prototype.clearToContext=function($){for(var J=this.elements.length-1;J>0;J--)if(d$(this.elements[J],$))break;this.elements.length=J+1,this.top=this.elements[J]};b$.ElementStack.prototype.contains=function($){return this.inSpecificScope($,Object.create(null))};b$.ElementStack.prototype.inSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(d$(Y,$))return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.elementInSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y===$)return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.elementTypeInSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y instanceof $)return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.inScope=function($){return this.inSpecificScope($,T1)};b$.ElementStack.prototype.elementInScope=function($){return this.elementInSpecificScope($,T1)};b$.ElementStack.prototype.elementTypeInScope=function($){return this.elementTypeInSpecificScope($,T1)};b$.ElementStack.prototype.inButtonScope=function($){return this.inSpecificScope($,K3)};b$.ElementStack.prototype.inListItemScope=function($){return this.inSpecificScope($,X6)};b$.ElementStack.prototype.inTableScope=function($){return this.inSpecificScope($,hj)};b$.ElementStack.prototype.inSelectScope=function($){for(var J=this.elements.length-1;J>=0;J--){var Z=this.elements[J];if(Z.namespaceURI!==X$.HTML)return!1;var Y=Z.localName;if(Y===$)return!0;if(Y!=="optgroup"&&Y!=="option")return!1}return!1};b$.ElementStack.prototype.generateImpliedEndTags=function($,J){var Z=J?bj:xj;for(var Y=this.elements.length-1;Y>=0;Y--){var K=this.elements[Y];if($&&d$(K,$))break;if(!d$(this.elements[Y],Z))break}this.elements.length=Y+1,this.top=this.elements[Y]};b$.ActiveFormattingElements=function(){this.list=[],this.attrs=[]};b$.ActiveFormattingElements.prototype.MARKER={localName:"|"};b$.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};b$.ActiveFormattingElements.prototype.push=function($,J){var Z=0;for(var Y=this.list.length-1;Y>=0;Y--){if(this.list[Y]===this.MARKER)break;if(V($,this.list[Y],this.attrs[Y])){if(Z++,Z===3){this.list.splice(Y,1),this.attrs.splice(Y,1);break}}}this.list.push($);var K=[];for(var Q=0;Q<J.length;Q++)K[Q]=J[Q];this.attrs.push(K);function V(X,W,B){if(X.localName!==W.localName)return!1;if(X._numattrs!==B.length)return!1;for(var j=0,_=B.length;j<_;j++){var q=B[j][0],H=B[j][1];if(!X.hasAttribute(q))return!1;if(X.getAttribute(q)!==H)return!1}return!0}};b$.ActiveFormattingElements.prototype.clearToMarker=function(){for(var $=this.list.length-1;$>=0;$--)if(this.list[$]===this.MARKER)break;if($<0)$=0;this.list.length=$,this.attrs.length=$};b$.ActiveFormattingElements.prototype.findElementByTag=function($){for(var J=this.list.length-1;J>=0;J--){var Z=this.list[J];if(Z===this.MARKER)break;if(Z.localName===$)return Z}return null};b$.ActiveFormattingElements.prototype.indexOf=function($){return this.list.lastIndexOf($)};b$.ActiveFormattingElements.prototype.remove=function($){var J=this.list.lastIndexOf($);if(J!==-1)this.list.splice(J,1),this.attrs.splice(J,1)};b$.ActiveFormattingElements.prototype.replace=function($,J,Z){var Y=this.list.lastIndexOf($);if(Y!==-1)this.list[Y]=J,this.attrs[Y]=Z};b$.ActiveFormattingElements.prototype.insertAfter=function($,J){var Z=this.list.lastIndexOf($);if(Z!==-1)this.list.splice(Z,0,J),this.attrs.splice(Z,0,J)};function b$($,J,Z){var Y=null,K=0,Q=0,V=!1,X=!1,W=0,B=[],j="",_=!0,q=0,H=S$,C,M,I="",z="",P=[],D="",L="",R=[],N=[],x=[],b=[],v=[],m=!1,A=xB,u=null,r=[],S=new b$.ElementStack,T=new b$.ActiveFormattingElements,k=J!==void 0,A$=null,s=null,J$=!0;if(J)J$=J.ownerDocument._scripting_enabled;if(Z&&Z.scripting_enabled===!1)J$=!1;var Z$=!0,W$=!1,y$,Q$,y=[],n=!1,a=!1,c$={document:function(){return l},_asDocumentFragment:function(){var U=l.createDocumentFragment(),O=l.firstChild;while(O.hasChildNodes())U.appendChild(O.firstChild);return U},pause:function(){q++},resume:function(){q--,this.parse("")},parse:function(U,O,w){var E;if(q>0)return j+=U,!0;if(W===0){if(j)U=j+U,j="";if(O)U+="\uFFFF",V=!0;if(Y=U,K=U.length,Q=0,_){if(_=!1,Y.charCodeAt(0)===65279)Q=1}W++,E=g(w),j=Y.substring(Q,K),W--}else{if(W++,B.push(Y,K,Q),Y=U,K=U.length,Q=0,g(),E=!1,j=Y.substring(Q,K),Q=B.pop(),K=B.pop(),Y=B.pop(),j)Y=j+Y.substring(Q),K=Y.length,Q=0,j="";W--}return E}},l=new RP(!0,$);if(l._parser=c$,l._scripting_enabled=J$,J){if(J.ownerDocument._quirks)l._quirks=!0;if(J.ownerDocument._limitedQuirks)l._limitedQuirks=!0;if(J.namespaceURI===X$.HTML)switch(J.localName){case"title":case"textarea":H=J2;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":H=w6;break}var d=l.createElement("html");if(l._appendChild(d),S.push(d),J instanceof u$.HTMLTemplateElement)r.push(v6);nJ();for(var Y$=J;Y$!==null;Y$=Y$.parentElement)if(Y$ instanceof u$.HTMLFormElement){s=Y$;break}}function g(U){var O,w,E,h;while(Q<K){if(q>0||U&&U())return!0;switch(typeof H.lookahead){case"undefined":if(O=Y.charCodeAt(Q++),X){if(X=!1,O===10){Q++;continue}}switch(O){case 13:if(Q<K){if(Y.charCodeAt(Q)===10)Q++}else X=!0;H(10);break;case 65535:if(V&&Q===K){H(Y6);break}default:H(O);break}break;case"number":O=Y.charCodeAt(Q);var c=H.lookahead,U$=!0;if(c<0)U$=!1,c=-c;if(c<K-Q)w=U$?Y.substring(Q,Q+c):null,h=!1;else if(V){if(w=U$?Y.substring(Q,K):null,h=!0,O===65535&&Q===K-1)O=Y6}else return!0;H(O,w,h);break;case"string":O=Y.charCodeAt(Q),E=H.lookahead;var w$=Y.indexOf(E,Q);if(w$!==-1)w=Y.substring(Q,w$+E.length),h=!1;else{if(!V)return!0;if(w=Y.substring(Q,K),O===65535&&Q===K-1)O=Y6;h=!0}H(O,w,h);break}}return!1}function t(U,O){for(var w=0;w<v.length;w++)if(v[w][0]===U)return;if(O!==void 0)v.push([U,O]);else v.push([U])}function C$(){wj.lastIndex=Q-1;var U=wj.exec(Y);if(!U)throw Error("should never happen");var O=U[1];if(!O)return!1;var w=U[2],E=w.length;switch(w[0]){case'"':case"'":w=w.substring(1,E-1),Q+=U[0].length-1,H=y6;break;default:H=A1,Q+=U[0].length-1,w=w.substring(0,E-1);break}for(var h=0;h<v.length;h++)if(v[h][0]===O)return!0;return v.push([O,w]),!0}function T$(){m=!1,I="",v.length=0}function M$(){m=!0,I="",v.length=0}function r$(){P.length=0}function K0(){D=""}function t1(){L=""}function n8(){R.length=0}function e1(){N.length=0,x=null,b=null}function C1(){x=[]}function M1(){b=[]}function h$(){W$=!0}function mH(){return S.top&&S.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function r0(U){return z===U}function VJ(){if(y.length>0){var U=L0(y);if(y.length=0,a){if(a=!1,U[0]===`
|
|
31
|
+
`;Z+=B,Z+="</"+Q+">"}break;case 3:case 4:var j;if(J.nodeType===1&&J.namespaceURI===s2.HTML)j=J.tagName;else j="";if(VW[j]||j==="NOSCRIPT"&&J.ownerDocument._scripting_enabled)Z+=$.data;else Z+=fM($.data);break;case 8:Z+="<!--"+UW($.data)+"-->";break;case 7:let _=HW($.data);Z+="<?"+$.target+" "+_+"?>";break;case 10:Z+="<!DOCTYPE "+$.name,Z+=">";break;default:WW.InvalidStateError()}return Z}});var P0=p((qb,CW)=>{CW.exports=$0;var zW=t7(),vZ=e7(),_W=$Y(),m$=X0();function $0(){zW.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var f0=$0.ELEMENT_NODE=1,JY=$0.ATTRIBUTE_NODE=2,hZ=$0.TEXT_NODE=3,cM=$0.CDATA_SECTION_NODE=4,lM=$0.ENTITY_REFERENCE_NODE=5,ZY=$0.ENTITY_NODE=6,OW=$0.PROCESSING_INSTRUCTION_NODE=7,qW=$0.COMMENT_NODE=8,A8=$0.DOCUMENT_NODE=9,G1=$0.DOCUMENT_TYPE_NODE=10,B2=$0.DOCUMENT_FRAGMENT_NODE=11,YY=$0.NOTATION_NODE=12,KY=$0.DOCUMENT_POSITION_DISCONNECTED=1,QY=$0.DOCUMENT_POSITION_PRECEDING=2,VY=$0.DOCUMENT_POSITION_FOLLOWING=4,FW=$0.DOCUMENT_POSITION_CONTAINS=8,GY=$0.DOCUMENT_POSITION_CONTAINED_BY=16,XY=$0.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;$0.prototype=Object.create(zW.prototype,{baseURI:{get:m$.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===f0?this.parentNode:null}},hasChildNodes:{value:m$.shouldOverride},firstChild:{get:m$.shouldOverride},lastChild:{get:m$.shouldOverride},isConnected:{get:function(){let $=this;while($!=null){if($.nodeType===$0.DOCUMENT_NODE)return!0;if($=$.parentNode,$!=null&&$.nodeType===$0.DOCUMENT_FRAGMENT_NODE)$=$.host}return!1}},previousSibling:{get:function(){var $=this.parentNode;if(!$)return null;if(this===$.firstChild)return null;return this._previousSibling}},nextSibling:{get:function(){var $=this.parentNode,J=this._nextSibling;if(!$)return null;if(J===$.firstChild)return null;return J}},textContent:{get:function(){return null},set:function($){}},innerText:{get:function(){return null},set:function($){}},_countChildrenOfType:{value:function($){var J=0;for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===$)J++;return J}},_ensureInsertValid:{value:function(J,Z,Y){var K=this,Q,V;if(!J.nodeType)throw TypeError("not a node");switch(K.nodeType){case A8:case B2:case f0:break;default:m$.HierarchyRequestError()}if(J.isAncestor(K))m$.HierarchyRequestError();if(Z!==null||!Y){if(Z.parentNode!==K)m$.NotFoundError()}switch(J.nodeType){case B2:case G1:case f0:case hZ:case OW:case qW:break;default:m$.HierarchyRequestError()}if(K.nodeType===A8)switch(J.nodeType){case hZ:m$.HierarchyRequestError();break;case B2:if(J._countChildrenOfType(hZ)>0)m$.HierarchyRequestError();switch(J._countChildrenOfType(f0)){case 0:break;case 1:if(Z!==null){if(Y&&Z.nodeType===G1)m$.HierarchyRequestError();for(V=Z.nextSibling;V!==null;V=V.nextSibling)if(V.nodeType===G1)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(f0),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==f0)m$.HierarchyRequestError();break;default:m$.HierarchyRequestError()}break;case f0:if(Z!==null){if(Y&&Z.nodeType===G1)m$.HierarchyRequestError();for(V=Z.nextSibling;V!==null;V=V.nextSibling)if(V.nodeType===G1)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(f0),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==f0)m$.HierarchyRequestError();break;case G1:if(Z===null){if(K._countChildrenOfType(f0))m$.HierarchyRequestError()}else for(V=K.firstChild;V!==null;V=V.nextSibling){if(V===Z)break;if(V.nodeType===f0)m$.HierarchyRequestError()}if(Q=K._countChildrenOfType(G1),Y){if(Q>0)m$.HierarchyRequestError()}else if(Q>1||Q===1&&Z.nodeType!==G1)m$.HierarchyRequestError();break}else if(J.nodeType===G1)m$.HierarchyRequestError()}},insertBefore:{value:function(J,Z){var Y=this;Y._ensureInsertValid(J,Z,!0);var K=Z;if(K===J)K=J.nextSibling;return Y.doc.adoptNode(J),J._insertOrReplace(Y,K,!1),J}},appendChild:{value:function($){return this.insertBefore($,null)}},_appendChild:{value:function($){$._insertOrReplace(this,null,!1)}},removeChild:{value:function(J){var Z=this;if(!J.nodeType)throw TypeError("not a node");if(J.parentNode!==Z)m$.NotFoundError();return J.remove(),J}},replaceChild:{value:function(J,Z){var Y=this;if(Y._ensureInsertValid(J,Z,!1),J.doc!==Y.doc)Y.doc.adoptNode(J);return J._insertOrReplace(Y,Z,!0),Z}},contains:{value:function(J){if(J===null)return!1;if(this===J)return!0;return(this.compareDocumentPosition(J)&GY)!==0}},compareDocumentPosition:{value:function(J){if(this===J)return 0;if(this.doc!==J.doc||this.rooted!==J.rooted)return KY+XY;var Z=[],Y=[];for(var K=this;K!==null;K=K.parentNode)Z.push(K);for(K=J;K!==null;K=K.parentNode)Y.push(K);if(Z.reverse(),Y.reverse(),Z[0]!==Y[0])return KY+XY;K=Math.min(Z.length,Y.length);for(var Q=1;Q<K;Q++)if(Z[Q]!==Y[Q])if(Z[Q].index<Y[Q].index)return VY;else return QY;if(Z.length<Y.length)return VY+GY;else return QY+FW}},isSameNode:{value:function(J){return this===J}},isEqualNode:{value:function(J){if(!J)return!1;if(J.nodeType!==this.nodeType)return!1;if(!this.isEqual(J))return!1;for(var Z=this.firstChild,Y=J.firstChild;Z&&Y;Z=Z.nextSibling,Y=Y.nextSibling)if(!Z.isEqualNode(Y))return!1;return Z===null&&Y===null}},cloneNode:{value:function($){var J=this.clone();if($)for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)J._appendChild(Z.cloneNode(!0));return J}},lookupPrefix:{value:function(J){var Z;if(J===""||J===null||J===void 0)return null;switch(this.nodeType){case f0:return this._lookupNamespacePrefix(J,this);case A8:return Z=this.documentElement,Z?Z.lookupPrefix(J):null;case ZY:case YY:case B2:case G1:return null;case JY:return Z=this.ownerElement,Z?Z.lookupPrefix(J):null;default:return Z=this.parentElement,Z?Z.lookupPrefix(J):null}}},lookupNamespaceURI:{value:function(J){if(J===""||J===void 0)J=null;var Z;switch(this.nodeType){case f0:return m$.shouldOverride();case A8:return Z=this.documentElement,Z?Z.lookupNamespaceURI(J):null;case ZY:case YY:case G1:case B2:return null;case JY:return Z=this.ownerElement,Z?Z.lookupNamespaceURI(J):null;default:return Z=this.parentElement,Z?Z.lookupNamespaceURI(J):null}}},isDefaultNamespace:{value:function(J){if(J===""||J===void 0)J=null;var Z=this.lookupNamespaceURI(null);return Z===J}},index:{get:function(){var $=this.parentNode;if(this===$.firstChild)return 0;var J=$.childNodes;if(this._index===void 0||J[this._index]!==this){for(var Z=0;Z<J.length;Z++)J[Z]._index=Z;m$.assert(J[this._index]===this)}return this._index}},isAncestor:{value:function($){if(this.doc!==$.doc)return!1;if(this.rooted!==$.rooted)return!1;for(var J=$;J;J=J.parentNode)if(J===this)return!0;return!1}},ensureSameDoc:{value:function($){if($.ownerDocument===null)$.ownerDocument=this.doc;else if($.ownerDocument!==this.doc)m$.WrongDocumentError()}},removeChildren:{value:m$.shouldOverride},_insertOrReplace:{value:function(J,Z,Y){var K=this,Q,V;if(K.nodeType===B2&&K.rooted)m$.HierarchyRequestError();if(J._childNodes){if(Q=Z===null?J._childNodes.length:Z.index,K.parentNode===J){var X=K.index;if(X<Q)Q--}}if(Y){if(Z.rooted)Z.doc.mutateRemove(Z);Z.parentNode=null}var W=Z;if(W===null)W=J.firstChild;var B=K.rooted&&J.rooted;if(K.nodeType===B2){var j=[0,Y?1:0],_;for(var q=K.firstChild;q!==null;q=_)_=q.nextSibling,j.push(q),q.parentNode=J;var H=j.length;if(Y)vZ.replace(W,H>2?j[2]:null);else if(H>2&&W!==null)vZ.insertBefore(j[2],W);if(J._childNodes){j[0]=Z===null?J._childNodes.length:Z._index,J._childNodes.splice.apply(J._childNodes,j);for(V=2;V<H;V++)j[V]._index=j[0]+(V-2)}else if(J._firstChild===Z){if(H>2)J._firstChild=j[2];else if(Y)J._firstChild=null}if(K._childNodes)K._childNodes.length=0;else K._firstChild=null;if(J.rooted){J.modify();for(V=2;V<H;V++)J.doc.mutateInsert(j[V])}}else{if(Z===K)return;if(B)K._remove();else if(K.parentNode)K.remove();if(K.parentNode=J,Y){if(vZ.replace(W,K),J._childNodes)K._index=Q,J._childNodes[Q]=K;else if(J._firstChild===Z)J._firstChild=K}else{if(W!==null)vZ.insertBefore(K,W);if(J._childNodes)K._index=Q,J._childNodes.splice(Q,0,K);else if(J._firstChild===Z)J._firstChild=K}if(B)J.modify(),J.doc.mutateMove(K);else if(J.rooted)J.modify(),J.doc.mutateInsert(K)}}},lastModTime:{get:function(){if(!this._lastModTime)this._lastModTime=this.doc.modclock;return this._lastModTime}},modify:{value:function(){if(this.doc.modclock){var $=++this.doc.modclock;for(var J=this;J;J=J.parentElement)if(J._lastModTime)J._lastModTime=$}}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){var $;for(var J=this.firstChild;J!==null;J=$){if($=J.nextSibling,J.normalize)J.normalize();if(J.nodeType!==$0.TEXT_NODE)continue;if(J.nodeValue===""){this.removeChild(J);continue}var Z=J.previousSibling;if(Z===null)continue;else if(Z.nodeType===$0.TEXT_NODE)Z.appendData(J.nodeValue),this.removeChild(J)}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;var $="";for(var J=this.firstChild;J!==null;J=J.nextSibling)$+=_W.serializeOne(J,this);return $}},outerHTML:{get:function(){return _W.serializeOne(this,{nodeType:0})},set:m$.nyi},ELEMENT_NODE:{value:f0},ATTRIBUTE_NODE:{value:JY},TEXT_NODE:{value:hZ},CDATA_SECTION_NODE:{value:cM},ENTITY_REFERENCE_NODE:{value:lM},ENTITY_NODE:{value:ZY},PROCESSING_INSTRUCTION_NODE:{value:OW},COMMENT_NODE:{value:qW},DOCUMENT_NODE:{value:A8},DOCUMENT_TYPE_NODE:{value:G1},DOCUMENT_FRAGMENT_NODE:{value:B2},NOTATION_NODE:{value:YY},DOCUMENT_POSITION_DISCONNECTED:{value:KY},DOCUMENT_POSITION_PRECEDING:{value:QY},DOCUMENT_POSITION_FOLLOWING:{value:VY},DOCUMENT_POSITION_CONTAINS:{value:FW},DOCUMENT_POSITION_CONTAINED_BY:{value:GY},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:XY}})});var DW=p((Fb,MW)=>{MW.exports=class extends Array{constructor(J){super(J&&J.length||0);if(J)for(var Z in J)this[Z]=J[Z]}item(J){return this[J]||null}}});var IW=p((zb,PW)=>{function oM($){return this[$]||null}function rM($){if(!$)$=[];return $.item=oM,$}PW.exports=rM});var n2=p((Cb,AW)=>{var WY;try{WY=DW()}catch($){WY=IW()}AW.exports=WY});var gZ=p((Mb,RW)=>{RW.exports=wW;var SW=P0(),iM=n2();function wW(){SW.call(this),this._firstChild=this._childNodes=null}wW.prototype=Object.create(SW.prototype,{hasChildNodes:{value:function(){if(this._childNodes)return this._childNodes.length>0;return this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){if(this._childNodes)return this._childNodes.length===0?null:this._childNodes[0];return this._firstChild}},lastChild:{get:function(){var $=this._childNodes,J;if($)return $.length===0?null:$[$.length-1];if(J=this._firstChild,J===null)return null;return J._previousSibling}},_ensureChildNodes:{value:function(){if(this._childNodes)return;var $=this._firstChild,J=$,Z=this._childNodes=new iM;if($)do Z.push(J),J=J._nextSibling;while(J!==$);this._firstChild=null}},removeChildren:{value:function(){var J=this.rooted?this.ownerDocument:null,Z=this.firstChild,Y;while(Z!==null){if(Y=Z,Z=Y.nextSibling,J)J.mutateRemove(Y);Y.parentNode=null}if(this._childNodes)this._childNodes.length=0;else this._firstChild=null;this.modify()}}})});var fZ=p((YD)=>{YD.isValidName=JD;YD.isValidQName=ZD;var sM=/^[_:A-Za-z][-.:\w]+$/,nM=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,S8="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",w8="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",a2="["+S8+"]["+w8+"]*",jY=S8+":",UY=w8+":",aM=new RegExp("^["+jY+"]["+UY+"]*$"),tM=new RegExp("^("+a2+"|"+a2+":"+a2+")$"),LW=/[\uD800-\uDB7F\uDC00-\uDFFF]/,NW=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,yW=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;S8+="\uD800-\uDB7F\uDC00-\uDFFF";w8+="\uD800-\uDB7F\uDC00-\uDFFF";a2="["+S8+"]["+w8+"]*";jY=S8+":";UY=w8+":";var eM=new RegExp("^["+jY+"]["+UY+"]*$"),$D=new RegExp("^("+a2+"|"+a2+":"+a2+")$");function JD($){if(sM.test($))return!0;if(aM.test($))return!0;if(!LW.test($))return!1;if(!eM.test($))return!1;var J=$.match(NW),Z=$.match(yW);return Z!==null&&2*Z.length===J.length}function ZD($){if(nM.test($))return!0;if(tM.test($))return!0;if(!LW.test($))return!1;if(!$D.test($))return!1;var J=$.match(NW),Z=$.match(yW);return Z!==null&&2*Z.length===J.length}});var HY=p((GD)=>{var TW=X0();GD.property=function($){if(Array.isArray($.type)){var J=Object.create(null);$.type.forEach(function(K){J[K.value||K]=K.alias||K});var Z=$.missing;if(Z===void 0)Z=null;var Y=$.invalid;if(Y===void 0)Y=Z;return{get:function(){var K=this._getattr($.name);if(K===null)return Z;if(K=J[K.toLowerCase()],K!==void 0)return K;if(Y!==null)return Y;return K},set:function(K){this._setattr($.name,K)}}}else if($.type===Boolean)return{get:function(){return this.hasAttribute($.name)},set:function(K){if(K)this._setattr($.name,"");else this.removeAttribute($.name)}};else if($.type===Number||$.type==="long"||$.type==="unsigned long"||$.type==="limited unsigned long with fallback")return VD($);else if(!$.type||$.type===String)return{get:function(){return this._getattr($.name)||""},set:function(K){if($.treatNullAsEmptyString&&K===null)K="";this._setattr($.name,K)}};else if(typeof $.type==="function")return $.type($.name,$);throw Error("Invalid attribute definition")};function VD($){var J;if(typeof $.default==="function")J=$.default;else if(typeof $.default==="number")J=function(){return $.default};else J=function(){TW.assert(!1,typeof $.default)};var Z=$.type==="unsigned long",Y=$.type==="long",K=$.type==="limited unsigned long with fallback",Q=$.min,V=$.max,X=$.setmin;if(Q===void 0){if(Z)Q=0;if(Y)Q=-2147483648;if(K)Q=1}if(V===void 0){if(Z||Y||K)V=2147483647}return{get:function(){var W=this._getattr($.name),B=$.float?parseFloat(W):parseInt(W,10);if(W===null||!isFinite(B)||Q!==void 0&&B<Q||V!==void 0&&B>V)return J.call(this);if(Z||Y||K){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(W))return J.call(this);B=B|0}return B},set:function(W){if(!$.float)W=Math.floor(W);if(X!==void 0&&W<X)TW.IndexSizeError($.name+" set to "+W);if(Z)W=W<0||W>2147483647?J.call(this):W|0;else if(K)W=W<1||W>2147483647?J.call(this):W|0;else if(Y)W=W<-2147483648||W>2147483647?J.call(this):W|0;this._setattr($.name,String(W))}}}GD.registerChangeHandler=function($,J,Z){var Y=$.prototype;if(!Object.prototype.hasOwnProperty.call(Y,"_attributeChangeHandlers"))Y._attributeChangeHandlers=Object.create(Y._attributeChangeHandlers||null);Y._attributeChangeHandlers[J]=Z}});var xW=p((Ib,EW)=>{EW.exports=kW;var jD=P0();function kW($,J){this.root=$,this.filter=J,this.lastModTime=$.lastModTime,this.done=!1,this.cache=[],this.traverse()}kW.prototype=Object.create(Object.prototype,{length:{get:function(){if(this.checkcache(),!this.done)this.traverse();return this.cache.length}},item:{value:function($){if(this.checkcache(),!this.done&&$>=this.cache.length)this.traverse();return this.cache[$]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var $=this.cache.length-1;$>=0;$--)this[$]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function($){if($!==void 0)$++;var J;while((J=this.next())!==null)if(this[this.cache.length]=J,this.cache.push(J),$&&this.cache.length===$)return;this.done=!0}},next:{value:function(){var $=this.cache.length===0?this.root:this.cache[this.cache.length-1],J;if($.nodeType===jD.DOCUMENT_NODE)J=$.documentElement;else J=$.nextElement(this.root);while(J){if(this.filter(J))return J;J=J.nextElement(this.root)}return null}}})});var _Y=p((Ab,hW)=>{var BY=X0();hW.exports=vW;function vW($,J){this._getString=$,this._setString=J,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(vW.prototype,{length:{get:function(){return this._length}},item:{value:function($){var J=kJ(this);if($<0||$>=J.length)return null;return J[$]}},contains:{value:function($){$=String($);var J=kJ(this);return J.indexOf($)>-1}},add:{value:function(){var $=kJ(this);for(var J=0,Z=arguments.length;J<Z;J++){var Y=R8(arguments[J]);if($.indexOf(Y)<0)$.push(Y)}this._update($)}},remove:{value:function(){var $=kJ(this);for(var J=0,Z=arguments.length;J<Z;J++){var Y=R8(arguments[J]),K=$.indexOf(Y);if(K>-1)$.splice(K,1)}this._update($)}},toggle:{value:function(J,Z){if(J=R8(J),this.contains(J)){if(Z===void 0||Z===!1)return this.remove(J),!1;return!0}else{if(Z===void 0||Z===!0)return this.add(J),!0;return!1}}},replace:{value:function(J,Z){if(String(Z)==="")BY.SyntaxError();J=R8(J),Z=R8(Z);var Y=kJ(this),K=Y.indexOf(J);if(K<0)return!1;var Q=Y.indexOf(Z);if(Q<0)Y[K]=Z;else if(K<Q)Y[K]=Z,Y.splice(Q,1);else Y.splice(K,1);return this._update(Y),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function($){this._setString($),this._update()}},_update:{value:function($){if($)bW(this,$),this._setString($.join(" ").trim());else bW(this,kJ(this));this._lastStringValue=this._getString()}}});function bW($,J){var Z=$._length,Y;$._length=J.length;for(Y=0;Y<J.length;Y++)$[Y]=J[Y];for(;Y<Z;Y++)$[Y]=void 0}function R8($){if($=String($),$==="")BY.SyntaxError();if(/[ \t\r\n\f]/.test($))BY.InvalidCharacterError();return $}function UD($){var J=$._length,Z=Array(J);for(var Y=0;Y<J;Y++)Z[Y]=$[Y];return Z}function kJ($){var J=$._getString();if(J===$._lastStringValue)return UD($);var Z=J.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(Z==="")return[];else{var Y=Object.create(null);return Z.split(/[ \t\r\n\f]+/g).filter(function(K){var Q="$"+K;if(Y[Q])return!1;return Y[Q]=!0,!0})}}});var pZ=p((bJ,pW)=>{var mZ=Object.create(null,{location:{get:function(){throw Error("window.location is not supported.")}}}),HD=function($,J){return $.compareDocumentPosition(J)},BD=function($,J){return HD($,J)&2?1:-1},dZ=function($){while(($=$.nextSibling)&&$.nodeType!==1);return $},xJ=function($){while(($=$.previousSibling)&&$.nodeType!==1);return $},_D=function($){if($=$.firstChild)while($.nodeType!==1&&($=$.nextSibling));return $},OD=function($){if($=$.lastChild)while($.nodeType!==1&&($=$.previousSibling));return $},EJ=function($){if(!$.parentNode)return!1;var J=$.parentNode.nodeType;return J===1||J===9},gW=function($){if(!$)return $;var J=$[0];if(J==='"'||J==="'"){if($[$.length-1]===J)$=$.slice(1,-1);else $=$.slice(1);return $.replace(_$.str_escape,function(Z){var Y=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(Z);if(!Y)return Z.slice(1);if(Y[2])return"";var K=parseInt(Y[1],16);return String.fromCodePoint?String.fromCodePoint(K):String.fromCharCode(K)})}else if(_$.ident.test($))return _2($);else return $},_2=function($){return $.replace(_$.escape,function(J){var Z=/^\\([0-9A-Fa-f]+)/.exec(J);if(!Z)return J[1];var Y=parseInt(Z[1],16);return String.fromCodePoint?String.fromCodePoint(Y):String.fromCharCode(Y)})},qD=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf;return function($,J){var Z=this.length;while(Z--)if(this[Z]===J)return Z;return-1}}(),mW=function($,J){var Z=_$.inside.source.replace(/</g,$).replace(/>/g,J);return new RegExp(Z)},m0=function($,J,Z){return $=$.source,$=$.replace(J,Z.source||Z),new RegExp($)},fW=function($,J){return $.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",J).join("/")},FD=function($,J){var Z=$.replace(/\s+/g,""),Y;if(Z==="even")Z="2n+0";else if(Z==="odd")Z="2n+1";else if(Z.indexOf("n")===-1)Z="0n"+Z;return Y=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(Z),{group:Y[1]==="-"?-(Y[2]||1):+(Y[2]||1),offset:Y[4]?Y[3]==="-"?-Y[4]:+Y[4]:0}},OY=function($,J,Z){var Y=FD($),K=Y.group,Q=Y.offset,V=!Z?_D:OD,X=!Z?dZ:xJ;return function(W){if(!EJ(W))return;var B=V(W.parentNode),j=0;while(B){if(J(B,W))j++;if(B===W)return j-=Q,K&&j?j%K===0&&j<0===K<0:!j;B=X(B)}}},z0={"*":function(){return function(){return!0}}(),type:function($){return $=$.toLowerCase(),function(J){return J.nodeName.toLowerCase()===$}},attr:function($,J,Z,Y){return J=uW[J],function(K){var Q;switch($){case"for":Q=K.htmlFor;break;case"class":if(Q=K.className,Q===""&&K.getAttribute("class")==null)Q=null;break;case"href":case"src":Q=K.getAttribute($,2);break;case"title":Q=K.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(K.getAttribute){Q=K.getAttribute($);break}default:if(K.hasAttribute&&!K.hasAttribute($))break;Q=K[$]!=null?K[$]:K.getAttribute&&K.getAttribute($);break}if(Q==null)return;if(Q=Q+"",Y)Q=Q.toLowerCase(),Z=Z.toLowerCase();return J(Q,Z)}},":first-child":function($){return!xJ($)&&EJ($)},":last-child":function($){return!dZ($)&&EJ($)},":only-child":function($){return!xJ($)&&!dZ($)&&EJ($)},":nth-child":function($,J){return OY($,function(){return!0},J)},":nth-last-child":function($){return z0[":nth-child"]($,!0)},":root":function($){return $.ownerDocument.documentElement===$},":empty":function($){return!$.firstChild},":not":function($){var J=FY($);return function(Z){return!J(Z)}},":first-of-type":function($){if(!EJ($))return;var J=$.nodeName;while($=xJ($))if($.nodeName===J)return;return!0},":last-of-type":function($){if(!EJ($))return;var J=$.nodeName;while($=dZ($))if($.nodeName===J)return;return!0},":only-of-type":function($){return z0[":first-of-type"]($)&&z0[":last-of-type"]($)},":nth-of-type":function($,J){return OY($,function(Z,Y){return Z.nodeName===Y.nodeName},J)},":nth-last-of-type":function($){return z0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!z0[":checked"]($)},":enabled":function($){return!$.disabled&&$.type!=="hidden"},":disabled":function($){return!!$.disabled},":target":function($){return $.id===mZ.location.hash.substring(1)},":focus":function($){return $===$.ownerDocument.activeElement},":is":function($){return FY($)},":matches":function($){return z0[":is"]($)},":nth-match":function($,J){var Z=$.split(/\s*,\s*/),Y=Z.shift(),K=FY(Z.join(","));return OY(Y,K,J)},":nth-last-match":function($){return z0[":nth-match"]($,!0)},":links-here":function($){return $+""===mZ.location+""},":lang":function($){return function(J){while(J){if(J.lang)return J.lang.indexOf($)===0;J=J.parentNode}}},":dir":function($){return function(J){while(J){if(J.dir)return J.dir===$;J=J.parentNode}}},":scope":function($,J){var Z=J||$.ownerDocument;if(Z.nodeType===9)return $===Z.documentElement;return $===Z},":any-link":function($){return typeof $.href==="string"},":local-link":function($){if($.nodeName)return $.href&&$.host===mZ.location.host;var J=+$+1;return function(Z){if(!Z.href)return;var Y=mZ.location+"",K=Z+"";return fW(Y,J)===fW(K,J)}},":default":function($){return!!$.defaultSelected},":valid":function($){return $.willValidate||$.validity&&$.validity.valid},":invalid":function($){return!z0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!z0[":in-range"]($)},":required":function($){return!!$.required},":optional":function($){return!$.required},":read-only":function($){if($.readOnly)return!0;var J=$.getAttribute("contenteditable"),Z=$.contentEditable,Y=$.nodeName.toLowerCase();return Y=Y!=="input"&&Y!=="textarea",(Y||$.disabled)&&J==null&&Z!=="true"},":read-write":function($){return!z0[":read-only"]($)},":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($){return function(J){var Z=J.innerText||J.textContent||J.value||"";return Z.indexOf($)!==-1}},":has":function($){return function(J){return dW($,J).length>0}}},uW={"-":function(){return!0},"=":function($,J){return $===J},"*=":function($,J){return $.indexOf(J)!==-1},"~=":function($,J){var Z,Y,K,Q;for(Y=0;;Y=Z+1){if(Z=$.indexOf(J,Y),Z===-1)return!1;if(K=$[Z-1],Q=$[Z+J.length],(!K||K===" ")&&(!Q||Q===" "))return!0}},"|=":function($,J){var Z=$.indexOf(J),Y;if(Z!==0)return;return Y=$[Z+J.length],Y==="-"||!Y},"^=":function($,J){return $.indexOf(J)===0},"$=":function($,J){var Z=$.lastIndexOf(J);return Z!==-1&&Z+J.length===$.length},"!=":function($,J){return $!==J}},L8={" ":function($){return function(J){while(J=J.parentNode)if($(J))return J}},">":function($){return function(J){if(J=J.parentNode)return $(J)&&J}},"+":function($){return function(J){if(J=xJ(J))return $(J)&&J}},"~":function($){return function(J){while(J=xJ(J))if($(J))return J}},noop:function($){return function(J){return $(J)&&J}},ref:function($,J){var Z;function Y(K){var Q=K.ownerDocument,V=Q.getElementsByTagName("*"),X=V.length;while(X--)if(Z=V[X],Y.test(K))return Z=null,!0;Z=null}return Y.combinator=function(K){if(!Z||!Z.getAttribute)return;var Q=Z.getAttribute(J)||"";if(Q[0]==="#")Q=Q.substring(1);if(Q===K.id&&$(Z))return Z},Y}},_$={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)$/};_$.cssid=m0(_$.cssid,"nonascii",_$.nonascii);_$.cssid=m0(_$.cssid,"escape",_$.escape);_$.qname=m0(_$.qname,"cssid",_$.cssid);_$.simple=m0(_$.simple,"cssid",_$.cssid);_$.ref=m0(_$.ref,"cssid",_$.cssid);_$.attr=m0(_$.attr,"cssid",_$.cssid);_$.pseudo=m0(_$.pseudo,"cssid",_$.cssid);_$.inside=m0(_$.inside,`[^"'>]*`,_$.inside);_$.attr=m0(_$.attr,"inside",mW("\\[","\\]"));_$.pseudo=m0(_$.pseudo,"inside",mW("\\(","\\)"));_$.simple=m0(_$.simple,"pseudo",_$.pseudo);_$.simple=m0(_$.simple,"attr",_$.attr);_$.ident=m0(_$.ident,"cssid",_$.cssid);_$.str_escape=m0(_$.str_escape,"escape",_$.escape);var N8=function($){var J=$.replace(/^\s+|\s+$/g,""),Z,Y=[],K=[],Q,V,X,W,B;while(J){if(X=_$.qname.exec(J))J=J.substring(X[0].length),V=_2(X[1]),K.push(uZ(V,!0));else if(X=_$.simple.exec(J))J=J.substring(X[0].length),V="*",K.push(uZ(V,!0)),K.push(uZ(X));else throw SyntaxError("Invalid selector.");while(X=_$.simple.exec(J))J=J.substring(X[0].length),K.push(uZ(X));if(J[0]==="!")J=J.substring(1),Q=CD(),Q.qname=V,K.push(Q.simple);if(X=_$.ref.exec(J)){J=J.substring(X[0].length),B=L8.ref(qY(K),_2(X[1])),Y.push(B.combinator),K=[];continue}if(X=_$.combinator.exec(J)){if(J=J.substring(X[0].length),W=X[1]||X[2]||X[3],W===","){Y.push(L8.noop(qY(K)));break}}else W="noop";if(!L8[W])throw SyntaxError("Bad combinator.");Y.push(L8[W](qY(K))),K=[]}if(Z=zD(Y),Z.qname=V,Z.sel=J,Q)Q.lname=Z.qname,Q.test=Z,Q.qname=Q.qname,Q.sel=Z.sel,Z=Q;if(B)B.test=Z,B.qname=Z.qname,B.sel=Z.sel,Z=B;return Z},uZ=function($,J){if(J)return $==="*"?z0["*"]:z0.type($);if($[1])return $[1][0]==="."?z0.attr("class","~=",_2($[1].substring(1)),!1):z0.attr("id","=",_2($[1].substring(1)),!1);if($[2])return $[3]?z0[_2($[2])](gW($[3])):z0[_2($[2])];if($[4]){var Z=$[6],Y=/["'\s]\s*I$/i.test(Z);if(Y)Z=Z.replace(/\s*I$/i,"");return z0.attr(_2($[4]),$[5]||"-",gW(Z),Y)}throw SyntaxError("Unknown Selector.")},qY=function($){var J=$.length,Z;if(J<2)return $[0];return function(Y){if(!Y)return;for(Z=0;Z<J;Z++)if(!$[Z](Y))return;return!0}},zD=function($){if($.length<2)return function(J){return!!$[0](J)};return function(J){var Z=$.length;while(Z--)if(!(J=$[Z](J)))return;return!0}},CD=function(){var $;function J(Z){var Y=Z.ownerDocument,K=Y.getElementsByTagName(J.lname),Q=K.length;while(Q--)if(J.test(K[Q])&&$===Z)return $=null,!0;$=null}return J.simple=function(Z){return $=Z,!0},J},FY=function($){var J=N8($),Z=[J];while(J.sel)J=N8(J.sel),Z.push(J);if(Z.length<2)return J;return function(Y){var K=Z.length,Q=0;for(;Q<K;Q++)if(Z[Q](Y))return!0}},dW=function($,J){var Z=[],Y=N8($),K=J.getElementsByTagName(Y.qname),Q=0,V;while(V=K[Q++])if(Y(V))Z.push(V);if(Y.sel){while(Y.sel){Y=N8(Y.sel),K=J.getElementsByTagName(Y.qname),Q=0;while(V=K[Q++])if(Y(V)&&qD.call(Z,V)===-1)Z.push(V)}Z.sort(BD)}return Z};pW.exports=bJ=function($,J){var Z,Y;if(J.nodeType!==11&&$.indexOf(" ")===-1){if($[0]==="#"&&J.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test($)){if(J.doc._hasMultipleElementsWithId){if(Z=$.substring(1),!J.doc._hasMultipleElementsWithId(Z))return Y=J.doc.getElementById(Z),Y?[Y]:[]}}if($[0]==="."&&/^\.\w+$/.test($))return J.getElementsByClassName($.substring(1));if(/^\w+$/.test($))return J.getElementsByTagName($)}return dW($,J)};bJ.selectors=z0;bJ.operators=uW;bJ.combinators=L8;bJ.matches=function($,J){var Z={sel:J};do if(Z=N8(Z.sel),Z($))return!0;while(Z.sel);return!1}});var cZ=p((Sb,cW)=>{var MD=P0(),DD=e7(),zY=function($,J){var Z=$.createDocumentFragment();for(var Y=0;Y<J.length;Y++){var K=J[Y],Q=K instanceof MD;Z.appendChild(Q?K:$.createTextNode(String(K)))}return Z},PD={after:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.nextSibling;if(Z===null)return;while(Y&&J.some(function(Q){return Q===Y}))Y=Y.nextSibling;var K=zY(this.doc,J);Z.insertBefore(K,Y)}},before:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.previousSibling;if(Z===null)return;while(Y&&J.some(function(V){return V===Y}))Y=Y.previousSibling;var K=zY(this.doc,J),Q=Y?Y.nextSibling:Z.firstChild;Z.insertBefore(K,Q)}},remove:{value:function(){if(this.parentNode===null)return;if(this.doc){if(this.doc._preremoveNodeIterators(this),this.rooted)this.doc.mutateRemove(this)}this._remove(),this.parentNode=null}},_remove:{value:function(){var J=this.parentNode;if(J===null)return;if(J._childNodes)J._childNodes.splice(this.index,1);else if(J._firstChild===this)if(this._nextSibling===this)J._firstChild=null;else J._firstChild=this._nextSibling;DD.remove(this),J.modify()}},replaceWith:{value:function(){var J=Array.prototype.slice.call(arguments),Z=this.parentNode,Y=this.nextSibling;if(Z===null)return;while(Y&&J.some(function(Q){return Q===Y}))Y=Y.nextSibling;var K=zY(this.doc,J);if(this.parentNode===Z)Z.replaceChild(K,this);else Z.insertBefore(K,Y)}}};cW.exports=PD});var CY=p((wb,oW)=>{var lW=P0(),ID={nextElementSibling:{get:function(){if(this.parentNode){for(var $=this.nextSibling;$!==null;$=$.nextSibling)if($.nodeType===lW.ELEMENT_NODE)return $}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var $=this.previousSibling;$!==null;$=$.previousSibling)if($.nodeType===lW.ELEMENT_NODE)return $}return null}}};oW.exports=ID});var MY=p((Rb,iW)=>{iW.exports=rW;var vJ=X0();function rW($){this.element=$}Object.defineProperties(rW.prototype,{length:{get:vJ.shouldOverride},item:{value:vJ.shouldOverride},getNamedItem:{value:function(J){return this.element.getAttributeNode(J)}},getNamedItemNS:{value:function(J,Z){return this.element.getAttributeNodeNS(J,Z)}},setNamedItem:{value:vJ.nyi},setNamedItemNS:{value:vJ.nyi},removeNamedItem:{value:function(J){var Z=this.element.getAttributeNode(J);if(Z)return this.element.removeAttribute(J),Z;vJ.NotFoundError()}},removeNamedItemNS:{value:function(J,Z){var Y=this.element.getAttributeNodeNS(J,Z);if(Y)return this.element.removeAttributeNS(J,Z),Y;vJ.NotFoundError()}}})});var gJ=p((Lb,eW)=>{eW.exports=O2;var DY=fZ(),Y0=X0(),N1=Y0.NAMESPACE,oZ=HY(),q1=P0(),PY=n2(),AD=$Y(),lZ=xW(),hJ=xZ(),SD=_Y(),IY=pZ(),nW=gZ(),wD=cZ(),RD=CY(),aW=MY(),sW=Object.create(null);function O2($,J,Z,Y){nW.call(this),this.nodeType=q1.ELEMENT_NODE,this.ownerDocument=$,this.localName=J,this.namespaceURI=Z,this.prefix=Y,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function AY($,J){if($.nodeType===q1.TEXT_NODE)J.push($._data);else for(var Z=0,Y=$.childNodes.length;Z<Y;Z++)AY($.childNodes[Z],J)}O2.prototype=Object.create(nW.prototype,{isHTML:{get:function(){return this.namespaceURI===N1.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var J;if(this.prefix===null)J=this.localName;else J=this.prefix+":"+this.localName;if(this.isHTML){var Z=sW[J];if(!Z)sW[J]=Z=Y0.toASCIIUpperCase(J);J=Z}this._tagName=J}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var $=[];return AY(this,$),$.join("")},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerText:{get:function(){var $=[];return AY(this,$),$.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerHTML:{get:function(){return this.serialize()},set:Y0.nyi},outerHTML:{get:function(){return AD.serializeOne(this,{nodeType:0})},set:function($){var J=this.ownerDocument,Z=this.parentNode;if(Z===null)return;if(Z.nodeType===q1.DOCUMENT_NODE)Y0.NoModificationAllowedError();if(Z.nodeType===q1.DOCUMENT_FRAGMENT_NODE)Z=Z.ownerDocument.createElement("body");var Y=J.implementation.mozHTMLParser(J._address,Z);Y.parse($===null?"":String($),!0),this.replaceWith(Y._asDocumentFragment())}},_insertAdjacent:{value:function(J,Z){var Y=!1;switch(J){case"beforebegin":Y=!0;case"afterend":var K=this.parentNode;if(K===null)return null;return K.insertBefore(Z,Y?this:this.nextSibling);case"afterbegin":Y=!0;case"beforeend":return this.insertBefore(Z,Y?this.firstChild:null);default:return Y0.SyntaxError()}}},insertAdjacentElement:{value:function(J,Z){if(Z.nodeType!==q1.ELEMENT_NODE)throw TypeError("not an element");return J=Y0.toASCIILowerCase(String(J)),this._insertAdjacent(J,Z)}},insertAdjacentText:{value:function(J,Z){var Y=this.ownerDocument.createTextNode(Z);J=Y0.toASCIILowerCase(String(J)),this._insertAdjacent(J,Y)}},insertAdjacentHTML:{value:function(J,Z){J=Y0.toASCIILowerCase(String(J)),Z=String(Z);var Y;switch(J){case"beforebegin":case"afterend":if(Y=this.parentNode,Y===null||Y.nodeType===q1.DOCUMENT_NODE)Y0.NoModificationAllowedError();break;case"afterbegin":case"beforeend":Y=this;break;default:Y0.SyntaxError()}if(!(Y instanceof O2)||Y.ownerDocument.isHTML&&Y.localName==="html"&&Y.namespaceURI===N1.HTML)Y=Y.ownerDocument.createElementNS(N1.HTML,"body");var K=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,Y);K.parse(Z,!0),this._insertAdjacent(J,K._asDocumentFragment())}},children:{get:function(){if(!this._children)this._children=new tW(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new wY(this);return this._attributes}},firstElementChild:{get:function(){for(var $=this.firstChild;$!==null;$=$.nextSibling)if($.nodeType===q1.ELEMENT_NODE)return $;return null}},lastElementChild:{get:function(){for(var $=this.lastChild;$!==null;$=$.previousSibling)if($.nodeType===q1.ELEMENT_NODE)return $;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function($){if(!$)$=this.ownerDocument.documentElement;var J=this.firstElementChild;if(!J){if(this===$)return null;J=this.nextElementSibling}if(J)return J;for(var Z=this.parentElement;Z&&Z!==$;Z=Z.parentElement)if(J=Z.nextElementSibling,J)return J;return null}},getElementsByTagName:{value:function(J){var Z;if(!J)return new PY;if(J==="*")Z=function(){return!0};else if(this.isHTML)Z=LD(J);else Z=SY(J);return new lZ(this,Z)}},getElementsByTagNameNS:{value:function(J,Z){var Y;if(J==="*"&&Z==="*")Y=function(){return!0};else if(J==="*")Y=SY(Z);else if(Z==="*")Y=ND(J);else Y=yD(J,Z);return new lZ(this,Y)}},getElementsByClassName:{value:function(J){if(J=String(J).trim(),J===""){var Z=new PY;return Z}return J=J.split(/[ \t\r\n\f]+/),new lZ(this,TD(J))}},getElementsByName:{value:function(J){return new lZ(this,kD(String(J)))}},clone:{value:function(){var J;if(this.namespaceURI!==N1.HTML||this.prefix||!this.ownerDocument.isHTML)J=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName);else J=this.ownerDocument.createElement(this.localName);for(var Z=0,Y=this._attrKeys.length;Z<Y;Z++){var K=this._attrKeys[Z],Q=this._attrsByLName[K],V=Q.cloneNode();V._setOwnerElement(J),J._attrsByLName[K]=V,J._addQName(V)}return J._attrKeys=this._attrKeys.concat(),J}},isEqual:{value:function(J){if(this.localName!==J.localName||this.namespaceURI!==J.namespaceURI||this.prefix!==J.prefix||this._numattrs!==J._numattrs)return!1;for(var Z=0,Y=this._numattrs;Z<Y;Z++){var K=this._attr(Z);if(!J.hasAttributeNS(K.namespaceURI,K.localName))return!1;if(J.getAttributeNS(K.namespaceURI,K.localName)!==K.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(J,Z){if(this.namespaceURI&&this.namespaceURI===J&&this.prefix!==null&&Z.lookupNamespaceURI(this.prefix)===J)return this.prefix;for(var Y=0,K=this._numattrs;Y<K;Y++){var Q=this._attr(Y);if(Q.prefix==="xmlns"&&Q.value===J&&Z.lookupNamespaceURI(Q.localName)===J)return Q.localName}var V=this.parentElement;return V?V._lookupNamespacePrefix(J,Z):null}},lookupNamespaceURI:{value:function(J){if(J===""||J===void 0)J=null;if(this.namespaceURI!==null&&this.prefix===J)return this.namespaceURI;for(var Z=0,Y=this._numattrs;Z<Y;Z++){var K=this._attr(Z);if(K.namespaceURI===N1.XMLNS){if(K.prefix==="xmlns"&&K.localName===J||J===null&&K.prefix===null&&K.localName==="xmlns")return K.value||null}}var Q=this.parentElement;return Q?Q.lookupNamespaceURI(J):null}},getAttribute:{value:function(J){var Z=this.getAttributeNode(J);return Z?Z.value:null}},getAttributeNS:{value:function(J,Z){var Y=this.getAttributeNodeNS(J,Z);return Y?Y.value:null}},getAttributeNode:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Z=this._attrsByQName[J];if(!Z)return null;if(Array.isArray(Z))Z=Z[0];return Z}},getAttributeNodeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=this._attrsByLName[J+"|"+Z];return Y?Y:null}},hasAttribute:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);return this._attrsByQName[J]!==void 0}},hasAttributeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=J+"|"+Z;return this._attrsByLName[Y]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(J,Z){if(J=String(J),!DY.isValidName(J))Y0.InvalidCharacterError();if(/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Y=this._attrsByQName[J];if(Y===void 0){if(Z===void 0||Z===!0)return this._setAttribute(J,""),!0;return!1}else{if(Z===void 0||Z===!1)return this.removeAttribute(J),!1;return!0}}},_setAttribute:{value:function(J,Z){var Y=this._attrsByQName[J],K;if(!Y)Y=this._newattr(J),K=!0;else if(Array.isArray(Y))Y=Y[0];if(Y.value=Z,this._attributes)this._attributes[J]=Y;if(K&&this._newattrhook)this._newattrhook(J,Z)}},setAttribute:{value:function(J,Z){if(J=String(J),!DY.isValidName(J))Y0.InvalidCharacterError();if(/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);this._setAttribute(J,String(Z))}},_setAttributeNS:{value:function(J,Z,Y){var K=Z.indexOf(":"),Q,V;if(K<0)Q=null,V=Z;else Q=Z.substring(0,K),V=Z.substring(K+1);if(J===""||J===void 0)J=null;var X=(J===null?"":J)+"|"+V,W=this._attrsByLName[X],B;if(!W){if(W=new y8(this,V,Q,J),B=!0,this._attrsByLName[X]=W,this._attributes)this._attributes[this._attrKeys.length]=W;this._attrKeys.push(X),this._addQName(W)}if(W.value=Y,B&&this._newattrhook)this._newattrhook(Z,Y)}},setAttributeNS:{value:function(J,Z,Y){if(J=J===null||J===void 0||J===""?null:String(J),Z=String(Z),!DY.isValidQName(Z))Y0.InvalidCharacterError();var K=Z.indexOf(":"),Q=K<0?null:Z.substring(0,K);if(Q!==null&&J===null||Q==="xml"&&J!==N1.XML||(Z==="xmlns"||Q==="xmlns")&&J!==N1.XMLNS||J===N1.XMLNS&&!(Z==="xmlns"||Q==="xmlns"))Y0.NamespaceError();this._setAttributeNS(J,Z,String(Y))}},setAttributeNode:{value:function(J){if(J.ownerElement!==null&&J.ownerElement!==this)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);var Z=null,Y=this._attrsByQName[J.name];if(Y){if(!Array.isArray(Y))Y=[Y];if(Y.some(function(K){return K===J}))return J;else if(J.ownerElement!==null)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);Y.forEach(function(K){this.removeAttributeNode(K)},this),Z=Y[0]}return this.setAttributeNodeNS(J),Z}},setAttributeNodeNS:{value:function(J){if(J.ownerElement!==null)throw new hJ(hJ.INUSE_ATTRIBUTE_ERR);var Z=J.namespaceURI,Y=(Z===null?"":Z)+"|"+J.localName,K=this._attrsByLName[Y];if(K)this.removeAttributeNode(K);if(J._setOwnerElement(this),this._attrsByLName[Y]=J,this._attributes)this._attributes[this._attrKeys.length]=J;if(this._attrKeys.push(Y),this._addQName(J),this._newattrhook)this._newattrhook(J.name,J.value);return K||null}},removeAttribute:{value:function(J){if(J=String(J),/[A-Z]/.test(J)&&this.isHTML)J=Y0.toASCIILowerCase(J);var Z=this._attrsByQName[J];if(!Z)return;if(Array.isArray(Z))if(Z.length>2)Z=Z.shift();else this._attrsByQName[J]=Z[1],Z=Z[0];else this._attrsByQName[J]=void 0;var Y=Z.namespaceURI,K=(Y===null?"":Y)+"|"+Z.localName;this._attrsByLName[K]=void 0;var Q=this._attrKeys.indexOf(K);if(this._attributes)Array.prototype.splice.call(this._attributes,Q,1),this._attributes[J]=void 0;this._attrKeys.splice(Q,1);var V=Z.onchange;if(Z._setOwnerElement(null),V)V.call(Z,this,Z.localName,Z.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Z)}},removeAttributeNS:{value:function(J,Z){J=J===void 0||J===null?"":String(J),Z=String(Z);var Y=J+"|"+Z,K=this._attrsByLName[Y];if(!K)return;this._attrsByLName[Y]=void 0;var Q=this._attrKeys.indexOf(Y);if(this._attributes)Array.prototype.splice.call(this._attributes,Q,1);this._attrKeys.splice(Q,1),this._removeQName(K);var V=K.onchange;if(K._setOwnerElement(null),V)V.call(K,this,K.localName,K.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(K)}},removeAttributeNode:{value:function(J){var Z=J.namespaceURI,Y=(Z===null?"":Z)+"|"+J.localName;if(this._attrsByLName[Y]!==J)Y0.NotFoundError();return this.removeAttributeNS(Z,J.localName),J}},getAttributeNames:{value:function(){var J=this;return this._attrKeys.map(function(Z){return J._attrsByLName[Z].name})}},_getattr:{value:function(J){var Z=this._attrsByQName[J];return Z?Z.value:null}},_setattr:{value:function(J,Z){var Y=this._attrsByQName[J],K;if(!Y)Y=this._newattr(J),K=!0;if(Y.value=String(Z),this._attributes)this._attributes[J]=Y;if(K&&this._newattrhook)this._newattrhook(J,Z)}},_newattr:{value:function(J){var Z=new y8(this,J,null,null),Y="|"+J;if(this._attrsByQName[J]=Z,this._attrsByLName[Y]=Z,this._attributes)this._attributes[this._attrKeys.length]=Z;return this._attrKeys.push(Y),Z}},_addQName:{value:function($){var J=$.name,Z=this._attrsByQName[J];if(!Z)this._attrsByQName[J]=$;else if(Array.isArray(Z))Z.push($);else this._attrsByQName[J]=[Z,$];if(this._attributes)this._attributes[J]=$}},_removeQName:{value:function($){var J=$.name,Z=this._attrsByQName[J];if(Array.isArray(Z)){var Y=Z.indexOf($);if(Y0.assert(Y!==-1),Z.length===2){if(this._attrsByQName[J]=Z[1-Y],this._attributes)this._attributes[J]=this._attrsByQName[J]}else if(Z.splice(Y,1),this._attributes&&this._attributes[J]===$)this._attributes[J]=Z[0]}else if(Y0.assert(Z===$),this._attrsByQName[J]=void 0,this._attributes)this._attributes[J]=void 0}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function($){return this._attrsByLName[this._attrKeys[$]]}},id:oZ.property({name:"id"}),className:oZ.property({name:"class"}),classList:{get:function(){var $=this;if(this._classList)return this._classList;var J=new SD(function(){return $.className||""},function(Z){$.className=Z});return this._classList=J,J},set:function($){this.className=$}},matches:{value:function($){return IY.matches(this,$)}},closest:{value:function($){var J=this;do{if(J.matches&&J.matches($))return J;J=J.parentElement||J.parentNode}while(J!==null&&J.nodeType===q1.ELEMENT_NODE);return null}},querySelector:{value:function($){return IY($,this)[0]}},querySelectorAll:{value:function($){var J=IY($,this);return J.item?J:new PY(J)}}});Object.defineProperties(O2.prototype,wD);Object.defineProperties(O2.prototype,RD);oZ.registerChangeHandler(O2,"id",function($,J,Z,Y){if($.rooted){if(Z)$.ownerDocument.delId(Z,$);if(Y)$.ownerDocument.addId(Y,$)}});oZ.registerChangeHandler(O2,"class",function($,J,Z,Y){if($._classList)$._classList._update()});function y8($,J,Z,Y,K){this.localName=J,this.prefix=Z===null||Z===""?null:""+Z,this.namespaceURI=Y===null||Y===""?null:""+Y,this.data=K,this._setOwnerElement($)}y8.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(J){if(this._ownerElement=J,this.prefix===null&&this.namespaceURI===null&&J)this.onchange=J._attributeChangeHandlers[this.localName];else 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($){var J=this.data;if($=$===void 0?"":$+"",$===J)return;if(this.data=$,this.ownerElement){if(this.onchange)this.onchange(this.ownerElement,this.localName,J,$);if(this.ownerElement.rooted)this.ownerElement.ownerDocument.mutateAttr(this,J)}}},cloneNode:{value:function(J){return new y8(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return q1.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function($){this.value=$}},textContent:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}},innerText:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}}});O2._Attr=y8;function wY($){aW.call(this,$);for(var J in $._attrsByQName)this[J]=$._attrsByQName[J];for(var Z=0;Z<$._attrKeys.length;Z++)this[Z]=$._attrsByLName[$._attrKeys[Z]]}wY.prototype=Object.create(aW.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function($){if($=$>>>0,$>=this.length)return null;return this.element._attrsByLName[this.element._attrKeys[$]]}}});if(globalThis.Symbol?.iterator)wY.prototype[globalThis.Symbol.iterator]=function(){var $=0,J=this.length,Z=this;return{next:function(){if($<J)return{value:Z.item($++)};return{done:!0}}}};function tW($){this.element=$,this.updateCache()}tW.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(J){return this.updateCache(),this.childrenByNumber[J]||null}},namedItem:{value:function(J){return this.updateCache(),this.childrenByName[J]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var J=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;var Z=this.childrenByNumber&&this.childrenByNumber.length||0;for(var Y=0;Y<Z;Y++)this[Y]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var K=this.element.firstChild;K!==null;K=K.nextSibling)if(K.nodeType===q1.ELEMENT_NODE){this[this.childrenByNumber.length]=K,this.childrenByNumber.push(K);var Q=K.getAttribute("id");if(Q&&!this.childrenByName[Q])this.childrenByName[Q]=K;var V=K.getAttribute("name");if(V&&this.element.namespaceURI===N1.HTML&&J.test(this.element.localName)&&!this.childrenByName[V])this.childrenByName[Q]=K}}}}});function SY($){return function(J){return J.localName===$}}function LD($){var J=Y0.toASCIILowerCase($);if(J===$)return SY($);return function(Z){return Z.isHTML?Z.localName===J:Z.localName===$}}function ND($){return function(J){return J.namespaceURI===$}}function yD($,J){return function(Z){return Z.namespaceURI===$&&Z.localName===J}}function TD($){return function(J){return $.every(function(Z){return J.classList.contains(Z)})}}function kD($){return function(J){if(J.namespaceURI!==N1.HTML)return!1;return J.getAttribute("name")===$}}});var RY=p((Nb,K5)=>{K5.exports=Y5;var J5=P0(),ED=n2(),Z5=X0(),$5=Z5.HierarchyRequestError,xD=Z5.NotFoundError;function Y5(){J5.call(this)}Y5.prototype=Object.create(J5.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function($,J){if(!$.nodeType)throw TypeError("not a node");$5()}},replaceChild:{value:function($,J){if(!$.nodeType)throw TypeError("not a node");$5()}},removeChild:{value:function($){if(!$.nodeType)throw TypeError("not a node");xD()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new ED;return this._childNodes}}})});var T8=p((yb,G5)=>{G5.exports=rZ;var V5=RY(),Q5=X0(),bD=cZ(),vD=CY();function rZ(){V5.call(this)}rZ.prototype=Object.create(V5.prototype,{substringData:{value:function(J,Z){if(arguments.length<2)throw TypeError("Not enough arguments");if(J=J>>>0,Z=Z>>>0,J>this.data.length||J<0||Z<0)Q5.IndexSizeError();return this.data.substring(J,J+Z)}},appendData:{value:function(J){if(arguments.length<1)throw TypeError("Not enough arguments");this.data+=String(J)}},insertData:{value:function(J,Z){return this.replaceData(J,0,Z)}},deleteData:{value:function(J,Z){return this.replaceData(J,Z,"")}},replaceData:{value:function(J,Z,Y){var K=this.data,Q=K.length;if(J=J>>>0,Z=Z>>>0,Y=String(Y),J>Q||J<0)Q5.IndexSizeError();if(J+Z>Q)Z=Q-J;var V=K.substring(0,J),X=K.substring(J+Z);this.data=V+Y+X}},isEqual:{value:function(J){return this._data===J._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(rZ.prototype,bD);Object.defineProperties(rZ.prototype,vD)});var NY=p((Tb,U5)=>{U5.exports=LY;var X5=X0(),W5=P0(),j5=T8();function LY($,J){j5.call(this),this.nodeType=W5.TEXT_NODE,this.ownerDocument=$,this._data=J,this._index=void 0}var k8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if($===this._data)return;if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this);if(this.parentNode&&this.parentNode._textchangehook)this.parentNode._textchangehook(this)}};LY.prototype=Object.create(j5.prototype,{nodeName:{value:"#text"},nodeValue:k8,textContent:k8,innerText:k8,data:{get:k8.get,set:function($){k8.set.call(this,$===null?"":String($))}},splitText:{value:function(J){if(J>this._data.length||J<0)X5.IndexSizeError();var Z=this._data.substring(J),Y=this.ownerDocument.createTextNode(Z);this.data=this.data.substring(0,J);var K=this.parentNode;if(K!==null)K.insertBefore(Y,this.nextSibling);return Y}},wholeText:{get:function(){var J=this.textContent;for(var Z=this.nextSibling;Z;Z=Z.nextSibling){if(Z.nodeType!==W5.TEXT_NODE)break;J+=Z.textContent}return J}},replaceWholeText:{value:X5.nyi},clone:{value:function(){return new LY(this.ownerDocument,this._data)}}})});var TY=p((kb,B5)=>{B5.exports=yY;var hD=P0(),H5=T8();function yY($,J){H5.call(this),this.nodeType=hD.COMMENT_NODE,this.ownerDocument=$,this._data=J}var E8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};yY.prototype=Object.create(H5.prototype,{nodeName:{value:"#comment"},nodeValue:E8,textContent:E8,innerText:E8,data:{get:E8.get,set:function($){E8.set.call(this,$===null?"":String($))}},clone:{value:function(){return new yY(this.ownerDocument,this._data)}}})});var EY=p((Eb,q5)=>{q5.exports=kY;var gD=P0(),fD=n2(),O5=gZ(),iZ=gJ(),mD=pZ(),_5=X0();function kY($){O5.call(this),this.nodeType=gD.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=$}kY.prototype=Object.create(O5.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(iZ.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(iZ.prototype,"innerText"),querySelector:{value:function($){var J=this.querySelectorAll($);return J.length?J[0]:null}},querySelectorAll:{value:function($){var J=Object.create(this);J.isHTML=!0,J.getElementsByTagName=iZ.prototype.getElementsByTagName,J.nextElement=Object.getOwnPropertyDescriptor(iZ.prototype,"firstElementChild").get;var Z=mD($,J);return Z.item?Z:new fD(Z)}},clone:{value:function(){return new kY(this.ownerDocument)}},isEqual:{value:function(J){return!0}},innerHTML:{get:function(){return this.serialize()},set:_5.nyi},outerHTML:{get:function(){return this.serialize()},set:_5.nyi}})});var bY=p((xb,z5)=>{z5.exports=xY;var uD=P0(),F5=T8();function xY($,J,Z){F5.call(this),this.nodeType=uD.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=J,this._data=Z}var x8={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};xY.prototype=Object.create(F5.prototype,{nodeName:{get:function(){return this.target}},nodeValue:x8,textContent:x8,innerText:x8,data:{get:x8.get,set:function($){x8.set.call(this,$===null?"":String($))}},clone:{value:function(){return new xY(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(J){return this.target===J.target&&this._data===J._data}}})});var b8=p((bb,C5)=>{var vY={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};C5.exports=vY.constructor=vY.prototype=vY});var gY=p((hb,D5)=>{var vb=D5.exports={nextSkippingChildren:dD,nextAncestorSibling:hY,next:pD,previous:cD,deepLastChild:M5};function dD($,J){if($===J)return null;if($.nextSibling!==null)return $.nextSibling;return hY($,J)}function hY($,J){for($=$.parentNode;$!==null;$=$.parentNode){if($===J)return null;if($.nextSibling!==null)return $.nextSibling}return null}function pD($,J){var Z=$.firstChild;if(Z!==null)return Z;if($===J)return null;if(Z=$.nextSibling,Z!==null)return Z;return hY($,J)}function M5($){while($.lastChild)$=$.lastChild;return $}function cD($,J){var Z=$.previousSibling;if(Z!==null)return M5(Z);if(Z=$.parentNode,Z===J)return null;return Z}});var L5=p((gb,R5)=>{R5.exports=w5;var lD=P0(),I0=b8(),P5=gY(),S5=X0(),fY={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},mY={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function I5($,J){var Z,Y,K,Q,V;Y=$._currentNode[fY[J]];while(Y!==null){if(Q=$._internalFilter(Y),Q===I0.FILTER_ACCEPT)return $._currentNode=Y,Y;if(Q===I0.FILTER_SKIP){if(Z=Y[fY[J]],Z!==null){Y=Z;continue}}while(Y!==null){if(V=Y[mY[J]],V!==null){Y=V;break}if(K=Y.parentNode,K===null||K===$.root||K===$._currentNode)return null;else Y=K}}return null}function A5($,J){var Z,Y,K;if(Z=$._currentNode,Z===$.root)return null;while(!0){K=Z[mY[J]];while(K!==null){if(Z=K,Y=$._internalFilter(Z),Y===I0.FILTER_ACCEPT)return $._currentNode=Z,Z;if(K=Z[fY[J]],Y===I0.FILTER_REJECT||K===null)K=Z[mY[J]]}if(Z=Z.parentNode,Z===null||Z===$.root)return null;if($._internalFilter(Z)===I0.FILTER_ACCEPT)return null}}function w5($,J,Z){if(!$||!$.nodeType)S5.NotSupportedError();this._root=$,this._whatToShow=Number(J)||0,this._filter=Z||null,this._active=!1,this._currentNode=$}Object.defineProperties(w5.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(J){if(!(J instanceof lD))throw TypeError("Not a Node");this._currentNode=J}},_internalFilter:{value:function(J){var Z,Y;if(this._active)S5.InvalidStateError();if(!(1<<J.nodeType-1&this._whatToShow))return I0.FILTER_SKIP;if(Y=this._filter,Y===null)Z=I0.FILTER_ACCEPT;else{this._active=!0;try{if(typeof Y==="function")Z=Y(J);else Z=Y.acceptNode(J)}finally{this._active=!1}}return+Z}},parentNode:{value:function(){var J=this._currentNode;while(J!==this.root){if(J=J.parentNode,J===null)return null;if(this._internalFilter(J)===I0.FILTER_ACCEPT)return this._currentNode=J,J}return null}},firstChild:{value:function(){return I5(this,"first")}},lastChild:{value:function(){return I5(this,"last")}},previousSibling:{value:function(){return A5(this,"previous")}},nextSibling:{value:function(){return A5(this,"next")}},previousNode:{value:function(){var J,Z,Y,K;J=this._currentNode;while(J!==this._root){for(Y=J.previousSibling;Y;Y=J.previousSibling){if(J=Y,Z=this._internalFilter(J),Z===I0.FILTER_REJECT)continue;for(K=J.lastChild;K;K=J.lastChild)if(J=K,Z=this._internalFilter(J),Z===I0.FILTER_REJECT)break;if(Z===I0.FILTER_ACCEPT)return this._currentNode=J,J}if(J===this.root||J.parentNode===null)return null;if(J=J.parentNode,this._internalFilter(J)===I0.FILTER_ACCEPT)return this._currentNode=J,J}return null}},nextNode:{value:function(){var J,Z,Y,K;J=this._currentNode,Z=I0.FILTER_ACCEPT;$:while(!0){for(Y=J.firstChild;Y;Y=J.firstChild)if(J=Y,Z=this._internalFilter(J),Z===I0.FILTER_ACCEPT)return this._currentNode=J,J;else if(Z===I0.FILTER_REJECT)break;for(K=P5.nextSkippingChildren(J,this.root);K;K=P5.nextSkippingChildren(J,this.root))if(J=K,Z=this._internalFilter(J),Z===I0.FILTER_ACCEPT)return this._currentNode=J,J;else if(Z===I0.FILTER_SKIP)continue $;return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var x5=p((fb,E5)=>{E5.exports=k5;var uY=b8(),dY=gY(),T5=X0();function oD($,J,Z){if(Z)return dY.next($,J);else{if($===J)return null;return dY.previous($,null)}}function N5($,J){for(;J;J=J.parentNode)if($===J)return!0;return!1}function y5($,J){var Z,Y;Z=$._referenceNode,Y=$._pointerBeforeReferenceNode;while(!0){if(Y===J)Y=!Y;else if(Z=oD(Z,$._root,J),Z===null)return null;var K=$._internalFilter(Z);if(K===uY.FILTER_ACCEPT)break}return $._referenceNode=Z,$._pointerBeforeReferenceNode=Y,Z}function k5($,J,Z){if(!$||!$.nodeType)T5.NotSupportedError();this._root=$,this._referenceNode=$,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(J)||0,this._filter=Z||null,this._active=!1,$.doc._attachNodeIterator(this)}Object.defineProperties(k5.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(J){var Z,Y;if(this._active)T5.InvalidStateError();if(!(1<<J.nodeType-1&this._whatToShow))return uY.FILTER_SKIP;if(Y=this._filter,Y===null)Z=uY.FILTER_ACCEPT;else{this._active=!0;try{if(typeof Y==="function")Z=Y(J);else Z=Y.acceptNode(J)}finally{this._active=!1}}return+Z}},_preremove:{value:function(J){if(N5(J,this._root))return;if(!N5(J,this._referenceNode))return;if(this._pointerBeforeReferenceNode){var Z=J;while(Z.lastChild)Z=Z.lastChild;if(Z=dY.next(Z,this.root),Z){this._referenceNode=Z;return}this._pointerBeforeReferenceNode=!1}if(J.previousSibling===null)this._referenceNode=J.parentNode;else{this._referenceNode=J.previousSibling;var Y;for(Y=this._referenceNode.lastChild;Y;Y=this._referenceNode.lastChild)this._referenceNode=Y}}},nextNode:{value:function(){return y5(this,!0)}},previousNode:{value:function(){return y5(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var sZ=p((mb,b5)=>{b5.exports=A0;function A0($){if(!$)return Object.create(A0.prototype);this.url=$.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var J=A0.pattern.exec(this.url);if(J){if(J[2])this.scheme=J[2];if(J[4]){var Z=J[4].match(A0.userinfoPattern);if(Z)this.username=Z[1],this.password=Z[3],J[4]=J[4].substring(Z[0].length);if(J[4].match(A0.portPattern)){var Y=J[4].lastIndexOf(":");this.host=J[4].substring(0,Y),this.port=J[4].substring(Y+1)}else this.host=J[4]}if(J[5])this.path=J[5];if(J[6])this.query=J[7];if(J[8])this.fragment=J[9]}}A0.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;A0.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;A0.portPattern=/:\d+$/;A0.authorityPattern=/^[^:\/?#]+:\/\//;A0.hierarchyPattern=/^[^:\/?#]+:\//;A0.percentEncode=function(J){var Z=J.charCodeAt(0);if(Z<256)return"%"+Z.toString(16);else throw Error("can't percent-encode codepoints > 255 yet")};A0.prototype={constructor:A0,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return A0.authorityPattern.test(this.url)},isHierarchical:function(){return A0.hierarchyPattern.test(this.url)},toString:function(){var $="";if(this.scheme!==void 0)$+=this.scheme+":";if(this.isAbsolute()){if($+="//",this.username||this.password){if($+=this.username||"",this.password)$+=":"+this.password;$+="@"}if(this.host)$+=this.host}if(this.port!==void 0)$+=":"+this.port;if(this.path!==void 0)$+=this.path;if(this.query!==void 0)$+="?"+this.query;if(this.fragment!==void 0)$+="#"+this.fragment;return $},resolve:function($){var J=this,Z=new A0($),Y=new A0;if(Z.scheme!==void 0)Y.scheme=Z.scheme,Y.username=Z.username,Y.password=Z.password,Y.host=Z.host,Y.port=Z.port,Y.path=Q(Z.path),Y.query=Z.query;else if(Y.scheme=J.scheme,Z.host!==void 0)Y.username=Z.username,Y.password=Z.password,Y.host=Z.host,Y.port=Z.port,Y.path=Q(Z.path),Y.query=Z.query;else if(Y.username=J.username,Y.password=J.password,Y.host=J.host,Y.port=J.port,!Z.path)if(Y.path=J.path,Z.query!==void 0)Y.query=Z.query;else Y.query=J.query;else{if(Z.path.charAt(0)==="/")Y.path=Q(Z.path);else Y.path=K(J.path,Z.path),Y.path=Q(Y.path);Y.query=Z.query}return Y.fragment=Z.fragment,Y.toString();function K(V,X){if(J.host!==void 0&&!J.path)return"/"+X;var W=V.lastIndexOf("/");if(W===-1)return X;else return V.substring(0,W+1)+X}function Q(V){if(!V)return V;var X="";while(V.length>0){if(V==="."||V===".."){V="";break}var W=V.substring(0,2),B=V.substring(0,3),j=V.substring(0,4);if(B==="../")V=V.substring(3);else if(W==="./")V=V.substring(2);else if(B==="/./")V="/"+V.substring(3);else if(W==="/."&&V.length===2)V="/";else if(j==="/../"||B==="/.."&&V.length===3)V="/"+V.substring(4),X=X.replace(/\/?[^\/]*$/,"");else{var _=V.match(/(\/?([^\/]*))/)[0];X+=_,V=V.substring(_.length)}}return X}}}});var g5=p((ub,h5)=>{h5.exports=pY;var v5=TJ();function pY($,J){v5.call(this,$,J)}pY.prototype=Object.create(v5.prototype,{constructor:{value:pY}})});var cY=p((db,f5)=>{f5.exports={Event:TJ(),UIEvent:s7(),MouseEvent:a7(),CustomEvent:g5()}});var p5=p((u5)=>{Object.defineProperty(u5,"__esModule",{value:!0});u5.hyphenate=u5.parse=void 0;function rD($){let J=[],Z=0,Y=0,K=0,Q=0,V=0,X=null;while(Z<$.length)switch($.charCodeAt(Z++)){case 40:Y++;break;case 41:Y--;break;case 39:if(K===0)K=39;else if(K===39&&$.charCodeAt(Z-1)!==92)K=0;break;case 34:if(K===0)K=34;else if(K===34&&$.charCodeAt(Z-1)!==92)K=0;break;case 58:if(!X&&Y===0&&K===0)X=m5($.substring(V,Z-1).trim()),Q=Z;break;case 59:if(X&&Q>0&&Y===0&&K===0){let B=$.substring(Q,Z-1).trim();J.push(X,B),V=Z,Q=0,X=null}break}if(X&&Q){let W=$.slice(Q).trim();J.push(X,W)}return J}u5.parse=rD;function m5($){return $.replace(/[a-z][A-Z]/g,(J)=>{return J.charAt(0)+"-"+J.charAt(1)}).toLowerCase()}u5.hyphenate=m5});var nZ=p((cb,i5)=>{var{parse:sD}=p5();i5.exports=function($){let J=new r5($);return new Proxy(J,{get:function(Y,K){return K in Y?Y[K]:Y.getPropertyValue(c5(K))},has:function(Y,K){return!0},set:function(Y,K,Q){if(K in Y)Y[K]=Q;else Y.setProperty(c5(K),Q??void 0);return!0}})};function c5($){return $.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function r5($){this._element=$}var l5="!important";function o5($){let J={property:{},priority:{}};if(!$)return J;let Z=sD($);if(Z.length<2)return J;for(let Y=0;Y<Z.length;Y+=2){let K=Z[Y],Q=Z[Y+1];if(Q.endsWith(l5))J.priority[K]="important",Q=Q.slice(0,-l5.length).trim();J.property[K]=Q}return J}var fJ={};r5.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var $=this.cssText;this._parsedStyles=o5($),this._lastParsedText=$,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var $=this._parsed,J="";for(var Z in $.property){if(J)J+=" ";if(J+=Z+": "+$.property[Z],$.priority[Z])J+=" !"+$.priority[Z];J+=";"}this.cssText=J,this._lastParsedText=J,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function($){this._element.setAttribute("style",$)}},length:{get:function(){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names.length}},item:{value:function($){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names[$]}},getPropertyValue:{value:function($){return $=$.toLowerCase(),this._parsed.property[$]||""}},getPropertyPriority:{value:function($){return $=$.toLowerCase(),this._parsed.priority[$]||""}},setProperty:{value:function($,J,Z){if($=$.toLowerCase(),J===null||J===void 0)J="";if(Z===null||Z===void 0)Z="";if(J!==fJ)J=""+J;if(J=J.trim(),J===""){this.removeProperty($);return}if(Z!==""&&Z!==fJ&&!/^important$/i.test(Z))return;var Y=this._parsed;if(J===fJ){if(!Y.property[$])return;if(Z!=="")Y.priority[$]="important";else delete Y.priority[$]}else{if(J.indexOf(";")!==-1)return;var K=o5($+":"+J);if(Object.getOwnPropertyNames(K.property).length===0)return;if(Object.getOwnPropertyNames(K.priority).length!==0)return;for(var Q in K.property)if(Y.property[Q]=K.property[Q],Z===fJ)continue;else if(Z!=="")Y.priority[Q]="important";else if(Y.priority[Q])delete Y.priority[Q]}this._serialize()}},setPropertyValue:{value:function($,J){return this.setProperty($,J,fJ)}},setPropertyPriority:{value:function($,J){return this.setProperty($,fJ,J)}},removeProperty:{value:function($){$=$.toLowerCase();var J=this._parsed;if($ in J.property)delete J.property[$],delete J.priority[$],this._serialize()}}})});var lY=p((lb,s5)=>{var C0=sZ();s5.exports=v8;function v8(){}v8.prototype=Object.create(Object.prototype,{_url:{get:function(){return new C0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.scheme=$,J=Z.toString()}this.href=J}},host:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host+($.port?":"+$.port:"");else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.host=$,delete Z.port,J=Z.toString()}this.href=J}},hostname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,C0.percentEncode),$.length>0)Z.host=$,J=Z.toString()}this.href=J}},port:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased()&&$.port!==void 0)return $.port;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isAuthorityBased()){if($=""+$,$=$.replace(/[^0-9].*$/,""),$=$.replace(/^0+/,""),$.length===0)$="0";if(parseInt($,10)<=65535)Z.port=$,J=Z.toString()}this.href=J}},pathname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical())return $.path;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,C0.percentEncode),Z.path=$,J=Z.toString()}this.href=J}},search:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical()&&$.query!==void 0)return"?"+$.query;else return""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()&&Z.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,C0.percentEncode),Z.query=$,J=Z.toString()}this.href=J}},hash:{get:function(){var $=this._url;if($==null||$.fragment==null||$.fragment==="")return"";else return"#"+$.fragment},set:function($){var J=this.href,Z=new C0(J);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,C0.percentEncode),Z.fragment=$,J=Z.toString(),this.href=J}},username:{get:function(){var $=this._url;return $.username||""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,C0.percentEncode),Z.username=$,J=Z.toString();this.href=J}},password:{get:function(){var $=this._url;return $.password||""},set:function($){var J=this.href,Z=new C0(J);if(Z.isAbsolute()){if($==="")Z.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,C0.percentEncode),Z.password=$;J=Z.toString()}this.href=J}},origin:{get:function(){var $=this._url;if($==null)return"";var J=function(Z){var Y=[$.scheme,$.host,+$.port||Z];return Y[0]+"://"+Y[1]+(Y[2]===Z?"":":"+Y[2])};switch($.scheme){case"ftp":return J(21);case"gopher":return J(70);case"http":case"ws":return J(80);case"https":case"wss":return J(443);default:return $.scheme+"://"}}}});v8._inherit=function($){Object.getOwnPropertyNames(v8.prototype).forEach(function(J){if(J==="constructor"||J==="href")return;var Z=Object.getOwnPropertyDescriptor(v8.prototype,J);Object.defineProperty($,J,Z)})}});var oY=p((ob,t5)=>{var n5=HY(),nD=bZ().isApiWritable;t5.exports=function($,J,Z,Y){var K=$.ctor;if(K){var Q=$.props||{};if($.attributes)for(var V in $.attributes){var X=$.attributes[V];if(typeof X!=="object"||Array.isArray(X))X={type:X};if(!X.name)X.name=V.toLowerCase();Q[V]=n5.property(X)}if(Q.constructor={value:K,writable:nD},K.prototype=Object.create(($.superclass||J).prototype,Q),$.events)tD(K,$.events);Z[$.name]=K}else K=J;return($.tags||$.tag&&[$.tag]||[]).forEach(function(W){Y[W]=K}),K};function a5($,J,Z,Y){this.body=$,this.document=J,this.form=Z,this.element=Y}a5.prototype.build=function(){return()=>{}};function aD($,J,Z,Y){var K=$.ownerDocument||Object.create(null),Q=$.form||Object.create(null);$[J]=new a5(Y,K,Q,$).build()}function tD($,J){var Z=$.prototype;J.forEach(function(Y){Object.defineProperty(Z,"on"+Y,{get:function(){return this._getEventHandler(Y)},set:function(K){this._setEventHandler(Y,K)}}),n5.registerChangeHandler($,"on"+Y,aD)})}});var tZ=p((YP)=>{var rY=P0(),e5=gJ(),eD=nZ(),c0=X0(),$j=lY(),$P=oY(),i1=YP.elements={},h8=Object.create(null);YP.createElement=function($,J,Z){var Y=h8[J]||ZP;return new Y($,J,Z)};function o($){return $P($,K$,i1,h8)}function W0($){return{get:function(){var J=this._getattr($);if(J===null)return"";var Z=this.doc._resolve(J);return Z===null?J:Z},set:function(J){this._setattr($,J)}}}function aZ($){return{get:function(){var J=this._getattr($);if(J===null)return null;if(J.toLowerCase()==="use-credentials")return"use-credentials";return"anonymous"},set:function(J){if(J===null||J===void 0)this.removeAttribute($);else this._setattr($,J)}}}var mJ={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},JP={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},F1=function($,J,Z){K$.call(this,$,J,Z),this._form=null},K$=YP.HTMLElement=o({superclass:e5,name:"HTMLElement",ctor:function(J,Z,Y){e5.call(this,J,Z,c0.NAMESPACE.HTML,Y)},props:{dangerouslySetInnerHTML:{set:function($){this._innerHTML=$}},innerHTML:{get:function(){return this.serialize()},set:function($){var J=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);J.parse($===null?"":String($),!0);var Z=this instanceof h8.template?this.content:this;while(Z.hasChildNodes())Z.removeChild(Z.firstChild);Z.appendChild(J._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new eD(this);return this._style},set:function($){if($===null||$===void 0)$="";this._setattr("style",String($))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(this._click_in_progress)return;this._click_in_progress=!0;try{if(this._pre_click_activation_steps)this._pre_click_activation_steps();var $=this.ownerDocument.createEvent("MouseEvent");$.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var J=this.dispatchEvent($);if(J){if(this._post_click_activation_steps)this._post_click_activation_steps($)}else if(this._cancelled_activation_steps)this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}},submit:{value:c0.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(){if(this.tagName in JP||this.contentEditable)return 0;else return-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"]}),ZP=o({name:"HTMLUnknownElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}}),z1={form:{get:function(){return this._form}}};o({tag:"a",name:"HTMLAnchorElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_post_click_activation_steps:{value:function($){if(this.href)this.ownerDocument.defaultView.location=this.href}}},attributes:{href:W0,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:mJ,coords:String,charset:String,name:String,rev:String,shape:String}});$j._inherit(h8.a.prototype);o({tag:"area",name:"HTMLAreaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:W0,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:mJ,noHref:Boolean}});$j._inherit(h8.area.prototype);o({tag:"br",name:"HTMLBRElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{clear:String}});o({tag:"base",name:"HTMLBaseElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{target:String}});o({tag:"body",name:"HTMLBodyElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}});o({tag:"button",name:"HTMLButtonElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:W0,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:""}}});o({tag:"dl",name:"HTMLDListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{compact:Boolean}});o({tag:"data",name:"HTMLDataElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{value:String}});o({tag:"datalist",name:"HTMLDataListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"details",name:"HTMLDetailsElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{open:Boolean}});o({tag:"div",name:"HTMLDivElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"embed",name:"HTMLEmbedElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,type:String,width:String,height:String,align:String,name:String}});o({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{disabled:Boolean,name:String}});o({tag:"form",name:"HTMLFormElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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"}}});o({tag:"hr",name:"HTMLHRElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});o({tag:"head",name:"HTMLHeadElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"html",name:"HTMLHtmlElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{xmlns:W0,version:String}});o({tag:"iframe",name:"HTMLIFrameElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:mJ,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:W0,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});o({tag:"img",name:"HTMLImageElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{alt:String,src:W0,srcset:String,crossOrigin:aZ,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:mJ,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:W0,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:W0,border:{type:String,treatNullAsEmptyString:!0}}});o({tag:"input",name:"HTMLInputElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.form,_post_click_activation_steps:{value:function($){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio"){var J=this.form.getElementsByName(this.name);for(var Z=J.length-1;Z>=0;Z--){var Y=J[Z];Y.checked=Y===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:W0,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}});o({tag:"keygen",name:"HTMLKeygenElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});o({tag:"li",name:"HTMLLIElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{value:{type:"long",default:0},type:String}});o({tag:"label",name:"HTMLLabelElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{htmlFor:{name:"for",type:String}}});o({tag:"legend",name:"HTMLLegendElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"link",name:"HTMLLinkElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{href:W0,rel:String,media:String,hreflang:String,type:String,crossOrigin:aZ,nonce:String,integrity:String,referrerPolicy:mJ,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});o({tag:"map",name:"HTMLMapElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String}});o({tag:"menu",name:"HTMLMenuElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});o({tag:"meta",name:"HTMLMetaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});o({tag:"meter",name:"HTMLMeterElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1});o({tags:["ins","del"],name:"HTMLModElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{cite:W0,dateTime:String}});o({tag:"ol",name:"HTMLOListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_numitems:{get:function(){var $=0;return this.childNodes.forEach(function(J){if(J.nodeType===rY.ELEMENT_NODE&&J.tagName==="LI")$++}),$}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){if(this.reversed)return this._numitems;else return 1}},compact:Boolean}});o({tag:"object",name:"HTMLObjectElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{data:W0,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:W0,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});o({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{disabled:Boolean,label:String}});o({tag:"option",name:"HTMLOptionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{form:{get:function(){var $=this.parentNode;while($&&$.nodeType===rY.ELEMENT_NODE){if($.localName==="select")return $.form;$=$.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function($){this._setattr("value",$)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){this.textContent=$}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});o({tag:"output",name:"HTMLOutputElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{name:String}});o({tag:"p",name:"HTMLParagraphElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({tag:"param",name:"HTMLParamElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{name:String,value:String,type:String,valueType:String}});o({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{width:{type:"long",default:0}}});o({tag:"progress",name:"HTMLProgressElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:z1,attributes:{max:{type:Number,float:!0,default:1,min:0}}});o({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{cite:W0}});o({tag:"script",name:"HTMLScriptElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{text:{get:function(){var $="";for(var J=0,Z=this.childNodes.length;J<Z;J++){var Y=this.childNodes[J];if(Y.nodeType===rY.TEXT_NODE)$+=Y._data}return $},set:function($){if(this.removeChildren(),$!==null&&$!=="")this.appendChild(this.ownerDocument.createTextNode($))}}},attributes:{src:W0,type:String,charset:String,referrerPolicy:mJ,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:aZ,nonce:String,integrity:String}});o({tag:"select",name:"HTMLSelectElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.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}}});o({tag:"span",name:"HTMLSpanElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"style",name:"HTMLStyleElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{media:String,type:String,scoped:Boolean}});o({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{align:String}});o({name:"HTMLTableCellElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}});o({tag:"table",name:"HTMLTableElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tag:"template",name:"HTMLTemplateElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y),this._contentFragment=J._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});o({tag:"tr",name:"HTMLTableRowElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},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}}});o({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});o({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(J,Z,Y){F1.call(this,J,Z,Y)},props:{form:z1.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function($){this.textContent=$}},value:{get:function(){return this.defaultValue},set:function($){this.defaultValue=$}},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:""}}});o({tag:"time",name:"HTMLTimeElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{dateTime:String,pubDate:Boolean}});o({tag:"title",name:"HTMLTitleElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{text:{get:function(){return this.textContent}}}});o({tag:"ul",name:"HTMLUListElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{type:String,compact:Boolean}});o({name:"HTMLMediaElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,crossOrigin:aZ,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});o({name:"HTMLAudioElement",tag:"audio",superclass:i1.HTMLMediaElement,ctor:function(J,Z,Y){i1.HTMLMediaElement.call(this,J,Z,Y)}});o({name:"HTMLVideoElement",tag:"video",superclass:i1.HTMLMediaElement,ctor:function(J,Z,Y){i1.HTMLMediaElement.call(this,J,Z,Y)},attributes:{poster:W0,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});o({tag:"td",name:"HTMLTableDataCellElement",superclass:i1.HTMLTableCellElement,ctor:function(J,Z,Y){i1.HTMLTableCellElement.call(this,J,Z,Y)}});o({tag:"th",name:"HTMLTableHeaderCellElement",superclass:i1.HTMLTableCellElement,ctor:function(J,Z,Y){i1.HTMLTableCellElement.call(this,J,Z,Y)}});o({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"frame",name:"HTMLFrameElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)}});o({tag:"canvas",name:"HTMLCanvasElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{getContext:{value:c0.nyi},probablySupportsContext:{value:c0.nyi},setContext:{value:c0.nyi},transferControlToProxy:{value:c0.nyi},toDataURL:{value:c0.nyi},toBlob:{value:c0.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});o({tag:"dialog",name:"HTMLDialogElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{show:{value:c0.nyi},showModal:{value:c0.nyi},close:{value:c0.nyi}},attributes:{open:Boolean,returnValue:String}});o({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},props:{_label:{get:function(){var $=this._getattr("label");if($!==null&&$!=="")return $;return $=this.textContent,$.replace(/[ \t\n\f\r]+/g," ").trim()}},label:{get:function(){var $=this._getattr("label");if($!==null)return $;return this._label},set:function($){this._setattr("label",$)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:W0,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});o({tag:"source",name:"HTMLSourceElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{srcset:String,sizes:String,media:String,src:W0,type:String,width:String,height:String}});o({tag:"track",name:"HTMLTrackElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{src:W0,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:c0.nyi},track:{get:c0.nyi}}});o({tag:"font",name:"HTMLFontElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});o({tag:"dir",name:"HTMLDirectoryElement",ctor:function(J,Z,Y){K$.call(this,J,Z,Y)},attributes:{compact:Boolean}});o({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"]})});var nY=p((WP)=>{var Jj=gJ(),QP=oY(),VP=X0(),GP=nZ(),XP=WP.elements={},Zj=Object.create(null);WP.createElement=function($,J,Z){var Y=Zj[J]||sY;return new Y($,J,Z)};function iY($){return QP($,sY,XP,Zj)}var sY=iY({superclass:Jj,name:"SVGElement",ctor:function(J,Z,Y){Jj.call(this,J,Z,VP.NAMESPACE.SVG,Y)},props:{style:{get:function(){if(!this._style)this._style=new GP(this);return this._style}}}});iY({name:"SVGSVGElement",ctor:function(J,Z,Y){sY.call(this,J,Z,Y)},tag:"svg",props:{createSVGRect:{value:function(){return WP.createElement(this.ownerDocument,"rect",null)}}}});iY({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"]})});var Qj=p((tb,Kj)=>{Kj.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var $6=p((eb,Oj)=>{Oj.exports=f8;var w0=P0(),jP=n2(),Uj=gZ(),q2=gJ(),UP=NY(),HP=TY(),g8=TJ(),BP=EY(),_P=bY(),OP=m8(),qP=L5(),FP=x5(),Vj=b8(),Gj=sZ(),Xj=pZ(),zP=cY(),eZ=fZ(),aY=tZ(),CP=nY(),v$=X0(),uJ=Qj(),pJ=v$.NAMESPACE,tY=bZ().isApiWritable;function f8($,J){Uj.call(this),this.nodeType=w0.DOCUMENT_NODE,this.isHTML=$,this._address=J||"about:blank",this.readyState="loading",this.implementation=new OP(this),this.ownerDocument=null,this._contentType=$?"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 MP={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},DP={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},dJ=function($,J,Z){return{get:function(){var Y=$.call(this);if(Y)return Y[J];return Z},set:function(Y){var K=$.call(this);if(K)K[J]=Y}}};function Wj($,J){var Z,Y,K;if($==="")$=null;if(!eZ.isValidQName(J))v$.InvalidCharacterError();if(Z=null,Y=J,K=J.indexOf(":"),K>=0)Z=J.substring(0,K),Y=J.substring(K+1);if(Z!==null&&$===null)v$.NamespaceError();if(Z==="xml"&&$!==pJ.XML)v$.NamespaceError();if((Z==="xmlns"||J==="xmlns")&&$!==pJ.XMLNS)v$.NamespaceError();if($===pJ.XMLNS&&!(Z==="xmlns"||J==="xmlns"))v$.NamespaceError();return{namespace:$,prefix:Z,localName:Y}}f8.prototype=Object.create(Uj.prototype,{_setMutationHandler:{value:function($){this.mutationHandler=$}},_dispatchRendererEvent:{value:function($,J,Z){var Y=this._nodes[$];if(!Y)return;Y._dispatchEvent(new g8(J,Z),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:v$.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function($){return new UP(this,String($))}},createComment:{value:function($){return new HP(this,$)}},createDocumentFragment:{value:function(){return new BP(this)}},createProcessingInstruction:{value:function($,J){if(!eZ.isValidName($)||J.indexOf("?>")!==-1)v$.InvalidCharacterError();return new _P(this,$,J)}},createAttribute:{value:function($){if($=String($),!eZ.isValidName($))v$.InvalidCharacterError();if(this.isHTML)$=v$.toASCIILowerCase($);return new q2._Attr(null,$,null,null,"")}},createAttributeNS:{value:function($,J){$=$===null||$===void 0||$===""?null:String($),J=String(J);var Z=Wj($,J);return new q2._Attr(null,Z.localName,Z.prefix,Z.namespace,"")}},createElement:{value:function($){if($=String($),!eZ.isValidName($))v$.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test($))$=v$.toASCIILowerCase($);return aY.createElement(this,$,null)}else if(this.contentType==="application/xhtml+xml")return aY.createElement(this,$,null);else return new q2(this,$,null,null)},writable:tY},createElementNS:{value:function($,J){$=$===null||$===void 0||$===""?null:String($),J=String(J);var Z=Wj($,J);return this._createElementNS(Z.localName,Z.namespace,Z.prefix)},writable:tY},_createElementNS:{value:function($,J,Z){if(J===pJ.HTML)return aY.createElement(this,$,Z);else if(J===pJ.SVG)return CP.createElement(this,$,Z);return new q2(this,$,J,Z)}},createEvent:{value:function(J){J=J.toLowerCase();var Z=DP[J]||J,Y=zP[MP[Z]];if(Y){var K=new Y;return K._initialized=!1,K}else v$.NotSupportedError()}},createTreeWalker:{value:function($,J,Z){if(!$)throw TypeError("root argument is required");if(!($ instanceof w0))throw TypeError("root not a node");return J=J===void 0?Vj.SHOW_ALL:+J,Z=Z===void 0?null:Z,new qP($,J,Z)}},createNodeIterator:{value:function($,J,Z){if(!$)throw TypeError("root argument is required");if(!($ instanceof w0))throw TypeError("root not a node");return J=J===void 0?Vj.SHOW_ALL:+J,Z=Z===void 0?null:Z,new FP($,J,Z)}},_attachNodeIterator:{value:function($){if(!this._nodeIterators)this._nodeIterators=[];this._nodeIterators.push($)}},_detachNodeIterator:{value:function($){var J=this._nodeIterators.indexOf($);this._nodeIterators.splice(J,1)}},_preremoveNodeIterators:{value:function($){if(this._nodeIterators)this._nodeIterators.forEach(function(J){J._preremove($)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var J=this.firstChild;J!==null;J=J.nextSibling)if(J.nodeType===w0.DOCUMENT_TYPE_NODE)this.doctype=J;else if(J.nodeType===w0.ELEMENT_NODE)this.documentElement=J}},insertBefore:{value:function(J,Z){return w0.prototype.insertBefore.call(this,J,Z),this._updateDocTypeElement(),J}},replaceChild:{value:function(J,Z){return w0.prototype.replaceChild.call(this,J,Z),this._updateDocTypeElement(),Z}},removeChild:{value:function(J){return w0.prototype.removeChild.call(this,J),this._updateDocTypeElement(),J}},getElementById:{value:function($){var J=this.byId[$];if(!J)return null;if(J instanceof s1)return J.getFirst();return J}},_hasMultipleElementsWithId:{value:function($){return this.byId[$]instanceof s1}},getElementsByName:{value:q2.prototype.getElementsByName},getElementsByTagName:{value:q2.prototype.getElementsByTagName},getElementsByTagNameNS:{value:q2.prototype.getElementsByTagNameNS},getElementsByClassName:{value:q2.prototype.getElementsByClassName},adoptNode:{value:function(J){if(J.nodeType===w0.DOCUMENT_NODE)v$.NotSupportedError();if(J.nodeType===w0.ATTRIBUTE_NODE)return J;if(J.parentNode)J.parentNode.removeChild(J);if(J.ownerDocument!==this)_j(J,this);return J}},importNode:{value:function(J,Z){return this.adoptNode(J.cloneNode(Z))},writable:tY},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:v$.nyi,set:v$.nyi},referrer:{get:v$.nyi},cookie:{get:v$.nyi,set:v$.nyi},lastModified:{get:v$.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:v$.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var $=this._titleElement,J=$?$.textContent:"";return J.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function($){var J=this._titleElement,Z=this.head;if(!J&&!Z)return;if(!J)J=this.createElement("title"),Z.appendChild(J);J.textContent=$}},dir:dJ(function(){var $=this.documentElement;if($&&$.tagName==="HTML")return $},"dir",""),fgColor:dJ(function(){return this.body},"text",""),linkColor:dJ(function(){return this.body},"link",""),vlinkColor:dJ(function(){return this.body},"vLink",""),alinkColor:dJ(function(){return this.body},"aLink",""),bgColor:dJ(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 jj(this.documentElement,"body")},set:v$.nyi},head:{get:function(){return jj(this.documentElement,"head")}},images:{get:v$.nyi},embeds:{get:v$.nyi},plugins:{get:v$.nyi},links:{get:v$.nyi},forms:{get:v$.nyi},scripts:{get:v$.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:v$.nyi},outerHTML:{get:function(){return this.serialize()},set:v$.nyi},write:{value:function($){if(!this.isHTML)v$.InvalidStateError();if(!this._parser)return;if(!this._parser);var J=arguments.join("");this._parser.parse(J)}},writeln:{value:function(J){this.write(Array.prototype.join.call(arguments,"")+`
|
|
32
|
+
`)}},open:{value:function(){this.documentElement=null}},close:{value:function(){if(this.readyState="interactive",this._dispatchEvent(new g8("readystatechange"),!0),this._dispatchEvent(new g8("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new g8("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new g8("load"),!0)}},clone:{value:function(){var J=new f8(this.isHTML,this._address);return J._quirks=this._quirks,J._contentType=this._contentType,J}},cloneNode:{value:function(J){var Z=w0.prototype.cloneNode.call(this,!1);if(J)for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)Z._appendChild(Z.importNode(Y,!0));return Z._updateDocTypeElement(),Z}},isEqual:{value:function(J){return!0}},mutateValue:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.VALUE,target:$,data:$.data})}},mutateAttr:{value:function($,J){if(this.mutationHandler)this.mutationHandler({type:uJ.ATTR,target:$.ownerElement,attr:$})}},mutateRemoveAttr:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.REMOVE_ATTR,target:$.ownerElement,attr:$})}},mutateRemove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.REMOVE,target:$.parentNode,node:$});Bj($)}},mutateInsert:{value:function($){if(Hj($),this.mutationHandler)this.mutationHandler({type:uJ.INSERT,target:$.parentNode,node:$})}},mutateMove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:uJ.MOVE,target:$})}},addId:{value:function(J,Z){var Y=this.byId[J];if(!Y)this.byId[J]=Z;else{if(!(Y instanceof s1))Y=new s1(Y),this.byId[J]=Y;Y.add(Z)}}},delId:{value:function(J,Z){var Y=this.byId[J];if(v$.assert(Y),Y instanceof s1){if(Y.del(Z),Y.length===1)this.byId[J]=Y.downgrade()}else this.byId[J]=void 0}},_resolve:{value:function($){return new Gj(this._documentBaseURL).resolve($)}},_documentBaseURL:{get:function(){var $=this._address;if($==="about:blank")$="/";var J=this.querySelector("base[href]");if(J)return new Gj($).resolve(J.getAttribute("href"));return $}},_templateDoc:{get:function(){if(!this._templateDocCache){var $=new f8(this.isHTML,this._address);this._templateDocCache=$._templateDocCache=$}return this._templateDocCache}},querySelector:{value:function($){return Xj($,this)[0]}},querySelectorAll:{value:function($){var J=Xj($,this);return J.item?J:new jP(J)}}});var PP=["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"];PP.forEach(function($){Object.defineProperty(f8.prototype,"on"+$,{get:function(){return this._getEventHandler($)},set:function(J){this._setEventHandler($,J)}})});function jj($,J){if($&&$.isHTML){for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===w0.ELEMENT_NODE&&Z.localName===J&&Z.namespaceURI===pJ.HTML)return Z}return null}function IP($){if($._nid=$.ownerDocument._nextnid++,$.ownerDocument._nodes[$._nid]=$,$.nodeType===w0.ELEMENT_NODE){var J=$.getAttribute("id");if(J)$.ownerDocument.addId(J,$);if($._roothook)$._roothook()}}function AP($){if($.nodeType===w0.ELEMENT_NODE){var J=$.getAttribute("id");if(J)$.ownerDocument.delId(J,$)}$.ownerDocument._nodes[$._nid]=void 0,$._nid=void 0}function Hj($){if(IP($),$.nodeType===w0.ELEMENT_NODE)for(var J=$.firstChild;J!==null;J=J.nextSibling)Hj(J)}function Bj($){AP($);for(var J=$.firstChild;J!==null;J=J.nextSibling)Bj(J)}function _j($,J){if($.ownerDocument=J,$._lastModTime=void 0,Object.prototype.hasOwnProperty.call($,"_tagName"))$._tagName=void 0;for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)_j(Z,J)}function s1($){this.nodes=Object.create(null),this.nodes[$._nid]=$,this.length=1,this.firstNode=void 0}s1.prototype.add=function($){if(!this.nodes[$._nid])this.nodes[$._nid]=$,this.length++,this.firstNode=void 0};s1.prototype.del=function($){if(this.nodes[$._nid])delete this.nodes[$._nid],this.length--,this.firstNode=void 0};s1.prototype.getFirst=function(){if(!this.firstNode){var $;for($ in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[$])&w0.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[$]}return this.firstNode};s1.prototype.downgrade=function(){if(this.length===1){var $;for($ in this.nodes)return this.nodes[$]}return this}});var Z6=p(($v,Fj)=>{Fj.exports=J6;var SP=P0(),qj=RY(),wP=cZ();function J6($,J,Z,Y){qj.call(this),this.nodeType=SP.DOCUMENT_TYPE_NODE,this.ownerDocument=$||null,this.name=J,this.publicId=Z||"",this.systemId=Y||""}J6.prototype=Object.create(qj.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new J6(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(J){return this.name===J.name&&this.publicId===J.publicId&&this.systemId===J.systemId}}});Object.defineProperties(J6.prototype,wP)});var W6=p((Jv,mj)=>{mj.exports=b$;var RP=$6(),LP=Z6(),eY=P0(),X$=X0().NAMESPACE,kj=tZ(),u$=kj.elements,t2=Function.prototype.apply.bind(Array.prototype.push),Y6=-1,cJ=1,R0=2,N$=3,y1=4,NP=5,yP=[],TP=/^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,kP="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",zj=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,EP=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,$J=Object.create(null);$J[X$.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};$J[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};$J[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var Z3=Object.create(null);Z3[X$.HTML]={__proto__:null,address:!0,div:!0,p:!0};var Ej=Object.create(null);Ej[X$.HTML]={__proto__:null,dd:!0,dt:!0};var lJ=Object.create(null);lJ[X$.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var xj=Object.create(null);xj[X$.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 bj=Object.create(null);bj[X$.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 V6=Object.create(null);V6[X$.HTML]={__proto__:null,table:!0,template:!0,html:!0};var G6=Object.create(null);G6[X$.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var Y3=Object.create(null);Y3[X$.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var vj=Object.create(null);vj[X$.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var T1=Object.create(null);T1[X$.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};T1[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};T1[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var X6=Object.create(T1);X6[X$.HTML]=Object.create(T1[X$.HTML]);X6[X$.HTML].ol=!0;X6[X$.HTML].ul=!0;var K3=Object.create(T1);K3[X$.HTML]=Object.create(T1[X$.HTML]);K3[X$.HTML].button=!0;var hj=Object.create(null);hj[X$.HTML]={__proto__:null,html:!0,table:!0,template:!0};var xP=Object.create(null);xP[X$.HTML]={__proto__:null,optgroup:!0,option:!0};var gj=Object.create(null);gj[X$.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var fj=Object.create(null);fj[X$.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var Cj={__proto__:null,"xlink:actuate":X$.XLINK,"xlink:arcrole":X$.XLINK,"xlink:href":X$.XLINK,"xlink:role":X$.XLINK,"xlink:show":X$.XLINK,"xlink:title":X$.XLINK,"xlink:type":X$.XLINK,"xml:base":X$.XML,"xml:lang":X$.XML,"xml:space":X$.XML,xmlns:X$.XMLNS,"xmlns:xlink":X$.XMLNS},Mj={__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"},Dj={__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"},Pj={__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},bP={__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},Ij=/(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,vP=32,hP=/[^\r"&\u0000]+/g,gP=/[^\r'&\u0000]+/g,fP=/[^\r\t\n\f &>\u0000]+/g,mP=/[^\r\t\n\f \/>A-Z\u0000]+/g,uP=/[^\r\t\n\f \/=>A-Z\u0000]+/g,dP=/[^\]\r\u0000\uffff]*/g,pP=/[^&<\r\u0000\uffff]*/g,Aj=/[^<\r\u0000\uffff]*/g,cP=/[^\r\u0000\uffff]*/g,Sj=/(?:(\/)?([a-z]+)>)|[\s\S]/g,wj=/(?:([-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,K6=/[^\x09\x0A\x0C\x0D\x20]/,$3=/[^\x09\x0A\x0C\x0D\x20]/g,lP=/[^\x00\x09\x0A\x0C\x0D\x20]/,e2=/^[\x09\x0A\x0C\x0D\x20]+/,Q6=/\x00/g;function L0($){var J=16384;if($.length<J)return String.fromCharCode.apply(String,$);var Z="";for(var Y=0;Y<$.length;Y+=J)Z+=String.fromCharCode.apply(String,$.slice(Y,Y+J));return Z}function oP($){var J=[];for(var Z=0;Z<$.length;Z++)J[Z]=$.charCodeAt(Z);return J}function d$($,J){if(typeof J==="string")return $.namespaceURI===X$.HTML&&$.localName===J;var Z=J[$.namespaceURI];return Z&&Z[$.localName]}function Rj($){return d$($,gj)}function Lj($){if(d$($,fj))return!0;if($.namespaceURI===X$.MATHML&&$.localName==="annotation-xml"){var J=$.getAttribute("encoding");if(J)J=J.toLowerCase();if(J==="text/html"||J==="application/xhtml+xml")return!0}return!1}function rP($){if($ in Dj)return Dj[$];else return $}function Nj($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]in Mj)$[J][0]=Mj[$[J][0]]}function yj($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]==="definitionurl"){$[J][0]="definitionURL";break}}function J3($){for(var J=0,Z=$.length;J<Z;J++)if($[J][0]in Cj)$[J].push(Cj[$[J][0]])}function Tj($,J){for(var Z=0,Y=$.length;Z<Y;Z++){var K=$[Z][0],Q=$[Z][1];if(J.hasAttribute(K))continue;J._setAttribute(K,Q)}}b$.ElementStack=function(){this.elements=[],this.top=null};b$.ElementStack.prototype.push=function($){this.elements.push($),this.top=$};b$.ElementStack.prototype.pop=function($){this.elements.pop(),this.top=this.elements[this.elements.length-1]};b$.ElementStack.prototype.popTag=function($){for(var J=this.elements.length-1;J>0;J--){var Z=this.elements[J];if(d$(Z,$))break}this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.popElementType=function($){for(var J=this.elements.length-1;J>0;J--)if(this.elements[J]instanceof $)break;this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.popElement=function($){for(var J=this.elements.length-1;J>0;J--)if(this.elements[J]===$)break;this.elements.length=J,this.top=this.elements[J-1]};b$.ElementStack.prototype.removeElement=function($){if(this.top===$)this.pop();else{var J=this.elements.lastIndexOf($);if(J!==-1)this.elements.splice(J,1)}};b$.ElementStack.prototype.clearToContext=function($){for(var J=this.elements.length-1;J>0;J--)if(d$(this.elements[J],$))break;this.elements.length=J+1,this.top=this.elements[J]};b$.ElementStack.prototype.contains=function($){return this.inSpecificScope($,Object.create(null))};b$.ElementStack.prototype.inSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(d$(Y,$))return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.elementInSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y===$)return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.elementTypeInSpecificScope=function($,J){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y instanceof $)return!0;if(d$(Y,J))return!1}return!1};b$.ElementStack.prototype.inScope=function($){return this.inSpecificScope($,T1)};b$.ElementStack.prototype.elementInScope=function($){return this.elementInSpecificScope($,T1)};b$.ElementStack.prototype.elementTypeInScope=function($){return this.elementTypeInSpecificScope($,T1)};b$.ElementStack.prototype.inButtonScope=function($){return this.inSpecificScope($,K3)};b$.ElementStack.prototype.inListItemScope=function($){return this.inSpecificScope($,X6)};b$.ElementStack.prototype.inTableScope=function($){return this.inSpecificScope($,hj)};b$.ElementStack.prototype.inSelectScope=function($){for(var J=this.elements.length-1;J>=0;J--){var Z=this.elements[J];if(Z.namespaceURI!==X$.HTML)return!1;var Y=Z.localName;if(Y===$)return!0;if(Y!=="optgroup"&&Y!=="option")return!1}return!1};b$.ElementStack.prototype.generateImpliedEndTags=function($,J){var Z=J?bj:xj;for(var Y=this.elements.length-1;Y>=0;Y--){var K=this.elements[Y];if($&&d$(K,$))break;if(!d$(this.elements[Y],Z))break}this.elements.length=Y+1,this.top=this.elements[Y]};b$.ActiveFormattingElements=function(){this.list=[],this.attrs=[]};b$.ActiveFormattingElements.prototype.MARKER={localName:"|"};b$.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};b$.ActiveFormattingElements.prototype.push=function($,J){var Z=0;for(var Y=this.list.length-1;Y>=0;Y--){if(this.list[Y]===this.MARKER)break;if(V($,this.list[Y],this.attrs[Y])){if(Z++,Z===3){this.list.splice(Y,1),this.attrs.splice(Y,1);break}}}this.list.push($);var K=[];for(var Q=0;Q<J.length;Q++)K[Q]=J[Q];this.attrs.push(K);function V(X,W,B){if(X.localName!==W.localName)return!1;if(X._numattrs!==B.length)return!1;for(var j=0,_=B.length;j<_;j++){var q=B[j][0],H=B[j][1];if(!X.hasAttribute(q))return!1;if(X.getAttribute(q)!==H)return!1}return!0}};b$.ActiveFormattingElements.prototype.clearToMarker=function(){for(var $=this.list.length-1;$>=0;$--)if(this.list[$]===this.MARKER)break;if($<0)$=0;this.list.length=$,this.attrs.length=$};b$.ActiveFormattingElements.prototype.findElementByTag=function($){for(var J=this.list.length-1;J>=0;J--){var Z=this.list[J];if(Z===this.MARKER)break;if(Z.localName===$)return Z}return null};b$.ActiveFormattingElements.prototype.indexOf=function($){return this.list.lastIndexOf($)};b$.ActiveFormattingElements.prototype.remove=function($){var J=this.list.lastIndexOf($);if(J!==-1)this.list.splice(J,1),this.attrs.splice(J,1)};b$.ActiveFormattingElements.prototype.replace=function($,J,Z){var Y=this.list.lastIndexOf($);if(Y!==-1)this.list[Y]=J,this.attrs[Y]=Z};b$.ActiveFormattingElements.prototype.insertAfter=function($,J){var Z=this.list.lastIndexOf($);if(Z!==-1)this.list.splice(Z,0,J),this.attrs.splice(Z,0,J)};function b$($,J,Z){var Y=null,K=0,Q=0,V=!1,X=!1,W=0,B=[],j="",_=!0,q=0,H=S$,C,M,I="",z="",P=[],D="",L="",R=[],N=[],x=[],b=[],v=[],m=!1,A=xB,u=null,r=[],S=new b$.ElementStack,T=new b$.ActiveFormattingElements,k=J!==void 0,A$=null,s=null,J$=!0;if(J)J$=J.ownerDocument._scripting_enabled;if(Z&&Z.scripting_enabled===!1)J$=!1;var Z$=!0,W$=!1,y$,Q$,y=[],n=!1,a=!1,c$={document:function(){return l},_asDocumentFragment:function(){var U=l.createDocumentFragment(),O=l.firstChild;while(O.hasChildNodes())U.appendChild(O.firstChild);return U},pause:function(){q++},resume:function(){q--,this.parse("")},parse:function(U,O,w){var E;if(q>0)return j+=U,!0;if(W===0){if(j)U=j+U,j="";if(O)U+="\uFFFF",V=!0;if(Y=U,K=U.length,Q=0,_){if(_=!1,Y.charCodeAt(0)===65279)Q=1}W++,E=g(w),j=Y.substring(Q,K),W--}else{if(W++,B.push(Y,K,Q),Y=U,K=U.length,Q=0,g(),E=!1,j=Y.substring(Q,K),Q=B.pop(),K=B.pop(),Y=B.pop(),j)Y=j+Y.substring(Q),K=Y.length,Q=0,j="";W--}return E}},l=new RP(!0,$);if(l._parser=c$,l._scripting_enabled=J$,J){if(J.ownerDocument._quirks)l._quirks=!0;if(J.ownerDocument._limitedQuirks)l._limitedQuirks=!0;if(J.namespaceURI===X$.HTML)switch(J.localName){case"title":case"textarea":H=J2;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":H=w6;break}var d=l.createElement("html");if(l._appendChild(d),S.push(d),J instanceof u$.HTMLTemplateElement)r.push(v6);nJ();for(var Y$=J;Y$!==null;Y$=Y$.parentElement)if(Y$ instanceof u$.HTMLFormElement){s=Y$;break}}function g(U){var O,w,E,h;while(Q<K){if(q>0||U&&U())return!0;switch(typeof H.lookahead){case"undefined":if(O=Y.charCodeAt(Q++),X){if(X=!1,O===10){Q++;continue}}switch(O){case 13:if(Q<K){if(Y.charCodeAt(Q)===10)Q++}else X=!0;H(10);break;case 65535:if(V&&Q===K){H(Y6);break}default:H(O);break}break;case"number":O=Y.charCodeAt(Q);var c=H.lookahead,U$=!0;if(c<0)U$=!1,c=-c;if(c<K-Q)w=U$?Y.substring(Q,Q+c):null,h=!1;else if(V){if(w=U$?Y.substring(Q,K):null,h=!0,O===65535&&Q===K-1)O=Y6}else return!0;H(O,w,h);break;case"string":O=Y.charCodeAt(Q),E=H.lookahead;var w$=Y.indexOf(E,Q);if(w$!==-1)w=Y.substring(Q,w$+E.length),h=!1;else{if(!V)return!0;if(w=Y.substring(Q,K),O===65535&&Q===K-1)O=Y6;h=!0}H(O,w,h);break}}return!1}function t(U,O){for(var w=0;w<v.length;w++)if(v[w][0]===U)return;if(O!==void 0)v.push([U,O]);else v.push([U])}function C$(){wj.lastIndex=Q-1;var U=wj.exec(Y);if(!U)throw Error("should never happen");var O=U[1];if(!O)return!1;var w=U[2],E=w.length;switch(w[0]){case'"':case"'":w=w.substring(1,E-1),Q+=U[0].length-1,H=y6;break;default:H=A1,Q+=U[0].length-1,w=w.substring(0,E-1);break}for(var h=0;h<v.length;h++)if(v[h][0]===O)return!0;return v.push([O,w]),!0}function T$(){m=!1,I="",v.length=0}function M$(){m=!0,I="",v.length=0}function r$(){P.length=0}function K0(){D=""}function t1(){L=""}function n8(){R.length=0}function e1(){N.length=0,x=null,b=null}function C1(){x=[]}function M1(){b=[]}function h$(){W$=!0}function mH(){return S.top&&S.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function r0(U){return z===U}function VJ(){if(y.length>0){var U=L0(y);if(y.length=0,a){if(a=!1,U[0]===`
|
|
33
33
|
`)U=U.substring(1);if(U.length===0)return}j0(cJ,U),n=!1}a=!1}function rJ(U){U.lastIndex=Q-1;var O=U.exec(Y);if(O&&O.index===Q-1){if(O=O[0],Q+=O.length-1,V&&Q===K)O=O.slice(0,-1),Q--;return O}else throw Error("should never happen")}function iJ(U){U.lastIndex=Q-1;var O=U.exec(Y)[0];if(!O)return!1;return uH(O),Q+=O.length-1,!0}function uH(U){if(y.length>0)VJ();if(a){if(a=!1,U[0]===`
|
|
34
34
|
`)U=U.substring(1);if(U.length===0)return}j0(cJ,U)}function k1(){if(m)j0(N$,I);else{var U=I;I="",z=U,j0(R0,U,v)}}function dH(){if(Q===K)return!1;Sj.lastIndex=Q;var U=Sj.exec(Y);if(!U)throw Error("should never happen");var O=U[2];if(!O)return!1;var w=U[1];if(w)Q+=O.length+2,j0(N$,O);else Q+=O.length+1,z=O,j0(R0,O,yP);return!0}function pH(){if(m)j0(N$,I,null,!0);else j0(R0,I,v,!0)}function g$(){j0(NP,L0(N),x?L0(x):void 0,b?L0(b):void 0)}function I$(){VJ(),A(Y6),l.modclock=1}var j0=c$.insertToken=function(O,w,E,h){VJ();var c=S.top;if(!c||c.namespaceURI===X$.HTML)A(O,w,E,h);else if(O!==R0&&O!==cJ)$K(O,w,E,h);else if(Rj(c)&&(O===cJ||O===R0&&w!=="mglyph"&&w!=="malignmark")||O===R0&&w==="svg"&&c.namespaceURI===X$.MATHML&&c.localName==="annotation-xml"||Lj(c))Q$=!0,A(O,w,E,h),Q$=!1;else $K(O,w,E,h)};function D1(U){var O=S.top;if($2&&d$(O,lJ))t8(function(w){return w.createComment(U)});else{if(O instanceof u$.HTMLTemplateElement)O=O.content;O._appendChild(O.ownerDocument.createComment(U))}}function P1(U){var O=S.top;if($2&&d$(O,lJ))t8(function(E){return E.createTextNode(U)});else{if(O instanceof u$.HTMLTemplateElement)O=O.content;var w=O.lastChild;if(w&&w.nodeType===eY.TEXT_NODE)w.appendData(U);else O._appendChild(O.ownerDocument.createTextNode(U))}}function sJ(U,O,w){var E=kj.createElement(U,O,null);if(w)for(var h=0,c=w.length;h<c;h++)E._setAttribute(w[h][0],w[h][1]);return E}var $2=!1;function q$(U,O){var w=a8(function(E){return sJ(E,U,O)});if(d$(w,vj))w._form=s;return w}function a8(U){var O;if($2&&d$(S.top,lJ))O=t8(U);else if(S.top instanceof u$.HTMLTemplateElement)O=U(S.top.content.ownerDocument),S.top.content._appendChild(O);else O=U(S.top.ownerDocument),S.top._appendChild(O);return S.push(O),O}function A6(U,O,w){return a8(function(E){var h=E._createElementNS(U,w,null);if(O)for(var c=0,U$=O.length;c<U$;c++){var w$=O[c];if(w$.length===2)h._setAttribute(w$[0],w$[1]);else h._setAttributeNS(w$[2],w$[0],w$[1])}return h})}function f3(U){for(var O=S.elements.length-1;O>=0;O--)if(S.elements[O]instanceof U)return O;return-1}function t8(U){var O,w,E=-1,h=-1,c;if(E=f3(u$.HTMLTableElement),h=f3(u$.HTMLTemplateElement),h>=0&&(E<0||h>E))O=S.elements[h];else if(E>=0)if(O=S.elements[E].parentNode,O)w=S.elements[E];else O=S.elements[E-1];if(!O)O=S.elements[0];if(O instanceof u$.HTMLTemplateElement)O=O.content;if(c=U(O.ownerDocument),c.nodeType===eY.TEXT_NODE){var U$;if(w)U$=w.previousSibling;else U$=O.lastChild;if(U$&&U$.nodeType===eY.TEXT_NODE)return U$.appendData(c.data),c}if(w)O.insertBefore(c,w);else O._appendChild(c);return c}function nJ(){var U=!1;for(var O=S.elements.length-1;O>=0;O--){var w=S.elements[O];if(O===0){if(U=!0,k)w=J}if(w.namespaceURI===X$.HTML){var E=w.localName;switch(E){case"select":for(var h=O;h>0;){var c=S.elements[--h];if(c instanceof u$.HTMLTemplateElement)break;else if(c instanceof u$.HTMLTableElement){A=H9;return}}A=E1;return;case"tr":A=eJ;return;case"tbody":case"tfoot":case"thead":A=I2;return;case"caption":A=b6;return;case"colgroup":A=U9;return;case"table":A=i0;return;case"template":A=r[r.length-1];return;case"body":A=j$;return;case"frameset":A=h6;return;case"html":if(A$===null)A=W9;else A=x6;return;default:if(!U){if(E==="head"){A=Q0;return}if(E==="td"||E==="th"){A=GJ;return}}}}if(U){A=j$;return}}}function e8(U,O){q$(U,O),H=aJ,u=A,A=j9}function cH(U,O){q$(U,O),H=J2,u=A,A=j9}function S6(U,O){return{elt:sJ(U,T.list[O].localName,T.attrs[O]),attrs:T.attrs[O]}}function y0(){if(T.list.length===0)return;var U=T.list[T.list.length-1];if(U===T.MARKER)return;if(S.elements.lastIndexOf(U)!==-1)return;for(var O=T.list.length-2;O>=0;O--){if(U=T.list[O],U===T.MARKER)break;if(S.elements.lastIndexOf(U)!==-1)break}for(O=O+1;O<T.list.length;O++){var w=a8(function(E){return S6(E,O).elt});T.list[O]=w}}var $9={localName:"BM"};function lH(U){if(d$(S.top,U)&&T.indexOf(S.top)===-1)return S.pop(),!0;var O=0;while(O<8){O++;var w=T.findElementByTag(U);if(!w)return!1;var E=S.elements.lastIndexOf(w);if(E===-1)return T.remove(w),!0;if(!S.elementInScope(w))return!0;var h=null,c;for(var U$=E+1;U$<S.elements.length;U$++)if(d$(S.elements[U$],$J)){h=S.elements[U$],c=U$;break}if(!h)return S.popElement(w),T.remove(w),!0;else{var w$=S.elements[E-1];T.insertAfter(w,$9);var J0=h,M0=h,s0=c,X1,A2=0;while(!0){if(A2++,J0=S.elements[--s0],J0===w)break;if(X1=T.indexOf(J0),A2>3&&X1!==-1)T.remove(J0),X1=-1;if(X1===-1){S.removeElement(J0);continue}var V2=S6(w$.ownerDocument,X1);if(T.replace(J0,V2.elt,V2.attrs),S.elements[s0]=V2.elt,J0=V2.elt,M0===h)T.remove($9),T.insertAfter(V2.elt,$9);J0._appendChild(M0),M0=J0}if($2&&d$(w$,lJ))t8(function(){return M0});else if(w$ instanceof u$.HTMLTemplateElement)w$.content._appendChild(M0);else w$._appendChild(M0);var $8=S6(h.ownerDocument,T.indexOf(w));while(h.hasChildNodes())$8.elt._appendChild(h.firstChild);h._appendChild($8.elt),T.remove(w),T.replace($9,$8.elt,$8.attrs),S.removeElement(w);var fB=S.elements.lastIndexOf(h);S.elements.splice(fB+1,0,$8.elt)}}return!0}function oH(){S.pop(),A=u;return}function M2(){if(delete l._parser,S.elements.length=0,l.defaultView)l.defaultView.dispatchEvent(new u$.Event("load",{}))}function V$(U,O){H=O,Q--}function S$(U){switch(U){case 38:C=S$,H=tJ;break;case 60:if(dH())break;H=rH;break;case 0:y.push(U),n=!0;break;case-1:I$();break;default:iJ(pP)||y.push(U);break}}function J2(U){switch(U){case 38:C=J2,H=tJ;break;case 60:H=sH;break;case 0:y.push(65533),n=!0;break;case-1:I$();break;default:y.push(U);break}}function aJ(U){switch(U){case 60:H=tH;break;case 0:y.push(65533);break;case-1:I$();break;default:iJ(Aj)||y.push(U);break}}function Z2(U){switch(U){case 60:H=JB;break;case 0:y.push(65533);break;case-1:I$();break;default:iJ(Aj)||y.push(U);break}}function w6(U){switch(U){case 0:y.push(65533);break;case-1:I$();break;default:iJ(cP)||y.push(U);break}}function rH(U){switch(U){case 33:H=p3;break;case 47:H=iH;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:T$(),V$(U,m3);break;case 63:V$(U,K9);break;default:y.push(60),V$(U,S$);break}}function iH(U){switch(U){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:M$(),V$(U,m3);break;case 62:H=S$;break;case-1:y.push(60),y.push(47),I$();break;default:V$(U,K9);break}}function m3(U){switch(U){case 9:case 10:case 12:case 32:H=A1;break;case 47:H=K2;break;case 62:H=S$,k1();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:I+=String.fromCharCode(U+32);break;case 0:I+=String.fromCharCode(65533);break;case-1:I$();break;default:I+=rJ(mP);break}}function sH(U){if(U===47)r$(),H=nH;else y.push(60),V$(U,J2)}function nH(U){switch(U){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:M$(),V$(U,aH);break;default:y.push(60),y.push(47),V$(U,J2);break}}function aH(U){switch(U){case 9:case 10:case 12:case 32:if(r0(I)){H=A1;return}break;case 47:if(r0(I)){H=K2;return}break;case 62:if(r0(I)){H=S$,k1();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:I+=String.fromCharCode(U+32),P.push(U);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:I+=String.fromCharCode(U),P.push(U);return;default:break}y.push(60),y.push(47),t2(y,P),V$(U,J2)}function tH(U){if(U===47)r$(),H=eH;else y.push(60),V$(U,aJ)}function eH(U){switch(U){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:M$(),V$(U,$B);break;default:y.push(60),y.push(47),V$(U,aJ);break}}function $B(U){switch(U){case 9:case 10:case 12:case 32:if(r0(I)){H=A1;return}break;case 47:if(r0(I)){H=K2;return}break;case 62:if(r0(I)){H=S$,k1();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:I+=String.fromCharCode(U+32),P.push(U);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:I+=String.fromCharCode(U),P.push(U);return;default:break}y.push(60),y.push(47),t2(y,P),V$(U,aJ)}function JB(U){switch(U){case 47:r$(),H=ZB;break;case 33:H=KB,y.push(60),y.push(33);break;default:y.push(60),V$(U,Z2);break}}function ZB(U){switch(U){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:M$(),V$(U,YB);break;default:y.push(60),y.push(47),V$(U,Z2);break}}function YB(U){switch(U){case 9:case 10:case 12:case 32:if(r0(I)){H=A1;return}break;case 47:if(r0(I)){H=K2;return}break;case 62:if(r0(I)){H=S$,k1();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:I+=String.fromCharCode(U+32),P.push(U);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:I+=String.fromCharCode(U),P.push(U);return;default:break}y.push(60),y.push(47),t2(y,P),V$(U,Z2)}function KB(U){if(U===45)H=QB,y.push(45);else V$(U,Z2)}function QB(U){if(U===45)H=u3,y.push(45);else V$(U,Z2)}function I1(U){switch(U){case 45:H=VB,y.push(45);break;case 60:H=R6;break;case 0:y.push(65533);break;case-1:I$();break;default:y.push(U);break}}function VB(U){switch(U){case 45:H=u3,y.push(45);break;case 60:H=R6;break;case 0:H=I1,y.push(65533);break;case-1:I$();break;default:H=I1,y.push(U);break}}function u3(U){switch(U){case 45:y.push(45);break;case 60:H=R6;break;case 62:H=Z2,y.push(62);break;case 0:H=I1,y.push(65533);break;case-1:I$();break;default:H=I1,y.push(U);break}}function R6(U){switch(U){case 47:r$(),H=GB;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:r$(),y.push(60),V$(U,WB);break;default:y.push(60),V$(U,I1);break}}function GB(U){switch(U){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:M$(),V$(U,XB);break;default:y.push(60),y.push(47),V$(U,I1);break}}function XB(U){switch(U){case 9:case 10:case 12:case 32:if(r0(I)){H=A1;return}break;case 47:if(r0(I)){H=K2;return}break;case 62:if(r0(I)){H=S$,k1();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:I+=String.fromCharCode(U+32),P.push(U);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:I+=String.fromCharCode(U),P.push(U);return;default:break}y.push(60),y.push(47),t2(y,P),V$(U,I1)}function WB(U){switch(U){case 9:case 10:case 12:case 32:case 47:case 62:if(L0(P)==="script")H=Y2;else H=I1;y.push(U);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:P.push(U+32),y.push(U);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:P.push(U),y.push(U);break;default:V$(U,I1);break}}function Y2(U){switch(U){case 45:H=jB,y.push(45);break;case 60:H=L6,y.push(60);break;case 0:y.push(65533);break;case-1:I$();break;default:y.push(U);break}}function jB(U){switch(U){case 45:H=UB,y.push(45);break;case 60:H=L6,y.push(60);break;case 0:H=Y2,y.push(65533);break;case-1:I$();break;default:H=Y2,y.push(U);break}}function UB(U){switch(U){case 45:y.push(45);break;case 60:H=L6,y.push(60);break;case 62:H=Z2,y.push(62);break;case 0:H=Y2,y.push(65533);break;case-1:I$();break;default:H=Y2,y.push(U);break}}function L6(U){if(U===47)r$(),H=HB,y.push(47);else V$(U,Y2)}function HB(U){switch(U){case 9:case 10:case 12:case 32:case 47:case 62:if(L0(P)==="script")H=I1;else H=Y2;y.push(U);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:P.push(U+32),y.push(U);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:P.push(U),y.push(U);break;default:V$(U,Y2);break}}function A1(U){switch(U){case 9:case 10:case 12:case 32:break;case 47:H=K2;break;case 62:H=S$,k1();break;case-1:I$();break;case 61:K0(),D+=String.fromCharCode(U),H=N6;break;default:if(C$())break;K0(),V$(U,N6);break}}function N6(U){switch(U){case 9:case 10:case 12:case 32:case 47:case 62:case-1:V$(U,BB);break;case 61:H=d3;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:D+=String.fromCharCode(U+32);break;case 0:D+=String.fromCharCode(65533);break;case 34:case 39:case 60:default:D+=rJ(uP);break}}function BB(U){switch(U){case 9:case 10:case 12:case 32:break;case 47:t(D),H=K2;break;case 61:H=d3;break;case 62:H=S$,t(D),k1();break;case-1:t(D),I$();break;default:t(D),K0(),V$(U,N6);break}}function d3(U){switch(U){case 9:case 10:case 12:case 32:break;case 34:t1(),H=J9;break;case 39:t1(),H=Z9;break;case 62:default:t1(),V$(U,Y9);break}}function J9(U){switch(U){case 34:t(D,L),H=y6;break;case 38:C=J9,H=tJ;break;case 0:L+=String.fromCharCode(65533);break;case-1:I$();break;case 10:L+=String.fromCharCode(U);break;default:L+=rJ(hP);break}}function Z9(U){switch(U){case 39:t(D,L),H=y6;break;case 38:C=Z9,H=tJ;break;case 0:L+=String.fromCharCode(65533);break;case-1:I$();break;case 10:L+=String.fromCharCode(U);break;default:L+=rJ(gP);break}}function Y9(U){switch(U){case 9:case 10:case 12:case 32:t(D,L),H=A1;break;case 38:C=Y9,H=tJ;break;case 62:t(D,L),H=S$,k1();break;case 0:L+=String.fromCharCode(65533);break;case-1:Q--,H=S$;break;case 34:case 39:case 60:case 61:case 96:default:L+=rJ(fP);break}}function y6(U){switch(U){case 9:case 10:case 12:case 32:H=A1;break;case 47:H=K2;break;case 62:H=S$,k1();break;case-1:I$();break;default:V$(U,A1);break}}function K2(U){switch(U){case 62:H=S$,pH(!0);break;case-1:I$();break;default:V$(U,A1);break}}function K9(U,O,w){var E=O.length;if(w)Q+=E-1;else Q+=E;var h=O.substring(0,E-1);h=h.replace(/\u0000/g,"\uFFFD"),h=h.replace(/\u000D\u000A/g,`
|
|
35
35
|
`),h=h.replace(/\u000D/g,`
|
|
36
|
-
`),j0(y1,h),H=S$}K9.lookahead=">";function p3(U,O,w){if(O[0]==="-"&&O[1]==="-"){Q+=2,n8(),H=_B;return}if(O.toUpperCase()==="DOCTYPE")Q+=7,H=DB;else if(O==="[CDATA["&&mH())Q+=7,H=E6;else H=K9}p3.lookahead=7;function _B(U){switch(n8(),U){case 45:H=OB;break;case 62:H=S$,j0(y1,L0(R));break;default:V$(U,D2);break}}function OB(U){switch(U){case 45:H=Q9;break;case 62:H=S$,j0(y1,L0(R));break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),V$(U,D2);break}}function D2(U){switch(U){case 60:R.push(U),H=qB;break;case 45:H=T6;break;case 0:R.push(65533);break;case-1:j0(y1,L0(R)),I$();break;default:R.push(U);break}}function qB(U){switch(U){case 33:R.push(U),H=FB;break;case 60:R.push(U);break;default:V$(U,D2);break}}function FB(U){switch(U){case 45:H=zB;break;default:V$(U,D2);break}}function zB(U){switch(U){case 45:H=CB;break;default:V$(U,T6);break}}function CB(U){switch(U){case 62:case-1:V$(U,Q9);break;default:V$(U,Q9);break}}function T6(U){switch(U){case 45:H=Q9;break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),V$(U,D2);break}}function Q9(U){switch(U){case 62:H=S$,j0(y1,L0(R));break;case 33:H=MB;break;case 45:R.push(45);break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),R.push(45),V$(U,D2);break}}function MB(U){switch(U){case 45:R.push(45),R.push(45),R.push(33),H=T6;break;case 62:H=S$,j0(y1,L0(R));break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),R.push(45),R.push(33),V$(U,D2);break}}function DB(U){switch(U){case 9:case 10:case 12:case 32:H=c3;break;case-1:e1(),h$(),g$(),I$();break;default:V$(U,c3);break}}function c3(U){switch(U){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:e1(),N.push(U+32),H=k6;break;case 0:e1(),N.push(65533),H=k6;break;case 62:e1(),h$(),H=S$,g$();break;case-1:e1(),h$(),g$(),I$();break;default:e1(),N.push(U),H=k6;break}}function k6(U){switch(U){case 9:case 10:case 12:case 32:H=l3;break;case 62:H=S$,g$();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:N.push(U+32);break;case 0:N.push(65533);break;case-1:h$(),g$(),I$();break;default:N.push(U);break}}function l3(U,O,w){switch(U){case 9:case 10:case 12:case 32:Q+=1;break;case 62:H=S$,Q+=1,g$();break;case-1:h$(),g$(),I$();break;default:if(O=O.toUpperCase(),O==="PUBLIC")Q+=6,H=PB;else if(O==="SYSTEM")Q+=6,H=SB;else h$(),H=Q2;break}}l3.lookahead=6;function PB(U){switch(U){case 9:case 10:case 12:case 32:H=IB;break;case 34:C1(),H=o3;break;case 39:C1(),H=r3;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function IB(U){switch(U){case 9:case 10:case 12:case 32:break;case 34:C1(),H=o3;break;case 39:C1(),H=r3;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function o3(U){switch(U){case 34:H=i3;break;case 0:x.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:x.push(U);break}}function r3(U){switch(U){case 39:H=i3;break;case 0:x.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:x.push(U);break}}function i3(U){switch(U){case 9:case 10:case 12:case 32:H=AB;break;case 62:H=S$,g$();break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function AB(U){switch(U){case 9:case 10:case 12:case 32:break;case 62:H=S$,g$();break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function SB(U){switch(U){case 9:case 10:case 12:case 32:H=wB;break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function wB(U){switch(U){case 9:case 10:case 12:case 32:break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function V9(U){switch(U){case 34:H=s3;break;case 0:b.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:b.push(U);break}}function G9(U){switch(U){case 39:H=s3;break;case 0:b.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:b.push(U);break}}function s3(U){switch(U){case 9:case 10:case 12:case 32:break;case 62:H=S$,g$();break;case-1:h$(),g$(),I$();break;default:H=Q2;break}}function Q2(U){switch(U){case 62:H=S$,g$();break;case-1:g$(),I$();break;default:break}}function E6(U){switch(U){case 93:H=RB;break;case-1:I$();break;case 0:n=!0;default:iJ(dP)||y.push(U);break}}function RB(U){switch(U){case 93:H=LB;break;default:y.push(93),V$(U,E6);break}}function LB(U){switch(U){case 93:y.push(93);break;case 62:VJ(),H=S$;break;default:y.push(93),y.push(93),V$(U,E6);break}}function tJ(U){switch(r$(),P.push(38),U){case 9:case 10:case 12:case 32:case 60:case 38:case-1:V$(U,P2);break;case 35:P.push(U),H=NB;break;default:V$(U,n3);break}}function n3(U){Ij.lastIndex=Q;var O=Ij.exec(Y);if(!O)throw Error("should never happen");var w=O[1];if(!w){H=P2;return}switch(Q+=w.length,t2(P,oP(w)),C){case J9:case Z9:case Y9:if(w[w.length-1]!==";"){if(/[=A-Za-z0-9]/.test(Y[Q])){H=P2;return}}break;default:break}r$();var E=bP[w];if(typeof E==="number")P.push(E);else t2(P,E);H=P2}n3.lookahead=-vP;function NB(U){switch(M=0,U){case 120:case 88:P.push(U),H=yB;break;default:V$(U,TB);break}}function yB(U){switch(U){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$(U,kB);break;default:V$(U,P2);break}}function TB(U){switch(U){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:V$(U,EB);break;default:V$(U,P2);break}}function kB(U){switch(U){case 65:case 66:case 67:case 68:case 69:case 70:M*=16,M+=U-55;break;case 97:case 98:case 99:case 100:case 101:case 102:M*=16,M+=U-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:M*=16,M+=U-48;break;case 59:H=X9;break;default:V$(U,X9);break}}function EB(U){switch(U){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:M*=10,M+=U-48;break;case 59:H=X9;break;default:V$(U,X9);break}}function X9(U){if(M in Pj)M=Pj[M];else if(M>1114111||M>=55296&&M<57344)M=65533;if(r$(),M<=65535)P.push(M);else M=M-65536,P.push(55296+(M>>10)),P.push(56320+(M&1023));V$(U,P2)}function P2(U){switch(C){case J9:case Z9:case Y9:L+=L0(P);break;default:t2(y,P);break}V$(U,C)}function xB(U,O,w,E){switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 4:l._appendChild(l.createComment(O));return;case 5:var h=O,c=w,U$=E;if(l.appendChild(new LP(l,h,c,U$)),W$||h.toLowerCase()!=="html"||TP.test(c)||U$&&U$.toLowerCase()===kP||U$===void 0&&zj.test(c))l._quirks=!0;else if(EP.test(c)||U$!==void 0&&zj.test(c))l._limitedQuirks=!0;A=a3;return}l._quirks=!0,A=a3,A(U,O,w,E)}function a3(U,O,w,E){var h;switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 5:return;case 4:l._appendChild(l.createComment(O));return;case 2:if(O==="html"){h=sJ(l,O,w),S.push(h),l.appendChild(h),A=W9;return}break;case 3:switch(O){case"html":case"head":case"body":case"br":break;default:return}}h=sJ(l,"html",null),S.push(h),l.appendChild(h),A=W9,A(U,O,w,E)}function W9(U,O,w,E){switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 5:return;case 4:D1(O);return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"head":var h=q$(O,w);A$=h,A=Q0;return}break;case 3:switch(O){case"html":case"head":case"body":case"br":break;default:return}}W9(R0,"head",null),A(U,O,w,E)}function Q0(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"meta":case"base":case"basefont":case"bgsound":case"link":q$(O,w),S.pop();return;case"title":cH(O,w);return;case"noscript":if(!J$){q$(O,w),A=t3;return}case"noframes":case"style":e8(O,w);return;case"script":a8(function(c){var U$=sJ(c,O,w);if(U$._parser_inserted=!0,U$._force_async=!1,k)U$._already_started=!0;return VJ(),U$}),H=Z2,u=A,A=j9;return;case"template":q$(O,w),T.insertMarker(),Z$=!1,A=v6,r.push(A);return;case"head":return}break;case 3:switch(O){case"head":S.pop(),A=x6;return;case"body":case"html":case"br":break;case"template":if(!S.contains("template"))return;S.generateImpliedEndTags(null,"thorough"),S.popTag("template"),T.clearToMarker(),r.pop(),nJ();return;default:return}break}Q0(N$,"head",null),A(U,O,w,E)}function t3(U,O,w,E){switch(U){case 5:return;case 4:Q0(U,O);return;case 1:var h=O.match(e2);if(h)Q0(U,h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 2:switch(O){case"html":j$(U,O,w,E);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":Q0(U,O,w);return;case"head":case"noscript":return}break;case 3:switch(O){case"noscript":S.pop(),A=Q0;return;case"br":break;default:return}break}t3(N$,"noscript",null),A(U,O,w,E)}function x6(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"body":q$(O,w),Z$=!1,A=j$;return;case"frameset":q$(O,w),A=h6;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":S.push(A$),Q0(R0,O,w),S.removeElement(A$);return;case"head":return}break;case 3:switch(O){case"template":return Q0(U,O,w,E);case"body":case"html":case"br":break;default:return}break}x6(R0,"body",null),Z$=!0,A(U,O,w,E)}function j$(U,O,w,E){var h,c,U$,w$;switch(U){case 1:if(n){if(O=O.replace(Q6,""),O.length===0)return}if(Z$&&K6.test(O))Z$=!1;y0(),P1(O);return;case 5:return;case 4:D1(O);return;case-1:if(r.length)return v6(U);M2();return;case 2:switch(O){case"html":if(S.contains("template"))return;Tj(w,S.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":Q0(R0,O,w);return;case"body":if(h=S.elements[1],!h||!(h instanceof u$.HTMLBodyElement)||S.contains("template"))return;Z$=!1,Tj(w,h);return;case"frameset":if(!Z$)return;if(h=S.elements[1],!h||!(h instanceof u$.HTMLBodyElement))return;if(h.parentNode)h.parentNode.removeChild(h);while(!(S.top instanceof u$.HTMLHtmlElement))S.pop();q$(O,w),A=h6;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":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"menu":if(S.inButtonScope("p"))j$(N$,"p");if(d$(S.top,"menuitem"))S.pop();q$(O,w);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(S.inButtonScope("p"))j$(N$,"p");if(S.top instanceof u$.HTMLHeadingElement)S.pop();q$(O,w);return;case"pre":case"listing":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w),a=!0,Z$=!1;return;case"form":if(s&&!S.contains("template"))return;if(S.inButtonScope("p"))j$(N$,"p");if(w$=q$(O,w),!S.contains("template"))s=w$;return;case"li":Z$=!1;for(c=S.elements.length-1;c>=0;c--){if(U$=S.elements[c],U$ instanceof u$.HTMLLIElement){j$(N$,"li");break}if(d$(U$,$J)&&!d$(U$,Z3))break}if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"dd":case"dt":Z$=!1;for(c=S.elements.length-1;c>=0;c--){if(U$=S.elements[c],d$(U$,Ej)){j$(N$,U$.localName);break}if(d$(U$,$J)&&!d$(U$,Z3))break}if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"plaintext":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w),H=w6;return;case"button":if(S.inScope("button"))j$(N$,"button"),A(U,O,w,E);else y0(),q$(O,w),Z$=!1;return;case"a":var J0=T.findElementByTag("a");if(J0)j$(N$,O),T.remove(J0),S.removeElement(J0);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":y0(),T.push(q$(O,w),w);return;case"nobr":if(y0(),S.inScope(O))j$(N$,O),y0();T.push(q$(O,w),w);return;case"applet":case"marquee":case"object":y0(),q$(O,w),T.insertMarker(),Z$=!1;return;case"table":if(!l._quirks&&S.inButtonScope("p"))j$(N$,"p");q$(O,w),Z$=!1,A=i0;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":y0(),q$(O,w),S.pop(),Z$=!1;return;case"input":y0(),w$=q$(O,w),S.pop();var M0=w$.getAttribute("type");if(!M0||M0.toLowerCase()!=="hidden")Z$=!1;return;case"param":case"source":case"track":q$(O,w),S.pop();return;case"hr":if(S.inButtonScope("p"))j$(N$,"p");if(d$(S.top,"menuitem"))S.pop();q$(O,w),S.pop(),Z$=!1;return;case"image":j$(R0,"img",w,E);return;case"textarea":q$(O,w),a=!0,Z$=!1,H=J2,u=A,A=j9;return;case"xmp":if(S.inButtonScope("p"))j$(N$,"p");y0(),Z$=!1,e8(O,w);return;case"iframe":Z$=!1,e8(O,w);return;case"noembed":e8(O,w);return;case"select":if(y0(),q$(O,w),Z$=!1,A===i0||A===b6||A===I2||A===eJ||A===GJ)A=H9;else A=E1;return;case"optgroup":case"option":if(S.top instanceof u$.HTMLOptionElement)j$(N$,"option");y0(),q$(O,w);return;case"menuitem":if(d$(S.top,"menuitem"))S.pop();y0(),q$(O,w);return;case"rb":case"rtc":if(S.inScope("ruby"))S.generateImpliedEndTags();q$(O,w);return;case"rp":case"rt":if(S.inScope("ruby"))S.generateImpliedEndTags("rtc");q$(O,w);return;case"math":if(y0(),yj(w),J3(w),A6(O,w,X$.MATHML),E)S.pop();return;case"svg":if(y0(),Nj(w),J3(w),A6(O,w,X$.SVG),E)S.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}y0(),q$(O,w);return;case 3:switch(O){case"template":Q0(N$,O,w);return;case"body":if(!S.inScope("body"))return;A=e3;return;case"html":if(!S.inScope("body"))return;A=e3,A(U,O,w);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(!S.inScope(O))return;S.generateImpliedEndTags(),S.popTag(O);return;case"form":if(!S.contains("template")){var s0=s;if(s=null,!s0||!S.elementInScope(s0))return;S.generateImpliedEndTags(),S.removeElement(s0)}else{if(!S.inScope("form"))return;S.generateImpliedEndTags(),S.popTag("form")}return;case"p":if(!S.inButtonScope(O))j$(R0,O,null),A(U,O,w,E);else S.generateImpliedEndTags(O),S.popTag(O);return;case"li":if(!S.inListItemScope(O))return;S.generateImpliedEndTags(O),S.popTag(O);return;case"dd":case"dt":if(!S.inScope(O))return;S.generateImpliedEndTags(O),S.popTag(O);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!S.elementTypeInScope(u$.HTMLHeadingElement))return;S.generateImpliedEndTags(),S.popElementType(u$.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":var X1=lH(O);if(X1)return;break;case"applet":case"marquee":case"object":if(!S.inScope(O))return;S.generateImpliedEndTags(),S.popTag(O),T.clearToMarker();return;case"br":j$(R0,O,null);return}for(c=S.elements.length-1;c>=0;c--)if(U$=S.elements[c],d$(U$,O)){S.generateImpliedEndTags(O),S.popElement(U$);break}else if(d$(U$,$J))return;return}}function j9(U,O,w,E){switch(U){case 1:P1(O);return;case-1:if(S.top instanceof u$.HTMLScriptElement)S.top._already_started=!0;S.pop(),A=u,A(U);return;case 3:if(O==="script")oH();else S.pop(),A=u;return;default:return}}function i0(U,O,w,E){function h(U$){for(var w$=0,J0=U$.length;w$<J0;w$++)if(U$[w$][0]==="type")return U$[w$][1].toLowerCase();return null}switch(U){case 1:if(Q$){j$(U,O,w,E);return}else if(d$(S.top,lJ)){y$=[],u=A,A=bB,A(U,O,w,E);return}break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"caption":S.clearToContext(V6),T.insertMarker(),q$(O,w),A=b6;return;case"colgroup":S.clearToContext(V6),q$(O,w),A=U9;return;case"col":i0(R0,"colgroup",null),A(U,O,w,E);return;case"tbody":case"tfoot":case"thead":S.clearToContext(V6),q$(O,w),A=I2;return;case"td":case"th":case"tr":i0(R0,"tbody",null),A(U,O,w,E);return;case"table":if(!S.inTableScope(O))return;i0(N$,O),A(U,O,w,E);return;case"style":case"script":case"template":Q0(U,O,w,E);return;case"input":var c=h(w);if(c!=="hidden")break;q$(O,w),S.pop();return;case"form":if(s||S.contains("template"))return;s=q$(O,w),S.popElement(s);return}break;case 3:switch(O){case"table":if(!S.inTableScope(O))return;S.popTag(O),nJ();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":Q0(U,O,w,E);return}break;case-1:j$(U,O,w,E);return}$2=!0,j$(U,O,w,E),$2=!1}function bB(U,O,w,E){if(U===cJ){if(n){if(O=O.replace(Q6,""),O.length===0)return}y$.push(O)}else{var h=y$.join("");if(y$.length=0,K6.test(h))$2=!0,j$(cJ,h),$2=!1;else P1(h);A=u,A(U,O,w,E)}}function b6(U,O,w,E){function h(){if(!S.inTableScope("caption"))return!1;return S.generateImpliedEndTags(),S.popTag("caption"),T.clearToMarker(),A=i0,!0}switch(U){case 2:switch(O){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(h())A(U,O,w,E);return}break;case 3:switch(O){case"caption":h();return;case"table":if(h())A(U,O,w,E);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}j$(U,O,w,E)}function U9(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"col":q$(O,w),S.pop();return;case"template":Q0(U,O,w,E);return}break;case 3:switch(O){case"colgroup":if(!d$(S.top,"colgroup"))return;S.pop(),A=i0;return;case"col":return;case"template":Q0(U,O,w,E);return}break;case-1:j$(U,O,w,E);return}if(!d$(S.top,"colgroup"))return;U9(N$,"colgroup"),A(U,O,w,E)}function I2(U,O,w,E){function h(){if(!S.inTableScope("tbody")&&!S.inTableScope("thead")&&!S.inTableScope("tfoot"))return;S.clearToContext(G6),I2(N$,S.top.localName,null),A(U,O,w,E)}switch(U){case 2:switch(O){case"tr":S.clearToContext(G6),q$(O,w),A=eJ;return;case"th":case"td":I2(R0,"tr",null),A(U,O,w,E);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":h();return}break;case 3:switch(O){case"table":h();return;case"tbody":case"tfoot":case"thead":if(S.inTableScope(O))S.clearToContext(G6),S.pop(),A=i0;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}i0(U,O,w,E)}function eJ(U,O,w,E){function h(){if(!S.inTableScope("tr"))return!1;return S.clearToContext(Y3),S.pop(),A=I2,!0}switch(U){case 2:switch(O){case"th":case"td":S.clearToContext(Y3),q$(O,w),A=GJ,T.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(h())A(U,O,w,E);return}break;case 3:switch(O){case"tr":h();return;case"table":if(h())A(U,O,w,E);return;case"tbody":case"tfoot":case"thead":if(S.inTableScope(O)){if(h())A(U,O,w,E)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}i0(U,O,w,E)}function GJ(U,O,w,E){switch(U){case 2:switch(O){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(S.inTableScope("td"))GJ(N$,"td"),A(U,O,w,E);else if(S.inTableScope("th"))GJ(N$,"th"),A(U,O,w,E);return}break;case 3:switch(O){case"td":case"th":if(!S.inTableScope(O))return;S.generateImpliedEndTags(),S.popTag(O),T.clearToMarker(),A=eJ;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!S.inTableScope(O))return;GJ(N$,S.inTableScope("td")?"td":"th"),A(U,O,w,E);return}break}j$(U,O,w,E)}function E1(U,O,w,E){switch(U){case 1:if(n){if(O=O.replace(Q6,""),O.length===0)return}P1(O);return;case 4:D1(O);return;case 5:return;case-1:j$(U,O,w,E);return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"option":if(S.top instanceof u$.HTMLOptionElement)E1(N$,O);q$(O,w);return;case"optgroup":if(S.top instanceof u$.HTMLOptionElement)E1(N$,"option");if(S.top instanceof u$.HTMLOptGroupElement)E1(N$,O);q$(O,w);return;case"select":E1(N$,O);return;case"input":case"keygen":case"textarea":if(!S.inSelectScope("select"))return;E1(N$,"select"),A(U,O,w,E);return;case"script":case"template":Q0(U,O,w,E);return}break;case 3:switch(O){case"optgroup":if(S.top instanceof u$.HTMLOptionElement&&S.elements[S.elements.length-2]instanceof u$.HTMLOptGroupElement)E1(N$,"option");if(S.top instanceof u$.HTMLOptGroupElement)S.pop();return;case"option":if(S.top instanceof u$.HTMLOptionElement)S.pop();return;case"select":if(!S.inSelectScope(O))return;S.popTag(O),nJ();return;case"template":Q0(U,O,w,E);return}break}}function H9(U,O,w,E){switch(O){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(U){case 2:H9(N$,"select"),A(U,O,w,E);return;case 3:if(S.inTableScope(O))H9(N$,"select"),A(U,O,w,E);return}}E1(U,O,w,E)}function v6(U,O,w,E){function h(c){A=c,r[r.length-1]=A,A(U,O,w,E)}switch(U){case 1:case 4:case 5:j$(U,O,w,E);return;case-1:if(!S.contains("template"))M2();else S.popTag("template"),T.clearToMarker(),r.pop(),nJ(),A(U,O,w,E);return;case 2:switch(O){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":Q0(U,O,w,E);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":h(i0);return;case"col":h(U9);return;case"tr":h(I2);return;case"td":case"th":h(eJ);return}h(j$);return;case 3:switch(O){case"template":Q0(U,O,w,E);return;default:return}}}function e3(U,O,w,E){switch(U){case 1:if(K6.test(O))break;j$(U,O);return;case 4:S.elements[0]._appendChild(l.createComment(O));return;case 5:return;case-1:M2();return;case 2:if(O==="html"){j$(U,O,w,E);return}break;case 3:if(O==="html"){if(k)return;A=hB;return}break}A=j$,A(U,O,w,E)}function h6(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)P1(O);return;case 4:D1(O);return;case 5:return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"frameset":q$(O,w);return;case"frame":q$(O,w),S.pop();return;case"noframes":Q0(U,O,w,E);return}break;case 3:if(O==="frameset"){if(k&&S.top instanceof u$.HTMLHtmlElement)return;if(S.pop(),!k&&!(S.top instanceof u$.HTMLFrameSetElement))A=vB;return}break}}function vB(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)P1(O);return;case 4:D1(O);return;case 5:return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"noframes":Q0(U,O,w,E);return}break;case 3:if(O==="html"){A=gB;return}break}}function hB(U,O,w,E){switch(U){case 1:if(K6.test(O))break;j$(U,O,w,E);return;case 4:l._appendChild(l.createComment(O));return;case 5:j$(U,O,w,E);return;case-1:M2();return;case 2:if(O==="html"){j$(U,O,w,E);return}break}A=j$,A(U,O,w,E)}function gB(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)j$(U,O,w,E);return;case 4:l._appendChild(l.createComment(O));return;case 5:j$(U,O,w,E);return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"noframes":Q0(U,O,w,E);return}break}}function $K(U,O,w,E){function h(J0){for(var M0=0,s0=J0.length;M0<s0;M0++)switch(J0[M0][0]){case"color":case"face":case"size":return!0}return!1}var c;switch(U){case 1:if(Z$&&lP.test(O))Z$=!1;if(n)O=O.replace(Q6,"\uFFFD");P1(O);return;case 4:D1(O);return;case 5:return;case 2:switch(O){case"font":if(!h(w))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(k)break;do S.pop(),c=S.top;while(c.namespaceURI!==X$.HTML&&!Rj(c)&&!Lj(c));j0(U,O,w,E);return}if(c=S.elements.length===1&&k?J:S.top,c.namespaceURI===X$.MATHML)yj(w);else if(c.namespaceURI===X$.SVG)O=rP(O),Nj(w);if(J3(w),A6(O,w,c.namespaceURI),E){if(O==="script"&&c.namespaceURI===X$.SVG);S.pop()}return;case 3:if(c=S.top,O==="script"&&c.namespaceURI===X$.SVG&&c.localName==="script")S.pop();else{var U$=S.elements.length-1,w$=S.elements[U$];for(;;){if(w$.localName.toLowerCase()===O){S.popElement(w$);break}if(w$=S.elements[--U$],w$.namespaceURI!==X$.HTML)continue;A(U,O,w,E);break}}return}}return c$.testTokenizer=function(U,O,w,E){var h=[];switch(O){case"PCDATA state":H=S$;break;case"RCDATA state":H=J2;break;case"RAWTEXT state":H=aJ;break;case"PLAINTEXT state":H=w6;break}if(w)z=w;if(j0=function(U$,w$,J0,M0){switch(VJ(),U$){case 1:if(h.length>0&&h[h.length-1][0]==="Character")h[h.length-1][1]+=w$;else h.push(["Character",w$]);break;case 4:h.push(["Comment",w$]);break;case 5:h.push(["DOCTYPE",w$,J0===void 0?null:J0,M0===void 0?null:M0,!W$]);break;case 2:var s0=Object.create(null);for(var X1=0;X1<J0.length;X1++){var A2=J0[X1];if(A2.length===1)s0[A2[0]]="";else s0[A2[0]]=A2[1]}var V2=["StartTag",w$,s0];if(M0)V2.push(!0);h.push(V2);break;case 3:h.push(["EndTag",w$]);break;case-1:break}},!E)this.parse(U,!0);else{for(var c=0;c<U.length;c++)this.parse(U[c]);this.parse("",!0)}return h},c$}});var m8=p((Jv,cj)=>{cj.exports=pj;var uj=$6(),dj=Z6(),iP=W6(),j6=X0(),sP=fZ();function pj($){this.contextObject=$}var nP={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}};pj.prototype={hasFeature:function(J,Z){var Y=nP[(J||"").toLowerCase()];return Y&&Y[Z||""]||!1},createDocumentType:function(J,Z,Y){if(!sP.isValidQName(J))j6.InvalidCharacterError();return new dj(this.contextObject,J,Z,Y)},createDocument:function(J,Z,Y){var K=new uj(!1,null),Q;if(Z)Q=K.createElementNS(J,Z);else Q=null;if(Y)K.appendChild(Y);if(Q)K.appendChild(Q);if(J===j6.NAMESPACE.HTML)K._contentType="application/xhtml+xml";else if(J===j6.NAMESPACE.SVG)K._contentType="image/svg+xml";else K._contentType="application/xml";return K},createHTMLDocument:function(J){var Z=new uj(!0,null);Z.appendChild(new dj(Z,"html"));var Y=Z.createElement("html");Z.appendChild(Y);var K=Z.createElement("head");if(Y.appendChild(K),J!==void 0){var Q=Z.createElement("title");K.appendChild(Q),Q.appendChild(Z.createTextNode(J))}return Y.appendChild(Z.createElement("body")),Z.modclock=1,Z},mozSetOutputMutationHandler:function($,J){$.mutationHandler=J},mozGetInputMutationHandler:function($){j6.nyi()},mozHTMLParser:iP}});var oj=p((Zv,lj)=>{var aP=sZ(),tP=lY();lj.exports=Q3;function Q3($,J){this._window=$,this._href=J}Q3.prototype=Object.create(tP.prototype,{constructor:{value:Q3},href:{get:function(){return this._href},set:function($){this.assign($)}},assign:{value:function($){var J=new aP(this._href),Z=J.resolve($);this._href=Z}},replace:{value:function($){this.assign($)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var ij=p((Yv,rj)=>{var eP=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}}});rj.exports=eP});var nj=p((Kv,sj)=>{var $I={setTimeout,clearTimeout,setInterval,clearInterval};sj.exports=$I});var G3=p((u8,aj)=>{var V3=X0();u8=aj.exports={CSSStyleDeclaration:nZ(),CharacterData:T8(),Comment:TY(),DOMException:xZ(),DOMImplementation:m8(),DOMTokenList:_Y(),Document:$6(),DocumentFragment:EY(),DocumentType:Z6(),Element:gJ(),HTMLParser:W6(),NamedNodeMap:MY(),Node:P0(),NodeList:n2(),NodeFilter:b8(),ProcessingInstruction:bY(),Text:NY(),Window:X3()};V3.merge(u8,cY());V3.merge(u8,tZ().elements);V3.merge(u8,nY().elements)});var X3=p((Qv,tj)=>{var JI=m8(),ZI=t7(),YI=oj(),d8=X0();tj.exports=U6;function U6($){this.document=$||new JI(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new YI(this,this.document._address||"about:blank")}U6.prototype=Object.create(ZI.prototype,{console:{value:console},history:{value:{back:d8.nyi,forward:d8.nyi,go:d8.nyi}},navigator:{value:ij()},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($){this._setEventHandler("load",$)}},getComputedStyle:{value:function(J){return J.style}}});d8.expose(nj(),U6);d8.expose(G3(),U6)});var YU=p((KI)=>{var ej=m8(),$U=W6(),Vv=X3(),JU=G3();KI.createDOMImplementation=function(){return new ej(null)};KI.createDocument=function($,J){if($||J){var Z=new $U;return Z.parse($||"",!0),Z.document()}return new ej(null).createHTMLDocument("")};KI.createIncrementalHTMLParser=function(){var $=new $U;return{write:function(J){if(J.length>0)$.parse(J,!1,function(){return!0})},end:function(J){$.parse(J||"",!0,function(){return!0})},process:function(J){return $.parse("",!1,J)},document:function(){return $.document()}}};KI.createWindow=function($,J){var Z=KI.createDocument($);if(J!==void 0)Z._address=J;return new JU.Window(Z)};KI.impl=JU});var W1={};o$(W1,{layer:()=>QK,defaultLayer:()=>B_,Status:()=>H_,Service:()=>O9,Format:()=>W1});import U_ from"path";var _9={};o$(_9,{zig:()=>lB,uvformat:()=>sB,terraform:()=>J_,standardrb:()=>aB,shfmt:()=>K_,rustfmt:()=>V_,ruff:()=>YK,rubocop:()=>nB,rlang:()=>iB,prettier:()=>dB,pint:()=>G_,oxfmt:()=>pB,ormolu:()=>X_,ocamlformat:()=>$_,nixfmt:()=>Q_,mix:()=>uB,latexindent:()=>Z_,ktlint:()=>rB,htmlbeautifier:()=>tB,gofmt:()=>mB,gleam:()=>Y_,dfmt:()=>j_,dart:()=>eB,cljfmt:()=>W_,clang:()=>oB,biome:()=>cB});var mB={name:"gofmt",extensions:[".go"],async enabled(){let $=x$("gofmt");if(!$)return!1;return[$,"-w","$FILE"]}},uB={name:"mix",extensions:[".ex",".exs",".eex",".heex",".leex",".neex",".sface"],async enabled(){let $=x$("mix");if(!$)return!1;return[$,"format","$FILE"]}},JK=[".js",".jsx",".mjs",".cjs",".ts",".tsx",".mts",".cts",".html",".htm",".css",".scss",".sass",".less",".vue",".svelte",".json",".jsonc",".yaml",".yml",".toml",".xml",".md",".mdx",".graphql",".gql"];async function ZK($,J){let Z=await O0.findUp("package.json",$.directory,$.worktree);for(let Y of Z){let K=await O0.readJson(Y);if(K.dependencies?.[J]||K.devDependencies?.[J]){let Q=await g6.which(J);if(Q)return Q}}return}var dB={name:"prettier",environment:{BUN_BE_BUN:"1"},extensions:[...JK],async enabled($){let J=await ZK($,"prettier");return J?[J,"--write","$FILE"]:!1}},pB={name:"oxfmt",environment:{BUN_BE_BUN:"1"},extensions:[".js",".jsx",".mjs",".cjs",".ts",".tsx",".mts",".cts"],async enabled($){if(!k$.QITQODE_EXPERIMENTAL_OXFMT)return!1;let J=await ZK($,"oxfmt");return J?[J,"$FILE"]:!1}},cB={name:"biome",environment:{BUN_BE_BUN:"1"},extensions:[...JK],async enabled($){let J=["biome.json","biome.jsonc"];for(let Z of J)if((await O0.findUp(Z,$.directory,$.worktree)).length>0){let K=await g6.which("@biomejs/biome");if(K)return[K,"format","--write","$FILE"]}return!1}},lB={name:"zig",extensions:[".zig",".zon"],async enabled(){let $=x$("zig");if(!$)return!1;return[$,"fmt","$FILE"]}},oB={name:"clang-format",extensions:[".c",".cc",".cpp",".cxx",".c++",".h",".hh",".hpp",".hxx",".h++",".ino",".C",".H"],async enabled($){if((await O0.findUp(".clang-format",$.directory,$.worktree)).length>0){let Z=x$("clang-format");if(Z)return[Z,"-i","$FILE"]}return!1}},rB={name:"ktlint",extensions:[".kt",".kts"],async enabled(){let $=x$("ktlint");if(!$)return!1;return[$,"-F","$FILE"]}},YK={name:"ruff",extensions:[".py",".pyi"],async enabled($){if(!x$("ruff"))return!1;let J=["pyproject.toml","ruff.toml",".ruff.toml"];for(let Y of J){let K=await O0.findUp(Y,$.directory,$.worktree);if(K.length>0)if(Y==="pyproject.toml"){if((await O0.readText(K[0])).includes("[tool.ruff]"))return["ruff","format","$FILE"]}else return["ruff","format","$FILE"]}let Z=["requirements.txt","pyproject.toml","Pipfile"];for(let Y of Z){let K=await O0.findUp(Y,$.directory,$.worktree);if(K.length>0){if((await O0.readText(K[0])).includes("ruff"))return["ruff","format","$FILE"]}}return!1}},iB={name:"air",extensions:[".R"],async enabled(){let $=x$("air");if($==null)return!1;let J=await B9.text([$,"--help"],{nothrow:!0}),Z=J.text.split(`
|
|
36
|
+
`),j0(y1,h),H=S$}K9.lookahead=">";function p3(U,O,w){if(O[0]==="-"&&O[1]==="-"){Q+=2,n8(),H=_B;return}if(O.toUpperCase()==="DOCTYPE")Q+=7,H=DB;else if(O==="[CDATA["&&mH())Q+=7,H=E6;else H=K9}p3.lookahead=7;function _B(U){switch(n8(),U){case 45:H=OB;break;case 62:H=S$,j0(y1,L0(R));break;default:V$(U,D2);break}}function OB(U){switch(U){case 45:H=Q9;break;case 62:H=S$,j0(y1,L0(R));break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),V$(U,D2);break}}function D2(U){switch(U){case 60:R.push(U),H=qB;break;case 45:H=T6;break;case 0:R.push(65533);break;case-1:j0(y1,L0(R)),I$();break;default:R.push(U);break}}function qB(U){switch(U){case 33:R.push(U),H=FB;break;case 60:R.push(U);break;default:V$(U,D2);break}}function FB(U){switch(U){case 45:H=zB;break;default:V$(U,D2);break}}function zB(U){switch(U){case 45:H=CB;break;default:V$(U,T6);break}}function CB(U){switch(U){case 62:case-1:V$(U,Q9);break;default:V$(U,Q9);break}}function T6(U){switch(U){case 45:H=Q9;break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),V$(U,D2);break}}function Q9(U){switch(U){case 62:H=S$,j0(y1,L0(R));break;case 33:H=MB;break;case 45:R.push(45);break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),R.push(45),V$(U,D2);break}}function MB(U){switch(U){case 45:R.push(45),R.push(45),R.push(33),H=T6;break;case 62:H=S$,j0(y1,L0(R));break;case-1:j0(y1,L0(R)),I$();break;default:R.push(45),R.push(45),R.push(33),V$(U,D2);break}}function DB(U){switch(U){case 9:case 10:case 12:case 32:H=c3;break;case-1:e1(),h$(),g$(),I$();break;default:V$(U,c3);break}}function c3(U){switch(U){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:e1(),N.push(U+32),H=k6;break;case 0:e1(),N.push(65533),H=k6;break;case 62:e1(),h$(),H=S$,g$();break;case-1:e1(),h$(),g$(),I$();break;default:e1(),N.push(U),H=k6;break}}function k6(U){switch(U){case 9:case 10:case 12:case 32:H=l3;break;case 62:H=S$,g$();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:N.push(U+32);break;case 0:N.push(65533);break;case-1:h$(),g$(),I$();break;default:N.push(U);break}}function l3(U,O,w){switch(U){case 9:case 10:case 12:case 32:Q+=1;break;case 62:H=S$,Q+=1,g$();break;case-1:h$(),g$(),I$();break;default:if(O=O.toUpperCase(),O==="PUBLIC")Q+=6,H=PB;else if(O==="SYSTEM")Q+=6,H=SB;else h$(),H=Q2;break}}l3.lookahead=6;function PB(U){switch(U){case 9:case 10:case 12:case 32:H=IB;break;case 34:C1(),H=o3;break;case 39:C1(),H=r3;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function IB(U){switch(U){case 9:case 10:case 12:case 32:break;case 34:C1(),H=o3;break;case 39:C1(),H=r3;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function o3(U){switch(U){case 34:H=i3;break;case 0:x.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:x.push(U);break}}function r3(U){switch(U){case 39:H=i3;break;case 0:x.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:x.push(U);break}}function i3(U){switch(U){case 9:case 10:case 12:case 32:H=AB;break;case 62:H=S$,g$();break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function AB(U){switch(U){case 9:case 10:case 12:case 32:break;case 62:H=S$,g$();break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function SB(U){switch(U){case 9:case 10:case 12:case 32:H=wB;break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function wB(U){switch(U){case 9:case 10:case 12:case 32:break;case 34:M1(),H=V9;break;case 39:M1(),H=G9;break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:h$(),H=Q2;break}}function V9(U){switch(U){case 34:H=s3;break;case 0:b.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:b.push(U);break}}function G9(U){switch(U){case 39:H=s3;break;case 0:b.push(65533);break;case 62:h$(),H=S$,g$();break;case-1:h$(),g$(),I$();break;default:b.push(U);break}}function s3(U){switch(U){case 9:case 10:case 12:case 32:break;case 62:H=S$,g$();break;case-1:h$(),g$(),I$();break;default:H=Q2;break}}function Q2(U){switch(U){case 62:H=S$,g$();break;case-1:g$(),I$();break;default:break}}function E6(U){switch(U){case 93:H=RB;break;case-1:I$();break;case 0:n=!0;default:iJ(dP)||y.push(U);break}}function RB(U){switch(U){case 93:H=LB;break;default:y.push(93),V$(U,E6);break}}function LB(U){switch(U){case 93:y.push(93);break;case 62:VJ(),H=S$;break;default:y.push(93),y.push(93),V$(U,E6);break}}function tJ(U){switch(r$(),P.push(38),U){case 9:case 10:case 12:case 32:case 60:case 38:case-1:V$(U,P2);break;case 35:P.push(U),H=NB;break;default:V$(U,n3);break}}function n3(U){Ij.lastIndex=Q;var O=Ij.exec(Y);if(!O)throw Error("should never happen");var w=O[1];if(!w){H=P2;return}switch(Q+=w.length,t2(P,oP(w)),C){case J9:case Z9:case Y9:if(w[w.length-1]!==";"){if(/[=A-Za-z0-9]/.test(Y[Q])){H=P2;return}}break;default:break}r$();var E=bP[w];if(typeof E==="number")P.push(E);else t2(P,E);H=P2}n3.lookahead=-vP;function NB(U){switch(M=0,U){case 120:case 88:P.push(U),H=yB;break;default:V$(U,TB);break}}function yB(U){switch(U){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$(U,kB);break;default:V$(U,P2);break}}function TB(U){switch(U){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:V$(U,EB);break;default:V$(U,P2);break}}function kB(U){switch(U){case 65:case 66:case 67:case 68:case 69:case 70:M*=16,M+=U-55;break;case 97:case 98:case 99:case 100:case 101:case 102:M*=16,M+=U-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:M*=16,M+=U-48;break;case 59:H=X9;break;default:V$(U,X9);break}}function EB(U){switch(U){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:M*=10,M+=U-48;break;case 59:H=X9;break;default:V$(U,X9);break}}function X9(U){if(M in Pj)M=Pj[M];else if(M>1114111||M>=55296&&M<57344)M=65533;if(r$(),M<=65535)P.push(M);else M=M-65536,P.push(55296+(M>>10)),P.push(56320+(M&1023));V$(U,P2)}function P2(U){switch(C){case J9:case Z9:case Y9:L+=L0(P);break;default:t2(y,P);break}V$(U,C)}function xB(U,O,w,E){switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 4:l._appendChild(l.createComment(O));return;case 5:var h=O,c=w,U$=E;if(l.appendChild(new LP(l,h,c,U$)),W$||h.toLowerCase()!=="html"||TP.test(c)||U$&&U$.toLowerCase()===kP||U$===void 0&&zj.test(c))l._quirks=!0;else if(EP.test(c)||U$!==void 0&&zj.test(c))l._limitedQuirks=!0;A=a3;return}l._quirks=!0,A=a3,A(U,O,w,E)}function a3(U,O,w,E){var h;switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 5:return;case 4:l._appendChild(l.createComment(O));return;case 2:if(O==="html"){h=sJ(l,O,w),S.push(h),l.appendChild(h),A=W9;return}break;case 3:switch(O){case"html":case"head":case"body":case"br":break;default:return}}h=sJ(l,"html",null),S.push(h),l.appendChild(h),A=W9,A(U,O,w,E)}function W9(U,O,w,E){switch(U){case 1:if(O=O.replace(e2,""),O.length===0)return;break;case 5:return;case 4:D1(O);return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"head":var h=q$(O,w);A$=h,A=Q0;return}break;case 3:switch(O){case"html":case"head":case"body":case"br":break;default:return}}W9(R0,"head",null),A(U,O,w,E)}function Q0(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"meta":case"base":case"basefont":case"bgsound":case"link":q$(O,w),S.pop();return;case"title":cH(O,w);return;case"noscript":if(!J$){q$(O,w),A=t3;return}case"noframes":case"style":e8(O,w);return;case"script":a8(function(c){var U$=sJ(c,O,w);if(U$._parser_inserted=!0,U$._force_async=!1,k)U$._already_started=!0;return VJ(),U$}),H=Z2,u=A,A=j9;return;case"template":q$(O,w),T.insertMarker(),Z$=!1,A=v6,r.push(A);return;case"head":return}break;case 3:switch(O){case"head":S.pop(),A=x6;return;case"body":case"html":case"br":break;case"template":if(!S.contains("template"))return;S.generateImpliedEndTags(null,"thorough"),S.popTag("template"),T.clearToMarker(),r.pop(),nJ();return;default:return}break}Q0(N$,"head",null),A(U,O,w,E)}function t3(U,O,w,E){switch(U){case 5:return;case 4:Q0(U,O);return;case 1:var h=O.match(e2);if(h)Q0(U,h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 2:switch(O){case"html":j$(U,O,w,E);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":Q0(U,O,w);return;case"head":case"noscript":return}break;case 3:switch(O){case"noscript":S.pop(),A=Q0;return;case"br":break;default:return}break}t3(N$,"noscript",null),A(U,O,w,E)}function x6(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"body":q$(O,w),Z$=!1,A=j$;return;case"frameset":q$(O,w),A=h6;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":S.push(A$),Q0(R0,O,w),S.removeElement(A$);return;case"head":return}break;case 3:switch(O){case"template":return Q0(U,O,w,E);case"body":case"html":case"br":break;default:return}break}x6(R0,"body",null),Z$=!0,A(U,O,w,E)}function j$(U,O,w,E){var h,c,U$,w$;switch(U){case 1:if(n){if(O=O.replace(Q6,""),O.length===0)return}if(Z$&&K6.test(O))Z$=!1;y0(),P1(O);return;case 5:return;case 4:D1(O);return;case-1:if(r.length)return v6(U);M2();return;case 2:switch(O){case"html":if(S.contains("template"))return;Tj(w,S.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":Q0(R0,O,w);return;case"body":if(h=S.elements[1],!h||!(h instanceof u$.HTMLBodyElement)||S.contains("template"))return;Z$=!1,Tj(w,h);return;case"frameset":if(!Z$)return;if(h=S.elements[1],!h||!(h instanceof u$.HTMLBodyElement))return;if(h.parentNode)h.parentNode.removeChild(h);while(!(S.top instanceof u$.HTMLHtmlElement))S.pop();q$(O,w),A=h6;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":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"menu":if(S.inButtonScope("p"))j$(N$,"p");if(d$(S.top,"menuitem"))S.pop();q$(O,w);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(S.inButtonScope("p"))j$(N$,"p");if(S.top instanceof u$.HTMLHeadingElement)S.pop();q$(O,w);return;case"pre":case"listing":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w),a=!0,Z$=!1;return;case"form":if(s&&!S.contains("template"))return;if(S.inButtonScope("p"))j$(N$,"p");if(w$=q$(O,w),!S.contains("template"))s=w$;return;case"li":Z$=!1;for(c=S.elements.length-1;c>=0;c--){if(U$=S.elements[c],U$ instanceof u$.HTMLLIElement){j$(N$,"li");break}if(d$(U$,$J)&&!d$(U$,Z3))break}if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"dd":case"dt":Z$=!1;for(c=S.elements.length-1;c>=0;c--){if(U$=S.elements[c],d$(U$,Ej)){j$(N$,U$.localName);break}if(d$(U$,$J)&&!d$(U$,Z3))break}if(S.inButtonScope("p"))j$(N$,"p");q$(O,w);return;case"plaintext":if(S.inButtonScope("p"))j$(N$,"p");q$(O,w),H=w6;return;case"button":if(S.inScope("button"))j$(N$,"button"),A(U,O,w,E);else y0(),q$(O,w),Z$=!1;return;case"a":var J0=T.findElementByTag("a");if(J0)j$(N$,O),T.remove(J0),S.removeElement(J0);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":y0(),T.push(q$(O,w),w);return;case"nobr":if(y0(),S.inScope(O))j$(N$,O),y0();T.push(q$(O,w),w);return;case"applet":case"marquee":case"object":y0(),q$(O,w),T.insertMarker(),Z$=!1;return;case"table":if(!l._quirks&&S.inButtonScope("p"))j$(N$,"p");q$(O,w),Z$=!1,A=i0;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":y0(),q$(O,w),S.pop(),Z$=!1;return;case"input":y0(),w$=q$(O,w),S.pop();var M0=w$.getAttribute("type");if(!M0||M0.toLowerCase()!=="hidden")Z$=!1;return;case"param":case"source":case"track":q$(O,w),S.pop();return;case"hr":if(S.inButtonScope("p"))j$(N$,"p");if(d$(S.top,"menuitem"))S.pop();q$(O,w),S.pop(),Z$=!1;return;case"image":j$(R0,"img",w,E);return;case"textarea":q$(O,w),a=!0,Z$=!1,H=J2,u=A,A=j9;return;case"xmp":if(S.inButtonScope("p"))j$(N$,"p");y0(),Z$=!1,e8(O,w);return;case"iframe":Z$=!1,e8(O,w);return;case"noembed":e8(O,w);return;case"select":if(y0(),q$(O,w),Z$=!1,A===i0||A===b6||A===I2||A===eJ||A===GJ)A=H9;else A=E1;return;case"optgroup":case"option":if(S.top instanceof u$.HTMLOptionElement)j$(N$,"option");y0(),q$(O,w);return;case"menuitem":if(d$(S.top,"menuitem"))S.pop();y0(),q$(O,w);return;case"rb":case"rtc":if(S.inScope("ruby"))S.generateImpliedEndTags();q$(O,w);return;case"rp":case"rt":if(S.inScope("ruby"))S.generateImpliedEndTags("rtc");q$(O,w);return;case"math":if(y0(),yj(w),J3(w),A6(O,w,X$.MATHML),E)S.pop();return;case"svg":if(y0(),Nj(w),J3(w),A6(O,w,X$.SVG),E)S.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}y0(),q$(O,w);return;case 3:switch(O){case"template":Q0(N$,O,w);return;case"body":if(!S.inScope("body"))return;A=e3;return;case"html":if(!S.inScope("body"))return;A=e3,A(U,O,w);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(!S.inScope(O))return;S.generateImpliedEndTags(),S.popTag(O);return;case"form":if(!S.contains("template")){var s0=s;if(s=null,!s0||!S.elementInScope(s0))return;S.generateImpliedEndTags(),S.removeElement(s0)}else{if(!S.inScope("form"))return;S.generateImpliedEndTags(),S.popTag("form")}return;case"p":if(!S.inButtonScope(O))j$(R0,O,null),A(U,O,w,E);else S.generateImpliedEndTags(O),S.popTag(O);return;case"li":if(!S.inListItemScope(O))return;S.generateImpliedEndTags(O),S.popTag(O);return;case"dd":case"dt":if(!S.inScope(O))return;S.generateImpliedEndTags(O),S.popTag(O);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!S.elementTypeInScope(u$.HTMLHeadingElement))return;S.generateImpliedEndTags(),S.popElementType(u$.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":var X1=lH(O);if(X1)return;break;case"applet":case"marquee":case"object":if(!S.inScope(O))return;S.generateImpliedEndTags(),S.popTag(O),T.clearToMarker();return;case"br":j$(R0,O,null);return}for(c=S.elements.length-1;c>=0;c--)if(U$=S.elements[c],d$(U$,O)){S.generateImpliedEndTags(O),S.popElement(U$);break}else if(d$(U$,$J))return;return}}function j9(U,O,w,E){switch(U){case 1:P1(O);return;case-1:if(S.top instanceof u$.HTMLScriptElement)S.top._already_started=!0;S.pop(),A=u,A(U);return;case 3:if(O==="script")oH();else S.pop(),A=u;return;default:return}}function i0(U,O,w,E){function h(U$){for(var w$=0,J0=U$.length;w$<J0;w$++)if(U$[w$][0]==="type")return U$[w$][1].toLowerCase();return null}switch(U){case 1:if(Q$){j$(U,O,w,E);return}else if(d$(S.top,lJ)){y$=[],u=A,A=bB,A(U,O,w,E);return}break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"caption":S.clearToContext(V6),T.insertMarker(),q$(O,w),A=b6;return;case"colgroup":S.clearToContext(V6),q$(O,w),A=U9;return;case"col":i0(R0,"colgroup",null),A(U,O,w,E);return;case"tbody":case"tfoot":case"thead":S.clearToContext(V6),q$(O,w),A=I2;return;case"td":case"th":case"tr":i0(R0,"tbody",null),A(U,O,w,E);return;case"table":if(!S.inTableScope(O))return;i0(N$,O),A(U,O,w,E);return;case"style":case"script":case"template":Q0(U,O,w,E);return;case"input":var c=h(w);if(c!=="hidden")break;q$(O,w),S.pop();return;case"form":if(s||S.contains("template"))return;s=q$(O,w),S.popElement(s);return}break;case 3:switch(O){case"table":if(!S.inTableScope(O))return;S.popTag(O),nJ();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":Q0(U,O,w,E);return}break;case-1:j$(U,O,w,E);return}$2=!0,j$(U,O,w,E),$2=!1}function bB(U,O,w,E){if(U===cJ){if(n){if(O=O.replace(Q6,""),O.length===0)return}y$.push(O)}else{var h=y$.join("");if(y$.length=0,K6.test(h))$2=!0,j$(cJ,h),$2=!1;else P1(h);A=u,A(U,O,w,E)}}function b6(U,O,w,E){function h(){if(!S.inTableScope("caption"))return!1;return S.generateImpliedEndTags(),S.popTag("caption"),T.clearToMarker(),A=i0,!0}switch(U){case 2:switch(O){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(h())A(U,O,w,E);return}break;case 3:switch(O){case"caption":h();return;case"table":if(h())A(U,O,w,E);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}j$(U,O,w,E)}function U9(U,O,w,E){switch(U){case 1:var h=O.match(e2);if(h)P1(h[0]),O=O.substring(h[0].length);if(O.length===0)return;break;case 4:D1(O);return;case 5:return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"col":q$(O,w),S.pop();return;case"template":Q0(U,O,w,E);return}break;case 3:switch(O){case"colgroup":if(!d$(S.top,"colgroup"))return;S.pop(),A=i0;return;case"col":return;case"template":Q0(U,O,w,E);return}break;case-1:j$(U,O,w,E);return}if(!d$(S.top,"colgroup"))return;U9(N$,"colgroup"),A(U,O,w,E)}function I2(U,O,w,E){function h(){if(!S.inTableScope("tbody")&&!S.inTableScope("thead")&&!S.inTableScope("tfoot"))return;S.clearToContext(G6),I2(N$,S.top.localName,null),A(U,O,w,E)}switch(U){case 2:switch(O){case"tr":S.clearToContext(G6),q$(O,w),A=eJ;return;case"th":case"td":I2(R0,"tr",null),A(U,O,w,E);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":h();return}break;case 3:switch(O){case"table":h();return;case"tbody":case"tfoot":case"thead":if(S.inTableScope(O))S.clearToContext(G6),S.pop(),A=i0;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}i0(U,O,w,E)}function eJ(U,O,w,E){function h(){if(!S.inTableScope("tr"))return!1;return S.clearToContext(Y3),S.pop(),A=I2,!0}switch(U){case 2:switch(O){case"th":case"td":S.clearToContext(Y3),q$(O,w),A=GJ,T.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(h())A(U,O,w,E);return}break;case 3:switch(O){case"tr":h();return;case"table":if(h())A(U,O,w,E);return;case"tbody":case"tfoot":case"thead":if(S.inTableScope(O)){if(h())A(U,O,w,E)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}i0(U,O,w,E)}function GJ(U,O,w,E){switch(U){case 2:switch(O){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(S.inTableScope("td"))GJ(N$,"td"),A(U,O,w,E);else if(S.inTableScope("th"))GJ(N$,"th"),A(U,O,w,E);return}break;case 3:switch(O){case"td":case"th":if(!S.inTableScope(O))return;S.generateImpliedEndTags(),S.popTag(O),T.clearToMarker(),A=eJ;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!S.inTableScope(O))return;GJ(N$,S.inTableScope("td")?"td":"th"),A(U,O,w,E);return}break}j$(U,O,w,E)}function E1(U,O,w,E){switch(U){case 1:if(n){if(O=O.replace(Q6,""),O.length===0)return}P1(O);return;case 4:D1(O);return;case 5:return;case-1:j$(U,O,w,E);return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"option":if(S.top instanceof u$.HTMLOptionElement)E1(N$,O);q$(O,w);return;case"optgroup":if(S.top instanceof u$.HTMLOptionElement)E1(N$,"option");if(S.top instanceof u$.HTMLOptGroupElement)E1(N$,O);q$(O,w);return;case"select":E1(N$,O);return;case"input":case"keygen":case"textarea":if(!S.inSelectScope("select"))return;E1(N$,"select"),A(U,O,w,E);return;case"script":case"template":Q0(U,O,w,E);return}break;case 3:switch(O){case"optgroup":if(S.top instanceof u$.HTMLOptionElement&&S.elements[S.elements.length-2]instanceof u$.HTMLOptGroupElement)E1(N$,"option");if(S.top instanceof u$.HTMLOptGroupElement)S.pop();return;case"option":if(S.top instanceof u$.HTMLOptionElement)S.pop();return;case"select":if(!S.inSelectScope(O))return;S.popTag(O),nJ();return;case"template":Q0(U,O,w,E);return}break}}function H9(U,O,w,E){switch(O){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(U){case 2:H9(N$,"select"),A(U,O,w,E);return;case 3:if(S.inTableScope(O))H9(N$,"select"),A(U,O,w,E);return}}E1(U,O,w,E)}function v6(U,O,w,E){function h(c){A=c,r[r.length-1]=A,A(U,O,w,E)}switch(U){case 1:case 4:case 5:j$(U,O,w,E);return;case-1:if(!S.contains("template"))M2();else S.popTag("template"),T.clearToMarker(),r.pop(),nJ(),A(U,O,w,E);return;case 2:switch(O){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":Q0(U,O,w,E);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":h(i0);return;case"col":h(U9);return;case"tr":h(I2);return;case"td":case"th":h(eJ);return}h(j$);return;case 3:switch(O){case"template":Q0(U,O,w,E);return;default:return}}}function e3(U,O,w,E){switch(U){case 1:if(K6.test(O))break;j$(U,O);return;case 4:S.elements[0]._appendChild(l.createComment(O));return;case 5:return;case-1:M2();return;case 2:if(O==="html"){j$(U,O,w,E);return}break;case 3:if(O==="html"){if(k)return;A=hB;return}break}A=j$,A(U,O,w,E)}function h6(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)P1(O);return;case 4:D1(O);return;case 5:return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"frameset":q$(O,w);return;case"frame":q$(O,w),S.pop();return;case"noframes":Q0(U,O,w,E);return}break;case 3:if(O==="frameset"){if(k&&S.top instanceof u$.HTMLHtmlElement)return;if(S.pop(),!k&&!(S.top instanceof u$.HTMLFrameSetElement))A=vB;return}break}}function vB(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)P1(O);return;case 4:D1(O);return;case 5:return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"noframes":Q0(U,O,w,E);return}break;case 3:if(O==="html"){A=gB;return}break}}function hB(U,O,w,E){switch(U){case 1:if(K6.test(O))break;j$(U,O,w,E);return;case 4:l._appendChild(l.createComment(O));return;case 5:j$(U,O,w,E);return;case-1:M2();return;case 2:if(O==="html"){j$(U,O,w,E);return}break}A=j$,A(U,O,w,E)}function gB(U,O,w,E){switch(U){case 1:if(O=O.replace($3,""),O.length>0)j$(U,O,w,E);return;case 4:l._appendChild(l.createComment(O));return;case 5:j$(U,O,w,E);return;case-1:M2();return;case 2:switch(O){case"html":j$(U,O,w,E);return;case"noframes":Q0(U,O,w,E);return}break}}function $K(U,O,w,E){function h(J0){for(var M0=0,s0=J0.length;M0<s0;M0++)switch(J0[M0][0]){case"color":case"face":case"size":return!0}return!1}var c;switch(U){case 1:if(Z$&&lP.test(O))Z$=!1;if(n)O=O.replace(Q6,"\uFFFD");P1(O);return;case 4:D1(O);return;case 5:return;case 2:switch(O){case"font":if(!h(w))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(k)break;do S.pop(),c=S.top;while(c.namespaceURI!==X$.HTML&&!Rj(c)&&!Lj(c));j0(U,O,w,E);return}if(c=S.elements.length===1&&k?J:S.top,c.namespaceURI===X$.MATHML)yj(w);else if(c.namespaceURI===X$.SVG)O=rP(O),Nj(w);if(J3(w),A6(O,w,c.namespaceURI),E){if(O==="script"&&c.namespaceURI===X$.SVG);S.pop()}return;case 3:if(c=S.top,O==="script"&&c.namespaceURI===X$.SVG&&c.localName==="script")S.pop();else{var U$=S.elements.length-1,w$=S.elements[U$];for(;;){if(w$.localName.toLowerCase()===O){S.popElement(w$);break}if(w$=S.elements[--U$],w$.namespaceURI!==X$.HTML)continue;A(U,O,w,E);break}}return}}return c$.testTokenizer=function(U,O,w,E){var h=[];switch(O){case"PCDATA state":H=S$;break;case"RCDATA state":H=J2;break;case"RAWTEXT state":H=aJ;break;case"PLAINTEXT state":H=w6;break}if(w)z=w;if(j0=function(U$,w$,J0,M0){switch(VJ(),U$){case 1:if(h.length>0&&h[h.length-1][0]==="Character")h[h.length-1][1]+=w$;else h.push(["Character",w$]);break;case 4:h.push(["Comment",w$]);break;case 5:h.push(["DOCTYPE",w$,J0===void 0?null:J0,M0===void 0?null:M0,!W$]);break;case 2:var s0=Object.create(null);for(var X1=0;X1<J0.length;X1++){var A2=J0[X1];if(A2.length===1)s0[A2[0]]="";else s0[A2[0]]=A2[1]}var V2=["StartTag",w$,s0];if(M0)V2.push(!0);h.push(V2);break;case 3:h.push(["EndTag",w$]);break;case-1:break}},!E)this.parse(U,!0);else{for(var c=0;c<U.length;c++)this.parse(U[c]);this.parse("",!0)}return h},c$}});var m8=p((Zv,cj)=>{cj.exports=pj;var uj=$6(),dj=Z6(),iP=W6(),j6=X0(),sP=fZ();function pj($){this.contextObject=$}var nP={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}};pj.prototype={hasFeature:function(J,Z){var Y=nP[(J||"").toLowerCase()];return Y&&Y[Z||""]||!1},createDocumentType:function(J,Z,Y){if(!sP.isValidQName(J))j6.InvalidCharacterError();return new dj(this.contextObject,J,Z,Y)},createDocument:function(J,Z,Y){var K=new uj(!1,null),Q;if(Z)Q=K.createElementNS(J,Z);else Q=null;if(Y)K.appendChild(Y);if(Q)K.appendChild(Q);if(J===j6.NAMESPACE.HTML)K._contentType="application/xhtml+xml";else if(J===j6.NAMESPACE.SVG)K._contentType="image/svg+xml";else K._contentType="application/xml";return K},createHTMLDocument:function(J){var Z=new uj(!0,null);Z.appendChild(new dj(Z,"html"));var Y=Z.createElement("html");Z.appendChild(Y);var K=Z.createElement("head");if(Y.appendChild(K),J!==void 0){var Q=Z.createElement("title");K.appendChild(Q),Q.appendChild(Z.createTextNode(J))}return Y.appendChild(Z.createElement("body")),Z.modclock=1,Z},mozSetOutputMutationHandler:function($,J){$.mutationHandler=J},mozGetInputMutationHandler:function($){j6.nyi()},mozHTMLParser:iP}});var oj=p((Yv,lj)=>{var aP=sZ(),tP=lY();lj.exports=Q3;function Q3($,J){this._window=$,this._href=J}Q3.prototype=Object.create(tP.prototype,{constructor:{value:Q3},href:{get:function(){return this._href},set:function($){this.assign($)}},assign:{value:function($){var J=new aP(this._href),Z=J.resolve($);this._href=Z}},replace:{value:function($){this.assign($)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var ij=p((Kv,rj)=>{var eP=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}}});rj.exports=eP});var nj=p((Qv,sj)=>{var $I={setTimeout,clearTimeout,setInterval,clearInterval};sj.exports=$I});var G3=p((u8,aj)=>{var V3=X0();u8=aj.exports={CSSStyleDeclaration:nZ(),CharacterData:T8(),Comment:TY(),DOMException:xZ(),DOMImplementation:m8(),DOMTokenList:_Y(),Document:$6(),DocumentFragment:EY(),DocumentType:Z6(),Element:gJ(),HTMLParser:W6(),NamedNodeMap:MY(),Node:P0(),NodeList:n2(),NodeFilter:b8(),ProcessingInstruction:bY(),Text:NY(),Window:X3()};V3.merge(u8,cY());V3.merge(u8,tZ().elements);V3.merge(u8,nY().elements)});var X3=p((Vv,tj)=>{var JI=m8(),ZI=t7(),YI=oj(),d8=X0();tj.exports=U6;function U6($){this.document=$||new JI(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new YI(this,this.document._address||"about:blank")}U6.prototype=Object.create(ZI.prototype,{console:{value:console},history:{value:{back:d8.nyi,forward:d8.nyi,go:d8.nyi}},navigator:{value:ij()},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($){this._setEventHandler("load",$)}},getComputedStyle:{value:function(J){return J.style}}});d8.expose(nj(),U6);d8.expose(G3(),U6)});var YU=p((KI)=>{var ej=m8(),$U=W6(),Gv=X3(),JU=G3();KI.createDOMImplementation=function(){return new ej(null)};KI.createDocument=function($,J){if($||J){var Z=new $U;return Z.parse($||"",!0),Z.document()}return new ej(null).createHTMLDocument("")};KI.createIncrementalHTMLParser=function(){var $=new $U;return{write:function(J){if(J.length>0)$.parse(J,!1,function(){return!0})},end:function(J){$.parse(J||"",!0,function(){return!0})},process:function(J){return $.parse("",!1,J)},document:function(){return $.document()}}};KI.createWindow=function($,J){var Z=KI.createDocument($);if(J!==void 0)Z._address=J;return new JU.Window(Z)};KI.impl=JU});var W1={};o$(W1,{layer:()=>QK,defaultLayer:()=>B_,Status:()=>H_,Service:()=>O9,Format:()=>W1});import U_ from"path";var _9={};o$(_9,{zig:()=>lB,uvformat:()=>sB,terraform:()=>J_,standardrb:()=>aB,shfmt:()=>K_,rustfmt:()=>V_,ruff:()=>YK,rubocop:()=>nB,rlang:()=>iB,prettier:()=>dB,pint:()=>G_,oxfmt:()=>pB,ormolu:()=>X_,ocamlformat:()=>$_,nixfmt:()=>Q_,mix:()=>uB,latexindent:()=>Z_,ktlint:()=>rB,htmlbeautifier:()=>tB,gofmt:()=>mB,gleam:()=>Y_,dfmt:()=>j_,dart:()=>eB,cljfmt:()=>W_,clang:()=>oB,biome:()=>cB});var mB={name:"gofmt",extensions:[".go"],async enabled(){let $=x$("gofmt");if(!$)return!1;return[$,"-w","$FILE"]}},uB={name:"mix",extensions:[".ex",".exs",".eex",".heex",".leex",".neex",".sface"],async enabled(){let $=x$("mix");if(!$)return!1;return[$,"format","$FILE"]}},JK=[".js",".jsx",".mjs",".cjs",".ts",".tsx",".mts",".cts",".html",".htm",".css",".scss",".sass",".less",".vue",".svelte",".json",".jsonc",".yaml",".yml",".toml",".xml",".md",".mdx",".graphql",".gql"];async function ZK($,J){let Z=await O0.findUp("package.json",$.directory,$.worktree);for(let Y of Z){let K=await O0.readJson(Y);if(K.dependencies?.[J]||K.devDependencies?.[J]){let Q=await g6.which(J);if(Q)return Q}}return}var dB={name:"prettier",environment:{BUN_BE_BUN:"1"},extensions:[...JK],async enabled($){let J=await ZK($,"prettier");return J?[J,"--write","$FILE"]:!1}},pB={name:"oxfmt",environment:{BUN_BE_BUN:"1"},extensions:[".js",".jsx",".mjs",".cjs",".ts",".tsx",".mts",".cts"],async enabled($){if(!k$.QITQODE_EXPERIMENTAL_OXFMT)return!1;let J=await ZK($,"oxfmt");return J?[J,"$FILE"]:!1}},cB={name:"biome",environment:{BUN_BE_BUN:"1"},extensions:[...JK],async enabled($){let J=["biome.json","biome.jsonc"];for(let Z of J)if((await O0.findUp(Z,$.directory,$.worktree)).length>0){let K=await g6.which("@biomejs/biome");if(K)return[K,"format","--write","$FILE"]}return!1}},lB={name:"zig",extensions:[".zig",".zon"],async enabled(){let $=x$("zig");if(!$)return!1;return[$,"fmt","$FILE"]}},oB={name:"clang-format",extensions:[".c",".cc",".cpp",".cxx",".c++",".h",".hh",".hpp",".hxx",".h++",".ino",".C",".H"],async enabled($){if((await O0.findUp(".clang-format",$.directory,$.worktree)).length>0){let Z=x$("clang-format");if(Z)return[Z,"-i","$FILE"]}return!1}},rB={name:"ktlint",extensions:[".kt",".kts"],async enabled(){let $=x$("ktlint");if(!$)return!1;return[$,"-F","$FILE"]}},YK={name:"ruff",extensions:[".py",".pyi"],async enabled($){if(!x$("ruff"))return!1;let J=["pyproject.toml","ruff.toml",".ruff.toml"];for(let Y of J){let K=await O0.findUp(Y,$.directory,$.worktree);if(K.length>0)if(Y==="pyproject.toml"){if((await O0.readText(K[0])).includes("[tool.ruff]"))return["ruff","format","$FILE"]}else return["ruff","format","$FILE"]}let Z=["requirements.txt","pyproject.toml","Pipfile"];for(let Y of Z){let K=await O0.findUp(Y,$.directory,$.worktree);if(K.length>0){if((await O0.readText(K[0])).includes("ruff"))return["ruff","format","$FILE"]}}return!1}},iB={name:"air",extensions:[".R"],async enabled(){let $=x$("air");if($==null)return!1;let J=await B9.text([$,"--help"],{nothrow:!0}),Z=J.text.split(`
|
|
37
37
|
`)[0],Y=Z.includes("R language"),K=Z.includes("formatter");if(J.code===0&&Y&&K)return[$,"format","$FILE"];return!1}},sB={name:"uv",extensions:[".py",".pyi"],async enabled($){if(await YK.enabled($))return!1;let J=x$("uv");if(J==null)return!1;if((await B9.run([J,"format","--help"],{nothrow:!0})).code===0)return[J,"format","--","$FILE"];return!1}},nB={name:"rubocop",extensions:[".rb",".rake",".gemspec",".ru"],async enabled(){let $=x$("rubocop");if(!$)return!1;return[$,"--autocorrect","$FILE"]}},aB={name:"standardrb",extensions:[".rb",".rake",".gemspec",".ru"],async enabled(){let $=x$("standardrb");if(!$)return!1;return[$,"--fix","$FILE"]}},tB={name:"htmlbeautifier",extensions:[".erb",".html.erb"],async enabled(){let $=x$("htmlbeautifier");if(!$)return!1;return[$,"$FILE"]}},eB={name:"dart",extensions:[".dart"],async enabled(){let $=x$("dart");if(!$)return!1;return[$,"format","$FILE"]}},$_={name:"ocamlformat",extensions:[".ml",".mli"],async enabled($){if(!x$("ocamlformat"))return!1;if((await O0.findUp(".ocamlformat",$.directory,$.worktree)).length>0)return["ocamlformat","-i","$FILE"];return!1}},J_={name:"terraform",extensions:[".tf",".tfvars"],async enabled(){let $=x$("terraform");if(!$)return!1;return[$,"fmt","$FILE"]}},Z_={name:"latexindent",extensions:[".tex"],async enabled(){let $=x$("latexindent");if(!$)return!1;return[$,"-w","-s","$FILE"]}},Y_={name:"gleam",extensions:[".gleam"],async enabled(){let $=x$("gleam");if(!$)return!1;return[$,"format","$FILE"]}},K_={name:"shfmt",extensions:[".sh",".bash"],async enabled(){let $=x$("shfmt");if(!$)return!1;return[$,"-w","$FILE"]}},Q_={name:"nixfmt",extensions:[".nix"],async enabled(){let $=x$("nixfmt");if(!$)return!1;return[$,"$FILE"]}},V_={name:"rustfmt",extensions:[".rs"],async enabled(){let $=x$("rustfmt");if(!$)return!1;return[$,"$FILE"]}},G_={name:"pint",extensions:[".php"],async enabled($){let J=await O0.findUp("composer.json",$.directory,$.worktree);for(let Z of J){let Y=await O0.readJson(Z);if(Y.require?.["laravel/pint"]||Y["require-dev"]?.["laravel/pint"])return["./vendor/bin/pint","$FILE"]}return!1}},X_={name:"ormolu",extensions:[".hs"],async enabled(){let $=x$("ormolu");if(!$)return!1;return[$,"-i","$FILE"]}},W_={name:"cljfmt",extensions:[".clj",".cljs",".cljc",".edn"],async enabled(){let $=x$("cljfmt");if(!$)return!1;return[$,"fix","--quiet","$FILE"]}},j_={name:"dfmt",extensions:[".d"],async enabled(){let $=x$("dfmt");if(!$)return!1;return[$,"-i","$FILE"]}};var x1=O$.create({service:"format"}),H_=F.object({name:F.string(),extensions:F.string().array(),enabled:F.boolean()}).meta({ref:"FormatterStatus"});class O9 extends D$.Service()("@qitqode/Format"){}var QK=f.effect(O9,G.gen(function*(){let $=yield*R$.Service,J=yield*f6.ChildProcessSpawner,Z=yield*i.make(G.fn("Format.state")(function*(V){let X={},W={};async function B(C){let M=X[C.name];if(M===!1||M===void 0)M=await C.enabled(V),X[C.name]=M;return M}async function j(C){return await B(C)!==!1}async function _(C){let M=Object.values(W).filter((z)=>z.extensions.includes(C));return(await Promise.all(M.map(async(z)=>{x1.info("checking",{name:z.name,ext:C});let P=await B(z);if(P)x1.info("enabled",{name:z.name,ext:C});return{item:z,cmd:P}}))).filter((z)=>z.cmd).map((z)=>({item:z.item,cmd:z.cmd}))}function q(C){return G.gen(function*(){x1.info("formatting",{file:C});let M=U_.extname(C);for(let{item:I,cmd:z}of yield*G.promise(()=>_(M))){if(z===!1)continue;x1.info("running",{command:z});let P=z.map((R)=>R.replace("$FILE",C)),D=yield*i.directory;if((yield*J.spawn(S1.make(P[0],P.slice(1),{cwd:D,env:I.environment,extendEnv:!0})).pipe(G.flatMap((R)=>R.exitCode),G.scoped,G.catch(()=>G.sync(()=>{return x1.error("failed to format file",{error:"spawn failed",command:z,...I.environment,file:C}),f6.ExitCode(1)}))))!==0)x1.error("failed",{command:z,...I.environment})}})}let H=yield*$.get();if(!H.formatter)return x1.info("all formatters are disabled"),x1.info("init"),{formatters:W,isEnabled:j,formatFile:q};for(let C of Object.values(_9))W[C.name]=C;if(H.formatter!==!0)for(let[C,M]of Object.entries(H.formatter)){let I=_9[C];if(["ruff","uv"].includes(C)&&(H.formatter.ruff?.disabled||H.formatter.uv?.disabled)){delete W.ruff,delete W.uv;continue}if(M.disabled){delete W[C];continue}let z=q9(I??{extensions:[]},M);W[C]={...z,name:C,extensions:z.extensions??[],enabled:I&&!z.command?I.enabled:async(P)=>z.command??!1}}return x1.info("init"),{formatters:W,isEnabled:j,formatFile:q}})),Y=G.fn("Format.init")(function*(){yield*i.get(Z)}),K=G.fn("Format.status")(function*(){let{formatters:V,isEnabled:X}=yield*i.get(Z),W=[];for(let B of Object.values(V)){let j=yield*G.promise(()=>X(B));W.push({name:B.name,extensions:B.extensions,enabled:j})}return W}),Q=G.fn("Format.file")(function*(V){let{formatFile:X}=yield*i.get(Z);yield*X(V)});return O9.of({init:Y,status:K,file:Q})})),B_=QK.pipe(f.provide(R$.defaultLayer),f.provide(XJ));var h0={};o$(h0,{layer:()=>_K,defaultLayer:()=>S_,Service:()=>z9,Ripgrep:()=>h0,Match:()=>HK});import J8 from"path";var VK=O$.create({service:"ripgrep"}),m6="15.1.0",__={"arm64-darwin":{platform:"aarch64-apple-darwin",extension:"tar.gz"},"arm64-linux":{platform:"aarch64-unknown-linux-gnu",extension:"tar.gz"},"x64-darwin":{platform:"x86_64-apple-darwin",extension:"tar.gz"},"x64-linux":{platform:"x86_64-unknown-linux-musl",extension:"tar.gz"},"arm64-win32":{platform:"aarch64-pc-windows-msvc",extension:"zip"},"ia32-win32":{platform:"i686-pc-windows-msvc",extension:"zip"},"x64-win32":{platform:"x86_64-pc-windows-msvc",extension:"zip"}},UK=F.object({elapsed:F.object({secs:F.number(),nanos:F.number(),human:F.string()}),searches:F.number(),searches_with_match:F.number(),bytes_searched:F.number(),bytes_printed:F.number(),matched_lines:F.number(),matches:F.number()}),O_=F.object({type:F.literal("begin"),data:F.object({path:F.object({text:F.string()})})}),HK=F.object({type:F.literal("match"),data:F.object({path:F.object({text:F.string()}),lines:F.object({text:F.string()}),line_number:F.number(),absolute_offset:F.number(),submatches:F.array(F.object({match:F.object({text:F.string()}),start:F.number(),end:F.number()}))})}),q_=F.object({type:F.literal("end"),data:F.object({path:F.object({text:F.string()}),binary_offset:F.number().nullable(),stats:UK})}),F_=F.object({type:F.literal("summary"),data:F.object({elapsed_total:F.object({human:F.string(),nanos:F.number(),secs:F.number()}),stats:UK})}),z_=F.union([O_,HK,q_,F_]);class z9 extends D$.Service()("@qitqode/Ripgrep"){}function C_(){let $=jK();return delete $.RIPGREP_CONFIG_PATH,$}function GK($){let J=$?.reason;if(J instanceof Error)return J;let Z=Error("Aborted");return Z.name="AbortError",Z}function M_($){if(!$)return G.never;if($.aborted)return G.fail(GK($));return G.callback((J)=>{let Z=()=>J(G.fail(GK($)));if($.addEventListener("abort",Z,{once:!0}),$.aborted)Z();return G.sync(()=>$.removeEventListener("abort",Z))})}function F9($,J){let Z=Error($.trim()||`ripgrep failed with code ${J}`);return Z.name="RipgrepError",Z}function BK($){return J8.normalize($.replace(/^\.[\\/]/,""))}function D_($){return{...$,path:{...$.path,text:BK($.path.text)}}}function P_($){return G.try({try:()=>z_.parse(JSON.parse($)),catch:(J)=>Error("invalid ripgrep output",{cause:J})})}function XK($,J){b1.failCauseUnsafe($,n0.fail(J))}function I_($){let J=["--no-config","--files","--glob=!.git/*"];if($.follow)J.push("--follow");if($.hidden!==!1)J.push("--hidden");if($.hidden===!1)J.push("--glob=!.*");if($.maxDepth!==void 0)J.push(`--max-depth=${$.maxDepth}`);if($.glob)for(let Z of $.glob)J.push(`--glob=${Z}`);return J.push("."),J}function A_($){let J=["--no-config","--json","--hidden","--glob=!.git/*","--no-messages"];if($.follow)J.push("--follow");if($.glob)for(let Z of $.glob)J.push(`--glob=${Z}`);if($.limit)J.push(`--max-count=${$.limit}`);return J.push("--",$.pattern,...$.file??["."]),J}function WK($,J){return J?$.pipe(G.raceFirst(M_(J))):$}var _K=f.effect(z9,G.gen(function*(){let $=yield*$$.Service,J=v1.filterStatusOk(yield*v1.HttpClient),Z=yield*C9,Y=G.fnUntraced(function*(_,q,H){let C=yield*Z.spawn(S1.make(_,q,{cwd:H?.cwd,extendEnv:!0,stdin:"ignore"})),[M,I,z]=yield*G.all([l$.mkString(l$.decodeText(C.stdout)),l$.mkString(l$.decodeText(C.stderr)),C.exitCode],{concurrency:"unbounded"});return{stdout:M,stderr:I,code:z}},G.scoped),K=G.fnUntraced(function*(_,q,H){let C=yield*$.makeTempDirectoryScoped({directory:f$.Path.bin,prefix:"ripgrep-"});if(q.extension==="zip"){let I=(yield*G.sync(()=>x$("powershell.exe")??x$("pwsh.exe")))??"powershell.exe",z=yield*Y(I,["-NoProfile","-NonInteractive","-Command",`$global:ProgressPreference = 'SilentlyContinue'; Expand-Archive -LiteralPath '${_.replaceAll("'","''")}' -DestinationPath '${C.replaceAll("'","''")}' -Force`]);if(z.code!==0)return yield*G.fail(F9(z.stderr||z.stdout,z.code))}if(q.extension==="tar.gz"){let I=yield*Y("tar",["-xzf",_,"-C",C]);if(I.code!==0)return yield*G.fail(F9(I.stderr||I.stdout,I.code))}let M=J8.join(C,`ripgrep-${m6}-${q.platform}`,process.platform==="win32"?"rg.exe":"rg");if(!(yield*$.isFile(M)))return yield*G.fail(Error(`ripgrep archive did not contain executable: ${M}`));if(yield*$.copyFile(M,H),process.platform==="win32")return;yield*$.chmod(H,493)},G.scoped),Q=yield*G.cached(G.gen(function*(){let _=yield*G.sync(()=>x$(process.platform==="win32"?"rg.exe":"rg"));if(_&&(yield*$.isFile(_).pipe(G.orDie)))return _;let q=J8.join(f$.Path.bin,`rg${process.platform==="win32"?".exe":""}`);if(yield*$.isFile(q).pipe(G.orDie))return q;let H=`${process.arch}-${process.platform}`,C=__[H];if(!C)return yield*G.fail(Error(`unsupported platform for ripgrep: ${H}`));let M=`ripgrep-${m6}-${C.platform}.${C.extension}`,I=`https://github.com/BurntSushi/ripgrep/releases/download/${m6}/${M}`,z=J8.join(f$.Path.bin,M);VK.info("downloading ripgrep",{url:I}),yield*$.ensureDir(f$.Path.bin).pipe(G.orDie);let P=yield*G2.get(I).pipe(J.execute,G.flatMap((D)=>D.arrayBuffer),G.mapError((D)=>D instanceof Error?D:Error(String(D))));if(P.byteLength===0)return yield*G.fail(Error(`failed to download ripgrep from ${I}`));return yield*$.writeWithDirs(z,new Uint8Array(P)),yield*K(z,C,q),yield*$.remove(z,{force:!0}).pipe(G.ignore),q})),V=G.fnUntraced(function*(_){if(yield*$.isDir(_).pipe(G.orDie))return;return yield*G.fail(Object.assign(Error(`No such file or directory: '${_}'`),{code:"ENOENT",errno:-2,path:_}))}),X=G.fnUntraced(function*(_,q){let H=yield*Q;return S1.make(H,q,{cwd:_,env:C_(),extendEnv:!0,stdin:"ignore"})}),W=(_)=>l$.callback((q)=>G.gen(function*(){yield*G.forkScoped(G.gen(function*(){yield*V(_.cwd);let H=yield*Z.spawn(yield*X(_.cwd,I_(_))),C=yield*l$.mkString(l$.decodeText(H.stderr)).pipe(G.forkScoped),M=yield*l$.decodeText(H.stdout).pipe(l$.splitLines,l$.filter((z)=>z.length>0),l$.runForEach((z)=>G.sync(()=>b1.offerUnsafe(q,BK(z)))),G.forkScoped),I=yield*WK(H.exitCode,_.signal);if(yield*Z8.join(M),I===0||I===1){b1.endUnsafe(q);return}XK(q,F9(yield*Z8.join(C),I))}).pipe(G.catch((H)=>G.sync(()=>{XK(q,H)}))))})),B=G.fn("Ripgrep.search")(function*(_){yield*V(_.cwd);let q=G.scoped(G.gen(function*(){let H=yield*Z.spawn(yield*X(_.cwd,A_(_))),[C,M,I]=yield*G.all([l$.decodeText(H.stdout).pipe(l$.splitLines,l$.filter((z)=>z.length>0),l$.mapEffect(P_),l$.filter((z)=>z.type==="match"),l$.map((z)=>D_(z.data)),l$.runCollect,G.map((z)=>[...z])),l$.mkString(l$.decodeText(H.stderr)),H.exitCode],{concurrency:"unbounded"});if(I!==0&&I!==1&&I!==2)return yield*G.fail(F9(M,I));return{items:I===1?[]:C,partial:I===2}}));return yield*WK(q,_.signal)}),j=G.fn("Ripgrep.tree")(function*(_){VK.info("tree",_);let q=Array.from(yield*W({cwd:_.cwd,signal:_.signal}).pipe(l$.runCollect));function H(R,N){let x=R.children.get(N);if(x)return x;let b={name:N,children:new Map};return R.children.set(N,b),b}function C(R){return Array.from(R.children.values()).reduce((N,x)=>N+1+C(x),0)}let M={name:"",children:new Map};for(let R of q){if(R.includes(".qitqode"))continue;let N=R.split(J8.sep);if(N.length<2)continue;let x=M;for(let b of N.slice(0,-1))x=H(x,b)}let I=C(M),z=_.limit??I,P=[],D=Array.from(M.children.values()).sort((R,N)=>R.name.localeCompare(N.name)).map((R)=>({node:R,path:R.name})),L=0;for(let R=0;R<D.length&&L<z;R++){let N=D[R];P.push(N.path),L++,D.push(...Array.from(N.node.children.values()).sort((x,b)=>x.name.localeCompare(b.name)).map((x)=>({node:x,path:`${N.path}/${x.name}`})))}if(I>L)P.push(`[${I-L} truncated]`);return P.join(`
|
|
38
38
|
`)});return z9.of({files:W,tree:j,search:B})})),S_=_K.pipe(f.provide(X2.layer),f.provide($$.defaultLayer),f.provide(XJ));var w2={};o$(w2,{layer:()=>vK,defaultLayer:()=>O4,Service:()=>I9,Node:()=>e_,Info:()=>t_,File:()=>w2,Event:()=>J4,Content:()=>$4});var xK=A9(a_(),1),bK=A9(wK(),1);import T0 from"path";var S2={};o$(S2,{paths:()=>n_,names:()=>s_,Protected:()=>S2});import c6 from"path";import o_ from"os";var l6=o_.homedir(),RK=["Music","Pictures","Movies","Downloads","Desktop","Documents","Public","Applications","Library"],r_=["Application Support/AddressBook","Calendars","Mail","Messages","Safari","Cookies","Application Support/com.apple.TCC","PersonalizationPortrait","Metadata/CoreSpotlight","Suggestions"],i_=["/.DocumentRevisions-V100","/.Spotlight-V100","/.Trashes","/.fseventsd"],LK=["AppData","Downloads","Desktop","Documents","Pictures","Music","Videos","OneDrive"];function s_(){if(process.platform==="darwin")return new Set(RK);if(process.platform==="win32")return new Set(LK);return new Set}function n_(){if(process.platform==="darwin")return[...RK.map(($)=>c6.join(l6,$)),...r_.map(($)=>c6.join(l6,"Library",$)),...i_];if(process.platform==="win32")return LK.map(($)=>c6.join(l6,$));return[]}var t_=F.object({path:F.string(),added:F.number().int(),removed:F.number().int(),status:F.enum(["added","deleted","modified"])}).meta({ref:"File"}),e_=F.object({name:F.string(),path:F.string(),absolute:F.string(),type:F.enum(["file","directory"]),ignored:F.boolean()}).meta({ref:"FileNode"}),$4=F.object({type:F.enum(["text","binary"]),content:F.string(),diff:F.string().optional(),patch:F.object({oldFileName:F.string(),newFileName:F.string(),oldHeader:F.string().optional(),newHeader:F.string().optional(),hunks:F.array(F.object({oldStart:F.number(),oldLines:F.number(),newStart:F.number(),newLines:F.number(),lines:F.array(F.string())})),index:F.string().optional()}).optional(),encoding:F.literal("base64").optional(),mimeType:F.string().optional()}).meta({ref:"FileContent"}),J4={Edited:Z0.define("file.edited",F.object({file:F.string()}))},K8=O$.create({service:"file"}),NK=393216,Z4=new Set(["exe","dll","pdb","bin","so","dylib","o","a","lib","wav","mp3","ogg","oga","ogv","ogx","flac","aac","wma","m4a","weba","mp4","avi","mov","wmv","flv","webm","mkv","zip","tar","gz","gzip","bz","bz2","bzip","bzip2","7z","rar","xz","lz","z","pdf","doc","docx","ppt","pptx","xls","xlsx","dmg","iso","img","vmdk","ttf","otf","woff","woff2","eot","sqlite","db","mdb","apk","ipa","aab","xapk","app","pkg","deb","rpm","snap","flatpak","appimage","msi","msp","jar","war","ear","class","kotlin_module","dex","vdex","odex","oat","art","wasm","wat","bc","ll","s","ko","sys","drv","efi","rom","com"]),Y4=new Set(["png","jpg","jpeg","gif","bmp","webp","ico","tif","tiff","svg","svgz","avif","apng","jxl","heic","heif","raw","cr2","nef","arw","dng","orf","raf","pef","x3f"]),K4=new Set(["ts","tsx","mts","cts","mtsx","ctsx","js","jsx","mjs","cjs","sh","bash","zsh","fish","ps1","psm1","cmd","bat","json","jsonc","json5","yaml","yml","toml","md","mdx","txt","xml","html","htm","css","scss","sass","less","graphql","gql","sql","ini","cfg","conf","env"]),Q4=new Set(["dockerfile","makefile",".gitignore",".gitattributes",".editorconfig",".npmrc",".nvmrc",".prettierrc",".eslintrc"]),V4={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",bmp:"image/bmp",webp:"image/webp",ico:"image/x-icon",tif:"image/tiff",tiff:"image/tiff",svg:"image/svg+xml",svgz:"image/svg+xml",avif:"image/avif",apng:"image/apng",jxl:"image/jxl",heic:"image/heic",heif:"image/heif"},Q8=($)=>T0.extname($).toLowerCase().slice(1),G4=($)=>T0.basename($).toLowerCase(),X4=($)=>Y4.has(Q8($)),W4=($)=>K4.has(Q8($)),j4=($)=>Q4.has(G4($)),U4=($)=>Z4.has(Q8($)),H4=($)=>$.startsWith("image/"),yK=($)=>V4[Q8($)]||"image/"+Q8($);function B4($){let J=$.toLowerCase();if(K8.debug("shouldEncode",{type:J}),!J)return!1;if(J.startsWith("text/"))return!1;if(J.includes("charset="))return!1;let Z=J.split("/",2)[0];return["image","audio","video","font","model","multipart"].includes(Z)}var _4=($)=>{return $.replaceAll("\\","/").replace(/\/+$/,"").split("/").some((Z)=>Z.startsWith(".")&&Z.length>1)},TK=($,J)=>{if(J)return $;let Z=[],Y=[];for(let K of $)if(_4(K))Y.push(K);else Z.push(K);return[...Z,...Y]};class I9 extends D$.Service()("@qitqode/File"){}var vK=f.effect(I9,G.gen(function*(){let $=yield*$$.Service,J=yield*h0.Service,Z=yield*BJ.Service,Y=yield*UJ.Scope,K=yield*i.make(G.fn("File.state")(()=>G.succeed({cache:{files:[],dirs:[]}}))),Q=G.fn("File.scan")(function*(){let M=yield*i.context;if(M.directory===T0.parse(M.directory).root)return;let I=M.directory===f$.Path.home&&M.project.id==="global",z={files:[],dirs:[]};if(I){let D=new Set,L=S2.names(),R=new Set(["node_modules","dist","build","target","vendor"]),N=(v)=>v.startsWith(".")||L.has(v),x=(v)=>v.startsWith(".")||R.has(v),b=yield*$.readDirectoryEntries(M.directory).pipe(G.orElseSucceed(()=>[]));for(let v of b){if(v.type!=="directory")continue;if(N(v.name))continue;D.add(v.name+"/");let m=T0.join(M.directory,v.name),A=yield*$.readDirectoryEntries(m).pipe(G.orElseSucceed(()=>[]));for(let u of A){if(u.type!=="directory")continue;if(x(u.name))continue;D.add(v.name+"/"+u.name+"/")}}z.dirs=Array.from(D).toSorted()}else{let D=yield*J.files({cwd:M.directory}).pipe(HJ,G.map((R)=>[...R])),L=new Set;for(let R of D){z.files.push(R);let N=R;while(!0){let x=T0.dirname(N);if(x===".")break;if(x===N)break;if(N=x,L.has(x))continue;L.add(x),z.dirs.push(x+"/")}}}let P=yield*i.get(K);P.cache=z}),V=yield*G.cached(Q().pipe(G.catchCause(()=>G.void))),X=G.fn("File.ensure")(function*(){yield*V,V=yield*G.cached(Q().pipe(G.catchCause(()=>G.void)))}),W=G.fnUntraced(function*(M){return(yield*Z.run(M,{cwd:(yield*i.context).directory})).text()}),B=(M,I)=>{if(!H$.containsPath(M,I))throw Error("Access denied: path escapes project directory");let z=$$.canonical(M);if(!H$.containsPath(z,I))throw Error("Access denied: path escapes project directory")},j=G.fn("File.init")(function*(){yield*X().pipe(G.forkIn(Y))}),_=G.fn("File.status")(function*(){let M=yield*i.context;if(M.project.vcs!=="git")return[];let I=yield*W(["-c","core.fsmonitor=false","-c","core.quotepath=false","diff","--numstat","HEAD"]),z=[];if(I.trim())for(let L of I.trim().split(`
|
|
39
39
|
`)){let[R,N,x]=L.split("\t");z.push({path:x,added:R==="-"?0:parseInt(R,10),removed:N==="-"?0:parseInt(N,10),status:"modified"})}let P=yield*W(["-c","core.fsmonitor=false","-c","core.quotepath=false","ls-files","--others","--exclude-standard"]);if(P.trim())for(let L of P.trim().split(`
|
|
@@ -6337,7 +6337,7 @@ Ready to implement <feature-name>
|
|
|
6337
6337
|
- Verify directory is ignored for project-local
|
|
6338
6338
|
- Auto-detect and run project setup
|
|
6339
6339
|
- Verify clean test baseline
|
|
6340
|
-
`}}}catch($){if($ instanceof ReferenceError)return QV();throw $}}var XV=jq(),Uq=O$.create({service:"skill.compose"}),WV=G.fn("Skill.extractComposeBundle")(function*($){let J=u9.join(H8.data,"compose",E2),Z=u9.join(J,".extracted");return yield*m9({fsys:$,bundle:XV,root:J,marker:Z,markerContent:E2,skipIfPresent:!d9,onExtracted:(Y)=>Uq.info("extracted compose skills",{root:Y})})});function Hq($){try{return U7.default($,{})}catch{let J=GV($);if(J===$)return;try{return U7.default(J,{})}catch{return}}}function
|
|
6340
|
+
`}}}catch($){if($ instanceof ReferenceError)return QV();throw $}}var XV=jq(),Uq=O$.create({service:"skill.compose"}),WV=G.fn("Skill.extractComposeBundle")(function*($){let J=u9.join(H8.data,"compose",E2),Z=u9.join(J,".extracted");return yield*m9({fsys:$,bundle:XV,root:J,marker:Z,markerContent:E2,skipIfPresent:!d9,onExtracted:(Y)=>Uq.info("extracted compose skills",{root:Y})})});function Hq($){try{return U7.default($,{})}catch{let J=GV($);if(J===$)return;try{return U7.default(J,{})}catch{return}}}function OR(){let $=u9.join(H8.data,"compose",E2),J=[];for(let[Z,Y]of Object.entries(XV)){let K=Y["SKILL.md"];if(!K)continue;let Q=Hq(K);if(!Q?.data?.name||!Q?.data?.description)continue;let V=Wq(u9.join($,"skills",Z,"SKILL.md")).href;J.push(" <skill>",` <name>${Q.data.name}</name>`,` <description>${Q.data.description}</description>`,` <location>${V}</location>`," </skill>")}if(J.length===0)return"";return["<compose_skills>",...J,"</compose_skills>"].join(`
|
|
6341
6341
|
`)}import UV from"path";import Bq from"path";function jV(){return f9(Bq.resolve(import.meta.dir,".bundle"))}function _q(){try{return{"self-extend":{"reference/hook-api.md":`# Hook API Reference
|
|
6342
6342
|
|
|
6343
6343
|
## File Format
|
|
@@ -7204,7 +7204,7 @@ For full type signatures, all available fields, and more examples:
|
|
|
7204
7204
|
- Cannot modify the permission system
|
|
7205
7205
|
- Tool output truncated at 50KB / 2000 lines
|
|
7206
7206
|
- Prefer small, composable extensions over monolithic ones
|
|
7207
|
-
`}}}catch($){if($ instanceof ReferenceError)return jV();throw $}}var Oq=_q(),qq=O$.create({service:"skill.builtin"}),HV=G.fn("Skill.extractBuiltinBundle")(function*($){let J=UV.join(H8.data,"builtin_skills",E2),Z=UV.join(J,".extracted");return yield*m9({fsys:$,bundle:Oq,root:J,marker:Z,markerContent:E2,skipIfPresent:!d9,onExtracted:(Y)=>qq.info("extracted builtin skills",{root:Y})})});var B8=O$.create({service:"skill"}),Cq=[".claude",".agents",".codex",".opencode"],BV="skills/**/SKILL.md",Mq="{skill,skills}/**/SKILL.md",p9="**/SKILL.md",_V=F.object({name:F.string(),description:F.string(),location:F.string(),content:F.string(),hidden:F.boolean().optional()}),Dq=l9.create("SkillInvalidError",F.object({path:F.string(),message:F.string().optional(),issues:F.custom().optional()})),Pq=l9.create("SkillNameMismatchError",F.object({path:F.string(),expected:F.string(),actual:F.string()})),Iq=G.fnUntraced(function*($,J,Z){let Y=yield*G.tryPromise({try:()=>H7.parse(J),catch:(Q)=>Q}).pipe(G.catch(G.fnUntraced(function*(Q){let V=H7.FrontmatterError.isInstance(Q)?Q.data.message:`Failed to parse skill ${J}`,{Session:X}=yield*G.promise(()=>import("./chunk-
|
|
7207
|
+
`}}}catch($){if($ instanceof ReferenceError)return jV();throw $}}var Oq=_q(),qq=O$.create({service:"skill.builtin"}),HV=G.fn("Skill.extractBuiltinBundle")(function*($){let J=UV.join(H8.data,"builtin_skills",E2),Z=UV.join(J,".extracted");return yield*m9({fsys:$,bundle:Oq,root:J,marker:Z,markerContent:E2,skipIfPresent:!d9,onExtracted:(Y)=>qq.info("extracted builtin skills",{root:Y})})});var B8=O$.create({service:"skill"}),Cq=[".claude",".agents",".codex",".opencode"],BV="skills/**/SKILL.md",Mq="{skill,skills}/**/SKILL.md",p9="**/SKILL.md",_V=F.object({name:F.string(),description:F.string(),location:F.string(),content:F.string(),hidden:F.boolean().optional()}),Dq=l9.create("SkillInvalidError",F.object({path:F.string(),message:F.string().optional(),issues:F.custom().optional()})),Pq=l9.create("SkillNameMismatchError",F.object({path:F.string(),expected:F.string(),actual:F.string()})),Iq=G.fnUntraced(function*($,J,Z){let Y=yield*G.tryPromise({try:()=>H7.parse(J),catch:(Q)=>Q}).pipe(G.catch(G.fnUntraced(function*(Q){let V=H7.FrontmatterError.isInstance(Q)?Q.data.message:`Failed to parse skill ${J}`,{Session:X}=yield*G.promise(()=>import("./chunk-6cj7cn5x.js"));yield*Z.publish(X.Event.Error,{error:new l9.Unknown({message:V}).toObject()}),B8.error("failed to load skill",{skill:J,err:Q});return})));if(!Y)return;let K=_V.pick({name:!0,description:!0,hidden:!0}).safeParse(Y.data);if(!K.success)return;if($.skills[K.data.name])B8.warn("duplicate skill name",{name:K.data.name,existing:$.skills[K.data.name].location,duplicate:J});$.dirs.add(zJ.dirname(J)),$.skills[K.data.name]={name:K.data.name,description:K.data.description,location:J,content:Y.content,hidden:K.data.hidden}}),x2=G.fnUntraced(function*($,J,Z,Y){let K=yield*G.tryPromise({try:()=>y2.scan(Z,{cwd:J,absolute:!0,include:"file",symlink:!0,dot:Y?.dot}),catch:(Q)=>Q}).pipe(G.catch((Q)=>{if(!Y?.scope)return G.die(Q);return B8.error(`failed to scan ${Y.scope} skills`,{dir:J,error:Q}),G.succeed([])}));for(let Q of K)$.matches.add(Q),$.dirs.add(zJ.dirname(Q))}),Aq=G.fnUntraced(function*($,J,Z,Y,K){let Q={matches:new Set,dirs:new Set};if(!k$.QITQODE_DISABLE_BUILTIN_SKILLS){let W=yield*HV(Z).pipe(G.catch(()=>G.succeed(void 0)));if(W&&(yield*Z.isDir(W)))yield*x2(Q,W,p9,{scope:"builtin"})}if(!k$.QITQODE_DISABLE_COMPOSE_SKILLS){let W=yield*WV(Z).pipe(G.catch(()=>G.succeed(void 0)));if(W&&(yield*Z.isDir(W)))yield*x2(Q,W,p9,{scope:"compose"})}if(!k$.QITQODE_DISABLE_EXTERNAL_SKILLS){let W=Cq.filter((j)=>{if(j===".claude"&&k$.QITQODE_DISABLE_CLAUDE_CODE_SKILLS)return!1;if(j===".codex"&&k$.QITQODE_DISABLE_CODEX_SKILLS)return!1;if(j===".opencode"&&k$.QITQODE_DISABLE_OPENCODE_SKILLS)return!1;return!0});for(let j of W){let _=zJ.join(f$.Path.home,j);if(!(yield*Z.isDir(_)))continue;yield*x2(Q,_,BV,{dot:!0,scope:"global"})}let B=yield*Z.up({targets:W,start:Y,stop:K}).pipe(G.catch(()=>G.succeed([])));for(let j of B)yield*x2(Q,j,BV,{dot:!0,scope:"project"})}let V=yield*$.directories();for(let W of V)yield*x2(Q,W,Mq);let X=yield*$.get();for(let W of X.skills?.paths??[]){let B=W.startsWith("~/")?zJ.join(Fq.homedir(),W.slice(2)):W,j=zJ.isAbsolute(B)?B:zJ.join(Y,B);if(!(yield*Z.isDir(j))){B8.warn("skill path not found",{path:j});continue}yield*x2(Q,j,p9)}for(let W of X.skills?.urls??[]){let B=yield*J.pull(W);for(let j of B)yield*x2(Q,j,p9)}return{matches:Array.from(Q.matches),dirs:Array.from(Q.dirs)}}),Sq=G.fnUntraced(function*($,J,Z){yield*G.forEach(J.matches,(Y)=>Iq($,Y,Z),{concurrency:16,discard:!0}),B8.info("init",{count:Object.keys($.skills).length})});class c9 extends D$.Service()("@qitqode/Skill"){}var OV=f.effect(c9,G.gen(function*(){let $=yield*FJ.Service,J=yield*R$.Service,Z=yield*P$.Service,Y=yield*$$.Service,K=yield*i.make(G.fn("Skill.discovery")(function*(_){return yield*Aq(J,$,Y,_.directory,_.worktree)})),Q=yield*i.make(G.fn("Skill.state")(function*(_){let q={skills:{},dirs:new Set};return yield*Sq(q,yield*i.get(K),Z),q})),V=G.fn("Skill.get")(function*(_){return(yield*i.get(Q)).skills[_]}),X=G.fn("Skill.all")(function*(){let _=yield*i.get(Q);return Object.values(_.skills)}),W=G.fn("Skill.dirs")(function*(){return(yield*i.get(K)).dirs}),B=G.fn("Skill.available")(function*(_){let q=yield*i.get(Q),H=Object.values(q.skills).filter((C)=>!C.hidden);if(H=H.toSorted((C,M)=>C.name.localeCompare(M.name)),!_)return H;return H.filter((C)=>E$.evaluate("skill",C.name,_.permission).action!=="deny")}),j=G.fn("Skill.reload")(function*(){yield*i.invalidate(K),yield*i.invalidate(Q)});return c9.of({get:V,all:X,dirs:W,available:B,reload:j})})),wq=OV.pipe(f.provide(FJ.defaultLayer),f.provide(R$.defaultLayer),f.provide(P$.layer),f.provide($$.defaultLayer));function Rq($,J){if($.length===0)return"No skills are currently available.";if(J.verbose)return["<available_skills>",...$.sort((Z,Y)=>Z.name.localeCompare(Y.name)).flatMap((Z)=>[" <skill>",` <name>${Z.name}</name>`,` <description>${Z.description}</description>`,` <location>${zq(Z.location).href}</location>`," </skill>"]),"</available_skills>"].join(`
|
|
7208
7208
|
`);return["## Available Skills",...$.toSorted((Z,Y)=>Z.name.localeCompare(Y.name)).map((Z)=>`- **${Z.name}**: ${Z.description}`)].join(`
|
|
7209
7209
|
`)}var g1={};o$(g1,{layer:()=>SV,defaultLayer:()=>gq,Service:()=>s9});import AV from"path";import hq from"os";import*as CJ from"fs/promises";import DV from"path";var q0=b2("memory_fts",{id:t0().primaryKey({autoIncrement:!0}),path:i$().notNull().unique(),scope:i$().notNull(),scope_id:i$().notNull().default(""),type:i$().notNull(),body:i$().notNull(),fingerprint:i$().notNull(),last_indexed_at:t0().notNull()},($)=>[e0("memory_fts_scope_idx").on($.scope,$.scope_id),e0("memory_fts_type_idx").on($.type)]);var Lq=["feedback","project","reference","user"],Nq=[{match:/^memory$/i,type:"memory"},{match:/^memory-/i,type:"memory"},{match:/^checkpoint$/,type:"checkpoint"},{match:/^checkpoint-/,type:"checkpoint"},{match:/^tasks\/[^/]+\/progress$/,type:"progress"},{match:/^tasks\/[^/]+\/notes$/,type:"notes"}];function yq($){for(let J of Nq)if(J.match.test($))return J.type;return"free"}function qV($){let Z=$.replaceAll("\\","/").match(/\/memory\/(global|projects|sessions)(?:\/([^/]+))?\/(.+)\.md$/);if(!Z)return null;let[,Y,K,Q]=Z,V=Y==="global"?"":K??"",X=Q;return{scope:Y,scope_id:V,type:yq(X),key:X}}var Tq=/\/\.claude\/projects\/([^/]+)\/memory\/(.+)\.md$/;function FV($){let J=$.replaceAll("\\","/").match(Tq);if(!J)return null;let[,Z,Y]=J;return{scope:"cc",scope_id:Z,type:"free",key:Y}}var kq=/^---\n([\s\S]*?)\n---\n/,Eq=/^[ \t]+type:[ \t]*(\w+)[ \t]*$/m;function zV($){let J=$.match(kq);if(!J)return null;let Y=J[1].match(Eq);if(!Y)return null;let K=Y[1];return Lq.includes(K)?K:null}var CV=O$.create({service:"memory.reconcile"});async function PV($){let J=[];async function Z(Y){let K=await CJ.readdir(Y,{withFileTypes:!0}).catch((Q)=>{if(Q.code==="ENOENT")return[];throw Q});for(let Q of K){let V=DV.join(Y,Q.name);if(Q.isDirectory())await Z(V);else if(Q.isFile()&&V.endsWith(".md"))J.push(V)}}return await Z($),J}async function xq($){let J=await CJ.readdir($,{withFileTypes:!0}).catch((Y)=>{if(Y.code==="ENOENT")return[];throw Y}),Z=[];for(let Y of J){if(!Y.isDirectory())continue;let K=DV.join($,Y.name,"memory");if(!await CJ.stat(K).then(()=>!0).catch(()=>!1))continue;let V=await PV(K);for(let X of V)Z.push(X)}return Z}async function MV($,J,Z,Y){let K=await CJ.stat($).catch((W)=>{if(W.code==="ENOENT")return null;throw W});if(!K)return"skipped";let Q=`${K.size}-${K.mtimeMs}`;if(Y===Q)return"hit";let V=await Bun.file($).text(),X=Z==="cc"?zV(V)??"free":J.type;return z$.use((W)=>W.insert(q0).values({path:$,scope:J.scope,scope_id:J.scope_id,type:X,body:V,fingerprint:Q,last_indexed_at:Date.now()}).onConflictDoUpdate({target:q0.path,set:{scope:J.scope,scope_id:J.scope_id,type:X,body:V,fingerprint:Q,last_indexed_at:Date.now()}}).run()),"updated"}async function B7($){let J=new Set(await PV($.qode)),Z=$.cc?new Set(await xq($.cc)):new Set,Y=new Set([...J,...Z]),K=new Map(z$.use((X)=>X.select({path:q0.path,fingerprint:q0.fingerprint}).from(q0).all()).map((X)=>[X.path,X.fingerprint])),Q=0;for(let X of K.keys())if(!Y.has(X))z$.use((W)=>W.delete(q0).where(G$(q0.path,X)).run()),Q++;let V=0;for(let X of J){let W=qV(X);if(!W){CV.warn("path outside memory layout, skipping",{path:X});continue}if(await MV(X,W,"qode",K.get(X))==="updated")V++}for(let X of Z){let W=FV(X);if(!W){CV.warn("CC path failed to parse, skipping",{path:X});continue}if(await MV(X,W,"cc",K.get(X))==="updated")V++}return{indexed:V,pruned:Q}}function o9($,J){let Z=$.match(/[\p{L}\p{N}_]+/gu)?.map((K)=>K.trim()).filter(Boolean)??[];if(Z.length===0)return null;return Z.map((K)=>`"${K.replaceAll('"',"")}"`).join(` ${J} `)}function IV($){return o9($,"OR")}var bq=64,vq=8,r9=4096;function i9($){let J=z$.Client().$client,Z=$.conditions.length>0?`WHERE ${$.conditions.join(" AND ")}`:"",Y=`
|
|
7210
7210
|
WITH matched(fts_rowid, fts_score) AS (
|
|
@@ -7272,7 +7272,7 @@ Input: npm install
|
|
|
7272
7272
|
Output: Installs package dependencies
|
|
7273
7273
|
|
|
7274
7274
|
Input: mkdir foo
|
|
7275
|
-
Output: Creates directory 'foo'`)}),aV=F.object({filePath:F.string().describe("The absolute path to the file or directory to read"),offset:F.coerce.number().int().min(1).describe("The line number to start reading from (1-indexed)").optional(),limit:F.coerce.number().int().min(1).describe("The maximum number of lines to read (defaults to 2000)").optional()}),tV=F.object({pattern:F.string().describe("The glob pattern to match files against"),path:F.string().optional().describe('The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.')}),eV=F.object({pattern:F.string().describe("The regex pattern to search for in file contents"),path:F.string().optional().describe("The directory to search in. Defaults to the current working directory."),include:F.string().optional().describe('File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")')}),XF=F.object({filePath:F.string().describe("The absolute path to the file to modify"),oldString:F.string().describe("The text to replace"),newString:F.string().describe("The text to replace it with (must be different from oldString)"),replaceAll:F.boolean().optional().describe("Replace all occurrences of oldString (default false)")}),$G=XF,JG=F.object({content:F.string().describe("The content to write to the file"),filePath:F.string().describe("The absolute path to the file to write (must be absolute, not relative)")}),WF="(optional) Model for this subagent: a model group name (e.g. fast/economical/default/power) or a literal provider/model. Overrides the agent's configured model; defaults to the agent's model, else the parent's. If no model_groups are configured, the tier names resolve to their default model.";function ZG($=F.string()){let J=F.string().min(1).describe("Actor session id to operate on. Distinct from the user-task IDs (T1, T2, ...) used by the `task` tool."),Z=F.number().int().positive().optional().describe("(optional) Milliseconds to wait before returning { status: 'timeout' }. Default 600000 (10 min)."),Y=F.string().min(1).describe("A short (3-5 words) description of the task."),K=F.string().min(1).describe("The task for the agent to perform."),Q=$.describe("The type of specialized agent to use for this task."),V=F.string().min(1).optional().describe(WF),X=F.string().min(1).optional().describe("(optional) The command that triggered this task."),W=F.string().min(1).optional().describe("(optional) If this subagent is doing work for a specific task in the `task` tool, pass that task's ID (e.g. T4, T2.1) here \u2014 only an ID the `task` tool returned this session. After completion, the actor.postStop hook validates that tasks/<task_id>/progress.md exists with the required sections. If the ID is malformed or names no existing task, the binding is silently dropped and the subagent's findings are NOT captured to that task. Leave omitted only for work that isn't tied to a task."),B=F.strictObject({action:F.literal("run").describe("Spawn a subagent and block until it completes; the result is returned inline as the tool response."),description:Y,prompt:K,subagent_type:Q,model:V,actor_id:F.string().min(1).optional().describe("(optional) If set, resume the specified prior actor session instead of creating a new one. Distinct from the user-task IDs (T1, T2, ...) used by the `task` tool."),timeout_ms:Z,command:X,context:F.enum(["none","state","full"]).optional().describe("(optional) Context inheritance. 'none' (default): child sees only prompt. 'full': child sees parent conversation (prefix cache sharing). 'state': child gets checkpoint summary."),task_id:W,output_schema:F.record(F.string(),F.any()).optional().describe("(optional) A JSON Schema. When set, the subagent is forced to return a single structured object matching this schema (via the StructuredOutput tool) instead of free text; the validated object is returned in <actor_result>.")}),j=F.strictObject({action:F.literal("spawn").describe("Spawn a subagent and return its actor_id immediately; result is delivered as a notification or via a separate `wait` call."),description:Y,prompt:K,subagent_type:Q,model:V,actor_id:F.string().min(1).optional().describe("(optional) If set, resume the specified prior actor session instead of creating a new one."),command:X,context:F.enum(["none","state","full"]).optional().describe("(optional) Context inheritance. Default 'none'."),task_id:W,output_schema:F.record(F.string(),F.any()).optional().describe("(optional) A JSON Schema. When set, the subagent is forced to return a single structured object matching this schema (via the StructuredOutput tool) instead of free text.")}),_=F.strictObject({action:F.literal("status"),actor_id:J}),q=F.strictObject({action:F.literal("wait"),actor_id:J,timeout_ms:Z}),H=F.strictObject({action:F.literal("cancel"),actor_id:J}),C=F.strictObject({action:F.literal("send"),to_session_id:F.string().min(1).optional().describe("(optional) Target session ID. Defaults to the current session \u2014 useful for sending to subagents in this session."),to_actor_id:F.string().min(1).describe("Target actor ID. Use 'main' to send to a session's main agent, or a subagent ID like 'explore-1'."),content:F.string().min(1).describe("Message content (plain text). Wrapped in <inbox> for the receiver."),type:F.string().optional().describe("(optional) Message type. Default 'text' is wrapped in <inbox>...</inbox>. 'actor_notification' is passed through verbatim (sender pre-renders).")});return F.strictObject({operation:F.discriminatedUnion("action",[B,j,_,q,H,C]).meta({type:"object"})})}var YG=F.object({url:F.string().describe("The URL to fetch content from"),format:F.enum(["text","markdown","html"]).default("markdown").describe("The format to return the content in (text, markdown, or html). Defaults to markdown."),timeout:F.number().min(1).describe("Optional timeout in seconds (min 1, max 120)").optional()}),KG=F.object({query:F.string().describe("Websearch query"),numResults:F.number().optional().describe("Number of search results to return (default: 8)"),timeout:F.number().min(1).describe("Optional timeout in seconds (min 1, max 120)").optional(),livecrawl:F.enum(["fallback","preferred"]).optional().describe("Live crawl mode - 'fallback': use live crawling as backup if cached content unavailable, 'preferred': prioritize live crawling (default: 'fallback')"),type:F.enum(["auto","fast","deep"]).optional().describe("Search type - 'auto': balanced search (default), 'fast': quick results, 'deep': comprehensive search"),contextMaxCharacters:F.number().optional().describe("Maximum characters for context string optimized for LLMs (default: 10000)")}),QG=F.object({query:F.string().describe("Search query to find relevant context for APIs, Libraries, and SDKs. For example, 'React useState hook examples', 'Python pandas dataframe filtering', 'Express.js middleware', 'Next js partial prerendering configuration'"),tokensNum:F.number().min(1000).max(50000).default(5000).describe("Number of tokens to return (1000-50000). Default is 5000 tokens. Adjust this value based on how much context you need - use lower values for focused queries and higher values for comprehensive documentation.")}),VG=F.object({name:F.string().describe("The name of the skill from available_skills")}),GG=F.object({patchText:F.string().describe("The full patch text that describes all changes to be made")}),XG=F.object({path:F.string().describe("The directory to switch to. Absolute or relative to current working directory. Use '~' to reset to project root.")}),jF=["goToDefinition","findReferences","hover","documentSymbol","workspaceSymbol","goToImplementation","prepareCallHierarchy","incomingCalls","outgoingCalls"],WG=F.object({operation:F.enum(jF).describe("The LSP operation to perform"),filePath:F.string().describe("The absolute or relative path to the file"),line:F.number().int().min(1).describe("The line number (1-based, as shown in editors)"),character:F.number().int().min(1).describe("The character offset (1-based, as shown in editors)")}),jG=F.object({}),UG=F.object({}),HG=F.object({operation:F.enum(["search"]).default("search").describe("Memory operation to perform"),query:F.string().describe("Search query (BM25 over markdown bodies)"),scope:F.enum(["global","projects","sessions","cc"]).optional().describe("Filter by memory scope"),scope_id:F.string().optional().describe("Filter by scope id (e.g., session id, task id, project id hash)"),type:F.string().optional().describe("Filter by memory type (pinned, snapshot, learning, progress, free, ...)"),limit:F.number().optional().describe("Max results (default 10)")}),UF=F.enum(["user_text","assistant_text","tool_input","tool_error","reasoning","tool_output"]),BG=F.object({operation:F.enum(["search","around"]).describe("search: FTS BM25; around: pull message context"),query:F.string().optional().describe("FTS query (BM25 over text/tool bodies). Required for operation=search."),scope:F.enum(["project","global"]).optional().describe("Default project."),session_id:F.string().optional(),kind:F.array(UF).optional(),tool_name:F.string().optional().describe("Filter to a specific tool (e.g. Bash, Read)"),time_after:F.number().optional().describe("Unix ms"),time_before:F.number().optional(),limit:F.number().optional().describe("Max 50, default 10"),message_id:F.string().optional().describe("Anchor message id. Required for operation=around."),before:F.number().optional().describe("Default 5"),after:F.number().optional().describe("Default 5")}),HF=F.enum(["open","in_progress","blocked","done","abandoned"]),BF=F.strictObject({action:F.literal("create"),summary:F.string().min(1).describe("Task summary for a single task."),parent_id:F.string().min(1).optional().describe("Parent task id for sub-tasks."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),_F=F.strictObject({action:F.literal("list"),status:HF.optional().describe("Filter by status."),include_terminal:F.boolean().optional().describe("Include done/abandoned tasks. Default false."),include_archived:F.boolean().optional().describe("Include archived tasks. Default false."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),OF=F.strictObject({action:F.literal("get"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),qF=F.strictObject({action:F.literal("start"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short note on starting."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),FF=F.strictObject({action:F.literal("block"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for blocking."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),zF=F.strictObject({action:F.literal("unblock"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for unblocking."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),CF=F.strictObject({action:F.literal("done"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short summary of what was completed."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),MF=F.strictObject({action:F.literal("abandon"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for abandoning."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),DF=F.strictObject({action:F.literal("rename"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),summary:F.string().min(1).describe("New task summary."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),_G=F.strictObject({operation:F.discriminatedUnion("action",[BF,_F,OF,qF,FF,zF,CF,MF,DF]).meta({type:"object"})}),PF=F.strictObject({operation:F.literal("run"),name:F.string().min(1).optional().describe('(optional) Name of a built-in workflow to run (e.g. "deep-research"). Provide EITHER name OR script, not both.'),script:F.string().min(1).optional().describe("(optional) Inline JS workflow script; must begin with `export const meta = {...}`. Provide EITHER name OR script, not both."),args:F.any().optional().describe("(optional) JSON value exposed to the script as `args`."),workspace:F.string().optional().describe("(optional) Absolute dir the script's file primitives (readFile/writeFile/glob/exists) are jailed to. Defaults to the project worktree."),async:F.boolean().optional().describe("(optional) When true, return a run_id immediately and let the workflow run in the background; the result arrives later as an inbox notification. Default false: block until terminal and return the transcript inline (skill-like semantics, recommended for short workflows).")}),IF=F.strictObject({operation:F.literal("status"),run_id:F.string().min(1)}),AF=F.strictObject({operation:F.literal("wait"),run_id:F.string().min(1),timeout_ms:F.number().int().positive().optional()}),SF=F.strictObject({operation:F.literal("cancel"),run_id:F.string().min(1)}),wF=F.strictObject({operation:F.literal("resume"),run_id:F.string().min(1)}),OG=F.discriminatedUnion("operation",[PF,IF,AF,SF,wF]);import E3 from"os";import{createWriteStream as fA}from"fs";import{open as mA,stat as uA}from"fs/promises";class E0 extends Error{recoverable=!0;constructor($,J){super($,J);this.name="RecoverableError"}}function Yy($){if($ instanceof E0)return!0;return qG($)&&$.recoverable===!0}var p0={};o$(p0,{layer:()=>XH,defaultLayer:()=>PA,Service:()=>P6,Info:()=>DA,Agent:()=>p0});var aU={};o$(aU,{renderWorkflowCatalog:()=>sU,layer:()=>nU,defaultLayer:()=>MA,Service:()=>M6});import RF from"path";function LF($){for(let J of k0.stream($,{agentID:"*"}))if(J.info.role==="user"&&J.info.model)return J.info.model;return}var FG=G.fn("runPlanSwitch")(function*($,J,Z){let Y=yield*$.session.get(J.sessionID),K=RF.relative(H$.worktree,Y1.plan(Y)),V=(yield*$.question.ask({sessionID:J.sessionID,questions:[{key:Z.key,params:{plan:K},question:Z.question(K),header:"Plan",options:Z.options}],tool:J.callID?{messageID:J.messageID,callID:J.callID}:void 0}))[0]?.[0];if(V==="No")return yield*new H1.RejectedError;if(V!=="Yes")return{title:"User provided feedback",output:`User chose not to switch yet and provided feedback: ${V}`,metadata:{switched:!1,feedback:V}};let X=LF(J.sessionID)??(yield*$.provider.defaultModel()),W={id:IJ.ascending(),sessionID:J.sessionID,role:"user",time:{created:Date.now()},agent:Z.agent,model:X};return yield*$.session.updateMessage(W),yield*$.session.updatePart({id:f2.ascending(),messageID:W.id,sessionID:J.sessionID,type:"text",text:Z.text(K),synthetic:!0}),{title:Z.title,output:Z.output,metadata:{switched:!0,feedback:""}}}),zG=B$("plan_enter",G.gen(function*(){let $=(yield*e.toolDescriptionEffect("plan_enter"))??"",J=yield*Y1.Service,Z=yield*H1.Service,Y=yield*B1.Service;return{description:$,parameters:jG,execute:(K,Q)=>G.gen(function*(){if(Q.agent==="plan")return{title:"Already in plan mode",output:"You are already in plan mode. This tool is only effective outside of plan mode.",metadata:{switched:!1,feedback:""}};return yield*FG({session:J,question:Z,provider:Y},Q,{key:"plan_enter",question:()=>"Would you like to switch to plan mode for structured planning?",options:[{label:"Yes",description:"Switch to plan agent for read-only planning"},{label:"No",description:"Stay in current mode"}],agent:"plan",text:(V)=>`Switched to plan mode. Create a plan at ${V}`,title:"Switching to plan agent",output:"User approved switching to plan agent. Wait for further instructions."})}).pipe(G.orDie)}})),CG=B$("plan_exit",G.gen(function*(){let $=(yield*e.toolDescriptionEffect("plan_exit"))??"",J=yield*Y1.Service,Z=yield*H1.Service,Y=yield*B1.Service;return{description:$,parameters:UG,execute:(K,Q)=>G.gen(function*(){if(Q.agent!=="plan")return{title:"Not in plan mode",output:"You are not in plan mode. This tool is only effective in plan mode.",metadata:{switched:!1,feedback:""}};return yield*FG({session:J,question:Z,provider:Y},Q,{key:"plan_exit",question:(V)=>`Plan at ${V} is complete. Would you like to switch to the build agent and start implementing?`,options:[{label:"Yes",description:"Switch to build agent and start implementing the plan"},{label:"No",description:"Stay with plan agent to continue refining the plan"}],agent:"build",text:(V)=>`The plan at ${V} has been approved, you can now edit files. Execute the plan`,title:"Switching to build agent",output:"User approved switching to build agent. Wait for further instructions."})}).pipe(G.orDie)}}));var NF=sV,yF=`
|
|
7275
|
+
Output: Creates directory 'foo'`)}),aV=F.object({filePath:F.string().describe("The absolute path to the file or directory to read"),offset:F.coerce.number().int().min(1).describe("The line number to start reading from (1-indexed)").optional(),limit:F.coerce.number().int().min(1).describe("The maximum number of lines to read (defaults to 2000)").optional()}),tV=F.object({pattern:F.string().describe("The glob pattern to match files against"),path:F.string().optional().describe('The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.')}),eV=F.object({pattern:F.string().describe("The regex pattern to search for in file contents"),path:F.string().optional().describe("The directory to search in. Defaults to the current working directory."),include:F.string().optional().describe('File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")')}),XF=F.object({filePath:F.string().describe("The absolute path to the file to modify"),oldString:F.string().describe("The text to replace"),newString:F.string().describe("The text to replace it with (must be different from oldString)"),replaceAll:F.boolean().optional().describe("Replace all occurrences of oldString (default false)")}),$G=XF,JG=F.object({content:F.string().describe("The content to write to the file"),filePath:F.string().describe("The absolute path to the file to write (must be absolute, not relative)")}),WF="(optional) Model for this subagent: a model group name (e.g. fast/economical/default/power) or a literal provider/model. Overrides the agent's configured model; defaults to the agent's model, else the parent's. If no model_groups are configured, the tier names resolve to their default model.";function ZG($=F.string()){let J=F.string().min(1).describe("Actor session id to operate on. Distinct from the user-task IDs (T1, T2, ...) used by the `task` tool."),Z=F.number().int().positive().optional().describe("(optional) Milliseconds to wait before returning { status: 'timeout' }. Default 600000 (10 min)."),Y=F.string().min(1).describe("A short (3-5 words) description of the task."),K=F.string().min(1).describe("The task for the agent to perform."),Q=$.describe("The type of specialized agent to use for this task."),V=F.string().min(1).optional().describe(WF),X=F.string().min(1).optional().describe("(optional) The command that triggered this task."),W=F.string().min(1).optional().describe("(optional) If this subagent is doing work for a specific task in the `task` tool, pass that task's ID (e.g. T4, T2.1) here \u2014 only an ID the `task` tool returned this session. After completion, the actor.postStop hook validates that tasks/<task_id>/progress.md exists with the required sections. If the ID is malformed or names no existing task, the binding is silently dropped and the subagent's findings are NOT captured to that task. Leave omitted only for work that isn't tied to a task."),B=F.strictObject({action:F.literal("run").describe("Spawn a subagent and block until it completes; the result is returned inline as the tool response."),description:Y,prompt:K,subagent_type:Q,model:V,actor_id:F.string().min(1).optional().describe("(optional) If set, resume the specified prior actor session instead of creating a new one. Distinct from the user-task IDs (T1, T2, ...) used by the `task` tool."),timeout_ms:Z,command:X,context:F.enum(["none","state","full"]).optional().describe("(optional) Context inheritance. 'none' (default): child sees only prompt. 'full': child sees parent conversation (prefix cache sharing). 'state': child gets checkpoint summary."),task_id:W,output_schema:F.record(F.string(),F.any()).optional().describe("(optional) A JSON Schema. When set, the subagent is forced to return a single structured object matching this schema (via the StructuredOutput tool) instead of free text; the validated object is returned in <actor_result>.")}),j=F.strictObject({action:F.literal("spawn").describe("Spawn a subagent and return its actor_id immediately; result is delivered as a notification or via a separate `wait` call."),description:Y,prompt:K,subagent_type:Q,model:V,actor_id:F.string().min(1).optional().describe("(optional) If set, resume the specified prior actor session instead of creating a new one."),command:X,context:F.enum(["none","state","full"]).optional().describe("(optional) Context inheritance. Default 'none'."),task_id:W,output_schema:F.record(F.string(),F.any()).optional().describe("(optional) A JSON Schema. When set, the subagent is forced to return a single structured object matching this schema (via the StructuredOutput tool) instead of free text.")}),_=F.strictObject({action:F.literal("status"),actor_id:J}),q=F.strictObject({action:F.literal("wait"),actor_id:J,timeout_ms:Z}),H=F.strictObject({action:F.literal("cancel"),actor_id:J}),C=F.strictObject({action:F.literal("send"),to_session_id:F.string().min(1).optional().describe("(optional) Target session ID. Defaults to the current session \u2014 useful for sending to subagents in this session."),to_actor_id:F.string().min(1).describe("Target actor ID. Use 'main' to send to a session's main agent, or a subagent ID like 'explore-1'."),content:F.string().min(1).describe("Message content (plain text). Wrapped in <inbox> for the receiver."),type:F.string().optional().describe("(optional) Message type. Default 'text' is wrapped in <inbox>...</inbox>. 'actor_notification' is passed through verbatim (sender pre-renders).")});return F.strictObject({operation:F.discriminatedUnion("action",[B,j,_,q,H,C]).meta({type:"object"})})}var YG=F.object({url:F.string().describe("The URL to fetch content from"),format:F.enum(["text","markdown","html"]).default("markdown").describe("The format to return the content in (text, markdown, or html). Defaults to markdown."),timeout:F.number().min(1).describe("Optional timeout in seconds (min 1, max 120)").optional()}),KG=F.object({query:F.string().describe("Websearch query"),numResults:F.number().optional().describe("Number of search results to return (default: 8)"),timeout:F.number().min(1).describe("Optional timeout in seconds (min 1, max 120)").optional(),livecrawl:F.enum(["fallback","preferred"]).optional().describe("Live crawl mode - 'fallback': use live crawling as backup if cached content unavailable, 'preferred': prioritize live crawling (default: 'fallback')"),type:F.enum(["auto","fast","deep"]).optional().describe("Search type - 'auto': balanced search (default), 'fast': quick results, 'deep': comprehensive search"),contextMaxCharacters:F.number().optional().describe("Maximum characters for context string optimized for LLMs (default: 10000)")}),QG=F.object({query:F.string().describe("Search query to find relevant context for APIs, Libraries, and SDKs. For example, 'React useState hook examples', 'Python pandas dataframe filtering', 'Express.js middleware', 'Next js partial prerendering configuration'"),tokensNum:F.number().min(1000).max(50000).default(5000).describe("Number of tokens to return (1000-50000). Default is 5000 tokens. Adjust this value based on how much context you need - use lower values for focused queries and higher values for comprehensive documentation.")}),VG=F.object({name:F.string().describe("The name of the skill from available_skills")}),GG=F.object({patchText:F.string().describe("The full patch text that describes all changes to be made")}),XG=F.object({path:F.string().describe("The directory to switch to. Absolute or relative to current working directory. Use '~' to reset to project root.")}),jF=["goToDefinition","findReferences","hover","documentSymbol","workspaceSymbol","goToImplementation","prepareCallHierarchy","incomingCalls","outgoingCalls"],WG=F.object({operation:F.enum(jF).describe("The LSP operation to perform"),filePath:F.string().describe("The absolute or relative path to the file"),line:F.number().int().min(1).describe("The line number (1-based, as shown in editors)"),character:F.number().int().min(1).describe("The character offset (1-based, as shown in editors)")}),jG=F.object({}),UG=F.object({}),HG=F.object({operation:F.enum(["search"]).default("search").describe("Memory operation to perform"),query:F.string().describe("Search query (BM25 over markdown bodies)"),scope:F.enum(["global","projects","sessions","cc"]).optional().describe("Filter by memory scope"),scope_id:F.string().optional().describe("Filter by scope id (e.g., session id, task id, project id hash)"),type:F.string().optional().describe("Filter by memory type (pinned, snapshot, learning, progress, free, ...)"),limit:F.number().optional().describe("Max results (default 10)")}),UF=F.enum(["user_text","assistant_text","tool_input","tool_error","reasoning","tool_output"]),BG=F.object({operation:F.enum(["search","around"]).describe("search: FTS BM25; around: pull message context"),query:F.string().optional().describe("FTS query (BM25 over text/tool bodies). Required for operation=search."),scope:F.enum(["project","global"]).optional().describe("Default project."),session_id:F.string().optional(),kind:F.array(UF).optional(),tool_name:F.string().optional().describe("Filter to a specific tool (e.g. Bash, Read)"),time_after:F.number().optional().describe("Unix ms"),time_before:F.number().optional(),limit:F.number().optional().describe("Max 50, default 10"),message_id:F.string().optional().describe("Anchor message id. Required for operation=around."),before:F.number().optional().describe("Default 5"),after:F.number().optional().describe("Default 5")}),HF=F.enum(["open","in_progress","blocked","done","abandoned"]),BF=F.strictObject({action:F.literal("create"),summary:F.string().min(1).describe("Task summary for a single task."),parent_id:F.string().min(1).optional().describe("Parent task id for sub-tasks."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),_F=F.strictObject({action:F.literal("list"),status:HF.optional().describe("Filter by status."),include_terminal:F.boolean().optional().describe("Include done/abandoned tasks. Default false."),include_archived:F.boolean().optional().describe("Include archived tasks. Default false."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),OF=F.strictObject({action:F.literal("get"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),qF=F.strictObject({action:F.literal("start"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short note on starting."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),FF=F.strictObject({action:F.literal("block"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for blocking."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),zF=F.strictObject({action:F.literal("unblock"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for unblocking."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),CF=F.strictObject({action:F.literal("done"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short summary of what was completed."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),MF=F.strictObject({action:F.literal("abandon"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),event_summary:F.string().min(1).optional().describe("Short reason for abandoning."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),DF=F.strictObject({action:F.literal("rename"),id:F.string().min(1).describe("Task id, e.g. T1 or T1.1."),summary:F.string().min(1).describe("New task summary."),session_id:F.string().min(1).optional().describe("Session id to act on. Defaults to current session.")}),_G=F.strictObject({operation:F.discriminatedUnion("action",[BF,_F,OF,qF,FF,zF,CF,MF,DF]).meta({type:"object"})}),PF=F.strictObject({operation:F.literal("run"),name:F.string().min(1).optional().describe('(optional) Name of a built-in workflow to run (e.g. "deep-research"). Provide EITHER name OR script, not both.'),script:F.string().min(1).optional().describe("(optional) Inline JS workflow script; must begin with `export const meta = {...}`. Provide EITHER name OR script, not both."),args:F.any().optional().describe("(optional) JSON value exposed to the script as `args`."),workspace:F.string().optional().describe("(optional) Absolute dir the script's file primitives (readFile/writeFile/glob/exists) are jailed to. Defaults to the project worktree."),async:F.boolean().optional().describe("(optional) When true, return a run_id immediately and let the workflow run in the background; the result arrives later as an inbox notification. Default false: block until terminal and return the transcript inline (skill-like semantics, recommended for short workflows).")}),IF=F.strictObject({operation:F.literal("status"),run_id:F.string().min(1)}),AF=F.strictObject({operation:F.literal("wait"),run_id:F.string().min(1),timeout_ms:F.number().int().positive().optional()}),SF=F.strictObject({operation:F.literal("cancel"),run_id:F.string().min(1)}),wF=F.strictObject({operation:F.literal("resume"),run_id:F.string().min(1)}),OG=F.discriminatedUnion("operation",[PF,IF,AF,SF,wF]);import E3 from"os";import{createWriteStream as fA}from"fs";import{open as mA,stat as uA}from"fs/promises";class E0 extends Error{recoverable=!0;constructor($,J){super($,J);this.name="RecoverableError"}}function Ky($){if($ instanceof E0)return!0;return qG($)&&$.recoverable===!0}var p0={};o$(p0,{layer:()=>XH,defaultLayer:()=>PA,Service:()=>P6,Info:()=>DA,Agent:()=>p0});var aU={};o$(aU,{renderWorkflowCatalog:()=>sU,layer:()=>nU,defaultLayer:()=>MA,Service:()=>M6});import RF from"path";function LF($){for(let J of k0.stream($,{agentID:"*"}))if(J.info.role==="user"&&J.info.model)return J.info.model;return}var FG=G.fn("runPlanSwitch")(function*($,J,Z){let Y=yield*$.session.get(J.sessionID),K=RF.relative(H$.worktree,Y1.plan(Y)),V=(yield*$.question.ask({sessionID:J.sessionID,questions:[{key:Z.key,params:{plan:K},question:Z.question(K),header:"Plan",options:Z.options}],tool:J.callID?{messageID:J.messageID,callID:J.callID}:void 0}))[0]?.[0];if(V==="No")return yield*new H1.RejectedError;if(V!=="Yes")return{title:"User provided feedback",output:`User chose not to switch yet and provided feedback: ${V}`,metadata:{switched:!1,feedback:V}};let X=LF(J.sessionID)??(yield*$.provider.defaultModel()),W={id:IJ.ascending(),sessionID:J.sessionID,role:"user",time:{created:Date.now()},agent:Z.agent,model:X};return yield*$.session.updateMessage(W),yield*$.session.updatePart({id:f2.ascending(),messageID:W.id,sessionID:J.sessionID,type:"text",text:Z.text(K),synthetic:!0}),{title:Z.title,output:Z.output,metadata:{switched:!0,feedback:""}}}),zG=B$("plan_enter",G.gen(function*(){let $=(yield*e.toolDescriptionEffect("plan_enter"))??"",J=yield*Y1.Service,Z=yield*H1.Service,Y=yield*B1.Service;return{description:$,parameters:jG,execute:(K,Q)=>G.gen(function*(){if(Q.agent==="plan")return{title:"Already in plan mode",output:"You are already in plan mode. This tool is only effective outside of plan mode.",metadata:{switched:!1,feedback:""}};return yield*FG({session:J,question:Z,provider:Y},Q,{key:"plan_enter",question:()=>"Would you like to switch to plan mode for structured planning?",options:[{label:"Yes",description:"Switch to plan agent for read-only planning"},{label:"No",description:"Stay in current mode"}],agent:"plan",text:(V)=>`Switched to plan mode. Create a plan at ${V}`,title:"Switching to plan agent",output:"User approved switching to plan agent. Wait for further instructions."})}).pipe(G.orDie)}})),CG=B$("plan_exit",G.gen(function*(){let $=(yield*e.toolDescriptionEffect("plan_exit"))??"",J=yield*Y1.Service,Z=yield*H1.Service,Y=yield*B1.Service;return{description:$,parameters:UG,execute:(K,Q)=>G.gen(function*(){if(Q.agent!=="plan")return{title:"Not in plan mode",output:"You are not in plan mode. This tool is only effective in plan mode.",metadata:{switched:!1,feedback:""}};return yield*FG({session:J,question:Z,provider:Y},Q,{key:"plan_exit",question:(V)=>`Plan at ${V} is complete. Would you like to switch to the build agent and start implementing?`,options:[{label:"Yes",description:"Switch to build agent and start implementing the plan"},{label:"No",description:"Stay with plan agent to continue refining the plan"}],agent:"build",text:(V)=>`The plan at ${V} has been approved, you can now edit files. Execute the plan`,title:"Switching to build agent",output:"User approved switching to build agent. Wait for further instructions."})}).pipe(G.orDie)}}));var NF=sV,yF=`
|
|
7276
7276
|
|
|
7277
7277
|
## Client rules for this prompt
|
|
7278
7278
|
- A free-text answer is ALWAYS offered alongside your options. Never add an option that only means "Type your own answer", "Provide details", "Other" or similar \u2014 the client strips those, and a list with one real entry is not a choice.
|
|
@@ -7388,7 +7388,7 @@ ${I.map((b)=>b.content).join(`
|
|
|
7388
7388
|
`)K++;V+=2;continue}if(X===Q){Q=null,Z+=X,V++;continue}if(X===`
|
|
7389
7389
|
`)K++;Z+=X,V++;continue}if(X==='"'||X==="'"){Q=X,Z+=X,V++;continue}if(X==="\\"&&V+1<$.length&&$[V+1]===`
|
|
7390
7390
|
`){K++,V+=2;continue}if(X===`
|
|
7391
|
-
`){J.push({line:Y,text:Z}),Z="",K++,Y=K,V++;continue}Z+=X,V++}if(Z.length>0)J.push({line:Y,text:Z});return J}function KX($,J,Z){let Y=$.length,K=J.length;if(Math.abs(Y-K)>Z)return Z+1;if(Y===0)return K;if(K===0)return Y;if(Y<K)return KX(J,$,Z);let Q=Array(K+1),V=Array(K+1);for(let X=0;X<=K;X++)Q[X]=X;for(let X=1;X<=Y;X++){V.fill(Z+1),V[0]=X;let W=Math.max(1,X-Z),B=Math.min(K,X+Z),j=Number.POSITIVE_INFINITY;for(let _=W;_<=B;_++){let q=$[X-1]===J[_-1]?0:1;V[_]=Math.min(Q[_]+1,V[_-1]+1,Q[_-1]+q),j=Math.min(j,V[_])}if(j>Z)return Z+1;[Q,V]=[V,Q]}return Q[K]}function MZ($,J){let Z;for(let Y of J){if(KX($,Y,2)>2)continue;if(Z!==void 0)return;Z=Y}return Z}function DZ($){if($==null||typeof $!=="object")return;let J=$;if(typeof J.operation==="string")try{let Z=JSON.parse(J.operation);if(Z&&typeof Z==="object"&&!Array.isArray(Z))J={operation:Z}}catch{}if(J.operation&&typeof J.operation==="object"&&!Array.isArray(J.operation))return{kind:"operation",operation:J.operation};return{kind:"bare",obj:J}}var c2={};o$(c2,{layer:()=>GX,defaultLayer:()=>hz,Service:()=>PZ,ActorWaiter:()=>c2});var Ez=/^\s*\*\*Status\*\*:\s*(success|partial|failed|blocked)\b/im,xz=/\*\*Summary\*\*:\s*(.+)$/im;function QX($){if(!$)return{};let J=$.match(Ez)?.[1]?.toLowerCase(),Z=$.match(xz)?.[1]?.trim();return{...J?{status:J}:{},...Z?{summary:Z}:{}}}var vz=600000;function E7($){return $.status==="idle"&&($.lifecycle==="ephemeral"||$.lastOutcome!==void 0&&$.lastOutcome!=="success")}class PZ extends D$.Service()("@qitqode/ActorWaiter"){}var GX=f.effect(PZ,G.gen(function*(){let $=yield*L1.Service,J=yield*P$.Service,Z=yield*Y1.Service,Y=(V,X)=>G.gen(function*(){let B=(yield*Z.messages({sessionID:V,agentID:X})).findLast((q)=>q.info.role==="assistant");if(!B)return{result:void 0,structured:void 0};let j=B.info.role==="assistant"?B.info.structured:void 0;if(j!==void 0)return{result:void 0,structured:j};return{result:B.parts.findLast((q)=>q.type==="text")?.text,structured:void 0}}),K=(V,X,W)=>G.gen(function*(){let B=W.status==="idle"&&W.lastOutcome==="success"?yield*Y(V,X):{result:void 0,structured:void 0},j=QX(B.result);return{status:W.status,actor_id:W.actorID,description:W.description,agent:W.agent,background:W.background,turnCount:W.turnCount,lastTurnTime:W.lastTurnTime,lastOutcome:W.lastOutcome,...W.lastError!==void 0?{error:W.lastError}:{},...B.result!==void 0?{result:B.result}:{},...B.structured!==void 0?{structured:B.structured}:{},...j.status?{reportedStatus:j.status}:{},...j.summary?{reportedSummary:j.summary}:{},time:W.time}}),Q=G.fn("ActorWaiter.wait")(function*(V){let X=yield*$.get(V.sessionID,V.actor_id);if(!X)return{status:"unknown",actor_id:V.actor_id};if(E7(X))return yield*K(V.sessionID,V.actor_id,X);let W=yield*H0.make(),B=V.timeout_ms??vz,j=yield*O1.make();return yield*G.acquireUseRelease(J.subscribeCallback(VX,(_)=>{if(_.properties.actorID!==V.actor_id)return;if(_.properties.sessionID!==V.sessionID)return;j.fork(G.gen(function*(){let q=yield*$.get(V.sessionID,V.actor_id);if(!q)return;if(!E7(q))return;let H=yield*K(V.sessionID,V.actor_id,q);H0.doneUnsafe(W,G.succeed(H))}).pipe(G.catchCause((q)=>G.logError(`waiter rehydrate failed: ${q}`))))}),()=>G.gen(function*(){let _=yield*$.get(V.sessionID,V.actor_id);if(_&&E7(_))return yield*K(V.sessionID,V.actor_id,_);let q=yield*H0.await(W).pipe(G.timeout(B),G.catchTag("TimeoutError",()=>G.succeed(null)));if(q===null)return{status:"timeout",actor_id:V.actor_id};return q}),(_)=>G.sync(()=>_()))});return PZ.of({wait:Q})})),hz=GX.pipe(f.provide(P$.defaultLayer),f.provide(L1.defaultLayer),f.provide(Y1.defaultLayer));var IZ={current:void 0};var K1={};o$(K1,{layer:()=>HX,defaultLayer:()=>pz,TaskRegistry:()=>K1,Service:()=>AZ});var L$=b2("task",{id:i$().notNull(),session_id:i$().$type().notNull().references(()=>V0.id,{onDelete:"cascade"}),parent_task_id:i$(),status:i$().$type().notNull(),summary:i$().notNull(),owner:i$(),created_at:t0().notNull(),last_event_at:t0().notNull(),ended_at:t0(),cleanup_after:t0()},($)=>[WX({columns:[$.session_id,$.id]}),e0("task_session_idx").on($.session_id),e0("task_parent_idx").on($.session_id,$.parent_task_id),e0("task_status_idx").on($.status)]),RJ=b2("task_event",{id:t0().primaryKey({autoIncrement:!0}),session_id:i$().$type().notNull().references(()=>V0.id,{onDelete:"cascade"}),task_id:i$().notNull(),at:t0().notNull(),kind:i$().notNull(),summary:i$()},($)=>[XX({columns:[$.session_id,$.task_id],foreignColumns:[L$.session_id,L$.id]}).onDelete("cascade"),e0("task_event_task_idx").on($.session_id,$.task_id,$.at)]);var C8=F.string().regex(/^T\d+(\.\d+)*$/,"Task ID must be Tn or Tn.m..."),gz=F.enum(["open","in_progress","blocked","done","abandoned"]),x7=F.object({id:C8,session_id:F0.zod,parent_task_id:C8.optional(),status:gz,summary:F.string(),owner:F.string().optional(),created_at:F.number(),last_event_at:F.number(),ended_at:F.number().optional(),cleanup_after:F.number().optional()}),b7=F.enum(["created","started","unstarted","blocked","unblocked","done","abandoned","renamed"]),Ak=F.object({id:F.number(),task_id:C8,at:F.number(),kind:b7,summary:F.string().optional()});var jX=Z0.define("task.created",F.object({sessionID:F0.zod,task:x7})),fz=b7.exclude(["created"]),UX=Z0.define("task.updated",F.object({sessionID:F0.zod,task:x7,kind:fz}));var mz=86400000,LJ=($)=>`Task ${$} not found. Use \`task list\` to see valid task IDs, or \`task create\` to add one.`;function v7($){return{id:$.id,session_id:$.session_id,parent_task_id:$.parent_task_id??void 0,status:$.status,summary:$.summary,owner:$.owner??void 0,created_at:$.created_at,last_event_at:$.last_event_at,ended_at:$.ended_at??void 0,cleanup_after:$.cleanup_after??void 0}}function uz($){return{id:$.id,task_id:$.task_id,at:$.at,kind:$.kind,summary:$.summary??void 0}}function dz($,J){let Z=$?`${$}.`:"T",Y=J.filter((Q)=>$?Q.startsWith(Z):/^T\d+$/.test(Q)).map((Q)=>{let V=Q.slice(Z.length);return/^\d+$/.test(V)?Number(V):0}),K=Y.length>0?Math.max(...Y)+1:1;return`${Z}${K}`}class AZ extends D$.Service()("@qitqode/TaskRegistry"){}var HX=f.effect(AZ,G.gen(function*(){let $=yield*P$.Service,J=yield*R$.Service,Z=G.fn("TaskRegistry.cleanupAfter")(function*(z){let P=yield*J.get(),D=P.checkpoint?.task_archive_days??P.checkpoint?.task_cleanup_days??7;return z+D*mz}),Y=(z,P,D,L,R)=>{z$.use((N)=>N.insert(RJ).values({session_id:z,task_id:P,at:R,kind:D,summary:L??null}).run())},K=(z,P)=>z.fork($.publish(jX,{sessionID:P.session_id,task:P})),Q=(z,P,D)=>z.fork($.publish(UX,{sessionID:P.session_id,task:P,kind:D})),V=G.fn("TaskRegistry.create")(function*(z){let P=yield*O1.make(),D=Date.now(),L=z$.use((b)=>b.select({id:L$.id}).from(L$).where(_0(G$(L$.session_id,z.session_id),z.parent_id?G$(L$.parent_task_id,z.parent_id):h7(L$.parent_task_id))).all()),R=dz(z.parent_id,L.map((b)=>b.id)),N={id:R,session_id:z.session_id,parent_task_id:z.parent_id??null,status:"open",summary:z.summary,owner:z.owner??null,created_at:D,last_event_at:D,ended_at:null,cleanup_after:null};z$.use((b)=>b.insert(L$).values(N).run()),Y(z.session_id,R,"created",void 0,D);let x=v7(N);return K(P,x),x}),X=G.fn("TaskRegistry.list")(function*(z){let P=Date.now(),D=[];if(z.session_id)D.push(G$(L$.session_id,z.session_id));if(z.status)D.push(G$(L$.status,z.status));if(z.owner)D.push(G$(L$.owner,z.owner));if(!z.include_terminal){let N=NJ(G$(L$.status,"open"),G$(L$.status,"in_progress"),G$(L$.status,"blocked"));if(N)D.push(N)}if(!z.include_archived){let N=NJ(h7(L$.cleanup_after),$Z(L$.cleanup_after,P));if(N)D.push(N)}let L=D.length>0?_0(...D):void 0;return z$.use((N)=>N.select().from(L$).where(L).orderBy(L$.created_at).all()).map(v7)}),W=G.fn("TaskRegistry.get")(function*(z){let P=z$.use((D)=>D.select().from(L$).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).get());return P?v7(P):void 0}),B=G.fn("TaskRegistry.events")(function*(z){return z$.use((D)=>D.select().from(RJ).where(_0(G$(RJ.session_id,z.session_id),G$(RJ.task_id,z.task_id))).orderBy(RJ.at).all()).map(uz)}),j=G.fn("TaskRegistry.block")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({status:"blocked",last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"blocked",z.event_summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"blocked"),L}),_=G.fn("TaskRegistry.unblock")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({status:"open",last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"unblocked",z.event_summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"unblocked"),L}),q=G.fn("TaskRegistry.start")(function*(z){let P=yield*O1.make(),D=Date.now(),L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));if(L.status==="done"||L.status==="abandoned")return yield*G.logWarning(`refusing to start terminal task ${z.id} (status=${L.status})`),L;let R=z.owner??L.owner;if(L.status==="in_progress"&&R===L.owner)return L;z$.use((x)=>x.update(L$).set({status:"in_progress",owner:R??null,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"started",z.event_summary,D);let N=yield*W({session_id:z.session_id,id:z.id});if(!N)return yield*G.die(new E0(LJ(z.id)));return Q(P,N,"started"),N}),H=G.fn("TaskRegistry.finish")(function*(z){let P=yield*O1.make(),D=Date.now(),L=yield*Z(D);z$.use((N)=>N.update(L$).set({status:z.status,ended_at:D,cleanup_after:L,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,z.status,z.event_summary,D);let R=yield*W({session_id:z.session_id,id:z.id});if(!R)return yield*G.die(new E0(LJ(z.id)));return Q(P,R,z.status),R}),C=G.fn("TaskRegistry.done")(function*(z){return yield*H({...z,status:"done"})}),M=G.fn("TaskRegistry.abandon")(function*(z){return yield*H({...z,status:"abandoned"})}),I=G.fn("TaskRegistry.rename")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({summary:z.summary,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"renamed",z.summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"renamed"),L});return AZ.of({create:V,list:X,get:W,events:B,block:j,unblock:_,done:C,abandon:M,rename:I,start:q})})),pz=f.suspend(()=>HX.pipe(f.provide(P$.layer),f.provide(R$.defaultLayer)));var o2={};o$(o2,{renderRebuildContext:()=>qC,renderIndex:()=>OC,loadLatest:()=>BC,loadCheckpoints:()=>_C,layer:()=>fX,lastBoundary:()=>FC,isWriterRunning:()=>zC,hasCheckpoint:()=>HC,defaultLayer:()=>mX,composeWriterPromptForTest:()=>wZ,SessionCheckpoint:()=>o2,Service:()=>D8});import jC from"path";import UC from"fs/promises";import yX from"path";var BX={current:void 0};function SZ(){try{return H$.current?.project?.id}catch{return}}function cz($){if(!Array.isArray($.content))return[];let J=[];for(let Z of $.content)if(Z.type==="tool_result"&&typeof Z.tool_use_id==="string")J.push(Z.tool_use_id);return J}function _X($){if(!Array.isArray($.content))return[];let J=[];for(let Z of $.content)if(Z.type==="tool_use"&&typeof Z.id==="string")J.push(Z.id);return J}function OX($,J){if(J<=0||J>=$.length)return J;let Z=J,Y=[],K=new Set;for(let X=Z;X<$.length;X++){Y.push(...cz($[X]));for(let W of _X($[X]))K.add(W)}let Q=new Set(Y.filter((X)=>!K.has(X)));for(let X=Z-1;X>=0&&Q.size>0;X--){let W=$[X];if(W.role!=="assistant")continue;let B=!1;for(let j of _X(W))if(Q.delete(j))B=!0;if(B)Z=X}let V=$[Z]?.id;if(V)for(let X=Z-1;X>=0;X--)if($[X].id===V)Z=X;else break;return Z}function qX($,J){if(J>=$.length)return J;for(let Z=J;Z>=0;Z--){let Y=$[Z];if(Y.info.role!=="user")continue;if(!(Y.parts.length>0&&Y.parts.every((Q)=>Q.type==="tool_result")))return Z}return 0}import lz from"fs/promises";import oz from"path";var rz=O$.create({service:"session.progress-reconcile"});function iz($){let J=$.match(/^---\n([\s\S]*?)\n---\n/);if(!J)return null;let Z=J[1].split(`
|
|
7391
|
+
`){J.push({line:Y,text:Z}),Z="",K++,Y=K,V++;continue}Z+=X,V++}if(Z.length>0)J.push({line:Y,text:Z});return J}function KX($,J,Z){let Y=$.length,K=J.length;if(Math.abs(Y-K)>Z)return Z+1;if(Y===0)return K;if(K===0)return Y;if(Y<K)return KX(J,$,Z);let Q=Array(K+1),V=Array(K+1);for(let X=0;X<=K;X++)Q[X]=X;for(let X=1;X<=Y;X++){V.fill(Z+1),V[0]=X;let W=Math.max(1,X-Z),B=Math.min(K,X+Z),j=Number.POSITIVE_INFINITY;for(let _=W;_<=B;_++){let q=$[X-1]===J[_-1]?0:1;V[_]=Math.min(Q[_]+1,V[_-1]+1,Q[_-1]+q),j=Math.min(j,V[_])}if(j>Z)return Z+1;[Q,V]=[V,Q]}return Q[K]}function MZ($,J){let Z;for(let Y of J){if(KX($,Y,2)>2)continue;if(Z!==void 0)return;Z=Y}return Z}function DZ($){if($==null||typeof $!=="object")return;let J=$;if(typeof J.operation==="string")try{let Z=JSON.parse(J.operation);if(Z&&typeof Z==="object"&&!Array.isArray(Z))J={operation:Z}}catch{}if(J.operation&&typeof J.operation==="object"&&!Array.isArray(J.operation))return{kind:"operation",operation:J.operation};return{kind:"bare",obj:J}}var c2={};o$(c2,{layer:()=>GX,defaultLayer:()=>hz,Service:()=>PZ,ActorWaiter:()=>c2});var Ez=/^\s*\*\*Status\*\*:\s*(success|partial|failed|blocked)\b/im,xz=/\*\*Summary\*\*:\s*(.+)$/im;function QX($){if(!$)return{};let J=$.match(Ez)?.[1]?.toLowerCase(),Z=$.match(xz)?.[1]?.trim();return{...J?{status:J}:{},...Z?{summary:Z}:{}}}var vz=600000;function E7($){return $.status==="idle"&&($.lifecycle==="ephemeral"||$.lastOutcome!==void 0&&$.lastOutcome!=="success")}class PZ extends D$.Service()("@qitqode/ActorWaiter"){}var GX=f.effect(PZ,G.gen(function*(){let $=yield*L1.Service,J=yield*P$.Service,Z=yield*Y1.Service,Y=(V,X)=>G.gen(function*(){let B=(yield*Z.messages({sessionID:V,agentID:X})).findLast((q)=>q.info.role==="assistant");if(!B)return{result:void 0,structured:void 0};let j=B.info.role==="assistant"?B.info.structured:void 0;if(j!==void 0)return{result:void 0,structured:j};return{result:B.parts.findLast((q)=>q.type==="text")?.text,structured:void 0}}),K=(V,X,W)=>G.gen(function*(){let B=W.status==="idle"&&W.lastOutcome==="success"?yield*Y(V,X):{result:void 0,structured:void 0},j=QX(B.result);return{status:W.status,actor_id:W.actorID,description:W.description,agent:W.agent,background:W.background,turnCount:W.turnCount,lastTurnTime:W.lastTurnTime,lastOutcome:W.lastOutcome,...W.lastError!==void 0?{error:W.lastError}:{},...B.result!==void 0?{result:B.result}:{},...B.structured!==void 0?{structured:B.structured}:{},...j.status?{reportedStatus:j.status}:{},...j.summary?{reportedSummary:j.summary}:{},time:W.time}}),Q=G.fn("ActorWaiter.wait")(function*(V){let X=yield*$.get(V.sessionID,V.actor_id);if(!X)return{status:"unknown",actor_id:V.actor_id};if(E7(X))return yield*K(V.sessionID,V.actor_id,X);let W=yield*H0.make(),B=V.timeout_ms??vz,j=yield*O1.make();return yield*G.acquireUseRelease(J.subscribeCallback(VX,(_)=>{if(_.properties.actorID!==V.actor_id)return;if(_.properties.sessionID!==V.sessionID)return;j.fork(G.gen(function*(){let q=yield*$.get(V.sessionID,V.actor_id);if(!q)return;if(!E7(q))return;let H=yield*K(V.sessionID,V.actor_id,q);H0.doneUnsafe(W,G.succeed(H))}).pipe(G.catchCause((q)=>G.logError(`waiter rehydrate failed: ${q}`))))}),()=>G.gen(function*(){let _=yield*$.get(V.sessionID,V.actor_id);if(_&&E7(_))return yield*K(V.sessionID,V.actor_id,_);let q=yield*H0.await(W).pipe(G.timeout(B),G.catchTag("TimeoutError",()=>G.succeed(null)));if(q===null)return{status:"timeout",actor_id:V.actor_id};return q}),(_)=>G.sync(()=>_()))});return PZ.of({wait:Q})})),hz=GX.pipe(f.provide(P$.defaultLayer),f.provide(L1.defaultLayer),f.provide(Y1.defaultLayer));var IZ={current:void 0};var K1={};o$(K1,{layer:()=>HX,defaultLayer:()=>pz,TaskRegistry:()=>K1,Service:()=>AZ});var L$=b2("task",{id:i$().notNull(),session_id:i$().$type().notNull().references(()=>V0.id,{onDelete:"cascade"}),parent_task_id:i$(),status:i$().$type().notNull(),summary:i$().notNull(),owner:i$(),created_at:t0().notNull(),last_event_at:t0().notNull(),ended_at:t0(),cleanup_after:t0()},($)=>[WX({columns:[$.session_id,$.id]}),e0("task_session_idx").on($.session_id),e0("task_parent_idx").on($.session_id,$.parent_task_id),e0("task_status_idx").on($.status)]),RJ=b2("task_event",{id:t0().primaryKey({autoIncrement:!0}),session_id:i$().$type().notNull().references(()=>V0.id,{onDelete:"cascade"}),task_id:i$().notNull(),at:t0().notNull(),kind:i$().notNull(),summary:i$()},($)=>[XX({columns:[$.session_id,$.task_id],foreignColumns:[L$.session_id,L$.id]}).onDelete("cascade"),e0("task_event_task_idx").on($.session_id,$.task_id,$.at)]);var C8=F.string().regex(/^T\d+(\.\d+)*$/,"Task ID must be Tn or Tn.m..."),gz=F.enum(["open","in_progress","blocked","done","abandoned"]),x7=F.object({id:C8,session_id:F0.zod,parent_task_id:C8.optional(),status:gz,summary:F.string(),owner:F.string().optional(),created_at:F.number(),last_event_at:F.number(),ended_at:F.number().optional(),cleanup_after:F.number().optional()}),b7=F.enum(["created","started","unstarted","blocked","unblocked","done","abandoned","renamed"]),Sk=F.object({id:F.number(),task_id:C8,at:F.number(),kind:b7,summary:F.string().optional()});var jX=Z0.define("task.created",F.object({sessionID:F0.zod,task:x7})),fz=b7.exclude(["created"]),UX=Z0.define("task.updated",F.object({sessionID:F0.zod,task:x7,kind:fz}));var mz=86400000,LJ=($)=>`Task ${$} not found. Use \`task list\` to see valid task IDs, or \`task create\` to add one.`;function v7($){return{id:$.id,session_id:$.session_id,parent_task_id:$.parent_task_id??void 0,status:$.status,summary:$.summary,owner:$.owner??void 0,created_at:$.created_at,last_event_at:$.last_event_at,ended_at:$.ended_at??void 0,cleanup_after:$.cleanup_after??void 0}}function uz($){return{id:$.id,task_id:$.task_id,at:$.at,kind:$.kind,summary:$.summary??void 0}}function dz($,J){let Z=$?`${$}.`:"T",Y=J.filter((Q)=>$?Q.startsWith(Z):/^T\d+$/.test(Q)).map((Q)=>{let V=Q.slice(Z.length);return/^\d+$/.test(V)?Number(V):0}),K=Y.length>0?Math.max(...Y)+1:1;return`${Z}${K}`}class AZ extends D$.Service()("@qitqode/TaskRegistry"){}var HX=f.effect(AZ,G.gen(function*(){let $=yield*P$.Service,J=yield*R$.Service,Z=G.fn("TaskRegistry.cleanupAfter")(function*(z){let P=yield*J.get(),D=P.checkpoint?.task_archive_days??P.checkpoint?.task_cleanup_days??7;return z+D*mz}),Y=(z,P,D,L,R)=>{z$.use((N)=>N.insert(RJ).values({session_id:z,task_id:P,at:R,kind:D,summary:L??null}).run())},K=(z,P)=>z.fork($.publish(jX,{sessionID:P.session_id,task:P})),Q=(z,P,D)=>z.fork($.publish(UX,{sessionID:P.session_id,task:P,kind:D})),V=G.fn("TaskRegistry.create")(function*(z){let P=yield*O1.make(),D=Date.now(),L=z$.use((b)=>b.select({id:L$.id}).from(L$).where(_0(G$(L$.session_id,z.session_id),z.parent_id?G$(L$.parent_task_id,z.parent_id):h7(L$.parent_task_id))).all()),R=dz(z.parent_id,L.map((b)=>b.id)),N={id:R,session_id:z.session_id,parent_task_id:z.parent_id??null,status:"open",summary:z.summary,owner:z.owner??null,created_at:D,last_event_at:D,ended_at:null,cleanup_after:null};z$.use((b)=>b.insert(L$).values(N).run()),Y(z.session_id,R,"created",void 0,D);let x=v7(N);return K(P,x),x}),X=G.fn("TaskRegistry.list")(function*(z){let P=Date.now(),D=[];if(z.session_id)D.push(G$(L$.session_id,z.session_id));if(z.status)D.push(G$(L$.status,z.status));if(z.owner)D.push(G$(L$.owner,z.owner));if(!z.include_terminal){let N=NJ(G$(L$.status,"open"),G$(L$.status,"in_progress"),G$(L$.status,"blocked"));if(N)D.push(N)}if(!z.include_archived){let N=NJ(h7(L$.cleanup_after),$Z(L$.cleanup_after,P));if(N)D.push(N)}let L=D.length>0?_0(...D):void 0;return z$.use((N)=>N.select().from(L$).where(L).orderBy(L$.created_at).all()).map(v7)}),W=G.fn("TaskRegistry.get")(function*(z){let P=z$.use((D)=>D.select().from(L$).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).get());return P?v7(P):void 0}),B=G.fn("TaskRegistry.events")(function*(z){return z$.use((D)=>D.select().from(RJ).where(_0(G$(RJ.session_id,z.session_id),G$(RJ.task_id,z.task_id))).orderBy(RJ.at).all()).map(uz)}),j=G.fn("TaskRegistry.block")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({status:"blocked",last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"blocked",z.event_summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"blocked"),L}),_=G.fn("TaskRegistry.unblock")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({status:"open",last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"unblocked",z.event_summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"unblocked"),L}),q=G.fn("TaskRegistry.start")(function*(z){let P=yield*O1.make(),D=Date.now(),L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));if(L.status==="done"||L.status==="abandoned")return yield*G.logWarning(`refusing to start terminal task ${z.id} (status=${L.status})`),L;let R=z.owner??L.owner;if(L.status==="in_progress"&&R===L.owner)return L;z$.use((x)=>x.update(L$).set({status:"in_progress",owner:R??null,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"started",z.event_summary,D);let N=yield*W({session_id:z.session_id,id:z.id});if(!N)return yield*G.die(new E0(LJ(z.id)));return Q(P,N,"started"),N}),H=G.fn("TaskRegistry.finish")(function*(z){let P=yield*O1.make(),D=Date.now(),L=yield*Z(D);z$.use((N)=>N.update(L$).set({status:z.status,ended_at:D,cleanup_after:L,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,z.status,z.event_summary,D);let R=yield*W({session_id:z.session_id,id:z.id});if(!R)return yield*G.die(new E0(LJ(z.id)));return Q(P,R,z.status),R}),C=G.fn("TaskRegistry.done")(function*(z){return yield*H({...z,status:"done"})}),M=G.fn("TaskRegistry.abandon")(function*(z){return yield*H({...z,status:"abandoned"})}),I=G.fn("TaskRegistry.rename")(function*(z){let P=yield*O1.make(),D=Date.now();z$.use((R)=>R.update(L$).set({summary:z.summary,last_event_at:D}).where(_0(G$(L$.session_id,z.session_id),G$(L$.id,z.id))).run()),Y(z.session_id,z.id,"renamed",z.summary,D);let L=yield*W({session_id:z.session_id,id:z.id});if(!L)return yield*G.die(new E0(LJ(z.id)));return Q(P,L,"renamed"),L});return AZ.of({create:V,list:X,get:W,events:B,block:j,unblock:_,done:C,abandon:M,rename:I,start:q})})),pz=f.suspend(()=>HX.pipe(f.provide(P$.layer),f.provide(R$.defaultLayer)));var o2={};o$(o2,{renderRebuildContext:()=>qC,renderIndex:()=>OC,loadLatest:()=>BC,loadCheckpoints:()=>_C,layer:()=>fX,lastBoundary:()=>FC,isWriterRunning:()=>zC,hasCheckpoint:()=>HC,defaultLayer:()=>mX,composeWriterPromptForTest:()=>wZ,SessionCheckpoint:()=>o2,Service:()=>D8});import jC from"path";import UC from"fs/promises";import yX from"path";var BX={current:void 0};function SZ(){try{return H$.current?.project?.id}catch{return}}function cz($){if(!Array.isArray($.content))return[];let J=[];for(let Z of $.content)if(Z.type==="tool_result"&&typeof Z.tool_use_id==="string")J.push(Z.tool_use_id);return J}function _X($){if(!Array.isArray($.content))return[];let J=[];for(let Z of $.content)if(Z.type==="tool_use"&&typeof Z.id==="string")J.push(Z.id);return J}function OX($,J){if(J<=0||J>=$.length)return J;let Z=J,Y=[],K=new Set;for(let X=Z;X<$.length;X++){Y.push(...cz($[X]));for(let W of _X($[X]))K.add(W)}let Q=new Set(Y.filter((X)=>!K.has(X)));for(let X=Z-1;X>=0&&Q.size>0;X--){let W=$[X];if(W.role!=="assistant")continue;let B=!1;for(let j of _X(W))if(Q.delete(j))B=!0;if(B)Z=X}let V=$[Z]?.id;if(V)for(let X=Z-1;X>=0;X--)if($[X].id===V)Z=X;else break;return Z}function qX($,J){if(J>=$.length)return J;for(let Z=J;Z>=0;Z--){let Y=$[Z];if(Y.info.role!=="user")continue;if(!(Y.parts.length>0&&Y.parts.every((Q)=>Q.type==="tool_result")))return Z}return 0}import lz from"fs/promises";import oz from"path";var rz=O$.create({service:"session.progress-reconcile"});function iz($){let J=$.match(/^---\n([\s\S]*?)\n---\n/);if(!J)return null;let Z=J[1].split(`
|
|
7392
7392
|
`).find((K)=>K.startsWith("written-at:"));if(!Z)return null;let Y=Number(Z.slice(11).trim());if(!Number.isFinite(Y))return null;return Y}function sz($){let J=new Map,Z=/(?<!`)\(progress:\s*tasks\/([^/]+)\/progress\.md,\s*last-reconciled-written-at:\s*(\d+)\)/g;for(let Y of $.matchAll(Z)){let K=Number(Y[2]);if(Number.isFinite(K))J.set(Y[1],K)}return J}async function nz($){let J=await Bun.file(Q1($)).text().catch(()=>""),Z=sz(J),Y=FX($),K;try{K=await lz.readdir(Y)}catch{return[]}let Q=[];for(let V of K){let X=oz.join(Y,V,"progress.md"),W;try{W=await Bun.file(X).text()}catch{continue}let B=iz(W);if(B===null)continue;let j=Z.get(V);if(j===void 0)Q.push({taskId:V,writtenAt:B,status:"NEW"});else if(B>j)Q.push({taskId:V,writtenAt:B,status:"CHANGED",prior:j})}return Q}function az($){if($.length===0)return"";let J=["SUBAGENT PROGRESS to integrate (since last reconcile):"];for(let Z of $)if(Z.status==="NEW")J.push(` - ${Z.taskId} (NEW, written-at=${Z.writtenAt})`);else J.push(` - ${Z.taskId} (CHANGED, written-at=${Z.writtenAt}, prior=${Z.prior})`);return J.push(""),J.push("For each: Read tasks/<TID>/progress.md, integrate \xA74 (verbatim commands) verbatim into main \xA75 Current work; integrate \xA75 (outcome+discoveries) into main \xA75 or \xA77 as appropriate. Then update the corresponding \xA74 line in main checkpoint to:"),J.push(" (progress: tasks/<TID>/progress.md, last-reconciled-written-at: <written-at from above>)"),J.join(`
|
|
7393
7393
|
`)}async function zX($){let J=await nz($).catch((Z)=>{return rz.warn("buildProgressDiff failed; reconcile skipped this turn",{err:Z,sessionID:$}),[]});return az(J)}var tz=1e4,CX=20000,ez=5,DX=new Set(["read","bash","grep","glob","webfetch","websearch","edit","write","multiedit","apply_patch","codesearch"]);function $C($){let J=0;for(let Z of $.parts)try{J+=D0.estimate(JSON.stringify(Z))}catch{J+=1000}return J}function MX($){return $.parts.some((J)=>J.type==="text"||J.type==="reasoning")}function PX($){if($.length===0)return"";let J=$.findLastIndex((V)=>V.info.role==="assistant"&&V.info.finish!==void 0);if(J<=0)return $[J>=0?J:0].info.id;let Z=$.map((V)=>$C(V)),Y=J-1,K=0,Q=0;for(let V=Y;V<$.length;V++)if(K+=Z[V],MX($[V]))Q+=1;if(K>=CX)return $[Y].info.id;while(Y>0&&K<CX&&(K<tz||Q<ez))if(Y-=1,K+=Z[Y],MX($[Y]))Q+=1;return $[Y].info.id}import g7 from"fs/promises";import f7 from"path";async function RX($){if(!await Bun.file($).exists())await g7.mkdir(f7.dirname($),{recursive:!0}),await Bun.write($,IX)}async function LX($){if(!await Bun.file($).exists())await g7.mkdir(f7.dirname($),{recursive:!0}),await Bun.write($,AX)}async function NX($){if(!await Bun.file($).exists())await g7.mkdir(f7.dirname($),{recursive:!0}),await Bun.write($,wX)}function JC($){let J=Object.entries($);if(J.length===0)throw Error("CHECKPOINT_SECTION_BUDGETS is empty \u2014 F43 substitution would produce an empty prompt block");let Z=3,Y=["Section budgets (~tokens):"];for(let K=0;K<J.length;K+=Z){let Q=J.slice(K,K+Z).map(([V,X])=>`${V}: ${X}`).join(" ");Y.push(` ${Q}`)}return Y.join(`
|
|
7394
7394
|
`)}async function wZ($){let J=await e.resolvePrompt("agent/checkpoint-writer");if(!J)throw Error("checkpoint-writer prompt unavailable from backend (agent/checkpoint-writer)");return[yJ({source:"checkpoint",trust:"session-state",posture:"system",body:["You are now operating in checkpoint-writer mode. Ignore the general coding-assistant framing in the system prompt above. The read, write, edit, glob, grep, and task tools are available; do not invoke others.","","========================================================================","ABSOLUTE PATHS \u2014 USE THESE VERBATIM. NEVER COMPUTE, INFER, OR MODIFY.","========================================================================","",`CHECKPOINT_PATH = ${$.checkpointFile}`,`MEMORY_PATH = ${$.memoryFile}`,`TASK_MEM_DIR = ${$.taskMemDir}`,`NOTES_PATH = ${$.notesFile}`,"","When using the Write tool, the first arg MUST be one of these literal","absolute paths (or for task narrative, TASK_MEM_DIR + '/' + task_id +","'/progress.md' or '/notes.md'). Do NOT abbreviate. Do NOT change","parent directories. Do NOT insert paths from memory of similar projects.","If you find yourself typing '/data/checkpoints/' as a parent, STOP \u2014 that","is the legacy v2 layout and is wrong. The current parent for the","checkpoint file is the directory portion of CHECKPOINT_PATH above.","========================================================================","",$.progressDiff,"",J.replace("{{SECTION_BUDGETS}}",JC(SX))].join(`
|
|
@@ -7419,7 +7419,7 @@ ${I.map((b)=>b.content).join(`
|
|
|
7419
7419
|
`)})}var TZ=O$.create({service:"session.checkpoint.renderer"});function gX($,J){let{session:Z,config:Y,memory:K,taskRegistry:Q,actorRegistry:V}=J,X=G.fn("SessionCheckpoint.renderIndex")(function*(j){let _=Q1(j);if(!(yield*G.promise(()=>Bun.file(_).exists())))return"No checkpoints yet for this session.";let C=(yield*G.promise(()=>Bun.file(_).text().catch(()=>""))).match(/^Topic:\s*(.+)$/m),M=C?C[1].trim():"(unknown)",I=RZ(j),z=[];return z.push("## Checkpoint"),z.push(""),z.push(`Directory: ${I}/`),z.push(""),z.push(`Current checkpoint (${M}): checkpoint.md [shown below]`),z.push(""),z.push(`Use read("${_}") to access the full checkpoint.`),z.join(`
|
|
7420
7420
|
`)}),W=G.fn("SessionCheckpoint.renderRebuildContext")(function*(j,_){if(_?.agentID&&_.agentID!=="main")return"";let q=$.get(j);if(q)TZ.info("rebuild waiting for in-flight writer",{sessionID:j}),yield*G.race(H0.await(q.writing).pipe(G.as("done")),G.sleep("60 seconds").pipe(G.tap(()=>G.sync(()=>TZ.warn("writer wait timeout \u2014 using on-disk checkpoint",{sessionID:j}))),G.as("timeout"))).pipe(G.catch(()=>G.succeed("error")));let C=(yield*Y.get()).checkpoint?.push_caps??{},M=SZ(),I=M??U2.global,z=yield*Q.list({session_id:j,include_terminal:!0}),D=(yield*G.promise(()=>yZ(Q1(j),C.checkpoint??11000)))?.text??"";yield*G.promise(()=>LZ(I));let R=(yield*G.promise(()=>yZ(M8(I),C.memory??1e4)))?.text??"",x=(yield*G.promise(()=>hX(NZ(j),C.notes??6000)))?.text??"",v=(yield*G.promise(()=>yZ(d7(),C.global??6000)))?.text??"",m=yield*V.listActive(),A=C.recent_user??16000,u=C.recent_user_per_msg??2000,r=[];if(A>0){let W$=k0.page({sessionID:j,agentID:"main",limit:200}).items.filter((Q$)=>Q$.info.role==="user"&&!Q$.parts.some((y)=>y.type==="tool"||y.type==="checkpoint"||y.type==="compaction")),y$=A;for(let Q$=W$.length-1;Q$>=0;Q$--){let y=VC(W$[Q$].parts);if(!y.trim())continue;let n=QC(y,u,W$[Q$].info.id),a=D0.estimate(n);if(y$-a<0)break;r.unshift(n),y$-=a}}if(z.length===0&&!D.trim()&&!R.trim()&&!v.trim()&&m.length===0&&r.length===0)return"";let S=[];if(S.push("The following blocks are auto-loaded from your session memory. They are already in your context \u2014 do not Read them as whole files. Use Grep for specific facts instead."),S.push(""),S.push("## Tasks ledger"),z.length===0)S.push("(none)");else{let W$=z.filter((n)=>!n.parent_task_id),y$=new Map;for(let n of z){if(!n.parent_task_id)continue;let a=y$.get(n.parent_task_id)??[];a.push(n),y$.set(n.parent_task_id,a)}let Q$=(n)=>({open:"\uD83D\uDD35",in_progress:"\uD83D\uDD04",blocked:"\uD83D\uDFE1",done:"\u2705",abandoned:"\u274C"})[n]??n,y=[];for(let n of W$){y.push(`- ${n.id} ${n.status} \u2014 ${n.summary}`);let a=y$.get(n.id)??[];if(a.length===0)continue;let c$=a.map((l)=>`${Q$(l.status)}${l.id}`).join(" / ");y.push(` Subtasks: ${c$}`)}S.push(KC(y.join(`
|
|
7421
7421
|
`),C.tasks_ledger??2000))}if(S.push(""),D.trim())S.push("## Session checkpoint"),S.push(D.trim()),S.push("");if(m.length>0){S.push("## Active actors");let W$=C.actor_ledger??500;for(let y$ of m){let Q$=`- ${y$.actorID} \u2014 ${y$.status}, "${y$.description}" (agent=${y$.agent})`,y=D0.estimate(Q$);if(W$-y<0)break;S.push(Q$),W$-=y}S.push("")}if(r.length>0)S.push("## Recent user input (verbatim)"),S.push(...r),S.push("");if(R.trim())S.push("## Project memory"),S.push(R.trim()),S.push("");if(v.trim())S.push("## Global memory"),S.push(v.trim()),S.push("");if(x.trim())S.push("## Session notes"),S.push(x.trim()),S.push("");yield*K.reconcile().pipe(G.ignore);let T=new Set([M8(I),Q1(j),d7()].filter((W$)=>W$.length>0)),k=M&&M!==U2.global?NJ(G$(q0.scope,"global"),_0(G$(q0.scope,"sessions"),G$(q0.scope_id,j)),_0(G$(q0.scope,"projects"),G$(q0.scope_id,M))):NJ(G$(q0.scope,"global"),_0(G$(q0.scope,"sessions"),G$(q0.scope_id,j))),A$=yield*G.sync(()=>z$.use((W$)=>W$.select({path:q0.path}).from(q0).where(k).all())),s=yield*K.root(),J$=A$.map((W$)=>W$.path).filter((W$)=>!T.has(W$)&&!W$.includes(`${u7.sep}checkpoint${u7.sep}learning-`)).map((W$)=>W$.replace(s+u7.sep,""));if(J$.length>0){S.push("## Memory keys index");let W$=C.memory_titles??500;for(let y$ of J$){let Q$=D0.estimate(y$);if(W$-Q$<0)break;S.push(`- ${y$}`),W$-=Q$}S.push("")}S.push(""),S.push("This session is being continued from a previous conversation that hit a checkpoint. The session checkpoint and project memory above cover the earlier portion of the conversation."),S.push(""),S.push("Recent messages are preserved verbatim below \u2014 the assistant turn (and any tool results) you'll see is real history, not pseudo-content. Continue your task by responding to the most recent state."),S.push(""),S.push(`Resume directly. Do not acknowledge this memory dump, do not recap, do not preface with "I'll continue" or similar. Pick up the last task as if the break never happened.`);let Z$=_?.lastMessageInfo;if(Z$){let W$=(()=>{switch(Z$.role){case"assistant":if(Z$.finish==="tool-calls")return GC();return XC(void 0);case"tool":return WC();case"user":return""}})();if(W$)S.push(""),S.push(W$)}return S.join(`
|
|
7422
|
-
`)}),B=G.fn("SessionCheckpoint.insertRebuildBoundary")(function*(j){let _=yield*W(j.sessionID,{lastMessageInfo:j.lastMessageInfo,agentID:j.agentID}).pipe(G.catch(()=>G.succeed("")));if(!_)return!1;let q=yield*X(j.sessionID).pipe(G.catch(()=>G.succeed(""))),H=(j.boundaryCreatedAt??Date.now())+1,C=yield*Z.updateMessage({id:IJ.ascending(),role:"user",model:{providerID:j.model.providerID,modelID:j.model.modelID},sessionID:j.sessionID,agent:j.agent,time:{created:H}});if(yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"checkpoint",checkpointDir:"",checkpointNumber:0,coveredUpTo:j.boundary}),q)yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:q});yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:_});let M=yield*V.renderForAgent(j.sessionID).pipe(G.catch(()=>G.succeed("")));if(M)yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:M});let I=yield*Z.messages({sessionID:j.sessionID,agentID:"*"}),z=j.boundaryCreatedAt??I.find((D)=>D.info.id===j.boundary)?.info.time.created;if(z===void 0)return TZ.warn("microcompact skipped: no boundary timestamp available",{sessionID:j.sessionID,boundary:j.boundary}),!0;let P=0;for(let D of I){if(D.info.id===C.id)continue;if(D.info.time.created<=z)continue;for(let L of D.parts){if(L.type!=="tool")continue;if(!DX.has(L.tool))continue;if(L.state.status!=="completed")continue;if(L.state.time.compacted)continue;L.state.time.compacted=Date.now(),yield*Z.updatePart(L),P+=1}}if(P>0)TZ.info("rebuild microcompact",{sessionID:j.sessionID,cleared:P});return!0});return{renderIndex:X,renderRebuildContext:W,insertRebuildBoundary:B}}class D8 extends D$.Service()("@qitqode/SessionCheckpoint"){}var fX=f.effect(D8,G.gen(function*(){let $=yield*uX,J=yield*R$.Service,Z=yield*g1.Service,Y=yield*K1.Service,K=yield*L1.Service,Q=yield*P$.Service,V=yield*UJ.Scope,X=new Map,W=bX(X,{session:$,config:J,actorRegistry:K,bus:Q,scope:V}),B=gX(X,{session:$,config:J,memory:Z,taskRegistry:Y,actorRegistry:K}),{tryStartCheckpointWriter:j,waitForWriter:_,drainWriters:q}=W,{renderIndex:H,renderRebuildContext:C,insertRebuildBoundary:M}=B,I=G.fn("SessionCheckpoint.hasCheckpoint")(function*(N){return yield*G.promise(()=>Bun.file(Q1(N)).exists())}),z=G.fn("SessionCheckpoint.hasMemoryOrTasks")(function*(N){let x=yield*Z.root(),b=jC.join(x,"sessions",N);if((yield*G.promise(()=>UC.readdir(b).catch(()=>[]))).length>0)return!0;return(yield*Y.list({session_id:N,include_terminal:!0})).length>0}),P=G.fn("SessionCheckpoint.loadLatest")(function*(N){return(yield*G.promise(()=>Bun.file(Q1(N)).text().catch(()=>"")))||void 0}),D=G.fn("SessionCheckpoint.loadCheckpoints")(function*(N,x){let b=yield*G.promise(()=>Bun.file(Q1(N)).text().catch(()=>""));return b?[b]:[]}),L=G.fn("SessionCheckpoint.lastBoundary")(function*(N){return(yield*G.sync(()=>z$.use((b)=>b.select({last_checkpoint_message_id:V0.last_checkpoint_message_id}).from(V0).where(G$(V0.id,N)).get())))?.last_checkpoint_message_id}),R=G.fn("SessionCheckpoint.isWriterRunning")(function*(N){return X.has(N)});return D8.of({tryStartCheckpointWriter:j,waitForWriter:_,drainWriters:q,hasCheckpoint:I,hasMemoryOrTasks:z,loadLatest:P,loadCheckpoints:D,renderIndex:H,renderRebuildContext:C,lastBoundary:L,isWriterRunning:R,insertRebuildBoundary:M})})),mX=f.suspend(()=>fX.pipe(f.provide(dX),f.provide(P$.layer),f.provide(R$.defaultLayer),f.provide(g1.defaultLayer),f.provide(K1.defaultLayer),f.provide(L1.defaultLayer))),{runPromise:l2}=HZ(D8,mX);function HC($){return l2((J)=>J.hasCheckpoint($.sessionID))}function BC($){return l2((J)=>J.loadLatest($.sessionID))}function _C($){return l2((J)=>J.loadCheckpoints($.sessionID,$.count))}function OC($){return l2((J)=>J.renderIndex($.sessionID))}function qC($){return l2((J)=>J.renderRebuildContext($.sessionID,{lastMessageInfo:$.lastMessageInfo,agentID:$.agentID}))}function FC($){return l2((J)=>J.lastBoundary($.sessionID))}function zC($){return l2((J)=>J.isWriterRunning($.sessionID))}var
|
|
7422
|
+
`)}),B=G.fn("SessionCheckpoint.insertRebuildBoundary")(function*(j){let _=yield*W(j.sessionID,{lastMessageInfo:j.lastMessageInfo,agentID:j.agentID}).pipe(G.catch(()=>G.succeed("")));if(!_)return!1;let q=yield*X(j.sessionID).pipe(G.catch(()=>G.succeed(""))),H=(j.boundaryCreatedAt??Date.now())+1,C=yield*Z.updateMessage({id:IJ.ascending(),role:"user",model:{providerID:j.model.providerID,modelID:j.model.modelID},sessionID:j.sessionID,agent:j.agent,time:{created:H}});if(yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"checkpoint",checkpointDir:"",checkpointNumber:0,coveredUpTo:j.boundary}),q)yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:q});yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:_});let M=yield*V.renderForAgent(j.sessionID).pipe(G.catch(()=>G.succeed("")));if(M)yield*Z.updatePart({id:f2.ascending(),messageID:C.id,sessionID:j.sessionID,type:"text",synthetic:!0,text:M});let I=yield*Z.messages({sessionID:j.sessionID,agentID:"*"}),z=j.boundaryCreatedAt??I.find((D)=>D.info.id===j.boundary)?.info.time.created;if(z===void 0)return TZ.warn("microcompact skipped: no boundary timestamp available",{sessionID:j.sessionID,boundary:j.boundary}),!0;let P=0;for(let D of I){if(D.info.id===C.id)continue;if(D.info.time.created<=z)continue;for(let L of D.parts){if(L.type!=="tool")continue;if(!DX.has(L.tool))continue;if(L.state.status!=="completed")continue;if(L.state.time.compacted)continue;L.state.time.compacted=Date.now(),yield*Z.updatePart(L),P+=1}}if(P>0)TZ.info("rebuild microcompact",{sessionID:j.sessionID,cleared:P});return!0});return{renderIndex:X,renderRebuildContext:W,insertRebuildBoundary:B}}class D8 extends D$.Service()("@qitqode/SessionCheckpoint"){}var fX=f.effect(D8,G.gen(function*(){let $=yield*uX,J=yield*R$.Service,Z=yield*g1.Service,Y=yield*K1.Service,K=yield*L1.Service,Q=yield*P$.Service,V=yield*UJ.Scope,X=new Map,W=bX(X,{session:$,config:J,actorRegistry:K,bus:Q,scope:V}),B=gX(X,{session:$,config:J,memory:Z,taskRegistry:Y,actorRegistry:K}),{tryStartCheckpointWriter:j,waitForWriter:_,drainWriters:q}=W,{renderIndex:H,renderRebuildContext:C,insertRebuildBoundary:M}=B,I=G.fn("SessionCheckpoint.hasCheckpoint")(function*(N){return yield*G.promise(()=>Bun.file(Q1(N)).exists())}),z=G.fn("SessionCheckpoint.hasMemoryOrTasks")(function*(N){let x=yield*Z.root(),b=jC.join(x,"sessions",N);if((yield*G.promise(()=>UC.readdir(b).catch(()=>[]))).length>0)return!0;return(yield*Y.list({session_id:N,include_terminal:!0})).length>0}),P=G.fn("SessionCheckpoint.loadLatest")(function*(N){return(yield*G.promise(()=>Bun.file(Q1(N)).text().catch(()=>"")))||void 0}),D=G.fn("SessionCheckpoint.loadCheckpoints")(function*(N,x){let b=yield*G.promise(()=>Bun.file(Q1(N)).text().catch(()=>""));return b?[b]:[]}),L=G.fn("SessionCheckpoint.lastBoundary")(function*(N){return(yield*G.sync(()=>z$.use((b)=>b.select({last_checkpoint_message_id:V0.last_checkpoint_message_id}).from(V0).where(G$(V0.id,N)).get())))?.last_checkpoint_message_id}),R=G.fn("SessionCheckpoint.isWriterRunning")(function*(N){return X.has(N)});return D8.of({tryStartCheckpointWriter:j,waitForWriter:_,drainWriters:q,hasCheckpoint:I,hasMemoryOrTasks:z,loadLatest:P,loadCheckpoints:D,renderIndex:H,renderRebuildContext:C,lastBoundary:L,isWriterRunning:R,insertRebuildBoundary:M})})),mX=f.suspend(()=>fX.pipe(f.provide(dX),f.provide(P$.layer),f.provide(R$.defaultLayer),f.provide(g1.defaultLayer),f.provide(K1.defaultLayer),f.provide(L1.defaultLayer))),{runPromise:l2}=HZ(D8,mX);function HC($){return l2((J)=>J.hasCheckpoint($.sessionID))}function BC($){return l2((J)=>J.loadLatest($.sessionID))}function _C($){return l2((J)=>J.loadCheckpoints($.sessionID,$.count))}function OC($){return l2((J)=>J.renderIndex($.sessionID))}function qC($){return l2((J)=>J.renderRebuildContext($.sessionID,{lastMessageInfo:$.lastMessageInfo,agentID:$.agentID}))}function FC($){return l2((J)=>J.lastBoundary($.sessionID))}function zC($){return l2((J)=>J.isWriterRunning($.sessionID))}var zx={current:void 0},pX={current:void 0};var CC="actor",cX=["run","spawn","status","wait","cancel","send"];function P8($,J,Z,Y){return G.fail({kind:"arity",line:Y,detail:`actor: ${$}: arity mismatch
|
|
7423
7423
|
got: actor ${$} ${Z.join(" ")}
|
|
7424
7424
|
expected: actor ${$} ${J}`})}function p7($,J,Z){let Y=[],K={};for(let Q=0;Q<$.length;Q++){let V=$[Q],X=J.find((B)=>V===`--${B}`);if(X){let B=$[Q+1];if(B===void 0)return G.fail({kind:"flag",line:Z,detail:`actor: --${X} requires a value`});K[X]=B,Q++;continue}let W=J.find((B)=>V.startsWith(`--${B}=`));if(W){let B=V.slice(`--${W}=`.length);if(B==="")return G.fail({kind:"flag",line:Z,detail:`actor: --${W} requires a value`});K[W]=B;continue}Y.push(V)}return G.succeed({flags:K,rest:Y})}var lX=G.fn("mapActorRunSpawn")(function*($,J,Z){let Y=$==="run",K=["model","task","actor",...Y?["timeout"]:[],"command","context","output-schema"],{flags:Q,rest:V}=yield*p7(J,K,Z);if(V.length!==3)return yield*P8($,`<subagent_type> "<description>" "<prompt>" [--model <ref>] [--task <TID>] [--actor <id>]${Y?" [--timeout <ms>]":""} [--command <cmd>] [--context none|state|full] [--output-schema <json>]`,V,Z);return{operation:{action:$,subagent_type:V[0],description:V[1],prompt:V[2],...Q.model?{model:Q.model}:{},...Q.task?{task_id:Q.task}:{},...Q.actor?{actor_id:Q.actor}:{},...Y&&Q.timeout?{timeout_ms:Number(Q.timeout)}:{},...Q.command?{command:Q.command}:{},...Q.context?{context:Q.context}:{},...Q["output-schema"]?{output_schema:JSON.parse(Q["output-schema"])}:{}}}}),MC=G.fn("mapActorVerb")(function*($,J,Z){switch($){case"run":return yield*lX("run",J,Z);case"spawn":return yield*lX("spawn",J,Z);case"status":if(J.length!==1)return yield*P8("status","<actor_id>",J,Z);return{operation:{action:"status",actor_id:J[0]}};case"wait":{let{flags:Y,rest:K}=yield*p7(J,["timeout"],Z);if(K.length!==1)return yield*P8("wait","<actor_id> [--timeout <ms>]",K,Z);return{operation:{action:"wait",actor_id:K[0],...Y.timeout?{timeout_ms:Number(Y.timeout)}:{}}}}case"cancel":if(J.length!==1)return yield*P8("cancel","<actor_id>",J,Z);return{operation:{action:"cancel",actor_id:J[0]}};case"send":{let{flags:Y,rest:K}=yield*p7(J,["session","type"],Z);if(K.length!==2)return yield*P8("send",'<to_actor_id> "<content>" [--session <id>] [--type <t>]',K,Z);return{operation:{action:"send",to_actor_id:K[0],content:K[1],...Y.session?{to_session_id:Y.session}:{},...Y.type?{type:Y.type}:{}}}}default:{let Y=MZ($??"",cX),K=`actor: unknown verb "${$??""}"
|
|
7425
7425
|
available verbs: ${cX.join(", ")}`+(Y?`
|
|
@@ -7550,7 +7550,7 @@ ${B.map((P)=>{if(P.type==="add")return`A ${o0.relative(H$.worktree,P.filePath).r
|
|
|
7550
7550
|
|
|
7551
7551
|
LSP errors detected in ${R}, please fix:
|
|
7552
7552
|
${L}`}return{title:q,metadata:{diff:j,files:_,diagnostics:M},output:z}});return{description:$,parameters:GG,execute:(V,X)=>Q(V,X).pipe(G.orDie)}}));import q6 from"path";var WA=["Switch the working directory for the current session (like cd in a terminal).","","Use this when the user asks to switch, change, or cd into a directory,","or when you need to work extensively within a subdirectory (e.g., a monorepo package).","","After calling this tool, all subsequent file operations (read, edit, write, glob, grep, bash)","will resolve relative paths from the new directory. Subagents inherit the changed directory.","","Pass an absolute path, or a relative path (resolved from the current working directory).",'Pass "~" to reset back to the project root.'].join(`
|
|
7553
|
-
`),EU=B$("change_directory",G.gen(function*(){let $=yield*$$.Service,J=yield*P$.Service;return{description:WA,parameters:XG,execute:(Z,Y)=>G.gen(function*(){let K=yield*i.context,Q=t$.get(Y.sessionID);if(Z.path==="~"||Z.path==="")return t$.clear(Y.sessionID),yield*J.publish(t$.Event.Changed,{sessionID:Y.sessionID,cwd:K.directory}),{title:"reset",metadata:{from:Q,to:K.directory},output:`Working directory reset to project root: ${K.directory}`};let V=q6.isAbsolute(Z.path)?Z.path:q6.resolve(Q,Z.path),X=q6.normalize(V),W=yield*$.stat(X).pipe(G.catch(()=>G.succeed(void 0)));if(!W)throw Error(`Directory does not exist: ${X}`);if(W.type!=="Directory")throw Error(`Path is not a directory: ${X}`);return yield*_1(Y,X,{kind:"directory"}),t$.set(Y.sessionID,X),yield*J.publish(t$.Event.Changed,{sessionID:Y.sessionID,cwd:X}),{title:q6.relative(K.worktree,X)||".",metadata:{from:Q,to:X},output:`Working directory changed: ${Q} \u2192 ${X}`}})}}));import lU from"path";import{pathToFileURL as zA}from"url";var l8={};o$(l8,{layer:()=>vU,defaultLayer:()=>jA,Todo:()=>l8,Service:()=>F6,Info:()=>xU,Event:()=>bU});var xU=F.object({content:F.string().describe("Brief description of the task"),status:F.string().describe("Current status of the task: pending, in_progress, completed, cancelled")}).meta({ref:"Todo"}),bU={Updated:Z0.define("todo.updated",F.object({sessionID:F0.zod,todos:F.array(xU)}))};class F6 extends D$.Service()("@qitqode/SessionTodo"){}var vU=f.effect(F6,G.gen(function*(){let $=yield*P$.Service,J=G.fn("Todo.update")(function*(Y){yield*G.sync(()=>z$.transaction((K)=>{if(K.delete(JJ).where(G$(JJ.session_id,Y.sessionID)).run(),Y.todos.length===0)return;K.insert(JJ).values(Y.todos.map((Q,V)=>({session_id:Y.sessionID,content:Q.content,status:Q.status,position:V}))).run()})),yield*$.publish(bU.Updated,Y)}),Z=G.fn("Todo.get")(function*(Y){return(yield*G.sync(()=>z$.use((Q)=>Q.select().from(JJ).where(G$(JJ.session_id,Y)).orderBy(m1(JJ.position)).all()))).map((Q)=>({content:Q.content,status:Q.status}))});return F6.of({update:J,get:Z})})),jA=vU.pipe(f.provide(P$.layer));var o8={};o$(o8,{layer:()=>gU,defaultLayer:()=>HA,Team:()=>o8,Service:()=>z6});var hU=Z0.define("team.created",F.object({teamID:F.string(),creatorSessionID:F0.zod})),
|
|
7553
|
+
`),EU=B$("change_directory",G.gen(function*(){let $=yield*$$.Service,J=yield*P$.Service;return{description:WA,parameters:XG,execute:(Z,Y)=>G.gen(function*(){let K=yield*i.context,Q=t$.get(Y.sessionID);if(Z.path==="~"||Z.path==="")return t$.clear(Y.sessionID),yield*J.publish(t$.Event.Changed,{sessionID:Y.sessionID,cwd:K.directory}),{title:"reset",metadata:{from:Q,to:K.directory},output:`Working directory reset to project root: ${K.directory}`};let V=q6.isAbsolute(Z.path)?Z.path:q6.resolve(Q,Z.path),X=q6.normalize(V),W=yield*$.stat(X).pipe(G.catch(()=>G.succeed(void 0)));if(!W)throw Error(`Directory does not exist: ${X}`);if(W.type!=="Directory")throw Error(`Path is not a directory: ${X}`);return yield*_1(Y,X,{kind:"directory"}),t$.set(Y.sessionID,X),yield*J.publish(t$.Event.Changed,{sessionID:Y.sessionID,cwd:X}),{title:q6.relative(K.worktree,X)||".",metadata:{from:Q,to:X},output:`Working directory changed: ${Q} \u2192 ${X}`}})}}));import lU from"path";import{pathToFileURL as zA}from"url";var l8={};o$(l8,{layer:()=>vU,defaultLayer:()=>jA,Todo:()=>l8,Service:()=>F6,Info:()=>xU,Event:()=>bU});var xU=F.object({content:F.string().describe("Brief description of the task"),status:F.string().describe("Current status of the task: pending, in_progress, completed, cancelled")}).meta({ref:"Todo"}),bU={Updated:Z0.define("todo.updated",F.object({sessionID:F0.zod,todos:F.array(xU)}))};class F6 extends D$.Service()("@qitqode/SessionTodo"){}var vU=f.effect(F6,G.gen(function*(){let $=yield*P$.Service,J=G.fn("Todo.update")(function*(Y){yield*G.sync(()=>z$.transaction((K)=>{if(K.delete(JJ).where(G$(JJ.session_id,Y.sessionID)).run(),Y.todos.length===0)return;K.insert(JJ).values(Y.todos.map((Q,V)=>({session_id:Y.sessionID,content:Q.content,status:Q.status,position:V}))).run()})),yield*$.publish(bU.Updated,Y)}),Z=G.fn("Todo.get")(function*(Y){return(yield*G.sync(()=>z$.use((Q)=>Q.select().from(JJ).where(G$(JJ.session_id,Y)).orderBy(m1(JJ.position)).all()))).map((Q)=>({content:Q.content,status:Q.status}))});return F6.of({update:J,get:Z})})),jA=vU.pipe(f.provide(P$.layer));var o8={};o$(o8,{layer:()=>gU,defaultLayer:()=>HA,Team:()=>o8,Service:()=>z6});var hU=Z0.define("team.created",F.object({teamID:F.string(),creatorSessionID:F0.zod})),Gg=Z0.define("team.member.joined",F.object({teamID:F.string(),sessionID:F0.zod,agent:F.string(),role:F.string()}));import*as ZJ from"fs/promises";import L3 from"path";var N3=O$.create({service:"team"});class z6 extends D$.Service()("@qitqode/Team"){}var gU=f.effect(z6,G.gen(function*(){let $=yield*P$.Service,J=(j)=>G.gen(function*(){let _=yield*i.context;return L3.join(_.directory,".qitqode","teams",j)}),Z=(j)=>G.map(J(j),(_)=>L3.join(_,"members.json")),Y=(j)=>G.gen(function*(){let _=yield*Z(j);return yield*G.promise(async()=>{try{let q=await ZJ.readFile(_,"utf-8");return JSON.parse(q)}catch{return[]}})}),K=(j,_)=>G.gen(function*(){let q=yield*Z(j);yield*G.promise(()=>ZJ.writeFile(q,JSON.stringify(_,null,2)))}),Q=G.fn("Team.create")(function*(j,_){let q=yield*J(j);yield*G.promise(()=>ZJ.mkdir(q,{recursive:!0})),yield*G.promise(()=>ZJ.writeFile(L3.join(q,"members.json"),"[]")),N3.info("team created",{teamID:j}),yield*$.publish(hU,{teamID:j,creatorSessionID:_})}),V=G.fn("Team.addMember")(function*(j,_,q,H){let C=yield*Y(j);if(!C.find((I)=>I.sessionID===_))C.push({sessionID:_,agent:q,role:H,joinedAt:Date.now()}),yield*K(j,C),N3.info("team member added",{teamID:j,sessionID:_,agent:q,role:H})}),X=G.fn("Team.removeMember")(function*(j,_){let q=yield*Y(j),H=q.filter((C)=>C.sessionID!==_);if(H.length!==q.length)yield*K(j,H),N3.info("team member removed",{teamID:j,sessionID:_})}),W=G.fn("Team.getMembers")(function*(j){return yield*Y(j)}),B=G.fn("Team.teamDir")(function*(j){return yield*J(j)});return z6.of({create:Q,addMember:V,removeMember:X,getMembers:W,teamDir:B})})),HA=gU.pipe(f.provide(P$.defaultLayer));var BA=F.object({script:F.string().min(1).describe(["Multi-line shell-style script. Each non-blank line is one command; commands run sequentially and stop on first failure.",`Quoting: "..." preserves literal newlines and processes \\" \\\\ escapes; '...' is verbatim.`,"<<EOF heredoc bodies are fully verbatim (no escape, no $vars).","# starts a line comment to end-of-line (quoted # is literal).","Variables ($VAR, ${VAR}) are preserved as literal text \u2014 no expansion.","See the tool description for the verb table."].join(" "))});function dU($){if(!$.shell)throw Error(`shellWrap called on tool '${$.id}' that has no shell field`);let J=$.shell;return{id:$.id,description:J.description,parameters:BA,execute:(Z,Y)=>G.gen(function*(){if(typeof Z.script!=="string"||Z.script.trim()===""){let B=J.recover?.(Z);if(B!==void 0){let q=fU(B),H=yield*G.exit($.execute(B,Y));if(H._tag==="Failure")return{title:`${$.id}: invalid arguments`,output:C6(uU($.id,mU(H.cause))),metadata:{commands:0,success:0}};return{title:`${$.id}: ${q}`,output:H.value.output,metadata:{...H.value.metadata,commands:1,success:1}}}let _="script"in(typeof Z==="object"&&Z?Z:{})?qA($.id):uU($.id);return{title:`${$.id}: missing script`,output:C6(_),metadata:{commands:0,success:0}}}let K=yield*G.exit(J.parse(Z.script));if(K._tag==="Failure"){let B=n0.squash(K.cause),j=FA($.id,B);return{title:`${$.id}: parse error`,output:C6(j),metadata:{commands:0,success:0}}}let Q=K.value;if(Q.length===0)return{title:`${$.id}: empty script`,output:C6(`${$.id}: no commands found in script`),metadata:{commands:0,success:0}};let V=[],X={},W=0;for(let B=0;B<Q.length;B++){let j=Q[B],_=fU(j),q=yield*G.exit($.execute(j,Y));if(q._tag==="Failure"){if(V.push(OA(B+1,_,mU(q.cause))),B+1<Q.length)V.push(`<not-executed>commands #${B+2}..#${Q.length}</not-executed>`);return{title:`${$.id}: command #${B+1} failed`,output:V.join(`
|
|
7554
7554
|
`),metadata:{commands:Q.length,success:W}}}W++,X=q.value.metadata,V.push(_A(B+1,_,q.value.output))}return{title:`${$.id}: ${Q.length} command(s)`,output:V.join(`
|
|
7555
7555
|
`),metadata:{...X,commands:Q.length,success:W}}})}}function _A($,J,Z){return`<command index="${$}" operation="${pU(J)}">
|
|
7556
7556
|
${Z}
|
|
@@ -7606,5 +7606,5 @@ Full output saved to: ${L}
|
|
|
7606
7606
|
<bash_metadata>
|
|
7607
7607
|
`+m.join(`
|
|
7608
7608
|
`)+`
|
|
7609
|
-
</bash_metadata>`;if(R){let S=R;yield*G.promise(()=>new Promise((T)=>{S.end(()=>T()),S.on("error",()=>T())}))}return{title:_.description,metadata:{output:z||FH(r),exit:v,description:_.description,truncated:N,...N&&L?{outputPath:L}:{}},output:r}});return()=>G.sync(()=>{let _=KJ.acceptable(),q=KJ.name(_),H=q==="powershell"?"If the commands depend on each other and must run sequentially, avoid '&&' in this shell because Windows PowerShell 5.1 does not support it. Use PowerShell conditionals such as `cmd1; if ($?) { cmd2 }` when later commands must depend on earlier success.":"If the commands depend on each other and must run sequentially, use a single Bash call with '&&' to chain them together (e.g., `git add . && git commit -m \"message\" && git push`). For instance, if one operation must complete before another starts (like mkdir before cp, Write before Bash for git operations, or git add before git commit), run these operations sequentially instead.";return x3.info("bash tool using shell",{shell:_}),{description:$.replaceAll("${directory}",H$.directory).replaceAll("${os}",process.platform).replaceAll("${shell}",q).replaceAll("${chaining}",H).replaceAll("${maxLines}",String(DJ)).replaceAll("${maxBytes}",String(u1)),parameters:nV,execute:(C,M)=>G.gen(function*(){let I=t$.get(M.sessionID),z=C.workdir?yield*V(C.workdir,I,_):I;if(C.timeout!==void 0&&C.timeout<0)throw Error(`Invalid timeout value: ${C.timeout}. Timeout must be a positive number.`);let P=C.timeout??dA,D=DH.has(q),L=yield*ZS(C.command,D),R=yield*W(L,z,D,_);if(!H$.containsPath(z))R.dirs.add(z);if(yield*YS(M,R),C.interactive){let N=yield*B(M,z);yield*M.metadata({metadata:{output:"(waiting for user interaction...)",description:C.description}});let x=yield*G.tryPromise(()=>oV({command:C.command,cwd:z,env:N,description:C.description})).pipe(G.orDie);return{title:C.description,metadata:{output:x.output||"(interactive command completed)",exit:x.exitCode,description:C.description,truncated:!1},output:x.output||`(interactive command completed with exit code ${x.exitCode})`}}return yield*j({shell:_,name:q,command:C.command,cwd:z,env:yield*B(M,z),timeout:P,description:C.description},M)})}})}));var g3={};o$(g3,{retryable:()=>fH,policy:()=>
|
|
7610
|
-
export{W1 as hh,h0 as ih,w2 as jh,k2 as kh,FJ as lh,
|
|
7609
|
+
</bash_metadata>`;if(R){let S=R;yield*G.promise(()=>new Promise((T)=>{S.end(()=>T()),S.on("error",()=>T())}))}return{title:_.description,metadata:{output:z||FH(r),exit:v,description:_.description,truncated:N,...N&&L?{outputPath:L}:{}},output:r}});return()=>G.sync(()=>{let _=KJ.acceptable(),q=KJ.name(_),H=q==="powershell"?"If the commands depend on each other and must run sequentially, avoid '&&' in this shell because Windows PowerShell 5.1 does not support it. Use PowerShell conditionals such as `cmd1; if ($?) { cmd2 }` when later commands must depend on earlier success.":"If the commands depend on each other and must run sequentially, use a single Bash call with '&&' to chain them together (e.g., `git add . && git commit -m \"message\" && git push`). For instance, if one operation must complete before another starts (like mkdir before cp, Write before Bash for git operations, or git add before git commit), run these operations sequentially instead.";return x3.info("bash tool using shell",{shell:_}),{description:$.replaceAll("${directory}",H$.directory).replaceAll("${os}",process.platform).replaceAll("${shell}",q).replaceAll("${chaining}",H).replaceAll("${maxLines}",String(DJ)).replaceAll("${maxBytes}",String(u1)),parameters:nV,execute:(C,M)=>G.gen(function*(){let I=t$.get(M.sessionID),z=C.workdir?yield*V(C.workdir,I,_):I;if(C.timeout!==void 0&&C.timeout<0)throw Error(`Invalid timeout value: ${C.timeout}. Timeout must be a positive number.`);let P=C.timeout??dA,D=DH.has(q),L=yield*ZS(C.command,D),R=yield*W(L,z,D,_);if(!H$.containsPath(z))R.dirs.add(z);if(yield*YS(M,R),C.interactive){let N=yield*B(M,z);yield*M.metadata({metadata:{output:"(waiting for user interaction...)",description:C.description}});let x=yield*G.tryPromise(()=>oV({command:C.command,cwd:z,env:N,description:C.description})).pipe(G.orDie);return{title:C.description,metadata:{output:x.output||"(interactive command completed)",exit:x.exitCode,description:C.description,truncated:!1},output:x.output||`(interactive command completed with exit code ${x.exitCode})`}}return yield*j({shell:_,name:q,command:C.command,cwd:z,env:yield*B(M,z),timeout:P,description:C.description},M)})}})}));var g3={};o$(g3,{retryable:()=>fH,policy:()=>CS,persistentRetryDelay:()=>zS,isRetryableTransientError:()=>hH,delay:()=>gH,SessionRetry:()=>g3,RETRY_MAX_DELAY_NO_HEADERS:()=>HS,RETRY_MAX_DELAY:()=>BS,RETRY_INITIAL_DELAY:()=>jS,RETRY_BACKOFF_FACTOR:()=>US,PERSISTENT_RETRY_MAX_DELAY:()=>qS,PERSISTENT_RETRY_MAX_ATTEMPTS:()=>FS,PERSISTENT_RETRY_INITIAL_DELAY:()=>_S,PERSISTENT_RETRY_BACKOFF_FACTOR:()=>OS,GO_UPSELL_MESSAGE:()=>vH});var SH=2000,wH=2,RH=30000,LH=2147483647,VS=new Set(["ECONNRESET","EPIPE","ETIMEDOUT"]);var GS=new Set([429,500,502,503,504,529]);function NH($){if(!($ instanceof Error))return!1;let J=$.status??$.statusCode??$.response?.status;if(typeof J==="number"&&GS.has(J))return!0;let Z=$.code;if(typeof Z==="string"&&VS.has(Z))return!0;if($.message==="SSE read timed out")return!0;if(XS($))return!0;return!1}function XS($){let J=$;return J.retryable===!0&&typeof J.category==="string"&&J.category.length>0}function oJ($){return Math.min($,2147483647)}function yH($,J){if(J){if(typeof J.retryAfterMs==="number"&&!Number.isNaN(J.retryAfterMs))return oJ(J.retryAfterMs);let Z=J.data?.responseHeaders;if(Z){let Y=Z["retry-after-ms"];if(Y){let Q=Number.parseFloat(Y);if(!Number.isNaN(Q))return oJ(Q)}let K=Z["retry-after"];if(K){let Q=Number.parseFloat(K);if(!Number.isNaN(Q))return oJ(Math.ceil(Q*1000));let V=Date.parse(K)-Date.now();if(!Number.isNaN(V)&&V>0)return oJ(Math.ceil(V))}return oJ(2000*Math.pow(2,$-1))}}return oJ(Math.min(2000*Math.pow(2,$-1),30000))}var b3=500,v3=2,h3=300000,TH=10;function kH($){return Math.min(b3*v3**($-1),h3)}var vH="Free usage exceeded, subscribe to Go https://opencode.ai/go",jS=SH,US=wH,HS=RH,BS=LH,hH=NH,gH=yH,_S=b3,OS=v3,qS=h3,FS=TH,zS=kH;function fH($){if(k0.ContextOverflowError.isInstance($))return;if(hH($))return $.message||"Transient network error";if(k0.APIError.isInstance($)){let K=$.data.statusCode;if(!$.data.isRetryable&&!(K!==void 0&&K>=500))return;if($.data.responseBody?.includes("FreeUsageLimitError"))return vH;return $.data.message.includes("Overloaded")?"Provider is overloaded":$.data.message}let J=$.data?.message;if(typeof J==="string"){let K=J.toLowerCase();if(K.includes("rate increased too quickly")||K.includes("rate limit")||K.includes("too many requests"))return J}let Z=bH(()=>{try{if(typeof $.data?.message==="string")return JSON.parse($.data.message);return JSON.parse($.data.message)}catch{return}});if(!Z||typeof Z!=="object")return;let Y=typeof Z.code==="string"?Z.code:"";if(Z.type==="error"&&Z.error?.type==="too_many_requests")return"Too Many Requests";if(Y.includes("exhausted")||Y.includes("unavailable"))return"Provider is overloaded";if(Z.type==="error"&&typeof Z.error?.code==="string"&&Z.error.code.includes("rate_limit"))return"Rate Limited";return}function CS($){return xH.fromStepWithMetadata(G.succeed((J)=>{let Z=$.parse(J.input),Y=fH(Z);if(!Y)return n0.done(J.attempt);return G.gen(function*(){let K=J.input,Q=typeof K?.retryAfterMs==="number"?K.retryAfterMs:void 0,V=gH(J.attempt,k0.APIError.isInstance(Z)?Z:Q!==void 0?{retryAfterMs:Q}:void 0),X=yield*EH.currentTimeMillis;return yield*$.set({attempt:J.attempt,message:Y,next:X+V}),[J.attempt,h2.millis(V)]})}))}var Em=Z0.define("tui.instructions.loaded",F.object({files:F.array(F.string()).describe("Display labels of loaded instruction files: worktree-relative path, ~-path, or absolute")}));
|
|
7610
|
+
export{W1 as hh,h0 as ih,w2 as jh,k2 as kh,FJ as lh,OR as mh,a0 as nh,g1 as oh,t9 as ph,e9 as qh,MJ as rh,Em as sh,j1 as th,PJ as uh,Ky as vh,ZF as wh,H1 as xh,KJ as yh,UZ as zh,VF as Ah,d1 as Bh,d2 as Ch,ZX as Dh,QX as Eh,c2 as Fh,IZ as Gh,x7 as Hh,K1 as Ih,BX as Jh,SZ as Kh,o2 as Lh,zx as Mh,pX as Nh,c7 as Oh,iX as Ph,l8 as Qh,o8 as Rh,cU as Sh,aU as Th,p0 as Uh,hH as Vh,_S as Wh,OS as Xh,qS as Yh,FS as Zh,zS as _h,g3 as $h};
|