@eeshaai/code 0.0.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/LICENSE.md +115 -0
  2. package/README.md +335 -0
  3. package/dist/THIRD-PARTY-NOTICES.md +23 -0
  4. package/dist/claude-agent-sdk/LICENSE.md +1 -0
  5. package/dist/claude-agent-sdk/sdk.mjs +156 -0
  6. package/dist/cli.js +23 -0
  7. package/dist/pluginWorker.js +1610 -0
  8. package/dist/resources/styles/custom/instructions/design.md +284 -0
  9. package/dist/resources/styles/custom/instructions/requirements.md +161 -0
  10. package/dist/resources/styles/custom/instructions/tasks-implement.md +90 -0
  11. package/dist/resources/styles/custom/instructions/tasks.md +159 -0
  12. package/dist/resources/styles/custom/process.md +49 -0
  13. package/dist/resources/styles/custom/prompts/first.md +29 -0
  14. package/dist/resources/styles/custom/prompts/implement.md +27 -0
  15. package/dist/resources/styles/custom/prompts/rewrite-note.md +40 -0
  16. package/dist/resources/styles/custom/prompts/rewrite.md +32 -0
  17. package/dist/resources/styles/custom/style.yml +46 -0
  18. package/dist/resources/styles/grammar.md +727 -0
  19. package/dist/resources/styles/kiro/style.yml +63 -0
  20. package/dist/resources/styles/speckit/style.yml +59 -0
  21. package/dist/server.js +835 -0
  22. package/dist/web/chunks/abnfDiagram-VCTEODGH-P6AZFXJU.js +2 -0
  23. package/dist/web/chunks/architecture-7GRP2DOG-K6PMPK7N.js +2 -0
  24. package/dist/web/chunks/architectureDiagram-5GKGNRK7-JB5DD7KL.js +37 -0
  25. package/dist/web/chunks/blockDiagram-I7D4REHJ-ARCDWS5D.js +130 -0
  26. package/dist/web/chunks/c4Diagram-7LVT6UL2-57CIXPJZ.js +39 -0
  27. package/dist/web/chunks/chunk-3EZ2OKHV.js +11 -0
  28. package/dist/web/chunks/chunk-4KJ2U3VQ.js +2 -0
  29. package/dist/web/chunks/chunk-4ZUFUR3U.js +3 -0
  30. package/dist/web/chunks/chunk-63W35XXT.js +3 -0
  31. package/dist/web/chunks/chunk-6YVFH4BZ.js +2 -0
  32. package/dist/web/chunks/chunk-7PUK2GON.js +2 -0
  33. package/dist/web/chunks/chunk-7Q4TXKAS.js +2 -0
  34. package/dist/web/chunks/chunk-7QRY2XB7.js +340 -0
  35. package/dist/web/chunks/chunk-CA2KMNVI.js +33 -0
  36. package/dist/web/chunks/chunk-CFMSYLIK.js +3 -0
  37. package/dist/web/chunks/chunk-CKJRXIX7.js +2 -0
  38. package/dist/web/chunks/chunk-CXXG5KL5.js +2 -0
  39. package/dist/web/chunks/chunk-EFBAEJZJ.js +2 -0
  40. package/dist/web/chunks/chunk-FKTXB6RJ.js +2 -0
  41. package/dist/web/chunks/chunk-FU7R4QOG.js +89 -0
  42. package/dist/web/chunks/chunk-GEV6X2TZ.js +2 -0
  43. package/dist/web/chunks/chunk-GPW7TXQS.js +2 -0
  44. package/dist/web/chunks/chunk-I6RMTJPN.js +15 -0
  45. package/dist/web/chunks/chunk-IKC3ZQV7.js +2 -0
  46. package/dist/web/chunks/chunk-ITN3D7RJ.js +2 -0
  47. package/dist/web/chunks/chunk-J6N7AUC2.js +2 -0
  48. package/dist/web/chunks/chunk-J7VDGOTK.js +4 -0
  49. package/dist/web/chunks/chunk-KVRWT2YT.js +2 -0
  50. package/dist/web/chunks/chunk-NBC6B3KN.js +2 -0
  51. package/dist/web/chunks/chunk-NLHJT4GD.js +2 -0
  52. package/dist/web/chunks/chunk-NOVL2262.js +63 -0
  53. package/dist/web/chunks/chunk-NQ2XP5EN.js +73 -0
  54. package/dist/web/chunks/chunk-P44J6WNO.js +2 -0
  55. package/dist/web/chunks/chunk-QBOSTM7Q.js +3 -0
  56. package/dist/web/chunks/chunk-QKU4ZFG5.js +2 -0
  57. package/dist/web/chunks/chunk-RINQGKTH.js +2 -0
  58. package/dist/web/chunks/chunk-RK4EOCHJ.js +2 -0
  59. package/dist/web/chunks/chunk-S4X6ERXI.js +16 -0
  60. package/dist/web/chunks/chunk-SE57RN36.js +2 -0
  61. package/dist/web/chunks/chunk-SGL7WI35.js +133 -0
  62. package/dist/web/chunks/chunk-SOAWGUAD.js +2 -0
  63. package/dist/web/chunks/chunk-U6ILIHMR.js +2 -0
  64. package/dist/web/chunks/chunk-USZ3ZJYA.js +2 -0
  65. package/dist/web/chunks/chunk-UU7BHEBD.js +2 -0
  66. package/dist/web/chunks/chunk-WL4ZMLPV.js +179 -0
  67. package/dist/web/chunks/chunk-XE4RLI22.js +2 -0
  68. package/dist/web/chunks/chunk-XJ6FSQEO.js +2 -0
  69. package/dist/web/chunks/chunk-XM7VXEGI.js +207 -0
  70. package/dist/web/chunks/chunk-XO4SHRSO.js +232 -0
  71. package/dist/web/chunks/chunk-XOZZFIHV.js +2 -0
  72. package/dist/web/chunks/chunk-YYJ5VFH5.js +2 -0
  73. package/dist/web/chunks/chunk-ZX45GMMJ.js +169 -0
  74. package/dist/web/chunks/chunk-ZXMMITLE.js +2 -0
  75. package/dist/web/chunks/classDiagram-ZZMXUADV-ALD5ECFE.js +2 -0
  76. package/dist/web/chunks/classDiagram-v2-VYDZK3BY-IMIEVQNX.js +2 -0
  77. package/dist/web/chunks/cose-bilkent-JH36ORCC-YVEPG7XZ.js +2 -0
  78. package/dist/web/chunks/cynefin-OW5HDTMX-5G3MG4ZJ.js +2 -0
  79. package/dist/web/chunks/cynefinDiagram-5FMLGOSQ-A3E3NM6X.js +63 -0
  80. package/dist/web/chunks/dagre-GXQ25YYZ-WKL3XLC6.js +5 -0
  81. package/dist/web/chunks/diagram-S7CK7UJ4-AENTNBTM.js +31 -0
  82. package/dist/web/chunks/diagram-UQ7AKVKN-BN6IVDBP.js +42 -0
  83. package/dist/web/chunks/diagram-VSXAHHWV-X7IW7FU6.js +4 -0
  84. package/dist/web/chunks/diagram-VX7I27RA-4V6RQ6IS.js +25 -0
  85. package/dist/web/chunks/diagram-Z3DM3KII-ODYVRYAT.js +25 -0
  86. package/dist/web/chunks/ebnfDiagram-PWID7BFC-2KD46JNN.js +2 -0
  87. package/dist/web/chunks/erDiagram-RLTQ6QDP-6MYZ2NRT.js +100 -0
  88. package/dist/web/chunks/eventmodeling-NTZA5JFV-QZXC5VKS.js +2 -0
  89. package/dist/web/chunks/flowDiagram-HODETNUW-BILJ37ZX.js +2 -0
  90. package/dist/web/chunks/ganttDiagram-EL5Y4UJY-LVA23DND.js +293 -0
  91. package/dist/web/chunks/gitGraph-4MIJSDKK-H43S2MKN.js +2 -0
  92. package/dist/web/chunks/gitGraphDiagram-WWUBYQGX-JRB4SUZI.js +107 -0
  93. package/dist/web/chunks/info-A6RAGUB7-DKS7Q63Q.js +2 -0
  94. package/dist/web/chunks/infoDiagram-27XIBGKW-JLOVILVF.js +3 -0
  95. package/dist/web/chunks/ishikawaDiagram-5VMMS53U-SUA2YN5D.js +71 -0
  96. package/dist/web/chunks/journeyDiagram-3NMN7TZE-ORMC2WB2.js +140 -0
  97. package/dist/web/chunks/kanban-definition-UXKFOSKX-TPRG3VMF.js +90 -0
  98. package/dist/web/chunks/katex-DLHJF5VS.js +258 -0
  99. package/dist/web/chunks/mermaid.core-ZM3JSPVU.js +19 -0
  100. package/dist/web/chunks/mindmap-definition-YA3MSWOX-BLW6WWFS.js +97 -0
  101. package/dist/web/chunks/packet-AYTQ26CC-FIXQVEDM.js +2 -0
  102. package/dist/web/chunks/pegDiagram-XKGWAZYB-BYMP3YHY.js +2 -0
  103. package/dist/web/chunks/pie-WAS4IAKB-R4EUNVPB.js +2 -0
  104. package/dist/web/chunks/pieDiagram-E7YTZNPT-XOJE3H3L.js +40 -0
  105. package/dist/web/chunks/quadrantDiagram-AXDQQJYC-23VSADTC.js +8 -0
  106. package/dist/web/chunks/radar-RG4KPBEZ-O6Y2TENX.js +2 -0
  107. package/dist/web/chunks/railroad-74A4TZTK-PHWZ7KVH.js +2 -0
  108. package/dist/web/chunks/railroad-abnf-HS5TGJTU-DZ4OSJAN.js +2 -0
  109. package/dist/web/chunks/railroad-ebnf-LZEXJU2U-GYBLRQUL.js +2 -0
  110. package/dist/web/chunks/railroad-peg-WCYAUIDC-ZK4ZOBSX.js +2 -0
  111. package/dist/web/chunks/railroadDiagram-O6MQD6OU-Z5IEAZJK.js +2 -0
  112. package/dist/web/chunks/requirementDiagram-BXWQKSXE-MNP4O73E.js +85 -0
  113. package/dist/web/chunks/sankeyDiagram-P5KCCOFB-PADI35QR.js +41 -0
  114. package/dist/web/chunks/sequenceDiagram-WJ2MYXX4-FGWOVXU4.js +163 -0
  115. package/dist/web/chunks/sizeCapture-INFHLROL-Y6H3VQLE.js +2 -0
  116. package/dist/web/chunks/stateDiagram-D77RDMKH-7PRO4WYR.js +2 -0
  117. package/dist/web/chunks/stateDiagram-v2-MP3YSRHH-2Y6SWEJW.js +2 -0
  118. package/dist/web/chunks/swimlanes-42K2YHIH-DXVTFB6Q.js +2 -0
  119. package/dist/web/chunks/swimlanesDiagram-VR7AAH4N-U2LP4OEE.js +9 -0
  120. package/dist/web/chunks/timeline-definition-24CTP7MA-7ZIALE6C.js +121 -0
  121. package/dist/web/chunks/treeView-Q6P3EWNA-VSJ7TJ36.js +2 -0
  122. package/dist/web/chunks/treemap-WGGIJYW6-JZWFGRKS.js +2 -0
  123. package/dist/web/chunks/vennDiagram-4TSXK5OY-IPXNDYWM.js +35 -0
  124. package/dist/web/chunks/wardley-WFR3VGLG-PAUUFL5N.js +2 -0
  125. package/dist/web/chunks/wardleyDiagram-VM6X3IG4-4Z2U2NNR.js +79 -0
  126. package/dist/web/chunks/xychartDiagram-S5SC5T6Z-NAEIWN4K.js +8 -0
  127. package/dist/web/index.html +24 -0
  128. package/dist/web/page.css +2 -0
  129. package/dist/web/page.js +242 -0
  130. package/package.json +64 -10
  131. package/cli.js +0 -2
@@ -0,0 +1,33 @@
1
+ import{a as i}from"./chunk-ITN3D7RJ.js";import{d as _n}from"./chunk-SOAWGUAD.js";_n();function Zn(w){return w&&w.__esModule&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w}i(Zn,"getDefaultExportFromCjs");var D={},Ye={},oe={},In;function ge(){if(In)return oe;In=1;function w(d){return typeof d>"u"||d===null}i(w,"isNothing");function E(d){return typeof d=="object"&&d!==null}i(E,"isObject");function _(d){return Array.isArray(d)?d:w(d)?[]:[d]}i(_,"toArray");function O(d,p){if(p){let C=Object.keys(p);for(let o=0,u=C.length;o<u;o+=1){let T=C[o];d[T]=p[T]}}return d}i(O,"extend");function h(d,p){let C="";for(let o=0;o<p;o+=1)C+=d;return C}i(h,"repeat");function y(d){return d===0&&Number.NEGATIVE_INFINITY===1/d}return i(y,"isNegativeZero"),oe.isNothing=w,oe.isObject=E,oe.toArray=_,oe.repeat=h,oe.isNegativeZero=y,oe.extend=O,oe}i(ge,"requireCommon");var De,kn;function Ae(){if(kn)return De;kn=1;function w(_,O){let h="",y=_.reason||"(unknown reason)";return _.mark?(_.mark.name&&(h+='in "'+_.mark.name+'" '),h+="("+(_.mark.line+1)+":"+(_.mark.column+1)+")",!O&&_.mark.snippet&&(h+=`
2
+
3
+ `+_.mark.snippet),y+" "+h):y}i(w,"formatError");function E(_,O){Error.call(this),this.name="YAMLException",this.reason=_,this.mark=O,this.message=w(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return i(E,"YAMLException2"),E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E.prototype.toString=i(function(O){return this.name+": "+w(this,O)},"toString"),De=E,De}i(Ae,"requireException");var Be,Ln;function zn(){if(Ln)return Be;Ln=1;let w=ge();function E(h,y,d,p,C){let o="",u="",T=Math.floor(C/2)-1;return p-y>T&&(o=" ... ",y=p-T+o.length),d-p>T&&(u=" ...",d=p+T-u.length),{str:o+h.slice(y,d).replace(/\t/g,"\u2192")+u,pos:p-y+o.length}}i(E,"getLine");function _(h,y){return w.repeat(" ",y-h.length)+h}i(_,"padStart");function O(h,y){if(y=Object.create(y||null),!h.buffer)return null;y.maxLength||(y.maxLength=79),typeof y.indent!="number"&&(y.indent=1),typeof y.linesBefore!="number"&&(y.linesBefore=3),typeof y.linesAfter!="number"&&(y.linesAfter=2);let d=/\r?\n|\r|\0/g,p=[0],C=[],o,u=-1;for(;o=d.exec(h.buffer);)C.push(o.index),p.push(o.index+o[0].length),h.position<=o.index&&u<0&&(u=p.length-2);u<0&&(u=p.length-1);let T="",v=Math.min(h.line+y.linesAfter,C.length).toString().length,M=y.maxLength-(y.indent+v+3);for(let F=1;F<=y.linesBefore&&!(u-F<0);F++){let K=E(h.buffer,p[u-F],C[u-F],h.position-(p[u]-p[u-F]),M);T=w.repeat(" ",y.indent)+_((h.line-F+1).toString(),v)+" | "+K.str+`
4
+ `+T}let Z=E(h.buffer,p[u],C[u],h.position,M);T+=w.repeat(" ",y.indent)+_((h.line+1).toString(),v)+" | "+Z.str+`
5
+ `,T+=w.repeat("-",y.indent+v+3+Z.pos)+`^
6
+ `;for(let F=1;F<=y.linesAfter&&!(u+F>=C.length);F++){let K=E(h.buffer,p[u+F],C[u+F],h.position-(p[u]-p[u+F]),M);T+=w.repeat(" ",y.indent)+_((h.line+F+1).toString(),v)+" | "+K.str+`
7
+ `}return T.replace(/\n$/,"")}return i(O,"makeSnippet"),Be=O,Be}i(zn,"requireSnippet");var He,On;function B(){if(On)return He;On=1;let w=Ae(),E=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];function O(y){let d={};return y!==null&&Object.keys(y).forEach(function(p){y[p].forEach(function(C){d[String(C)]=p})}),d}i(O,"compileStyleAliases");function h(y,d){if(d=d||{},Object.keys(d).forEach(function(p){if(E.indexOf(p)===-1)throw new w('Unknown option "'+p+'" is met in definition of "'+y+'" YAML type.')}),this.options=d,this.tag=y,this.kind=d.kind||null,this.resolve=d.resolve||function(){return!0},this.construct=d.construct||function(p){return p},this.instanceOf=d.instanceOf||null,this.predicate=d.predicate||null,this.represent=d.represent||null,this.representName=d.representName||null,this.defaultStyle=d.defaultStyle||null,this.multi=d.multi||!1,this.styleAliases=O(d.styleAliases||null),_.indexOf(this.kind)===-1)throw new w('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}return i(h,"Type2"),He=h,He}i(B,"requireType");var je,vn;function un(){if(vn)return je;vn=1;let w=Ae(),E=B();function _(y,d){let p=[];return y[d].forEach(function(C){let o=p.length;p.forEach(function(u,T){u.tag===C.tag&&u.kind===C.kind&&u.multi===C.multi&&(o=T)}),p[o]=C}),p}i(_,"compileList");function O(){let y={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function d(p){p.multi?(y.multi[p.kind].push(p),y.multi.fallback.push(p)):y[p.kind][p.tag]=y.fallback[p.tag]=p}i(d,"collectType");for(let p=0,C=arguments.length;p<C;p+=1)arguments[p].forEach(d);return y}i(O,"compileMap");function h(y){return this.extend(y)}return i(h,"Schema2"),h.prototype.extend=i(function(d){let p=[],C=[];if(d instanceof E)C.push(d);else if(Array.isArray(d))C=C.concat(d);else if(d&&(Array.isArray(d.implicit)||Array.isArray(d.explicit)))d.implicit&&(p=p.concat(d.implicit)),d.explicit&&(C=C.concat(d.explicit));else throw new w("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");p.forEach(function(u){if(!(u instanceof E))throw new w("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(u.loadKind&&u.loadKind!=="scalar")throw new w("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(u.multi)throw new w("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),C.forEach(function(u){if(!(u instanceof E))throw new w("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let o=Object.create(h.prototype);return o.implicit=(this.implicit||[]).concat(p),o.explicit=(this.explicit||[]).concat(C),o.compiledImplicit=_(o,"implicit"),o.compiledExplicit=_(o,"explicit"),o.compiledTypeMap=O(o.compiledImplicit,o.compiledExplicit),o},"extend"),je=h,je}i(un,"requireSchema");var Ue,Nn;function fn(){if(Nn)return Ue;Nn=1;let w=B();return Ue=new w("tag:yaml.org,2002:str",{kind:"scalar",construct:i(function(E){return E!==null?E:""},"construct")}),Ue}i(fn,"requireStr");var Ke,Mn;function an(){if(Mn)return Ke;Mn=1;let w=B();return Ke=new w("tag:yaml.org,2002:seq",{kind:"sequence",construct:i(function(E){return E!==null?E:[]},"construct")}),Ke}i(an,"requireSeq");var Ge,Rn;function pn(){if(Rn)return Ge;Rn=1;let w=B();return Ge=new w("tag:yaml.org,2002:map",{kind:"mapping",construct:i(function(E){return E!==null?E:{}},"construct")}),Ge}i(pn,"requireMap");var We,qn;function sn(){if(qn)return We;qn=1;let w=un();return We=new w({explicit:[fn(),an(),pn()]}),We}i(sn,"requireFailsafe");var Qe,Fn;function hn(){if(Fn)return Qe;Fn=1;let w=B();function E(h){if(h===null)return!0;let y=h.length;return y===1&&h==="~"||y===4&&(h==="null"||h==="Null"||h==="NULL")}i(E,"resolveYamlNull");function _(){return null}i(_,"constructYamlNull");function O(h){return h===null}return i(O,"isNull"),Qe=new w("tag:yaml.org,2002:null",{kind:"scalar",resolve:E,construct:_,predicate:O,represent:{canonical:i(function(){return"~"},"canonical"),lowercase:i(function(){return"null"},"lowercase"),uppercase:i(function(){return"NULL"},"uppercase"),camelcase:i(function(){return"Null"},"camelcase"),empty:i(function(){return""},"empty")},defaultStyle:"lowercase"}),Qe}i(hn,"require_null");var Ve,Yn;function dn(){if(Yn)return Ve;Yn=1;let w=B();function E(h){if(h===null)return!1;let y=h.length;return y===4&&(h==="true"||h==="True"||h==="TRUE")||y===5&&(h==="false"||h==="False"||h==="FALSE")}i(E,"resolveYamlBoolean");function _(h){return h==="true"||h==="True"||h==="TRUE"}i(_,"constructYamlBoolean");function O(h){return Object.prototype.toString.call(h)==="[object Boolean]"}return i(O,"isBoolean"),Ve=new w("tag:yaml.org,2002:bool",{kind:"scalar",resolve:E,construct:_,predicate:O,represent:{lowercase:i(function(h){return h?"true":"false"},"lowercase"),uppercase:i(function(h){return h?"TRUE":"FALSE"},"uppercase"),camelcase:i(function(h){return h?"True":"False"},"camelcase")},defaultStyle:"lowercase"}),Ve}i(dn,"requireBool");var Je,Pn;function mn(){if(Pn)return Je;Pn=1;let w=ge(),E=B();function _(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102}i(_,"isHexCode");function O(o){return o>=48&&o<=55}i(O,"isOctCode");function h(o){return o>=48&&o<=57}i(h,"isDecCode");function y(o){if(o===null)return!1;let u=o.length,T=0,v=!1;if(!u)return!1;let M=o[T];if((M==="-"||M==="+")&&(M=o[++T]),M==="0"){if(T+1===u)return!0;if(M=o[++T],M==="b"){for(T++;T<u;T++){if(M=o[T],M!=="0"&&M!=="1")return!1;v=!0}return v&&isFinite(d(o))}if(M==="x"){for(T++;T<u;T++){if(!_(o.charCodeAt(T)))return!1;v=!0}return v&&isFinite(d(o))}if(M==="o"){for(T++;T<u;T++){if(!O(o.charCodeAt(T)))return!1;v=!0}return v&&isFinite(d(o))}}for(;T<u;T++){if(!h(o.charCodeAt(T)))return!1;v=!0}return v?isFinite(d(o)):!1}i(y,"resolveYamlInteger");function d(o){let u=o,T=1,v=u[0];if((v==="-"||v==="+")&&(v==="-"&&(T=-1),u=u.slice(1),v=u[0]),u==="0")return 0;if(v==="0"){if(u[1]==="b")return T*parseInt(u.slice(2),2);if(u[1]==="x")return T*parseInt(u.slice(2),16);if(u[1]==="o")return T*parseInt(u.slice(2),8)}return T*parseInt(u,10)}i(d,"parseYamlInteger");function p(o){return d(o)}i(p,"constructYamlInteger");function C(o){return Object.prototype.toString.call(o)==="[object Number]"&&o%1===0&&!w.isNegativeZero(o)}return i(C,"isInteger"),Je=new E("tag:yaml.org,2002:int",{kind:"scalar",resolve:y,construct:p,predicate:C,represent:{binary:i(function(o){return o>=0?"0b"+o.toString(2):"-0b"+o.toString(2).slice(1)},"binary"),octal:i(function(o){return o>=0?"0o"+o.toString(8):"-0o"+o.toString(8).slice(1)},"octal"),decimal:i(function(o){return o.toString(10)},"decimal"),hexadecimal:i(function(o){return o>=0?"0x"+o.toString(16).toUpperCase():"-0x"+o.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Je}i(mn,"requireInt");var Xe,Dn;function gn(){if(Dn)return Xe;Dn=1;let w=ge(),E=B(),_=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),O=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function h(o){return o===null||!_.test(o)?!1:isFinite(parseFloat(o,10))?!0:O.test(o)}i(h,"resolveYamlFloat");function y(o){let u=o.toLowerCase(),T=u[0]==="-"?-1:1;return"+-".indexOf(u[0])>=0&&(u=u.slice(1)),u===".inf"?T===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:u===".nan"?NaN:T*parseFloat(u,10)}i(y,"constructYamlFloat");let d=/^[-+]?[0-9]+e/;function p(o,u){if(isNaN(o))switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===o)switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===o)switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(w.isNegativeZero(o))return"-0.0";let T=o.toString(10);return d.test(T)?T.replace("e",".e"):T}i(p,"representYamlFloat");function C(o){return Object.prototype.toString.call(o)==="[object Number]"&&(o%1!==0||w.isNegativeZero(o))}return i(C,"isFloat"),Xe=new E("tag:yaml.org,2002:float",{kind:"scalar",resolve:h,construct:y,predicate:C,represent:p,defaultStyle:"lowercase"}),Xe}i(gn,"requireFloat");var $e,Bn;function An(){return Bn||(Bn=1,$e=sn().extend({implicit:[hn(),dn(),mn(),gn()]})),$e}i(An,"requireJson");var Ze,Hn;function yn(){return Hn||(Hn=1,Ze=An()),Ze}i(yn,"requireCore");var ze,jn;function Sn(){if(jn)return ze;jn=1;let w=B(),E=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function O(d){return d===null?!1:E.exec(d)!==null||_.exec(d)!==null}i(O,"resolveYamlTimestamp");function h(d){let p=0,C=null,o=E.exec(d);if(o===null&&(o=_.exec(d)),o===null)throw new Error("Date resolve error");let u=+o[1],T=+o[2]-1,v=+o[3];if(!o[4])return new Date(Date.UTC(u,T,v));let M=+o[4],Z=+o[5],F=+o[6];if(o[7]){for(p=o[7].slice(0,3);p.length<3;)p+="0";p=+p}if(o[9]){let z=+o[10],H=+(o[11]||0);C=(z*60+H)*6e4,o[9]==="-"&&(C=-C)}let K=new Date(Date.UTC(u,T,v,M,Z,F,p));return C&&K.setTime(K.getTime()-C),K}i(h,"constructYamlTimestamp");function y(d){return d.toISOString()}return i(y,"representYamlTimestamp"),ze=new w("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:O,construct:h,instanceOf:Date,represent:y}),ze}i(Sn,"requireTimestamp");var en,Un;function Cn(){if(Un)return en;Un=1;let w=B();function E(_){return _==="<<"||_===null}return i(E,"resolveYamlMerge"),en=new w("tag:yaml.org,2002:merge",{kind:"scalar",resolve:E}),en}i(Cn,"requireMerge");var nn,Kn;function Tn(){if(Kn)return nn;Kn=1;let w=B(),E=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function _(d){if(d===null)return!1;let p=0,C=d.length,o=E;for(let u=0;u<C;u++){let T=o.indexOf(d.charAt(u));if(!(T>64)){if(T<0)return!1;p+=6}}return p%8===0}i(_,"resolveYamlBinary");function O(d){let p=d.replace(/[\r\n=]/g,""),C=p.length,o=E,u=0,T=[];for(let M=0;M<C;M++)M%4===0&&M&&(T.push(u>>16&255),T.push(u>>8&255),T.push(u&255)),u=u<<6|o.indexOf(p.charAt(M));let v=C%4*6;return v===0?(T.push(u>>16&255),T.push(u>>8&255),T.push(u&255)):v===18?(T.push(u>>10&255),T.push(u>>2&255)):v===12&&T.push(u>>4&255),new Uint8Array(T)}i(O,"constructYamlBinary");function h(d){let p="",C=0,o=d.length,u=E;for(let v=0;v<o;v++)v%3===0&&v&&(p+=u[C>>18&63],p+=u[C>>12&63],p+=u[C>>6&63],p+=u[C&63]),C=(C<<8)+d[v];let T=o%3;return T===0?(p+=u[C>>18&63],p+=u[C>>12&63],p+=u[C>>6&63],p+=u[C&63]):T===2?(p+=u[C>>10&63],p+=u[C>>4&63],p+=u[C<<2&63],p+=u[64]):T===1&&(p+=u[C>>2&63],p+=u[C<<4&63],p+=u[64],p+=u[64]),p}i(h,"representYamlBinary");function y(d){return Object.prototype.toString.call(d)==="[object Uint8Array]"}return i(y,"isBinary"),nn=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:_,construct:O,predicate:y,represent:h}),nn}i(Tn,"requireBinary");var rn,Gn;function wn(){if(Gn)return rn;Gn=1;let w=B(),E=Object.prototype.hasOwnProperty,_=Object.prototype.toString;function O(y){if(y===null)return!0;let d=[],p=y;for(let C=0,o=p.length;C<o;C+=1){let u=p[C],T=!1;if(_.call(u)!=="[object Object]")return!1;let v;for(v in u)if(E.call(u,v))if(!T)T=!0;else return!1;if(!T)return!1;if(d.indexOf(v)===-1)d.push(v);else return!1}return!0}i(O,"resolveYamlOmap");function h(y){return y!==null?y:[]}return i(h,"constructYamlOmap"),rn=new w("tag:yaml.org,2002:omap",{kind:"sequence",resolve:O,construct:h}),rn}i(wn,"requireOmap");var ln,Wn;function xn(){if(Wn)return ln;Wn=1;let w=B(),E=Object.prototype.toString;function _(h){if(h===null)return!0;let y=h,d=new Array(y.length);for(let p=0,C=y.length;p<C;p+=1){let o=y[p];if(E.call(o)!=="[object Object]")return!1;let u=Object.keys(o);if(u.length!==1)return!1;d[p]=[u[0],o[u[0]]]}return!0}i(_,"resolveYamlPairs");function O(h){if(h===null)return[];let y=h,d=new Array(y.length);for(let p=0,C=y.length;p<C;p+=1){let o=y[p],u=Object.keys(o);d[p]=[u[0],o[u[0]]]}return d}return i(O,"constructYamlPairs"),ln=new w("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:_,construct:O}),ln}i(xn,"requirePairs");var on,Qn;function bn(){if(Qn)return on;Qn=1;let w=B(),E=Object.prototype.hasOwnProperty;function _(h){if(h===null)return!0;let y=h;for(let d in y)if(E.call(y,d)&&y[d]!==null)return!1;return!0}i(_,"resolveYamlSet");function O(h){return h!==null?h:{}}return i(O,"constructYamlSet"),on=new w("tag:yaml.org,2002:set",{kind:"mapping",resolve:_,construct:O}),on}i(bn,"requireSet");var tn,Vn;function Pe(){return Vn||(Vn=1,tn=yn().extend({implicit:[Sn(),Cn()],explicit:[Tn(),wn(),xn(),bn()]})),tn}i(Pe,"require_default");var Jn;function ei(){if(Jn)return Ye;Jn=1;let w=ge(),E=Ae(),_=zn(),O=Pe(),h=Object.prototype.hasOwnProperty,y=1,d=2,p=3,C=4,o=1,u=2,T=3,v=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\x85\u2028\u2029]/,Z=/[,\[\]{}]/,F=/^(?:!|!!|![0-9A-Za-z-]+!)$/,K=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function z(e){return Object.prototype.toString.call(e)}i(z,"_class");function H(e){return e===10||e===13}i(H,"isEol");function j(e){return e===9||e===32}i(j,"isWhiteSpace");function P(e){return e===9||e===32||e===10||e===13}i(P,"isWsOrEol");function $(e){return e===44||e===91||e===93||e===123||e===125}i($,"isFlowIndicator");function Ne(e){if(e>=48&&e<=57)return e-48;let r=e|32;return r>=97&&r<=102?r-97+10:-1}i(Ne,"fromHexCode");function Me(e){return e===120?2:e===117?4:e===85?8:0}i(Me,"escapedHexLen");function ye(e){return e>=48&&e<=57?e-48:-1}i(ye,"fromDecimalCode");function ce(e){switch(e){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
9
+ `;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}i(ce,"simpleEscapeSequence");function Re(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}i(Re,"charFromCodepoint");function ue(e,r,c){r==="__proto__"?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:c}):e[r]=c}i(ue,"setProperty");let qe=new Array(256),Se=new Array(256);for(let e=0;e<256;e++)qe[e]=ce(e)?1:0,Se[e]=ce(e);function Y(e,r){this.input=e,this.filename=r.filename||null,this.schema=r.schema||O,this.onWarning=r.onWarning||null,this.legacy=r.legacy||!1,this.json=r.json||!1,this.listener=r.listener||null,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:100,this.maxTotalMergeKeys=typeof r.maxTotalMergeKeys=="number"?r.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}i(Y,"State");function Ce(e,r){let c={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return c.snippet=_(c),new E(r,c)}i(Ce,"generateError");function I(e,r){throw Ce(e,r)}i(I,"throwError");function ee(e,r){e.onWarning&&e.onWarning.call(null,Ce(e,r))}i(ee,"throwWarning");function G(e,r,c){let s=e.anchorMapTransactions;if(s.length!==0){let t=s[s.length-1];h.call(t,r)||(t[r]={existed:h.call(e.anchorMap,r),value:e.anchorMap[r]})}e.anchorMap[r]=c}i(G,"storeAnchor");function Fe(e){e.anchorMapTransactions.push(Object.create(null))}i(Fe,"beginAnchorTransaction");function ne(e){let r=e.anchorMapTransactions.pop(),c=e.anchorMapTransactions;if(c.length===0)return;let s=c[c.length-1],t=Object.keys(r);for(let S=0,n=t.length;S<n;S+=1){let l=t[S];h.call(s,l)||(s[l]=r[l])}}i(ne,"commitAnchorTransaction");function Te(e){let r=e.anchorMapTransactions.pop(),c=Object.keys(r);for(let s=c.length-1;s>=0;s-=1){let t=r[c[s]];t.existed?e.anchorMap[c[s]]=t.value:delete e.anchorMap[c[s]]}}i(Te,"rollbackAnchorTransaction");function te(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}i(te,"snapshotState");function ie(e,r){e.position=r.position,e.line=r.line,e.lineStart=r.lineStart,e.lineIndent=r.lineIndent,e.firstTabInLine=r.firstTabInLine,e.tag=r.tag,e.anchor=r.anchor,e.kind=r.kind,e.result=r.result}i(ie,"restoreState");let we={YAML:i(function(r,c,s){r.version!==null&&I(r,"duplication of %YAML directive"),s.length!==1&&I(r,"YAML directive accepts exactly one argument");let t=/^([0-9]+)\.([0-9]+)$/.exec(s[0]);t===null&&I(r,"ill-formed argument of the YAML directive");let S=parseInt(t[1],10),n=parseInt(t[2],10);S!==1&&I(r,"unacceptable YAML version of the document"),r.version=s[0],r.checkLineBreaks=n<2,n!==1&&n!==2&&ee(r,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:i(function(r,c,s){let t;s.length!==2&&I(r,"TAG directive accepts exactly two arguments");let S=s[0];t=s[1],F.test(S)||I(r,"ill-formed tag handle (first argument) of the TAG directive"),h.call(r.tagMap,S)&&I(r,'there is a previously declared suffix for "'+S+'" tag handle'),K.test(t)||I(r,"ill-formed tag prefix (second argument) of the TAG directive");try{t=decodeURIComponent(t)}catch{I(r,"tag prefix is malformed: "+t)}r.tagMap[S]=t},"handleTagDirective")};function U(e,r,c,s){if(r<c){let t=e.input.slice(r,c);if(s)for(let S=0,n=t.length;S<n;S+=1){let l=t.charCodeAt(S);l===9||l>=32&&l<=1114111||I(e,"expected valid JSON character")}else v.test(t)&&I(e,"the stream contains non-printable characters");e.result+=t}}i(U,"captureSegment");function J(e,r,c,s){w.isObject(c)||I(e,"cannot merge mappings; the provided source object is unacceptable");let t=Object.keys(c);for(let S=0,n=t.length;S<n;S+=1){let l=t[S];e.maxTotalMergeKeys!==-1&&++e.totalMergeKeys>e.maxTotalMergeKeys&&I(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),h.call(r,l)||(ue(r,l,c[l]),s[l]=!0)}}i(J,"mergeMappings");function W(e,r,c,s,t,S,n,l,g){if(Array.isArray(t)){t=Array.prototype.slice.call(t);for(let f=0,a=t.length;f<a;f+=1)Array.isArray(t[f])&&I(e,"nested arrays are not supported inside keys"),typeof t=="object"&&z(t[f])==="[object Object]"&&(t[f]="[object Object]")}if(typeof t=="object"&&z(t)==="[object Object]"&&(t="[object Object]"),t=String(t),r===null&&(r={}),s==="tag:yaml.org,2002:merge")if(Array.isArray(S))for(let f=0,a=S.length;f<a;f+=1)J(e,r,S[f],c);else J(e,r,S,c);else!e.json&&!h.call(c,t)&&h.call(r,t)&&(e.line=n||e.line,e.lineStart=l||e.lineStart,e.position=g||e.position,I(e,"duplicated mapping key")),ue(r,t,S),delete c[t];return r}i(W,"storeMappingPair");function re(e){let r=e.input.charCodeAt(e.position);r===10?e.position++:r===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):I(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}i(re,"readLineBreak");function q(e,r,c){let s=0,t=e.input.charCodeAt(e.position);for(;t!==0;){for(;j(t);)t===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),t=e.input.charCodeAt(++e.position);if(r&&t===35)do t=e.input.charCodeAt(++e.position);while(t!==10&&t!==13&&t!==0);if(H(t))for(re(e),t=e.input.charCodeAt(e.position),s++,e.lineIndent=0;t===32;)e.lineIndent++,t=e.input.charCodeAt(++e.position);else break}return c!==-1&&s!==0&&e.lineIndent<c&&ee(e,"deficient indentation"),s}i(q,"skipSeparationSpace");function le(e){let r=e.position,c=e.input.charCodeAt(r);return!!((c===45||c===46)&&c===e.input.charCodeAt(r+1)&&c===e.input.charCodeAt(r+2)&&(r+=3,c=e.input.charCodeAt(r),c===0||P(c)))}i(le,"testDocumentSeparator");function Q(e,r){r===1?e.result+=" ":r>1&&(e.result+=w.repeat(`
10
+ `,r-1))}i(Q,"writeFoldedLines");function fe(e,r,c){let s,t,S,n,l,g,f=e.kind,a=e.result,A=e.input.charCodeAt(e.position);if(P(A)||$(A)||A===35||A===38||A===42||A===33||A===124||A===62||A===39||A===34||A===37||A===64||A===96)return!1;if(A===63||A===45){let m=e.input.charCodeAt(e.position+1);if(P(m)||c&&$(m))return!1}for(e.kind="scalar",e.result="",s=t=e.position,S=!1;A!==0;){if(A===58){let m=e.input.charCodeAt(e.position+1);if(P(m)||c&&$(m))break}else if(A===35){let m=e.input.charCodeAt(e.position-1);if(P(m))break}else{if(e.position===e.lineStart&&le(e)||c&&$(A))break;if(H(A))if(n=e.line,l=e.lineStart,g=e.lineIndent,q(e,!1,-1),e.lineIndent>=r){S=!0,A=e.input.charCodeAt(e.position);continue}else{e.position=t,e.line=n,e.lineStart=l,e.lineIndent=g;break}}S&&(U(e,s,t,!1),Q(e,e.line-n),s=t=e.position,S=!1),j(A)||(t=e.position+1),A=e.input.charCodeAt(++e.position)}return U(e,s,t,!1),e.result?!0:(e.kind=f,e.result=a,!1)}i(fe,"readPlainScalar");function xe(e,r){let c,s,t=e.input.charCodeAt(e.position);if(t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,c=s=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(U(e,c,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)c=e.position,e.position++,s=e.position;else return!0;else H(t)?(U(e,c,s,!0),Q(e,q(e,!1,r)),c=s=e.position):e.position===e.lineStart&&le(e)?I(e,"unexpected end of the document within a single quoted scalar"):(e.position++,j(t)||(s=e.position));I(e,"unexpected end of the stream within a single quoted scalar")}i(xe,"readSingleQuotedScalar");function ae(e,r){let c,s,t,S=e.input.charCodeAt(e.position);if(S!==34)return!1;for(e.kind="scalar",e.result="",e.position++,c=s=e.position;(S=e.input.charCodeAt(e.position))!==0;){if(S===34)return U(e,c,e.position,!0),e.position++,!0;if(S===92){if(U(e,c,e.position,!0),S=e.input.charCodeAt(++e.position),H(S))q(e,!1,r);else if(S<256&&qe[S])e.result+=Se[S],e.position++;else if((t=Me(S))>0){let n=t,l=0;for(;n>0;n--)S=e.input.charCodeAt(++e.position),(t=Ne(S))>=0?l=(l<<4)+t:I(e,"expected hexadecimal character");e.result+=Re(l),e.position++}else I(e,"unknown escape sequence");c=s=e.position}else H(S)?(U(e,c,s,!0),Q(e,q(e,!1,r)),c=s=e.position):e.position===e.lineStart&&le(e)?I(e,"unexpected end of the document within a double quoted scalar"):(e.position++,j(S)||(s=e.position))}I(e,"unexpected end of the stream within a double quoted scalar")}i(ae,"readDoubleQuotedScalar");function be(e,r){let c=!0,s,t,S,n=e.tag,l,g=e.anchor,f,a,A,m,b=Object.create(null),x,k,L,N=e.input.charCodeAt(e.position);if(N===91)f=93,m=!1,l=[];else if(N===123)f=125,m=!0,l={};else return!1;for(e.anchor!==null&&G(e,e.anchor,l),N=e.input.charCodeAt(++e.position);N!==0;){if(q(e,!0,r),N=e.input.charCodeAt(e.position),N===f)return e.position++,e.tag=n,e.anchor=g,e.kind=m?"mapping":"sequence",e.result=l,!0;if(c?N===44&&I(e,"expected the node content, but found ','"):I(e,"missed comma between flow collection entries"),k=x=L=null,a=A=!1,N===63){let R=e.input.charCodeAt(e.position+1);P(R)&&(a=A=!0,e.position++,q(e,!0,r))}s=e.line,t=e.lineStart,S=e.position,V(e,r,y,!1,!0),k=e.tag,x=e.result,q(e,!0,r),N=e.input.charCodeAt(e.position),(A||e.line===s)&&N===58&&(a=!0,N=e.input.charCodeAt(++e.position),q(e,!0,r),V(e,r,y,!1,!0),L=e.result),m?W(e,l,b,k,x,L,s,t,S):a?l.push(W(e,null,b,k,x,L,s,t,S)):l.push(x),q(e,!0,r),N=e.input.charCodeAt(e.position),N===44?(c=!0,N=e.input.charCodeAt(++e.position)):c=!1}I(e,"unexpected end of the stream within a flow collection")}i(be,"readFlowCollection");function Ee(e,r){let c,s=o,t=!1,S=!1,n=r,l=0,g=!1,f,a=e.input.charCodeAt(e.position);if(a===124)c=!1;else if(a===62)c=!0;else return!1;for(e.kind="scalar",e.result="";a!==0;)if(a=e.input.charCodeAt(++e.position),a===43||a===45)o===s?s=a===43?T:u:I(e,"repeat of a chomping mode identifier");else if((f=ye(a))>=0)f===0?I(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):S?I(e,"repeat of an indentation width identifier"):(n=r+f-1,S=!0);else break;if(j(a)){do a=e.input.charCodeAt(++e.position);while(j(a));if(a===35)do a=e.input.charCodeAt(++e.position);while(!H(a)&&a!==0)}for(;a!==0;){for(re(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!S||e.lineIndent<n)&&a===32;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!S&&e.lineIndent>n&&(n=e.lineIndent),H(a)){l++;continue}if(!S&&n===0&&I(e,"missing indentation for block scalar"),e.lineIndent<n){s===T?e.result+=w.repeat(`
11
+ `,t?1+l:l):s===o&&t&&(e.result+=`
12
+ `);break}c?j(a)?(g=!0,e.result+=w.repeat(`
13
+ `,t?1+l:l)):g?(g=!1,e.result+=w.repeat(`
14
+ `,l+1)):l===0?t&&(e.result+=" "):e.result+=w.repeat(`
15
+ `,l):e.result+=w.repeat(`
16
+ `,t?1+l:l),t=!0,S=!0,l=0;let A=e.position;for(;!H(a)&&a!==0;)a=e.input.charCodeAt(++e.position);U(e,A,e.position,!1)}return!0}i(Ee,"readBlockScalar");function X(e,r){let c=e.tag,s=e.anchor,t=[],S=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&G(e,e.anchor,t);let n=e.input.charCodeAt(e.position);for(;n!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,I(e,"tab characters must not be used in indentation")),n===45);){let l=e.input.charCodeAt(e.position+1);if(!P(l))break;if(S=!0,e.position++,q(e,!0,-1)&&e.lineIndent<=r){t.push(null),n=e.input.charCodeAt(e.position);continue}let g=e.line;if(V(e,r,p,!1,!0),t.push(e.result),q(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===g||e.lineIndent>r)&&n!==0)I(e,"bad indentation of a sequence entry");else if(e.lineIndent<r)break}return S?(e.tag=c,e.anchor=s,e.kind="sequence",e.result=t,!0):!1}i(X,"readBlockSequence");function pe(e,r,c){let s,t,S,n,l=e.tag,g=e.anchor,f={},a=Object.create(null),A=null,m=null,b=null,x=!1,k=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&G(e,e.anchor,f);let L=e.input.charCodeAt(e.position);for(;L!==0;){!x&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,I(e,"tab characters must not be used in indentation"));let N=e.input.charCodeAt(e.position+1),R=e.line;if((L===63||L===58)&&P(N))L===63?(x&&(W(e,f,a,A,m,null,t,S,n),A=m=b=null),k=!0,x=!0,s=!0):x?(x=!1,s=!0):I(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,L=N;else{if(t=e.line,S=e.lineStart,n=e.position,!V(e,c,d,!1,!0))break;if(e.line===R){for(L=e.input.charCodeAt(e.position);j(L);)L=e.input.charCodeAt(++e.position);if(L===58)L=e.input.charCodeAt(++e.position),P(L)||I(e,"a whitespace character is expected after the key-value separator within a block mapping"),x&&(W(e,f,a,A,m,null,t,S,n),A=m=b=null),k=!0,x=!1,s=!1,A=e.tag,m=e.result;else if(k)I(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=g,!0}else if(k)I(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=g,!0}if((e.line===R||e.lineIndent>r)&&(x&&(t=e.line,S=e.lineStart,n=e.position),V(e,r,C,!0,s)&&(x?m=e.result:b=e.result),x||(W(e,f,a,A,m,b,t,S,n),A=m=b=null),q(e,!0,-1),L=e.input.charCodeAt(e.position)),(e.line===R||e.lineIndent>r)&&L!==0)I(e,"bad indentation of a mapping entry");else if(e.lineIndent<r)break}return x&&W(e,f,a,A,m,null,t,S,n),k&&(e.tag=l,e.anchor=g,e.kind="mapping",e.result=f),k}i(pe,"readBlockMapping");function _e(e){let r=!1,c=!1,s,t,S=e.input.charCodeAt(e.position);if(S!==33)return!1;e.tag!==null&&I(e,"duplication of a tag property"),S=e.input.charCodeAt(++e.position),S===60?(r=!0,S=e.input.charCodeAt(++e.position)):S===33?(c=!0,s="!!",S=e.input.charCodeAt(++e.position)):s="!";let n=e.position;if(r){do S=e.input.charCodeAt(++e.position);while(S!==0&&S!==62);e.position<e.length?(t=e.input.slice(n,e.position),S=e.input.charCodeAt(++e.position)):I(e,"unexpected end of the stream within a verbatim tag")}else{for(;S!==0&&!P(S);)S===33&&(c?I(e,"tag suffix cannot contain exclamation marks"):(s=e.input.slice(n-1,e.position+1),F.test(s)||I(e,"named tag handle cannot contain such characters"),c=!0,n=e.position+1)),S=e.input.charCodeAt(++e.position);t=e.input.slice(n,e.position),Z.test(t)&&I(e,"tag suffix cannot contain flow indicator characters")}t&&!K.test(t)&&I(e,"tag name cannot contain such characters: "+t);try{t=decodeURIComponent(t)}catch{I(e,"tag name is malformed: "+t)}return r?e.tag=t:h.call(e.tagMap,s)?e.tag=e.tagMap[s]+t:s==="!"?e.tag="!"+t:s==="!!"?e.tag="tag:yaml.org,2002:"+t:I(e,'undeclared tag handle "'+s+'"'),!0}i(_e,"readTagProperty");function se(e){let r=e.input.charCodeAt(e.position);if(r!==38)return!1;e.anchor!==null&&I(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position);let c=e.position;for(;r!==0&&!P(r)&&!$(r);)r=e.input.charCodeAt(++e.position);return e.position===c&&I(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(c,e.position),!0}i(se,"readAnchorProperty");function he(e){let r=e.input.charCodeAt(e.position);if(r!==42)return!1;r=e.input.charCodeAt(++e.position);let c=e.position;for(;r!==0&&!P(r)&&!$(r);)r=e.input.charCodeAt(++e.position);e.position===c&&I(e,"name of an alias node must contain at least one character");let s=e.input.slice(c,e.position);return h.call(e.anchorMap,s)||I(e,'unidentified alias "'+s+'"'),e.result=e.anchorMap[s],q(e,!0,-1),!0}i(he,"readAlias");function Ie(e,r,c,s){let t=te(e);return Fe(e),ie(e,r),e.tag=null,e.anchor=null,e.kind=null,e.result=null,pe(e,c,s)&&e.kind==="mapping"?(ne(e),!0):(Te(e),ie(e,t),!1)}i(Ie,"tryReadBlockMappingFromProperty");function V(e,r,c,s,t){let S,n,l=1,g=!1,f=!1,a=null,A,m,b;e.depth>=e.maxDepth&&I(e,"nesting exceeded maxDepth ("+e.maxDepth+")"),e.depth+=1,e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let x=S=n=C===c||p===c;if(s&&q(e,!0,-1)&&(g=!0,e.lineIndent>r?l=1:e.lineIndent===r?l=0:e.lineIndent<r&&(l=-1)),l===1)for(;;){let k=e.input.charCodeAt(e.position),L=te(e);if(g&&(k===33&&e.tag!==null||k===38&&e.anchor!==null)||!_e(e)&&!se(e))break;a===null&&(a=L),q(e,!0,-1)?(g=!0,n=x,e.lineIndent>r?l=1:e.lineIndent===r?l=0:e.lineIndent<r&&(l=-1)):n=!1}if(n&&(n=g||t),l===1||C===c)if(y===c||d===c?m=r:m=r+1,b=e.position-e.lineStart,l===1)if(n&&(X(e,b)||pe(e,b,m))||be(e,m))f=!0;else{let k=e.input.charCodeAt(e.position);a!==null&&x&&!n&&k!==124&&k!==62&&Ie(e,a,a.position-a.lineStart,m)||S&&Ee(e,m)||xe(e,m)||ae(e,m)?f=!0:he(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&I(e,"alias node should not have any properties")):fe(e,m,y===c)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&G(e,e.anchor,e.result)}else l===0&&(f=n&&X(e,b));if(e.tag===null)e.anchor!==null&&G(e,e.anchor,e.result);else if(e.tag==="?"){e.result!==null&&e.kind!=="scalar"&&I(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"');for(let k=0,L=e.implicitTypes.length;k<L;k+=1)if(A=e.implicitTypes[k],A.resolve(e.result)){e.result=A.construct(e.result),e.tag=A.tag,e.anchor!==null&&G(e,e.anchor,e.result);break}}else if(e.tag!=="!"){if(h.call(e.typeMap[e.kind||"fallback"],e.tag))A=e.typeMap[e.kind||"fallback"][e.tag];else{A=null;let k=e.typeMap.multi[e.kind||"fallback"];for(let L=0,N=k.length;L<N;L+=1)if(e.tag.slice(0,k[L].tag.length)===k[L].tag){A=k[L];break}}A||I(e,"unknown tag !<"+e.tag+">"),e.result!==null&&A.kind!==e.kind&&I(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+A.kind+'", not "'+e.kind+'"'),A.resolve(e.result,e.tag)?(e.result=A.construct(e.result,e.tag),e.anchor!==null&&G(e,e.anchor,e.result)):I(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.depth-=1,e.tag!==null||e.anchor!==null||f}i(V,"composeNode");function ke(e){let r=e.position,c=!1,s;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(s=e.input.charCodeAt(e.position))!==0&&(q(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||s!==37));){c=!0,s=e.input.charCodeAt(++e.position);let t=e.position;for(;s!==0&&!P(s);)s=e.input.charCodeAt(++e.position);let S=e.input.slice(t,e.position),n=[];for(S.length<1&&I(e,"directive name must not be less than one character in length");s!==0;){for(;j(s);)s=e.input.charCodeAt(++e.position);if(s===35){do s=e.input.charCodeAt(++e.position);while(s!==0&&!H(s));break}if(H(s))break;for(t=e.position;s!==0&&!P(s);)s=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}s!==0&&re(e),h.call(we,S)?we[S](e,S,n):ee(e,'unknown document directive "'+S+'"')}if(q(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,q(e,!0,-1)):c&&I(e,"directives end mark is expected"),V(e,e.lineIndent-1,C,!1,!0),q(e,!0,-1),e.checkLineBreaks&&M.test(e.input.slice(r,e.position))&&ee(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&le(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,q(e,!0,-1));return}e.position<e.length-1&&I(e,"end of the stream or a document separator is expected")}i(ke,"readDocument");function de(e,r){e=String(e),r=r||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
17
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));let c=new Y(e,r),s=e.indexOf("\0");for(s!==-1&&(c.position=s,I(c,"null byte is not allowed in input")),c.input+="\0";c.input.charCodeAt(c.position)===32;)c.lineIndent+=1,c.position+=1;for(;c.position<c.length-1;)ke(c);return c.documents}i(de,"loadDocuments");function me(e,r,c){r!==null&&typeof r=="object"&&typeof c>"u"&&(c=r,r=null);let s=de(e,c);if(typeof r!="function")return s;for(let t=0,S=s.length;t<S;t+=1)r(s[t])}i(me,"loadAll2");function Le(e,r){let c=de(e,r);if(c.length!==0){if(c.length===1)return c[0];throw new E("expected a single document in the stream, but found more")}}return i(Le,"load2"),Ye.loadAll=me,Ye.load=Le,Ye}i(ei,"requireLoader");var cn={},Xn;function ni(){if(Xn)return cn;Xn=1;let w=ge(),E=Ae(),_=Pe(),O=Object.prototype.toString,h=Object.prototype.hasOwnProperty,y=65279,d=9,p=10,C=13,o=32,u=33,T=34,v=35,M=37,Z=38,F=39,K=42,z=44,H=45,j=58,P=61,$=62,Ne=63,Me=64,ye=91,ce=93,Re=96,ue=123,qe=124,Se=125,Y={};Y[0]="\\0",Y[7]="\\a",Y[8]="\\b",Y[9]="\\t",Y[10]="\\n",Y[11]="\\v",Y[12]="\\f",Y[13]="\\r",Y[27]="\\e",Y[34]='\\"',Y[92]="\\\\",Y[133]="\\N",Y[160]="\\_",Y[8232]="\\L",Y[8233]="\\P";let Ce=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],I=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ee(n,l){if(l===null)return{};let g={},f=Object.keys(l);for(let a=0,A=f.length;a<A;a+=1){let m=f[a],b=String(l[m]);m.slice(0,2)==="!!"&&(m="tag:yaml.org,2002:"+m.slice(2));let x=n.compiledTypeMap.fallback[m];x&&h.call(x.styleAliases,b)&&(b=x.styleAliases[b]),g[m]=b}return g}i(ee,"compileStyleMap");function G(n){let l,g,f=n.toString(16).toUpperCase();if(n<=255)l="x",g=2;else if(n<=65535)l="u",g=4;else if(n<=4294967295)l="U",g=8;else throw new E("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+l+w.repeat("0",g-f.length)+f}i(G,"encodeHex");let Fe=1,ne=2;function Te(n){this.schema=n.schema||_,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=w.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=ee(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?ne:Fe,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}i(Te,"State");function te(n,l){let g=w.repeat(" ",l),f=0,a="",A=n.length;for(;f<A;){let m,b=n.indexOf(`
18
+ `,f);b===-1?(m=n.slice(f),f=A):(m=n.slice(f,b+1),f=b+1),m.length&&m!==`
19
+ `&&(a+=g),a+=m}return a}i(te,"indentString");function ie(n,l){return`
20
+ `+w.repeat(" ",n.indent*l)}i(ie,"generateNextLine");function we(n,l){for(let g=0,f=n.implicitTypes.length;g<f;g+=1)if(n.implicitTypes[g].resolve(l))return!0;return!1}i(we,"testImplicitResolving");function U(n){return n===o||n===d}i(U,"isWhitespace");function J(n){return n>=32&&n<=126||n>=161&&n<=55295&&n!==8232&&n!==8233||n>=57344&&n<=65533&&n!==y||n>=65536&&n<=1114111}i(J,"isPrintable");function W(n){return J(n)&&n!==y&&n!==C&&n!==p}i(W,"isNsCharOrWhitespace");function re(n,l,g){let f=W(n),a=f&&!U(n);return(g?f:f&&n!==z&&n!==ye&&n!==ce&&n!==ue&&n!==Se)&&n!==v&&!(l===j&&!a)||W(l)&&!U(l)&&n===v||l===j&&a}i(re,"isPlainSafe");function q(n){return J(n)&&n!==y&&!U(n)&&n!==H&&n!==Ne&&n!==j&&n!==z&&n!==ye&&n!==ce&&n!==ue&&n!==Se&&n!==v&&n!==Z&&n!==K&&n!==u&&n!==qe&&n!==P&&n!==$&&n!==F&&n!==T&&n!==M&&n!==Me&&n!==Re}i(q,"isPlainSafeFirst");function le(n){return!U(n)&&n!==j}i(le,"isPlainSafeLast");function Q(n,l){let g=n.charCodeAt(l),f;return g>=55296&&g<=56319&&l+1<n.length&&(f=n.charCodeAt(l+1),f>=56320&&f<=57343)?(g-55296)*1024+f-56320+65536:g}i(Q,"codePointAt");function fe(n){return/^\n* /.test(n)}i(fe,"needIndentIndicator");let xe=1,ae=2,be=3,Ee=4,X=5;function pe(n,l,g,f,a,A,m,b){let x,k=0,L=null,N=!1,R=!1,En=f!==-1,Oe=-1,ve=q(Q(n,0))&&le(Q(n,n.length-1));if(l||m)for(x=0;x<n.length;k>=65536?x+=2:x++){if(k=Q(n,x),!J(k))return X;ve=ve&&re(k,L,b),L=k}else{for(x=0;x<n.length;k>=65536?x+=2:x++){if(k=Q(n,x),k===p)N=!0,En&&(R=R||x-Oe-1>f&&n[Oe+1]!==" ",Oe=x);else if(!J(k))return X;ve=ve&&re(k,L,b),L=k}R=R||En&&x-Oe-1>f&&n[Oe+1]!==" "}return!N&&!R?ve&&!m&&!a(n)?xe:A===ne?X:ae:g>9&&fe(n)?X:m?A===ne?X:ae:R?Ee:be}i(pe,"chooseScalarStyle");function _e(n,l,g,f,a){n.dump=(function(){if(l.length===0)return n.quotingType===ne?'""':"''";if(!n.noCompatMode&&(Ce.indexOf(l)!==-1||I.test(l)))return n.quotingType===ne?'"'+l+'"':"'"+l+"'";let A=n.indent*Math.max(1,g),m=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-A),b=f||n.flowLevel>-1&&g>=n.flowLevel;function x(k){return we(n,k)}switch(i(x,"testAmbiguity"),pe(l,b,n.indent,m,x,n.quotingType,n.forceQuotes&&!f,a)){case xe:return l;case ae:return"'"+l.replace(/'/g,"''")+"'";case be:return"|"+se(l,n.indent)+he(te(l,A));case Ee:return">"+se(l,n.indent)+he(te(Ie(l,m),A));case X:return'"'+ke(l)+'"';default:throw new E("impossible error: invalid scalar style")}})()}i(_e,"writeScalar");function se(n,l){let g=fe(n)?String(l):"",f=n[n.length-1]===`
21
+ `,A=f&&(n[n.length-2]===`
22
+ `||n===`
23
+ `)?"+":f?"":"-";return g+A+`
24
+ `}i(se,"blockHeader");function he(n){return n[n.length-1]===`
25
+ `?n.slice(0,-1):n}i(he,"dropEndingNewline");function Ie(n,l){let g=/(\n+)([^\n]*)/g,f=(function(){let b=n.indexOf(`
26
+ `);return b=b!==-1?b:n.length,g.lastIndex=b,V(n.slice(0,b),l)})(),a=n[0]===`
27
+ `||n[0]===" ",A,m;for(;m=g.exec(n);){let b=m[1],x=m[2];A=x[0]===" ",f+=b+(!a&&!A&&x!==""?`
28
+ `:"")+V(x,l),a=A}return f}i(Ie,"foldString");function V(n,l){if(n===""||n[0]===" ")return n;let g=/ [^ ]/g,f,a=0,A,m=0,b=0,x="";for(;f=g.exec(n);)b=f.index,b-a>l&&(A=m>a?m:b,x+=`
29
+ `+n.slice(a,A),a=A+1),m=b;return x+=`
30
+ `,n.length-a>l&&m>a?x+=n.slice(a,m)+`
31
+ `+n.slice(m+1):x+=n.slice(a),x.slice(1)}i(V,"foldLine");function ke(n){let l="",g=0;for(let f=0;f<n.length;g>=65536?f+=2:f++){g=Q(n,f);let a=Y[g];!a&&J(g)?(l+=n[f],g>=65536&&(l+=n[f+1])):l+=a||G(g)}return l}i(ke,"escapeString");function de(n,l,g){let f="",a=n.tag;for(let A=0,m=g.length;A<m;A+=1){let b=g[A];n.replacer&&(b=n.replacer.call(g,String(A),b)),(c(n,l,b,!1,!1)||typeof b>"u"&&c(n,l,null,!1,!1))&&(f!==""&&(f+=","+(n.condenseFlow?"":" ")),f+=n.dump)}n.tag=a,n.dump="["+f+"]"}i(de,"writeFlowSequence");function me(n,l,g,f){let a="",A=n.tag;for(let m=0,b=g.length;m<b;m+=1){let x=g[m];n.replacer&&(x=n.replacer.call(g,String(m),x)),(c(n,l+1,x,!0,!0,!1,!0)||typeof x>"u"&&c(n,l+1,null,!0,!0,!1,!0))&&((!f||a!=="")&&(a+=ie(n,l)),n.dump&&p===n.dump.charCodeAt(0)?a+="-":a+="- ",a+=n.dump)}n.tag=A,n.dump=a||"[]"}i(me,"writeBlockSequence");function Le(n,l,g){let f="",a=n.tag,A=Object.keys(g);for(let m=0,b=A.length;m<b;m+=1){let x="";f!==""&&(x+=", "),n.condenseFlow&&(x+='"');let k=A[m],L=g[k];n.replacer&&(L=n.replacer.call(g,k,L)),c(n,l,k,!1,!1)&&(n.dump.length>1024&&(x+="? "),x+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),c(n,l,L,!1,!1)&&(x+=n.dump,f+=x))}n.tag=a,n.dump="{"+f+"}"}i(Le,"writeFlowMapping");function e(n,l,g,f){let a="",A=n.tag,m=Object.keys(g);if(n.sortKeys===!0)m.sort();else if(typeof n.sortKeys=="function")m.sort(n.sortKeys);else if(n.sortKeys)throw new E("sortKeys must be a boolean or a function");for(let b=0,x=m.length;b<x;b+=1){let k="";(!f||a!=="")&&(k+=ie(n,l));let L=m[b],N=g[L];if(n.replacer&&(N=n.replacer.call(g,L,N)),!c(n,l+1,L,!0,!0,!0))continue;let R=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024;R&&(n.dump&&p===n.dump.charCodeAt(0)?k+="?":k+="? "),k+=n.dump,R&&(k+=ie(n,l)),c(n,l+1,N,!0,R)&&(n.dump&&p===n.dump.charCodeAt(0)?k+=":":k+=": ",k+=n.dump,a+=k)}n.tag=A,n.dump=a||"{}"}i(e,"writeBlockMapping");function r(n,l,g){let f=g?n.explicitTypes:n.implicitTypes;for(let a=0,A=f.length;a<A;a+=1){let m=f[a];if((m.instanceOf||m.predicate)&&(!m.instanceOf||typeof l=="object"&&l instanceof m.instanceOf)&&(!m.predicate||m.predicate(l))){if(g?m.multi&&m.representName?n.tag=m.representName(l):n.tag=m.tag:n.tag="?",m.represent){let b=n.styleMap[m.tag]||m.defaultStyle,x;if(O.call(m.represent)==="[object Function]")x=m.represent(l,b);else if(h.call(m.represent,b))x=m.represent[b](l,b);else throw new E("!<"+m.tag+'> tag resolver accepts not "'+b+'" style');n.dump=x}return!0}}return!1}i(r,"detectType");function c(n,l,g,f,a,A,m){n.tag=null,n.dump=g,r(n,g,!1)||r(n,g,!0);let b=O.call(n.dump),x=f;f&&(f=n.flowLevel<0||n.flowLevel>l);let k=b==="[object Object]"||b==="[object Array]",L,N;if(k&&(L=n.duplicates.indexOf(g),N=L!==-1),(n.tag!==null&&n.tag!=="?"||N||n.indent!==2&&l>0)&&(a=!1),N&&n.usedDuplicates[L])n.dump="*ref_"+L;else{if(k&&N&&!n.usedDuplicates[L]&&(n.usedDuplicates[L]=!0),b==="[object Object]")f&&Object.keys(n.dump).length!==0?(e(n,l,n.dump,a),N&&(n.dump="&ref_"+L+n.dump)):(Le(n,l,n.dump),N&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object Array]")f&&n.dump.length!==0?(n.noArrayIndent&&!m&&l>0?me(n,l-1,n.dump,a):me(n,l,n.dump,a),N&&(n.dump="&ref_"+L+n.dump)):(de(n,l,n.dump),N&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object String]")n.tag!=="?"&&_e(n,n.dump,l,A,x);else{if(b==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new E("unacceptable kind of an object to dump "+b)}if(n.tag!==null&&n.tag!=="?"){let R=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21");n.tag[0]==="!"?R="!"+R:R.slice(0,18)==="tag:yaml.org,2002:"?R="!!"+R.slice(18):R="!<"+R+">",n.dump=R+" "+n.dump}}return!0}i(c,"writeNode");function s(n,l){let g=[],f=[];t(n,g,f);let a=f.length;for(let A=0;A<a;A+=1)l.duplicates.push(g[f[A]]);l.usedDuplicates=new Array(a)}i(s,"getDuplicateReferences");function t(n,l,g){if(n!==null&&typeof n=="object"){let f=l.indexOf(n);if(f!==-1)g.indexOf(f)===-1&&g.push(f);else if(l.push(n),Array.isArray(n))for(let a=0,A=n.length;a<A;a+=1)t(n[a],l,g);else{let a=Object.keys(n);for(let A=0,m=a.length;A<m;A+=1)t(n[a[A]],l,g)}}}i(t,"inspectNode");function S(n,l){l=l||{};let g=new Te(l);g.noRefs||s(n,g);let f=n;return g.replacer&&(f=g.replacer.call({"":f},"",f)),c(g,0,f,!0,!0)?g.dump+`
32
+ `:""}return i(S,"dump2"),cn.dump=S,cn}i(ni,"requireDumper");var $n;function ii(){if($n)return D;$n=1;let w=ei(),E=ni();function _(O,h){return function(){throw new Error("Function yaml."+O+" is removed in js-yaml 4. Use yaml."+h+" instead, which is now safe by default.")}}return i(_,"renamed"),D.Type=B(),D.Schema=un(),D.FAILSAFE_SCHEMA=sn(),D.JSON_SCHEMA=An(),D.CORE_SCHEMA=yn(),D.DEFAULT_SCHEMA=Pe(),D.load=w.load,D.loadAll=w.loadAll,D.dump=E.dump,D.YAMLException=Ae(),D.types={binary:Tn(),float:gn(),map:pn(),null:hn(),pairs:xn(),set:bn(),timestamp:Sn(),bool:dn(),int:mn(),merge:Cn(),omap:wn(),seq:an(),str:fn()},D.safeLoad=_("safeLoad","load"),D.safeLoadAll=_("safeLoadAll","loadAll"),D.safeDump=_("safeDump","dump"),D}i(ii,"requireJsYaml");var ri=ii(),li=Zn(ri),{Type:ci,Schema:ui,FAILSAFE_SCHEMA:fi,JSON_SCHEMA:ai,CORE_SCHEMA:pi,DEFAULT_SCHEMA:si,load:hi,loadAll:di,dump:mi,YAMLException:gi,types:Ai,safeLoad:yi,safeLoadAll:Si,safeDump:Ci}=li;export{ai as a,hi as b};
33
+ //# sourceMappingURL=chunk-CA2KMNVI.js.map
@@ -0,0 +1,3 @@
1
+ import{a as ut}from"./chunk-UU7BHEBD.js";import{A as D,D as xr,N as j,h as mr,l as hr}from"./chunk-SGL7WI35.js";import{$ as _r,G as Ar,J as wr,K as Or,L as Br,M as Sr,N as Ir,O as Pr,P as Mr,Q as Wr,R as Er,S as Lr,T as Dr,U as $r,V as Rr,W as Nr,X as Fr,Y as jr,Z as Tr,_ as zr,b as B,h as br}from"./chunk-CXXG5KL5.js";import{a as p}from"./chunk-ITN3D7RJ.js";import{c as ct,d as s}from"./chunk-SOAWGUAD.js";s();s();function b(r){return r==null||typeof r!="object"&&typeof r!="function"}s();function x(r){return r==null?r===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(r)}s();var T="[object RegExp]",S="[object String]",I="[object Number]",P="[object Boolean]",M="[object Arguments]",z="[object Symbol]",_="[object Date]",v="[object Map]",U="[object Set]",k="[object Array]";var H="[object ArrayBuffer]",q="[object Object]";var K="[object DataView]",V="[object Uint8Array]",X="[object Uint8ClampedArray]",Y="[object Uint16Array]",G="[object Uint32Array]";var J="[object Int8Array]",Z="[object Int16Array]",Q="[object Int32Array]";var C="[object Float32Array]",rr="[object Float64Array]";s();function vr(r){return Array.isArray(r)}s();s();function W(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function A(r){return W(r)}function yt(r){if(b(r))return r;let t=x(r);if(!lt(r))return{};if(vr(r)){let e=Array.from(r);return r.length>0&&typeof r[0]=="string"&&Object.hasOwn(r,"index")&&(e.index=r.index,e.input=r.input),e}if(A(r)){let e=r,n=e.constructor;return new n(e.buffer,e.byteOffset,e.length)}if(t==="[object ArrayBuffer]")return new ArrayBuffer(r.byteLength);if(t==="[object DataView]"){let e=r,n=e.buffer,m=e.byteOffset,o=e.byteLength,f=new ArrayBuffer(o),a=new Uint8Array(n,m,o);return new Uint8Array(f).set(a),new DataView(f)}if(t==="[object Boolean]"||t==="[object Number]"||t==="[object String]"){let e=r.constructor,n=new e(r.valueOf());return t==="[object String]"?dt(n,r):fr(n,r),n}if(t==="[object Date]")return new Date(Number(r));if(t==="[object RegExp]"){let e=r,n=new RegExp(e.source,e.flags);return n.lastIndex=e.lastIndex,n}if(t==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(r));if(t==="[object Map]"){let e=r,n=new Map;return e.forEach((m,o)=>{n.set(o,m)}),n}if(t==="[object Set]"){let e=r,n=new Set;return e.forEach(m=>{n.add(m)}),n}if(t==="[object Arguments]"){let e=r,n={};return fr(n,e),n.length=e.length,n[Symbol.iterator]=e[Symbol.iterator],n}let i={};return ht(i,r),fr(i,r),gt(i,r),i}function lt(r){switch(x(r)){case M:case k:case H:case K:case P:case _:case C:case rr:case J:case Z:case Q:case v:case I:case q:case T:case U:case S:case z:case V:case X:case Y:case G:return!0;default:return!1}}function fr(r,t){for(let i in t)Object.hasOwn(t,i)&&(r[i]=t[i])}function gt(r,t){let i=Object.getOwnPropertySymbols(t);for(let e=0;e<i.length;e++){let n=i[e];Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}}function dt(r,t){let i=t.valueOf().length;for(let e in t)Object.hasOwn(t,e)&&(Number.isNaN(Number(e))||Number(e)>=i)&&(r[e]=t[e])}function ht(r,t){let i=Object.getPrototypeOf(t);i!==null&&typeof t.constructor=="function"&&Object.setPrototypeOf(r,i)}s();s();s();var sr=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function E(r){return typeof sr.Buffer<"u"&&sr.Buffer.isBuffer(r)}s();s();function Ur(r){return Number.isSafeInteger(r)&&r>=0}function tr(r){return r!=null&&typeof r!="function"&&Ur(r.length)}s();function $(r){return r!==null&&typeof r=="object"&&x(r)==="[object Arguments]"}s();function kr(r){let t=r?.constructor;return r===(typeof t=="function"?t.prototype:Object.prototype)}function xt(r){if(r==null)return!0;if(tr(r))return typeof r.splice!="function"&&typeof r!="string"&&!E(r)&&!A(r)&&!$(r)?!1:r.length===0;if(typeof r=="object"||typeof r=="function"){if(r instanceof Map||r instanceof Set)return r.size===0;let t=Object.keys(r);return kr(r)?t.filter(i=>i!=="constructor").length===0:t.length===0}return!0}s();s();function er(r){if(typeof r!="object"||r==null)return!1;if(Object.getPrototypeOf(r)===null)return!0;if(Object.prototype.toString.call(r)!=="[object Object]"){let i=r[Symbol.toStringTag];return i==null||!Object.getOwnPropertyDescriptor(r,Symbol.toStringTag)?.writable?!1:r.toString()===`[object ${i}]`}let t=r;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}s();function Hr(){}s();function ir(r){return Object.getOwnPropertySymbols(r).filter(t=>Object.prototype.propertyIsEnumerable.call(r,t))}s();function qr(r){return r==="__proto__"}s();function Kr(r,t){return L(r,void 0,r,new Map,t)}function L(r,t,i,e=new Map,n=void 0){let m=n?.(r,t,i,e);if(m!==void 0)return m;if(b(r))return r;if(e.has(r))return e.get(r);if(Array.isArray(r)){let o=new Array(r.length);e.set(r,o);for(let f=0;f<r.length;f++)o[f]=L(r[f],f,i,e,n);return Object.hasOwn(r,"index")&&(o.index=r.index),Object.hasOwn(r,"input")&&(o.input=r.input),o}if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){let o=new RegExp(r.source,r.flags);return o.lastIndex=r.lastIndex,o}if(r instanceof Map){let o=new Map;e.set(r,o);for(let[f,a]of r)o.set(f,L(a,f,i,e,n));return o}if(r instanceof Set){let o=new Set;e.set(r,o);for(let f of r)o.add(L(f,void 0,i,e,n));return o}if(E(r))return r.subarray();if(W(r)){let o=new(Object.getPrototypeOf(r)).constructor(r.length);e.set(r,o);for(let f=0;f<r.length;f++)o[f]=L(r[f],f,i,e,n);return o}if(r instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer)return r.slice(0);if(r instanceof DataView){let o=new DataView(r.buffer.slice(0),r.byteOffset,r.byteLength);return e.set(r,o),l(o,r,i,e,n),o}if(typeof File<"u"&&r instanceof File){let o=new File([r],r.name,{type:r.type});return e.set(r,o),l(o,r,i,e,n),o}if(typeof Blob<"u"&&r instanceof Blob){let o=new Blob([r],{type:r.type});return e.set(r,o),l(o,r,i,e,n),o}if(r instanceof Error){let o=structuredClone(r);return e.set(r,o),o.message=r.message,o.name=r.name,o.stack=r.stack,o.cause=r.cause,o.constructor=r.constructor,l(o,r,i,e,n),o}if(r instanceof Boolean){let o=new Boolean(r.valueOf());return e.set(r,o),l(o,r,i,e,n),o}if(r instanceof Number){let o=new Number(r.valueOf());return e.set(r,o),l(o,r,i,e,n),o}if(r instanceof String){let o=new String(r.valueOf());return e.set(r,o),l(o,r,i,e,n),o}if(typeof r=="object"&&bt(r)){let o=Object.create(Object.getPrototypeOf(r));return e.set(r,o),l(o,r,i,e,n),o}return r}function l(r,t,i=r,e,n){let m=[...Object.keys(t),...ir(t)];for(let o=0;o<m.length;o++){let f=m[o],a=Object.getOwnPropertyDescriptor(r,f);(a==null||a.writable)&&(r[f]=L(t[f],f,i,e,n))}}function bt(r){switch(x(r)){case M:case k:case H:case K:case P:case _:case C:case rr:case J:case Z:case Q:case v:case I:case q:case T:case U:case S:case z:case V:case X:case Y:case G:return!0;default:return!1}}s();function Vr(r,t){return Kr(r,(i,e,n,m)=>{let o=t?.(i,e,n,m);if(o!==void 0)return o;if(typeof r=="object"){if(x(r)==="[object Object]"&&typeof r.constructor!="function"){let f={};return m.set(r,f),l(f,r,n,m),f}switch(Object.prototype.toString.call(r)){case I:case S:case P:{let f=new r.constructor(r?.valueOf());return l(f,r),f}case M:{let f={};return l(f,r),f.length=r.length,f[Symbol.iterator]=r[Symbol.iterator],f}default:return}}})}s();function ar(r){return Vr(r)}s();function R(r){return typeof r=="object"&&r!==null}s();function Xr(r){return R(r)&&tr(r)}s();function w(r,t){if(typeof r!="function"||t!=null&&typeof t!="function")throw new TypeError("Expected a function");let i=function(...e){let n=t?t.apply(this,e):e[0],m=i.cache;if(m.has(n))return m.get(n);let o=r.apply(this,e);return i.cache=m.set(n,o)||m,o};return i.cache=new(w.Cache||Map),i}w.Cache=Map;s();s();function Yr(r){if(b(r))return r;if(Array.isArray(r)||W(r)||r instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer)return r.slice(0);let t=Object.getPrototypeOf(r);if(t==null)return Object.assign(Object.create(t),r);let i=t.constructor;if(r instanceof Date||r instanceof Map||r instanceof Set)return new i(r);if(r instanceof RegExp){let e=new i(r);return e.lastIndex=r.lastIndex,e}if(r instanceof DataView)return new i(r.buffer.slice(0));if(r instanceof Error){let e;return r instanceof AggregateError?e=new i(r.errors,r.message,{cause:r.cause}):e=new i(r.message,{cause:r.cause}),e.stack=r.stack,Object.assign(e,r),e}return typeof File<"u"&&r instanceof File?new i([r],r.name,{type:r.type,lastModified:r.lastModified}):typeof r=="object"?Object.assign(Object.create(t),r):r}function Gr(r,...t){let i=t.slice(0,-1),e=t[t.length-1],n=r;for(let m=0;m<i.length;m++){let o=i[m];n=or(n,o,e,new Map)}return n}function or(r,t,i,e){if(b(r)&&(r=Object(r)),t==null||typeof t!="object")return r;if(e.has(t))return Yr(e.get(t));if(e.set(t,r),Array.isArray(t)){t=t.slice();for(let m=0;m<t.length;m++)t[m]=t[m]??void 0}let n=[...Object.keys(t),...ir(t)];for(let m=0;m<n.length;m++){let o=n[m];if(qr(o))continue;let f=t[o],a=r[o];if($(f)&&(f={...f}),$(a)&&(a={...a}),E(f)&&(f=ar(f)),Array.isArray(f))if(Array.isArray(a)){let g=[],y=Reflect.ownKeys(a);for(let h=0;h<y.length;h++){let d=y[h];g[d]=a[d]}a=g}else if(Xr(a)){let g=[];for(let y=0;y<a.length;y++)g[y]=a[y];a=g}else a=[];let u=i(a,f,o,r,t,e);u!==void 0?r[o]=u:Array.isArray(f)||R(a)&&R(f)&&(er(a)||er(f)||A(a)||A(f))?r[o]=or(a,f,i,e):a==null&&er(f)?r[o]=or({},f,i,e):a==null&&A(f)?r[o]=ar(f):(a===void 0||f!==void 0)&&(r[o]=f)}return r}s();function pr(r,...t){return Gr(r,...t,Hr)}s();var Qr=ct(ut(),1);var At="\u200B",wt={curveBasis:Br,curveBasisClosed:Sr,curveBasisOpen:Ir,curveBumpX:wr,curveBumpY:Or,curveBundle:Pr,curveCardinalClosed:Wr,curveCardinalOpen:Er,curveCardinal:Mr,curveCatmullRomClosed:Dr,curveCatmullRomOpen:$r,curveCatmullRom:Lr,curveLinear:Ar,curveLinearClosed:Rr,curveMonotoneX:Nr,curveMonotoneY:Fr,curveNatural:jr,curveStep:Tr,curveStepAfter:_r,curveStepBefore:zr},Ot=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Bt=p(function(r,t){let i=Cr(r,/(?:init\b)|(?:initialize\b)/),e={};if(Array.isArray(i)){let o=i.map(f=>f.args);hr(o),e=mr(e,[...o])}else e=i.args;if(!e)return;let n=xr(r,t),m="config";return e[m]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),e[n]=e[m],delete e[m]),e},"detectInit"),Cr=p(function(r,t=null){try{let i=new RegExp(`[%]{2}(?![{]${Ot.source})(?=[}][%]{2}).*
2
+ `,"ig");r=r.trim().replace(i,"").replace(/'/gm,'"'),B.debug(`Detecting diagram directive${t!==null?" type:"+t:""} based on the text:${r}`);let e,n=[];for(;(e=D.exec(r))!==null;)if(e.index===D.lastIndex&&D.lastIndex++,e&&!t||t&&e[1]?.match(t)||t&&e[2]?.match(t)){let m=e[1]?e[1]:e[2],o=e[3]?e[3].trim():e[4]?JSON.parse(e[4].trim()):null;n.push({type:m,args:o})}return n.length===0?{type:r,args:null}:n.length===1?n[0]:n}catch(i){return B.error(`ERROR: ${i.message} - Unable to parse directive type: '${t}' based on the text: '${r}'`),{type:void 0,args:null}}},"detectDirective"),ji=p(function(r){return r.replace(D,"")},"removeDirectives"),St=p(function(r,t){for(let[i,e]of t.entries())if(e.match(r))return i;return-1},"isSubstringInArray");function rt(r,t){if(!r)return t;let i=`curve${r.charAt(0).toUpperCase()+r.slice(1)}`;return wt[i]??t}p(rt,"interpolateToCurve");function tt(r,t){let i=r.trim();if(i)return t.securityLevel!=="loose"?(0,Qr.sanitizeUrl)(i):i}p(tt,"formatUrl");var It=p((r,...t)=>{let i=r.split("."),e=i.length-1,n=i[e],m=window;for(let o=0;o<e;o++)if(m=m[i[o]],!m){B.error(`Function name: ${r} not found in window`);return}m[n](...t)},"runFunc");function cr(r,t){return!r||!t?0:Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2))}p(cr,"distance");function et(r){let t,i=0;r.forEach(n=>{i+=cr(n,t),t=n});let e=i/2;return ur(r,e)}p(et,"traverseEdge");function it(r){return r.length===1?r[0]:et(r)}p(it,"calcLabelPosition");var Jr=p((r,t=2)=>{let i=Math.pow(10,t);return Math.round(r*i)/i},"roundNumber"),ur=p((r,t)=>{let i,e=t;for(let n of r){if(i){let m=cr(n,i);if(m===0)return i;if(m<e)e-=m;else{let o=e/m;if(o<=0)return i;if(o>=1)return{x:n.x,y:n.y};if(o>0&&o<1)return{x:Jr((1-o)*i.x+o*n.x,5),y:Jr((1-o)*i.y+o*n.y,5)}}}i=n}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),Pt=p((r,t,i)=>{B.info(`our points ${JSON.stringify(t)}`),t[0]!==i&&(t=t.reverse());let n=ur(t,25),m=r?10:5,o=Math.atan2(t[0].y-n.y,t[0].x-n.x),f={x:0,y:0};return f.x=Math.sin(o)*m+(t[0].x+n.x)/2,f.y=-Math.cos(o)*m+(t[0].y+n.y)/2,f},"calcCardinalityPosition");function ot(r,t,i){let e=structuredClone(i);B.info("our points",e),t!=="start_left"&&t!=="start_right"&&e.reverse();let n=25+r,m=ur(e,n),o=10+r*.5,f=Math.atan2(e[0].y-m.y,e[0].x-m.x),a={x:0,y:0};return t==="start_left"?(a.x=Math.sin(f+Math.PI)*o+(e[0].x+m.x)/2,a.y=-Math.cos(f+Math.PI)*o+(e[0].y+m.y)/2):t==="end_right"?(a.x=Math.sin(f-Math.PI)*o+(e[0].x+m.x)/2-5,a.y=-Math.cos(f-Math.PI)*o+(e[0].y+m.y)/2-5):t==="end_left"?(a.x=Math.sin(f)*o+(e[0].x+m.x)/2-5,a.y=-Math.cos(f)*o+(e[0].y+m.y)/2-5):(a.x=Math.sin(f)*o+(e[0].x+m.x)/2,a.y=-Math.cos(f)*o+(e[0].y+m.y)/2),a}p(ot,"calcTerminalLabelPosition");function nt(r){let t="",i="";for(let e of r)e!==void 0&&(e.startsWith("color:")||e.startsWith("text-align:")?i=i+e+";":t=t+e+";");return{style:t,labelStyle:i}}p(nt,"getStylesFromArray");var Zr=0,Mt=p(()=>(Zr++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Zr),"generateId");function mt(r){let t="",i="0123456789abcdef",e=i.length;for(let n=0;n<r;n++)t+=i.charAt(Math.floor(Math.random()*e));return t}p(mt,"makeRandomHex");var Wt=p(r=>mt(r.length),"random"),Et=p(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Lt=p(function(r,t){let i=t.text.replace(j.lineBreakRegex," "),[,e]=lr(t.fontSize),n=r.append("text");n.attr("x",t.x),n.attr("y",t.y),n.style("text-anchor",t.anchor),n.style("font-family",t.fontFamily),n.style("font-size",e),n.style("font-weight",t.fontWeight),n.attr("fill",t.fill),t.class!==void 0&&n.attr("class",t.class);let m=n.append("tspan");return m.attr("x",t.x+t.textMargin*2),m.attr("fill",t.fill),m.text(i),n},"drawSimpleText"),Dt=w((r,t,i)=>{if(!r||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},i),j.lineBreakRegex.test(r)))return r;let e=r.split(" ").filter(Boolean),n=[],m="";return e.forEach((o,f)=>{let a=N(`${o} `,i),u=N(m,i);if(a>t){let{hyphenatedStrings:h,remainingWord:d}=$t(o,t,"-",i);n.push(m,...h),m=d}else u+a>=t?(n.push(m),m=o):m=[m,o].filter(Boolean).join(" ");f+1===e.length&&n.push(m)}),n.filter(o=>o!=="").join(i.joinWith)},(r,t,i)=>`${r}${t}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),$t=w((r,t,i="-",e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},e);let n=[...r],m=[],o="";return n.forEach((f,a)=>{let u=`${o}${f}`;if(N(u,e)>=t){let y=a+1,h=n.length===y,d=`${u}${i}`;m.push(h?u:d),o=""}else o=u}),{hyphenatedStrings:m,remainingWord:o}},(r,t,i="-",e)=>`${r}${t}${i}${e.fontSize}${e.fontWeight}${e.fontFamily}`);function ft(r,t){return yr(r,t).height}p(ft,"calculateTextHeight");function N(r,t){return yr(r,t).width}p(N,"calculateTextWidth");var yr=w((r,t)=>{let{fontSize:i=12,fontFamily:e="Arial",fontWeight:n=400}=t;if(!r)return{width:0,height:0};let[,m]=lr(i),o=["sans-serif",e],f=r.split(j.lineBreakRegex),a=[],u=br("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let g=u.append("svg");for(let h of o){let d=0,O={width:0,height:0,lineHeight:0};for(let pt of f){let gr=Et();gr.text=pt||At;let dr=Lt(g,gr).style("font-size",m).style("font-weight",n).style("font-family",h),F=(dr._groups||dr)[0][0].getBBox();if(F.width===0&&F.height===0)throw new Error("svg element not in render tree");O.width=Math.round(Math.max(O.width,F.width)),d=Math.round(F.height),O.height+=d,O.lineHeight=Math.round(Math.max(O.lineHeight,d))}a.push(O)}g.remove();let y=isNaN(a[1].height)||isNaN(a[1].width)||isNaN(a[1].lineHeight)||a[0].height>a[1].height&&a[0].width>a[1].width&&a[0].lineHeight>a[1].lineHeight?0:1;return a[y]},(r,t)=>`${r}${t.fontSize}${t.fontWeight}${t.fontFamily}`),Rt=class{constructor(r=!1,t){this.count=0,this.count=t?t.length:0,this.next=r?()=>this.count++:()=>Date.now()}static{p(this,"InitIDGenerator")}},nr,Nt=p(function(r){return nr=nr||document.createElement("div"),r=escape(r).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),nr.innerHTML=r,unescape(nr.textContent)},"entityDecode");function Ft(r){return"str"in r}p(Ft,"isDetailedError");var jt=p((r,t,i,e)=>{if(!e)return;let n=r.node()?.getBBox();n&&r.append("text").text(e).attr("text-anchor","middle").attr("x",n.x+n.width/2).attr("y",-i).attr("class",t)},"insertTitle"),lr=p(r=>{if(typeof r=="number")return[r,r+"px"];let t=parseInt(r??"",10);return Number.isNaN(t)?[void 0,void 0]:r===String(t)?[t,r+"px"]:[t,r]},"parseFontSize");function st(r,t){return pr({},r,t)}p(st,"cleanAndMerge");var Ti={assignWithDepth:mr,wrapLabel:Dt,calculateTextHeight:ft,calculateTextWidth:N,calculateTextDimensions:yr,cleanAndMerge:st,detectInit:Bt,detectDirective:Cr,isSubstringInArray:St,interpolateToCurve:rt,calcLabelPosition:it,calcCardinalityPosition:Pt,calcTerminalLabelPosition:ot,formatUrl:tt,getStylesFromArray:nt,generateId:Mt,random:Wt,runFunc:It,entityDecode:Nt,insertTitle:jt,isLabelCoordinateInPath:at,parseFontSize:lr,InitIDGenerator:Rt},zi=p(function(r){let t=r;return t=t.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),t=t.replace(/#\w+;/g,function(i){let e=i.substring(1,i.length-1);return/^\+?\d+$/.test(e)?"\uFB02\xB0\xB0"+e+"\xB6\xDF":"\uFB02\xB0"+e+"\xB6\xDF"}),t},"encodeEntities"),_i=p(function(r){return r.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),vi=p((r,t,{counter:i=0,prefix:e,suffix:n},m)=>m||`${e?`${e}_`:""}${r}_${t}_${i}${n?`_${n}`:""}`,"getEdgeId");function Tt(r){return r??null}p(Tt,"handleUndefinedAttr");function at(r,t){let i=Math.round(r.x),e=Math.round(r.y),n=t.replace(/(\d+\.\d+)/g,m=>Math.round(parseFloat(m)).toString());return n.includes(i.toString())||n.includes(e.toString())}p(at,"isLabelCoordinateInPath");export{yt as a,xt as b,At as c,ji as d,rt as e,nt as f,Mt as g,Wt as h,Dt as i,ft as j,N as k,yr as l,Ft as m,lr as n,st as o,Ti as p,zi as q,_i as r,vi as s,Tt as t};
3
+ //# sourceMappingURL=chunk-CFMSYLIK.js.map
@@ -0,0 +1,2 @@
1
+ import{A as D,B as $,C as y,a as _r,b as G,c as O,d as wr,e as Z,f as br,g as S,h as f,i as I,j as z,k as w,l as Er,m as yr,n as X,o as L,p as x,q as V,r as k,s as U,t as C,u as B,v as A,w as g,x as M,y as xr,z as P}from"./chunk-I6RMTJPN.js";import{d as h}from"./chunk-SOAWGUAD.js";h();h();h();function N(r,e,n,t){var o;do o=D(t);while(r.hasNode(o));return n.dummy=e,r.setNode(o,n),o}function kr(r){var e=new y().setGraph(r.graph());return f(r.nodes(),function(n){e.setNode(n,r.node(n))}),f(r.edges(),function(n){var t=e.edge(n.v,n.w)||{weight:0,minlen:1},o=r.edge(n);e.setEdge(n.v,n.w,{weight:t.weight+o.weight,minlen:Math.max(t.minlen,o.minlen)})}),e}function H(r){var e=new y({multigraph:r.isMultigraph()}).setGraph(r.graph());return f(r.nodes(),function(n){r.children(n).length||e.setNode(n,r.node(n))}),f(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function rr(r,e){var n=r.x,t=r.y,o=e.x-n,a=e.y-t,i=r.width/2,s=r.height/2;if(!o&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var u,d;return Math.abs(a)*i>Math.abs(o)*s?(a<0&&(s=-s),u=s*o/a,d=s):(o<0&&(i=-i),u=i,d=i*a/o),{x:n+u,y:t+d}}function j(r){var e=w(g(nr(r)+1),function(){return[]});return f(r.nodes(),function(n){var t=r.node(n),o=t.rank;x(o)||(e[o][t.order]=n)}),e}function gr(r){var e=C(w(r.nodes(),function(n){return r.node(n).rank}));f(r.nodes(),function(n){var t=r.node(n);X(t,"rank")&&(t.rank-=e)})}function Nr(r){var e=C(w(r.nodes(),function(a){return r.node(a).rank})),n=[];f(r.nodes(),function(a){var i=r.node(a).rank-e;n[i]||(n[i]=[]),n[i].push(a)});var t=0,o=r.graph().nodeRankFactor;f(n,function(a,i){x(a)&&i%o!==0?--t:t&&f(a,function(s){r.node(s).rank+=t})})}function er(r,e,n,t){var o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=t),N(r,"border",o,e)}function nr(r){return k(w(r.nodes(),function(e){var n=r.node(e).rank;if(!x(n))return n}))}function Or(r,e){var n={lhs:[],rhs:[]};return f(r,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n}function Ir(r,e){var n=Z();try{return e()}finally{console.log(r+" time: "+(Z()-n)+"ms")}}function Pr(r,e){return e()}function Cr(r){function e(n){var t=r.children(n),o=r.node(n);if(t.length&&f(t,e),Object.prototype.hasOwnProperty.call(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var a=o.minRank,i=o.maxRank+1;a<i;++a)Lr(r,"borderLeft","_bl",n,o,a),Lr(r,"borderRight","_br",n,o,a)}}f(r.children(),e)}function Lr(r,e,n,t,o,a){var i={width:0,height:0,rank:a,borderType:e},s=o[e][a-1],u=N(r,"border",i,n);o[e][a]=u,r.setParent(u,t),s&&r.setEdge(s,u,{weight:1})}h();function Tr(r){var e=r.graph().rankdir.toLowerCase();(e==="lr"||e==="rl")&&Sr(r)}function Rr(r){var e=r.graph().rankdir.toLowerCase();(e==="bt"||e==="rl")&&me(r),(e==="lr"||e==="rl")&&(ve(r),Sr(r))}function Sr(r){f(r.nodes(),function(e){jr(r.node(e))}),f(r.edges(),function(e){jr(r.edge(e))})}function jr(r){var e=r.width;r.width=r.height,r.height=e}function me(r){f(r.nodes(),function(e){tr(r.node(e))}),f(r.edges(),function(e){var n=r.edge(e);f(n.points,tr),Object.prototype.hasOwnProperty.call(n,"y")&&tr(n)})}function tr(r){r.y=-r.y}function ve(r){f(r.nodes(),function(e){or(r.node(e))}),f(r.edges(),function(e){var n=r.edge(e);f(n.points,or),Object.prototype.hasOwnProperty.call(n,"x")&&or(n)})}function or(r){var e=r.x;r.x=r.y,r.y=e}h();h();h();var J=class{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,n=e._prev;if(n!==e)return Mr(n),n}enqueue(e){var n=this._sentinel;e._prev&&e._next&&Mr(e),e._next=n._next,n._next._prev=e,n._next=e,e._prev=n}toString(){for(var e=[],n=this._sentinel,t=n._prev;t!==n;)e.push(JSON.stringify(t,we)),t=t._prev;return"["+e.join(", ")+"]"}};function Mr(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function we(r,e){if(r!=="_next"&&r!=="_prev")return e}var be=G(1);function Fr(r,e){if(r.nodeCount()<=1)return[];var n=ye(r,e||be),t=Ee(n.graph,n.buckets,n.zeroIdx);return O(w(t,function(o){return r.outEdges(o.v,o.w)}))}function Ee(r,e,n){for(var t=[],o=e[e.length-1],a=e[0],i;r.nodeCount();){for(;i=a.dequeue();)ar(r,e,n,i);for(;i=o.dequeue();)ar(r,e,n,i);if(r.nodeCount()){for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue(),i){t=t.concat(ar(r,e,n,i,!0));break}}}return t}function ar(r,e,n,t,o){var a=o?[]:void 0;return f(r.inEdges(t.v),function(i){var s=r.edge(i),u=r.node(i.v);o&&a.push({v:i.v,w:i.w}),u.out-=s,ir(e,n,u)}),f(r.outEdges(t.v),function(i){var s=r.edge(i),u=i.w,d=r.node(u);d.in-=s,ir(e,n,d)}),r.removeNode(t.v),a}function ye(r,e){var n=new y,t=0,o=0;f(r.nodes(),function(s){n.setNode(s,{v:s,in:0,out:0})}),f(r.edges(),function(s){var u=n.edge(s.v,s.w)||0,d=e(s),c=u+d;n.setEdge(s.v,s.w,c),o=Math.max(o,n.node(s.v).out+=d),t=Math.max(t,n.node(s.w).in+=d)});var a=g(o+t+3).map(function(){return new J}),i=t+1;return f(n.nodes(),function(s){ir(a,i,n.node(s))}),{graph:n,buckets:a,zeroIdx:i}}function ir(r,e,n){n.out?n.in?r[n.out-n.in+e].enqueue(n):r[r.length-1].enqueue(n):r[0].enqueue(n)}function Gr(r){var e=r.graph().acyclicer==="greedy"?Fr(r,n(r)):xe(r);f(e,function(t){var o=r.edge(t);r.removeEdge(t),o.forwardName=t.name,o.reversed=!0,r.setEdge(t.w,t.v,o,D("rev"))});function n(t){return function(o){return t.edge(o).weight}}}function xe(r){var e=[],n={},t={};function o(a){Object.prototype.hasOwnProperty.call(t,a)||(t[a]=!0,n[a]=!0,f(r.outEdges(a),function(i){Object.prototype.hasOwnProperty.call(n,i.w)?e.push(i):o(i.w)}),delete n[a])}return f(r.nodes(),o),e}function Vr(r){f(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var t=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,t)}})}h();function Ar(r){r.graph().dummyChains=[],f(r.edges(),function(e){ke(r,e)})}function ke(r,e){var n=e.v,t=r.node(n).rank,o=e.w,a=r.node(o).rank,i=e.name,s=r.edge(e),u=s.labelRank;if(a!==t+1){r.removeEdge(e);var d=void 0,c,l;for(l=0,++t;t<a;++l,++t)s.points=[],d={width:0,height:0,edgeLabel:s,edgeObj:e,rank:t},c=N(r,"edge",d,"_d"),t===u&&(d.width=s.width,d.height=s.height,d.dummy="edge-label",d.labelpos=s.labelpos),r.setEdge(n,c,{weight:s.weight},i),l===0&&r.graph().dummyChains.push(c),n=c;r.setEdge(n,o,{weight:s.weight},i)}}function Dr(r){f(r.graph().dummyChains,function(e){var n=r.node(e),t=n.edgeLabel,o;for(r.setEdge(n.edgeObj,t);n.dummy;)o=r.successors(e)[0],r.removeNode(e),t.points.push({x:n.x,y:n.y}),n.dummy==="edge-label"&&(t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height),e=o,n=r.node(e)})}h();h();h();function W(r){var e={};function n(t){var o=r.node(t);if(Object.prototype.hasOwnProperty.call(e,t))return o.rank;e[t]=!0;var a=C(w(r.outEdges(t),function(i){return n(i.w)-r.edge(i).minlen}));return(a===Number.POSITIVE_INFINITY||a===void 0||a===null)&&(a=0),o.rank=a}f(r.sources(),n)}function F(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function K(r){var e=new y({directed:!1}),n=r.nodes()[0],t=r.nodeCount();e.setNode(n,{});for(var o,a;ge(e,r)<t;)o=Ne(e,r),a=e.hasNode(o.v)?F(r,o):-F(r,o),Oe(e,r,a);return e}function ge(r,e){function n(t){f(e.nodeEdges(t),function(o){var a=o.v,i=t===a?o.w:a;!r.hasNode(i)&&!F(e,o)&&(r.setNode(i,{}),r.setEdge(t,i,{}),n(i))})}return f(r.nodes(),n),r.nodeCount()}function Ne(r,e){return B(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return F(e,n)})}function Oe(r,e,n){f(r.nodes(),function(t){e.node(t).rank+=n})}h();h();h();h();h();var ot=G(1);h();h();h();h();var mt=G(1);h();h();sr.CycleException=q;function sr(r){var e={},n={},t=[];function o(a){if(Object.prototype.hasOwnProperty.call(n,a))throw new q;Object.prototype.hasOwnProperty.call(e,a)||(n[a]=!0,e[a]=!0,f(r.predecessors(a),o),delete n[a],t.push(a))}if(f(r.sinks(),o),xr(e)!==r.nodeCount())throw new q;return t}function q(){}q.prototype=new Error;h();h();function Q(r,e,n){_r(e)||(e=[e]);var t=(r.isDirected()?r.successors:r.neighbors).bind(r),o=[],a={};return f(e,function(i){if(!r.hasNode(i))throw new Error("Graph does not have node: "+i);zr(r,i,n==="post",a,t,o)}),o}function zr(r,e,n,t,o,a){Object.prototype.hasOwnProperty.call(t,e)||(t[e]=!0,n||a.push(e),f(o(e),function(i){zr(r,i,n,t,o,a)}),n&&a.push(e))}function fr(r,e){return Q(r,e,"post")}h();function ur(r,e){return Q(r,e,"pre")}h();R.initLowLimValues=cr;R.initCutValues=dr;R.calcCutValue=Wr;R.leaveEdge=Xr;R.enterEdge=Hr;R.exchangeEdges=Jr;function R(r){r=kr(r),W(r);var e=K(r);cr(e),dr(e,r);for(var n,t;n=Xr(e);)t=Hr(e,r,n),Jr(e,r,n,t)}function dr(r,e){var n=fr(r,r.nodes());n=n.slice(0,n.length-1),f(n,function(t){je(r,e,t)})}function je(r,e,n){var t=r.node(n),o=t.parent;r.edge(n,o).cutvalue=Wr(r,e,n)}function Wr(r,e,n){var t=r.node(n),o=t.parent,a=!0,i=e.edge(n,o),s=0;return i||(a=!1,i=e.edge(o,n)),s=i.weight,f(e.nodeEdges(n),function(u){var d=u.v===n,c=d?u.w:u.v;if(c!==o){var l=d===a,m=e.edge(u).weight;if(s+=l?m:-m,Re(r,n,c)){var v=r.edge(n,c).cutvalue;s+=l?-v:v}}}),s}function cr(r,e){arguments.length<2&&(e=r.nodes()[0]),qr(r,{},1,e)}function qr(r,e,n,t,o){var a=n,i=r.node(t);return e[t]=!0,f(r.neighbors(t),function(s){Object.prototype.hasOwnProperty.call(e,s)||(n=qr(r,e,n,s,t))}),i.low=a,i.lim=n++,o?i.parent=o:delete i.parent,n}function Xr(r){return z(r.edges(),function(e){return r.edge(e).cutvalue<0})}function Hr(r,e,n){var t=n.v,o=n.w;e.hasEdge(t,o)||(t=n.w,o=n.v);var a=r.node(t),i=r.node(o),s=a,u=!1;a.lim>i.lim&&(s=i,u=!0);var d=I(e.edges(),function(c){return u===Ur(r,r.node(c.v),s)&&u!==Ur(r,r.node(c.w),s)});return B(d,function(c){return F(e,c)})}function Jr(r,e,n,t){var o=n.v,a=n.w;r.removeEdge(o,a),r.setEdge(t.v,t.w,{}),cr(r),dr(r,e),Te(r,e)}function Te(r,e){var n=z(r.nodes(),function(o){return!e.node(o).parent}),t=ur(r,n);t=t.slice(1),f(t,function(o){var a=r.node(o).parent,i=e.edge(o,a),s=!1;i||(i=e.edge(a,o),s=!0),e.node(o).rank=e.node(a).rank+(s?i.minlen:-i.minlen)})}function Re(r,e,n){return r.hasEdge(e,n)}function Ur(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function hr(r){switch(r.graph().ranker){case"network-simplex":Kr(r);break;case"tight-tree":Me(r);break;case"longest-path":Se(r);break;default:Kr(r)}}var Se=W;function Me(r){W(r),K(r)}function Kr(r){R(r)}h();function Qr(r){var e=N(r,"root",{},"_root"),n=Fe(r),t=k(L(n))-1,o=2*t+1;r.graph().nestingRoot=e,f(r.edges(),function(i){r.edge(i).minlen*=o});var a=Ge(r)+1;f(r.children(),function(i){Zr(r,e,o,a,t,n,i)}),r.graph().nodeRankFactor=o}function Zr(r,e,n,t,o,a,i){var s=r.children(i);if(!s.length){i!==e&&r.setEdge(e,i,{weight:0,minlen:n});return}var u=er(r,"_bt"),d=er(r,"_bb"),c=r.node(i);r.setParent(u,i),c.borderTop=u,r.setParent(d,i),c.borderBottom=d,f(s,function(l){Zr(r,e,n,t,o,a,l);var m=r.node(l),v=m.borderTop?m.borderTop:l,_=m.borderBottom?m.borderBottom:l,E=m.borderTop?t:2*t,Y=v!==_?1:o-a[i]+1;r.setEdge(u,v,{weight:E,minlen:Y,nestingEdge:!0}),r.setEdge(_,d,{weight:E,minlen:Y,nestingEdge:!0})}),r.parent(i)||r.setEdge(e,u,{weight:0,minlen:o+a[i]})}function Fe(r){var e={};function n(t,o){var a=r.children(t);a&&a.length&&f(a,function(i){n(i,o+1)}),e[t]=o}return f(r.children(),function(t){n(t,1)}),e}function Ge(r){return M(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function $r(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,f(r.edges(),function(n){var t=r.edge(n);t.nestingEdge&&r.removeEdge(n)})}h();h();function re(r,e,n){var t={},o;f(n,function(a){for(var i=r.parent(a),s,u;i;){if(s=r.parent(i),s?(u=t[s],t[s]=i):(u=o,o=i),u&&u!==i){e.setEdge(u,i);return}i=s}})}h();function ee(r,e,n){var t=Be(r),o=new y({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(a){return r.node(a)});return f(r.nodes(),function(a){var i=r.node(a),s=r.parent(a);(i.rank===e||i.minRank<=e&&e<=i.maxRank)&&(o.setNode(a),o.setParent(a,s||t),f(r[n](a),function(u){var d=u.v===a?u.w:u.v,c=o.edge(d,a),l=x(c)?0:c.weight;o.setEdge(d,a,{weight:r.edge(u).weight+l})}),Object.prototype.hasOwnProperty.call(i,"minRank")&&o.setNode(a,{borderLeft:i.borderLeft[e],borderRight:i.borderRight[e]}))}),o}function Be(r){for(var e;r.hasNode(e=D("_root")););return e}h();function ne(r,e){for(var n=0,t=1;t<e.length;++t)n+=Ae(r,e[t-1],e[t]);return n}function Ae(r,e,n){for(var t=$(n,w(n,function(d,c){return c})),o=O(w(e,function(d){return P(w(r.outEdges(d),function(c){return{pos:t[c.w],weight:r.edge(c).weight}}),"pos")})),a=1;a<n.length;)a<<=1;var i=2*a-1;a-=1;var s=w(new Array(i),function(){return 0}),u=0;return f(o.forEach(function(d){var c=d.pos+a;s[c]+=d.weight;for(var l=0;c>0;)c%2&&(l+=s[c+1]),c=c-1>>1,s[c]+=d.weight;u+=d.weight*l})),u}h();function te(r){var e={},n=I(r.nodes(),function(s){return!r.children(s).length}),t=k(w(n,function(s){return r.node(s).rank})),o=w(g(t+1),function(){return[]});function a(s){if(!X(e,s)){e[s]=!0;var u=r.node(s);o[u.rank].push(s),f(r.successors(s),a)}}var i=P(n,function(s){return r.node(s).rank});return f(i,a),o}h();h();function oe(r,e){return w(e,function(n){var t=r.inEdges(n);if(t.length){var o=M(t,function(a,i){var s=r.edge(i),u=r.node(i.v);return{sum:a.sum+s.weight*u.order,weight:a.weight+s.weight}},{sum:0,weight:0});return{v:n,barycenter:o.sum/o.weight,weight:o.weight}}else return{v:n}})}h();function ae(r,e){var n={};f(r,function(o,a){var i=n[o.v]={indegree:0,in:[],out:[],vs:[o.v],i:a};x(o.barycenter)||(i.barycenter=o.barycenter,i.weight=o.weight)}),f(e.edges(),function(o){var a=n[o.v],i=n[o.w];!x(a)&&!x(i)&&(i.indegree++,a.out.push(n[o.w]))});var t=I(n,function(o){return!o.indegree});return De(t)}function De(r){var e=[];function n(a){return function(i){i.merged||(x(i.barycenter)||x(a.barycenter)||i.barycenter>=a.barycenter)&&Ye(a,i)}}function t(a){return function(i){i.in.push(a),--i.indegree===0&&r.push(i)}}for(;r.length;){var o=r.pop();e.push(o),f(o.in.reverse(),n(o)),f(o.out,t(o))}return w(I(e,function(a){return!a.merged}),function(a){return A(a,["vs","i","barycenter","weight"])})}function Ye(r,e){var n=0,t=0;r.weight&&(n+=r.barycenter*r.weight,t+=r.weight),e.weight&&(n+=e.barycenter*e.weight,t+=e.weight),r.vs=e.vs.concat(r.vs),r.barycenter=n/t,r.weight=t,r.i=Math.min(e.i,r.i),e.merged=!0}h();function se(r,e){var n=Or(r,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=n.lhs,o=P(n.rhs,function(c){return-c.i}),a=[],i=0,s=0,u=0;t.sort(ze(!!e)),u=ie(a,o,u),f(t,function(c){u+=c.vs.length,a.push(c.vs),i+=c.barycenter*c.weight,s+=c.weight,u=ie(a,o,u)});var d={vs:O(a)};return s&&(d.barycenter=i/s,d.weight=s),d}function ie(r,e,n){for(var t;e.length&&(t=S(e)).i<=n;)e.pop(),r.push(t.vs),n++;return n}function ze(r){return function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:r?n.i-e.i:e.i-n.i}}function lr(r,e,n,t){var o=r.children(e),a=r.node(e),i=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,u={};i&&(o=I(o,function(_){return _!==i&&_!==s}));var d=oe(r,o);f(d,function(_){if(r.children(_.v).length){var E=lr(r,_.v,n,t);u[_.v]=E,Object.prototype.hasOwnProperty.call(E,"barycenter")&&We(_,E)}});var c=ae(d,n);Ue(c,u);var l=se(c,t);if(i&&(l.vs=O([i,l.vs,s]),r.predecessors(i).length)){var m=r.node(r.predecessors(i)[0]),v=r.node(r.predecessors(s)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+m.order+v.order)/(l.weight+2),l.weight+=2}return l}function Ue(r,e){f(r,function(n){n.vs=O(n.vs.map(function(t){return e[t]?e[t].vs:t}))})}function We(r,e){x(r.barycenter)?(r.barycenter=e.barycenter,r.weight=e.weight):(r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight)}function de(r){var e=nr(r),n=fe(r,g(1,e+1),"inEdges"),t=fe(r,g(e-1,-1,-1),"outEdges"),o=te(r);ue(r,o);for(var a=Number.POSITIVE_INFINITY,i,s=0,u=0;u<4;++s,++u){qe(s%2?n:t,s%4>=2),o=j(r);var d=ne(r,o);d<a&&(u=0,i=wr(o),a=d)}ue(r,i)}function fe(r,e,n){return w(e,function(t){return ee(r,t,n)})}function qe(r,e){var n=new y;f(r,function(t){var o=t.graph().root,a=lr(t,o,n,e);f(a.vs,function(i,s){t.node(i).order=s}),re(t,n,a.vs)})}function ue(r,e){f(e,function(n){f(n,function(t,o){r.node(t).order=o})})}h();function ce(r){var e=He(r);f(r.graph().dummyChains,function(n){for(var t=r.node(n),o=t.edgeObj,a=Xe(r,e,o.v,o.w),i=a.path,s=a.lca,u=0,d=i[u],c=!0;n!==o.w;){if(t=r.node(n),c){for(;(d=i[u])!==s&&r.node(d).maxRank<t.rank;)u++;d===s&&(c=!1)}if(!c){for(;u<i.length-1&&r.node(d=i[u+1]).minRank<=t.rank;)u++;d=i[u]}r.setParent(n,d),n=r.successors(n)[0]}})}function Xe(r,e,n,t){var o=[],a=[],i=Math.min(e[n].low,e[t].low),s=Math.max(e[n].lim,e[t].lim),u,d;u=n;do u=r.parent(u),o.push(u);while(u&&(e[u].low>i||s>e[u].lim));for(d=u,u=t;(u=r.parent(u))!==d;)a.push(u);return{path:o.concat(a.reverse()),lca:d}}function He(r){var e={},n=0;function t(o){var a=n;f(r.children(o),t),e[o]={low:a,lim:n++}}return f(r.children(),t),e}h();h();function Je(r,e){var n={};function t(o,a){var i=0,s=0,u=o.length,d=S(a);return f(a,function(c,l){var m=Qe(r,c),v=m?r.node(m).order:u;(m||c===d)&&(f(a.slice(s,l+1),function(_){f(r.predecessors(_),function(E){var Y=r.node(E),vr=Y.order;(vr<i||v<vr)&&!(Y.dummy&&r.node(_).dummy)&&he(n,E,_)})}),s=l+1,i=v)}),a}return M(e,t),n}function Ke(r,e){var n={};function t(a,i,s,u,d){var c;f(g(i,s),function(l){c=a[l],r.node(c).dummy&&f(r.predecessors(c),function(m){var v=r.node(m);v.dummy&&(v.order<u||v.order>d)&&he(n,m,c)})})}function o(a,i){var s=-1,u,d=0;return f(i,function(c,l){if(r.node(c).dummy==="border"){var m=r.predecessors(c);m.length&&(u=r.node(m[0]).order,t(i,d,l,s,u),d=l,s=u)}t(i,d,i.length,u,a.length)}),i}return M(e,o),n}function Qe(r,e){if(r.node(e).dummy)return z(r.predecessors(e),function(n){return r.node(n).dummy})}function he(r,e,n){if(e>n){var t=e;e=n,n=t}Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var o=r[e];Object.defineProperty(o,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function Ze(r,e,n){if(e>n){var t=e;e=n,n=t}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function $e(r,e,n,t){var o={},a={},i={};return f(e,function(s){f(s,function(u,d){o[u]=u,a[u]=u,i[u]=d})}),f(e,function(s){var u=-1;f(s,function(d){var c=t(d);if(c.length){c=P(c,function(E){return i[E]});for(var l=(c.length-1)/2,m=Math.floor(l),v=Math.ceil(l);m<=v;++m){var _=c[m];a[d]===d&&u<i[_]&&!Ze(n,d,_)&&(a[_]=d,a[d]=o[d]=o[_],u=i[_])}}})}),{root:o,align:a}}function rn(r,e,n,t,o){var a={},i=en(r,e,n,o),s=o?"borderLeft":"borderRight";function u(l,m){for(var v=i.nodes(),_=v.pop(),E={};_;)E[_]?l(_):(E[_]=!0,v.push(_),v=v.concat(m(_))),_=v.pop()}function d(l){a[l]=i.inEdges(l).reduce(function(m,v){return Math.max(m,a[v.v]+i.edge(v))},0)}function c(l){var m=i.outEdges(l).reduce(function(_,E){return Math.min(_,a[E.w]-i.edge(E))},Number.POSITIVE_INFINITY),v=r.node(l);m!==Number.POSITIVE_INFINITY&&v.borderType!==s&&(a[l]=Math.max(a[l],m))}return u(d,i.predecessors.bind(i)),u(c,i.successors.bind(i)),f(t,function(l){a[l]=a[n[l]]}),a}function en(r,e,n,t){var o=new y,a=r.graph(),i=an(a.nodesep,a.edgesep,t);return f(e,function(s){var u;f(s,function(d){var c=n[d];if(o.setNode(c),u){var l=n[u],m=o.edge(l,c);o.setEdge(l,c,Math.max(i(r,d,u),m||0))}u=d})}),o}function nn(r,e){return B(L(e),function(n){var t=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return Er(n,function(a,i){var s=sn(r,i)/2;t=Math.max(a+s,t),o=Math.min(a-s,o)}),t-o})}function tn(r,e){var n=L(e),t=C(n),o=k(n);f(["u","d"],function(a){f(["l","r"],function(i){var s=a+i,u=r[s],d;if(u!==e){var c=L(u);d=i==="l"?t-C(c):o-k(c),d&&(r[s]=V(u,function(l){return l+d}))}})})}function on(r,e){return V(r.ul,function(n,t){if(e)return r[e.toLowerCase()][t];var o=P(w(r,t));return(o[1]+o[2])/2})}function le(r){var e=j(r),n=U(Je(r,e),Ke(r,e)),t={},o;f(["u","d"],function(i){o=i==="u"?e:L(e).reverse(),f(["l","r"],function(s){s==="r"&&(o=w(o,function(l){return L(l).reverse()}));var u=(i==="u"?r.predecessors:r.successors).bind(r),d=$e(r,o,n,u),c=rn(r,o,d.root,d.align,s==="r");s==="r"&&(c=V(c,function(l){return-l})),t[i+s]=c})});var a=nn(r,t);return tn(t,a),on(t,r.graph().align)}function an(r,e,n){return function(t,o,a){var i=t.node(o),s=t.node(a),u=0,d;if(u+=i.width/2,Object.prototype.hasOwnProperty.call(i,"labelpos"))switch(i.labelpos.toLowerCase()){case"l":d=-i.width/2;break;case"r":d=i.width/2;break}if(d&&(u+=n?d:-d),d=0,u+=(i.dummy?e:r)/2,u+=(s.dummy?e:r)/2,u+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":d=s.width/2;break;case"r":d=-s.width/2;break}return d&&(u+=n?d:-d),d=0,u}}function sn(r,e){return r.node(e).width}function pe(r){r=H(r),fn(r),yr(le(r),function(e,n){r.node(n).x=e})}function fn(r){var e=j(r),n=r.graph().ranksep,t=0;f(e,function(o){var a=k(w(o,function(i){return r.node(i).height}));f(o,function(i){r.node(i).y=t+a/2}),t+=a+n})}function un(r,e){var n=e&&e.debugTiming?Ir:Pr;n("layout",()=>{var t=n(" buildLayoutGraph",()=>En(r));n(" runLayout",()=>dn(t,n)),n(" updateInputGraph",()=>cn(r,t))})}function dn(r,e){e(" makeSpaceForEdgeLabels",()=>yn(r)),e(" removeSelfEdges",()=>Cn(r)),e(" acyclic",()=>Gr(r)),e(" nestingGraph.run",()=>Qr(r)),e(" rank",()=>hr(H(r))),e(" injectEdgeLabelProxies",()=>xn(r)),e(" removeEmptyRanks",()=>Nr(r)),e(" nestingGraph.cleanup",()=>$r(r)),e(" normalizeRanks",()=>gr(r)),e(" assignRankMinMax",()=>kn(r)),e(" removeEdgeLabelProxies",()=>gn(r)),e(" normalize.run",()=>Ar(r)),e(" parentDummyChains",()=>ce(r)),e(" addBorderSegments",()=>Cr(r)),e(" order",()=>de(r)),e(" insertSelfEdges",()=>jn(r)),e(" adjustCoordinateSystem",()=>Tr(r)),e(" position",()=>pe(r)),e(" positionSelfEdges",()=>Tn(r)),e(" removeBorderNodes",()=>Ln(r)),e(" normalize.undo",()=>Dr(r)),e(" fixupEdgeLabelCoords",()=>In(r)),e(" undoCoordinateSystem",()=>Rr(r)),e(" translateGraph",()=>Nn(r)),e(" assignNodeIntersects",()=>On(r)),e(" reversePoints",()=>Pn(r)),e(" acyclic.undo",()=>Vr(r))}function cn(r,e){f(r.nodes(),function(n){var t=r.node(n),o=e.node(n);t&&(t.x=o.x,t.y=o.y,e.children(n).length&&(t.width=o.width,t.height=o.height))}),f(r.edges(),function(n){var t=r.edge(n),o=e.edge(n);t.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(t.x=o.x,t.y=o.y)}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var hn=["nodesep","edgesep","ranksep","marginx","marginy"],ln={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},pn=["acyclicer","ranker","rankdir","align"],mn=["width","height"],vn={width:0,height:0},_n=["minlen","weight","width","height","labeloffset"],wn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},bn=["labelpos"];function En(r){var e=new y({multigraph:!0,compound:!0}),n=mr(r.graph());return e.setGraph(U({},ln,pr(n,hn),A(n,pn))),f(r.nodes(),function(t){var o=mr(r.node(t));e.setNode(t,br(pr(o,mn),vn)),e.setParent(t,r.parent(t))}),f(r.edges(),function(t){var o=mr(r.edge(t));e.setEdge(t,U({},wn,pr(o,_n),A(o,bn)))}),e}function yn(r){var e=r.graph();e.ranksep/=2,f(r.edges(),function(n){var t=r.edge(n);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(e.rankdir==="TB"||e.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function xn(r){f(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var t=r.node(e.v),o=r.node(e.w),a={rank:(o.rank-t.rank)/2+t.rank,e};N(r,"edge-proxy",a,"_ep")}})}function kn(r){var e=0;f(r.nodes(),function(n){var t=r.node(n);t.borderTop&&(t.minRank=r.node(t.borderTop).rank,t.maxRank=r.node(t.borderBottom).rank,e=k(e,t.maxRank))}),r.graph().maxRank=e}function gn(r){f(r.nodes(),function(e){var n=r.node(e);n.dummy==="edge-proxy"&&(r.edge(n.e).labelRank=n.rank,r.removeNode(e))})}function Nn(r){var e=Number.POSITIVE_INFINITY,n=0,t=Number.POSITIVE_INFINITY,o=0,a=r.graph(),i=a.marginx||0,s=a.marginy||0;function u(d){var c=d.x,l=d.y,m=d.width,v=d.height;e=Math.min(e,c-m/2),n=Math.max(n,c+m/2),t=Math.min(t,l-v/2),o=Math.max(o,l+v/2)}f(r.nodes(),function(d){u(r.node(d))}),f(r.edges(),function(d){var c=r.edge(d);Object.prototype.hasOwnProperty.call(c,"x")&&u(c)}),e-=i,t-=s,f(r.nodes(),function(d){var c=r.node(d);c.x-=e,c.y-=t}),f(r.edges(),function(d){var c=r.edge(d);f(c.points,function(l){l.x-=e,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=e),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),a.width=n-e+i,a.height=o-t+s}function On(r){f(r.edges(),function(e){var n=r.edge(e),t=r.node(e.v),o=r.node(e.w),a,i;n.points?(a=n.points[0],i=n.points[n.points.length-1]):(n.points=[],a=o,i=t),n.points.unshift(rr(t,a)),n.points.push(rr(o,i))})}function In(r){f(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x"))switch((n.labelpos==="l"||n.labelpos==="r")&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}})}function Pn(r){f(r.edges(),function(e){var n=r.edge(e);n.reversed&&n.points.reverse()})}function Ln(r){f(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),t=r.node(n.borderTop),o=r.node(n.borderBottom),a=r.node(S(n.borderLeft)),i=r.node(S(n.borderRight));n.width=Math.abs(i.x-a.x),n.height=Math.abs(o.y-t.y),n.x=a.x+n.width/2,n.y=t.y+n.height/2}}),f(r.nodes(),function(e){r.node(e).dummy==="border"&&r.removeNode(e)})}function Cn(r){f(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function jn(r){var e=j(r);f(e,function(n){var t=0;f(n,function(o,a){var i=r.node(o);i.order=a+t,f(i.selfEdges,function(s){N(r,"selfedge",{width:s.label.width,height:s.label.height,rank:i.rank,order:a+ ++t,e:s.e,label:s.label},"_se")}),delete i.selfEdges})})}function Tn(r){f(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var t=r.node(n.e.v),o=t.x+t.width/2,a=t.y,i=n.x-o,s=t.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:o+2*i/3,y:a-s},{x:o+5*i/6,y:a-s},{x:o+i,y:a},{x:o+5*i/6,y:a+s},{x:o+2*i/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}})}function pr(r,e){return V(A(r,e),Number)}function mr(r){var e={};return f(r,function(n,t){e[t.toLowerCase()]=n}),e}h();export{un as a};
2
+ //# sourceMappingURL=chunk-CKJRXIX7.js.map
@@ -0,0 +1,2 @@
1
+ import{a as St}from"./chunk-ITN3D7RJ.js";import{a as tu,c as eu,d as a}from"./chunk-SOAWGUAD.js";var li=tu((ir,or)=>{a();(function(t,e){typeof ir=="object"&&typeof or<"u"?or.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(ir,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",u="day",l="week",f="month",h="quarter",m="year",c="date",d="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var x=["th","st","nd","rd"],_=g%100;return"["+g+(x[(_-20)%10]||x[_]||x[0])+"]"}},C=function(g,x,_){var k=String(g);return!k||k.length>=x?g:""+Array(x+1-k.length).join(_)+g},I={s:C,z:function(g){var x=-g.utcOffset(),_=Math.abs(x),k=Math.floor(_/60),M=_%60;return(x<=0?"+":"-")+C(k,2,"0")+":"+C(M,2,"0")},m:function g(x,_){if(x.date()<_.date())return-g(_,x);var k=12*(_.year()-x.year())+(_.month()-x.month()),M=x.clone().add(k,f),A=_-M<0,D=x.clone().add(k+(A?-1:1),f);return+(-(k+(_-M)/(A?M-D:D-M))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:f,y:m,w:l,d:u,D:c,h:s,m:o,s:i,ms:r,Q:h}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},$="en",N={};N[$]=S;var R="$isDayjsObject",w=function(g){return g instanceof W||!(!g||!g[R])},Y=function g(x,_,k){var M;if(!x)return $;if(typeof x=="string"){var A=x.toLowerCase();N[A]&&(M=A),_&&(N[A]=_,M=A);var D=x.split("-");if(!M&&D.length>1)return g(D[0])}else{var U=x.name;N[U]=x,M=U}return!k&&M&&($=M),M||!k&&$},F=function(g,x){if(w(g))return g.clone();var _=typeof x=="object"?x:{};return _.date=g,_.args=arguments,new W(_)},O=I;O.l=Y,O.i=w,O.w=function(g,x){return F(g,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var W=(function(){function g(_){this.$L=Y(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[R]=!0}var x=g.prototype;return x.parse=function(_){this.$d=(function(k){var M=k.date,A=k.utc;if(M===null)return new Date(NaN);if(O.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var D=M.match(v);if(D){var U=D[2]-1||0,z=(D[7]||"0").substring(0,3);return A?new Date(Date.UTC(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,z)):new Date(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,z)}}return new Date(M)})(_),this.init()},x.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},x.$utils=function(){return O},x.isValid=function(){return this.$d.toString()!==d},x.isSame=function(_,k){var M=F(_);return this.startOf(k)<=M&&M<=this.endOf(k)},x.isAfter=function(_,k){return F(_)<this.startOf(k)},x.isBefore=function(_,k){return this.endOf(k)<F(_)},x.$g=function(_,k,M){return O.u(_)?this[k]:this.set(M,_)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(_,k){var M=this,A=!!O.u(k)||k,D=O.p(_),U=function(ut,Q){var T=O.w(M.$u?Date.UTC(M.$y,Q,ut):new Date(M.$y,Q,ut),M);return A?T:T.endOf(u)},z=function(ut,Q){return O.w(M.toDate()[ut].apply(M.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(Q)),M)},V=this.$W,G=this.$M,j=this.$D,ht="set"+(this.$u?"UTC":"");switch(D){case m:return A?U(1,0):U(31,11);case f:return A?U(1,G):U(0,G+1);case l:var K=this.$locale().weekStart||0,xt=(V<K?V+7:V)-K;return U(A?j-xt:j+(6-xt),G);case u:case c:return z(ht+"Hours",0);case s:return z(ht+"Minutes",1);case o:return z(ht+"Seconds",2);case i:return z(ht+"Milliseconds",3);default:return this.clone()}},x.endOf=function(_){return this.startOf(_,!1)},x.$set=function(_,k){var M,A=O.p(_),D="set"+(this.$u?"UTC":""),U=(M={},M[u]=D+"Date",M[c]=D+"Date",M[f]=D+"Month",M[m]=D+"FullYear",M[s]=D+"Hours",M[o]=D+"Minutes",M[i]=D+"Seconds",M[r]=D+"Milliseconds",M)[A],z=A===u?this.$D+(k-this.$W):k;if(A===f||A===m){var V=this.clone().set(c,1);V.$d[U](z),V.init(),this.$d=V.set(c,Math.min(this.$D,V.daysInMonth())).$d}else U&&this.$d[U](z);return this.init(),this},x.set=function(_,k){return this.clone().$set(_,k)},x.get=function(_){return this[O.p(_)]()},x.add=function(_,k){var M,A=this;_=Number(_);var D=O.p(k),U=function(G){var j=F(A);return O.w(j.date(j.date()+Math.round(G*_)),A)};if(D===f)return this.set(f,this.$M+_);if(D===m)return this.set(m,this.$y+_);if(D===u)return U(1);if(D===l)return U(7);var z=(M={},M[o]=e,M[s]=n,M[i]=t,M)[D]||1,V=this.$d.getTime()+_*z;return O.w(V,this)},x.subtract=function(_,k){return this.add(-1*_,k)},x.format=function(_){var k=this,M=this.$locale();if(!this.isValid())return M.invalidDate||d;var A=_||"YYYY-MM-DDTHH:mm:ssZ",D=O.z(this),U=this.$H,z=this.$m,V=this.$M,G=M.weekdays,j=M.months,ht=M.meridiem,K=function(Q,T,E,P){return Q&&(Q[T]||Q(k,A))||E[T].slice(0,P)},xt=function(Q){return O.s(U%12||12,Q,"0")},ut=ht||function(Q,T,E){var P=Q<12?"AM":"PM";return E?P.toLowerCase():P};return A.replace(b,(function(Q,T){return T||(function(E){switch(E){case"YY":return String(k.$y).slice(-2);case"YYYY":return O.s(k.$y,4,"0");case"M":return V+1;case"MM":return O.s(V+1,2,"0");case"MMM":return K(M.monthsShort,V,j,3);case"MMMM":return K(j,V);case"D":return k.$D;case"DD":return O.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return K(M.weekdaysMin,k.$W,G,2);case"ddd":return K(M.weekdaysShort,k.$W,G,3);case"dddd":return G[k.$W];case"H":return String(U);case"HH":return O.s(U,2,"0");case"h":return xt(1);case"hh":return xt(2);case"a":return ut(U,z,!0);case"A":return ut(U,z,!1);case"m":return String(z);case"mm":return O.s(z,2,"0");case"s":return String(k.$s);case"ss":return O.s(k.$s,2,"0");case"SSS":return O.s(k.$ms,3,"0");case"Z":return D}return null})(Q)||D.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(_,k,M){var A,D=this,U=O.p(k),z=F(_),V=(z.utcOffset()-this.utcOffset())*e,G=this-z,j=function(){return O.m(D,z)};switch(U){case m:A=j()/12;break;case f:A=j();break;case h:A=j()/3;break;case l:A=(G-V)/6048e5;break;case u:A=(G-V)/864e5;break;case s:A=G/n;break;case o:A=G/e;break;case i:A=G/t;break;default:A=G}return M?A:O.a(A)},x.daysInMonth=function(){return this.endOf(f).$D},x.$locale=function(){return N[this.$L]},x.locale=function(_,k){if(!_)return this.$L;var M=this.clone(),A=Y(_,k,!0);return A&&(M.$L=A),M},x.clone=function(){return O.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},g})(),B=W.prototype;return F.prototype=B,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",u],["$M",f],["$y",m],["$D",c]].forEach((function(g){B[g[1]]=function(x){return this.$g(x,g[0],g[1])}})),F.extend=function(g,x){return g.$i||(g(x,W,F),g.$i=!0),F},F.locale=Y,F.isDayjs=w,F.unix=function(g){return F(1e3*g)},F.en=N[$],F.Ls=N,F.p={},F}))});a();var ci=eu(li(),1),Ct={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},pt={trace:St((...t)=>{},"trace"),debug:St((...t)=>{},"debug"),info:St((...t)=>{},"info"),warn:St((...t)=>{},"warn"),error:St((...t)=>{},"error"),fatal:St((...t)=>{},"fatal")},Gh=St(function(t="fatal"){let e=Ct.fatal;typeof t=="string"?t.toLowerCase()in Ct&&(e=Ct[t]):typeof t=="number"&&(e=t),pt.trace=()=>{},pt.debug=()=>{},pt.info=()=>{},pt.warn=()=>{},pt.error=()=>{},pt.fatal=()=>{},e<=Ct.fatal&&(pt.fatal=console.error?console.error.bind(console,mt("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",mt("FATAL"))),e<=Ct.error&&(pt.error=console.error?console.error.bind(console,mt("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",mt("ERROR"))),e<=Ct.warn&&(pt.warn=console.warn?console.warn.bind(console,mt("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",mt("WARN"))),e<=Ct.info&&(pt.info=console.info?console.info.bind(console,mt("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",mt("INFO"))),e<=Ct.debug&&(pt.debug=console.debug?console.debug.bind(console,mt("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",mt("DEBUG"))),e<=Ct.trace&&(pt.trace=console.debug?console.debug.bind(console,mt("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",mt("TRACE")))},"setLogLevel"),mt=St(t=>`%c${(0,ci.default)().format("ss.SSS")} : ${t} : `,"format");a();function hi(t,e){let n;if(e===void 0)for(let r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}a();function pi(t,e){let n;if(e===void 0)for(let r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}a();a();a();function Wt(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}a();a();function ar(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Vt(t){let e,n,r;t.length!==2?(e=Wt,n=(u,l)=>Wt(t(u),l),r=(u,l)=>t(u)-l):(e=t===Wt||t===ar?t:nu,n=t,r=t);function i(u,l,f=0,h=u.length){if(f<h){if(e(l,l)!==0)return h;do{let m=f+h>>>1;n(u[m],l)<0?f=m+1:h=m}while(f<h)}return f}function o(u,l,f=0,h=u.length){if(f<h){if(e(l,l)!==0)return h;do{let m=f+h>>>1;n(u[m],l)<=0?f=m+1:h=m}while(f<h)}return f}function s(u,l,f=0,h=u.length){let m=i(u,l,f,h-1);return m>f&&r(u[m-1],l)>-r(u[m],l)?m-1:m}return{left:i,center:s,right:o}}function nu(){return 0}a();function sr(t){return t===null?NaN:+t}var mi=Vt(Wt),di=mi.right,ru=mi.left,iu=Vt(sr).center,ur=di;a();var le=class extends Map{constructor(e,n=su){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(let[r,i]of e)this.set(r,i)}get(e){return super.get(xi(this,e))}has(e){return super.has(xi(this,e))}set(e,n){return super.set(ou(this,e),n)}delete(e){return super.delete(au(this,e))}};function xi({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function ou({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function au({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function su(t){return t!==null&&typeof t=="object"?t.valueOf():t}a();var uu=Math.sqrt(50),fu=Math.sqrt(10),lu=Math.sqrt(2);function sn(t,e,n){let r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=uu?10:o>=fu?5:o>=lu?2:1,u,l,f;return i<0?(f=Math.pow(10,-i)/s,u=Math.round(t*f),l=Math.round(e*f),u/f<t&&++u,l/f>e&&--l,f=-f):(f=Math.pow(10,i)*s,u=Math.round(t/f),l=Math.round(e/f),u*f<t&&++u,l*f>e&&--l),l<u&&.5<=n&&n<2?sn(t,e,n*2):[u,l,f]}function un(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];let r=e<t,[i,o,s]=r?sn(e,t,n):sn(t,e,n);if(!(o>=i))return[];let u=o-i+1,l=new Array(u);if(r)if(s<0)for(let f=0;f<u;++f)l[f]=(o-f)/-s;else for(let f=0;f<u;++f)l[f]=(o-f)*s;else if(s<0)for(let f=0;f<u;++f)l[f]=(i+f)/-s;else for(let f=0;f<u;++f)l[f]=(i+f)*s;return l}function Oe(t,e,n){return e=+e,t=+t,n=+n,sn(t,e,n)[2]}function ce(t,e,n){e=+e,t=+t,n=+n;let r=e<t,i=r?Oe(e,t,n):Oe(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}a();function fn(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r<i;)o[r]=t+r*n;return o}a();a();function _i(t){return t}var cn=1,fr=2,lr=3,ln=4,gi=1e-6;function cu(t){return"translate("+t+",0)"}function hu(t){return"translate(0,"+t+")"}function pu(t){return e=>+t(e)}function mu(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function du(){return!this.__axis}function yi(t,e){var n=[],r=null,i=null,o=6,s=6,u=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,f=t===cn||t===ln?-1:1,h=t===ln||t===fr?"x":"y",m=t===cn||t===lr?cu:hu;function c(d){var v=r??(e.ticks?e.ticks.apply(e,n):e.domain()),b=i??(e.tickFormat?e.tickFormat.apply(e,n):_i),S=Math.max(o,0)+u,C=e.range(),I=+C[0]+l,$=+C[C.length-1]+l,N=(e.bandwidth?mu:pu)(e.copy(),l),R=d.selection?d.selection():d,w=R.selectAll(".domain").data([null]),Y=R.selectAll(".tick").data(v,e).order(),F=Y.exit(),O=Y.enter().append("g").attr("class","tick"),W=Y.select("line"),B=Y.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Y=Y.merge(O),W=W.merge(O.append("line").attr("stroke","currentColor").attr(h+"2",f*o)),B=B.merge(O.append("text").attr("fill","currentColor").attr(h,f*S).attr("dy",t===cn?"0em":t===lr?"0.71em":"0.32em")),d!==R&&(w=w.transition(d),Y=Y.transition(d),W=W.transition(d),B=B.transition(d),F=F.transition(d).attr("opacity",gi).attr("transform",function(g){return isFinite(g=N(g))?m(g+l):this.getAttribute("transform")}),O.attr("opacity",gi).attr("transform",function(g){var x=this.parentNode.__axis;return m((x&&isFinite(x=x(g))?x:N(g))+l)})),F.remove(),w.attr("d",t===ln||t===fr?s?"M"+f*s+","+I+"H"+l+"V"+$+"H"+f*s:"M"+l+","+I+"V"+$:s?"M"+I+","+f*s+"V"+l+"H"+$+"V"+f*s:"M"+I+","+l+"H"+$),Y.attr("opacity",1).attr("transform",function(g){return m(N(g)+l)}),W.attr(h+"2",f*o),B.attr(h,f*S).text(b),R.filter(du).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===fr?"start":t===ln?"end":"middle"),R.each(function(){this.__axis=N})}return c.scale=function(d){return arguments.length?(e=d,c):e},c.ticks=function(){return n=Array.from(arguments),c},c.tickArguments=function(d){return arguments.length?(n=d==null?[]:Array.from(d),c):n.slice()},c.tickValues=function(d){return arguments.length?(r=d==null?null:Array.from(d),c):r&&r.slice()},c.tickFormat=function(d){return arguments.length?(i=d,c):i},c.tickSize=function(d){return arguments.length?(o=s=+d,c):o},c.tickSizeInner=function(d){return arguments.length?(o=+d,c):o},c.tickSizeOuter=function(d){return arguments.length?(s=+d,c):s},c.tickPadding=function(d){return arguments.length?(u=+d,c):u},c.offset=function(d){return arguments.length?(l=+d,c):l},c}function xu(t){return yi(cn,t)}function _u(t){return yi(lr,t)}a();a();a();a();a();function gu(){}function Xt(t){return t==null?gu:function(){return this.querySelector(t)}}function vi(t){typeof t!="function"&&(t=Xt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],s=o.length,u=r[i]=new Array(s),l,f,h=0;h<s;++h)(l=o[h])&&(f=t.call(l,l.__data__,h,o))&&("__data__"in l&&(f.__data__=l.__data__),u[h]=f);return new Z(r,this._parents)}a();a();function cr(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}a();function yu(){return[]}function Ie(t){return t==null?yu:function(){return this.querySelectorAll(t)}}function vu(t){return function(){return cr(t.apply(this,arguments))}}function wi(t){typeof t=="function"?t=vu(t):t=Ie(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var s=e[o],u=s.length,l,f=0;f<u;++f)(l=s[f])&&(r.push(t.call(l,l.__data__,f,s)),i.push(l));return new Z(r,i)}a();a();function Ee(t){return function(){return this.matches(t)}}function hn(t){return function(e){return e.matches(t)}}var wu=Array.prototype.find;function bu(t){return function(){return wu.call(this.children,t)}}function Mu(){return this.firstElementChild}function bi(t){return this.select(t==null?Mu:bu(typeof t=="function"?t:hn(t)))}a();var Tu=Array.prototype.filter;function ku(){return Array.from(this.children)}function Su(t){return function(){return Tu.call(this.children,t)}}function Mi(t){return this.selectAll(t==null?ku:Su(typeof t=="function"?t:hn(t)))}a();function Ti(t){typeof t!="function"&&(t=Ee(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],s=o.length,u=r[i]=[],l,f=0;f<s;++f)(l=o[f])&&t.call(l,l.__data__,f,o)&&u.push(l);return new Z(r,this._parents)}a();a();a();function pn(t){return new Array(t.length)}function ki(){return new Z(this._enter||this._groups.map(pn),this._parents)}function Re(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Re.prototype={constructor:Re,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};a();function Si(t){return function(){return t}}function Cu(t,e,n,r,i,o){for(var s=0,u,l=e.length,f=o.length;s<f;++s)(u=e[s])?(u.__data__=o[s],r[s]=u):n[s]=new Re(t,o[s]);for(;s<l;++s)(u=e[s])&&(i[s]=u)}function Nu(t,e,n,r,i,o,s){var u,l,f=new Map,h=e.length,m=o.length,c=new Array(h),d;for(u=0;u<h;++u)(l=e[u])&&(c[u]=d=s.call(l,l.__data__,u,e)+"",f.has(d)?i[u]=l:f.set(d,l));for(u=0;u<m;++u)d=s.call(t,o[u],u,o)+"",(l=f.get(d))?(r[u]=l,l.__data__=o[u],f.delete(d)):n[u]=new Re(t,o[u]);for(u=0;u<h;++u)(l=e[u])&&f.get(c[u])===l&&(i[u]=l)}function Au(t){return t.__data__}function Ci(t,e){if(!arguments.length)return Array.from(this,Au);var n=e?Nu:Cu,r=this._parents,i=this._groups;typeof t!="function"&&(t=Si(t));for(var o=i.length,s=new Array(o),u=new Array(o),l=new Array(o),f=0;f<o;++f){var h=r[f],m=i[f],c=m.length,d=Du(t.call(h,h&&h.__data__,f,r)),v=d.length,b=u[f]=new Array(v),S=s[f]=new Array(v),C=l[f]=new Array(c);n(h,m,b,S,C,d,e);for(var I=0,$=0,N,R;I<v;++I)if(N=b[I]){for(I>=$&&($=I+1);!(R=S[$])&&++$<v;);N._next=R||null}}return s=new Z(s,r),s._enter=u,s._exit=l,s}function Du(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}a();function Ni(){return new Z(this._exit||this._groups.map(pn),this._parents)}a();function Ai(t,e,n){var r=this.enter(),i=this,o=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?o.remove():n(o),r&&i?r.merge(i).order():i}a();function Di(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,s=Math.min(i,o),u=new Array(i),l=0;l<s;++l)for(var f=n[l],h=r[l],m=f.length,c=u[l]=new Array(m),d,v=0;v<m;++v)(d=f[v]||h[v])&&(c[v]=d);for(;l<i;++l)u[l]=n[l];return new Z(u,this._parents)}a();function $i(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,o=r[i],s;--i>=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}a();function Oi(t){t||(t=$u);function e(m,c){return m&&c?t(m.__data__,c.__data__):!m-!c}for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var s=n[o],u=s.length,l=i[o]=new Array(u),f,h=0;h<u;++h)(f=s[h])&&(l[h]=f);l.sort(e)}return new Z(i,this._parents).order()}function $u(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}a();function Ii(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}a();function Ei(){return Array.from(this)}a();function Ri(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null}a();function Yi(){let t=0;for(let e of this)++t;return t}a();function Pi(){return!this.node()}a();function Fi(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],o=0,s=i.length,u;o<s;++o)(u=i[o])&&t.call(u,u.__data__,o,i);return this}a();a();a();var mn="http://www.w3.org/1999/xhtml",hr={svg:"http://www.w3.org/2000/svg",xhtml:mn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Nt(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),hr.hasOwnProperty(e)?{space:hr[e],local:t}:t}function Ou(t){return function(){this.removeAttribute(t)}}function Iu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Eu(t,e){return function(){this.setAttribute(t,e)}}function Ru(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Yu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Pu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ui(t,e){var n=Nt(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Iu:Ou:typeof e=="function"?n.local?Pu:Yu:n.local?Ru:Eu)(n,e))}a();a();function dn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Fu(t){return function(){this.style.removeProperty(t)}}function Uu(t,e,n){return function(){this.style.setProperty(t,e,n)}}function zu(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function zi(t,e,n){return arguments.length>1?this.each((e==null?Fu:typeof e=="function"?zu:Uu)(t,e,n??"")):Rt(this.node(),t)}function Rt(t,e){return t.style.getPropertyValue(e)||dn(t).getComputedStyle(t,null).getPropertyValue(e)}a();function Lu(t){return function(){delete this[t]}}function Hu(t,e){return function(){this[t]=e}}function Bu(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Li(t,e){return arguments.length>1?this.each((e==null?Lu:typeof e=="function"?Bu:Hu)(t,e)):this.node()[t]}a();function Hi(t){return t.trim().split(/^|\s+/)}function pr(t){return t.classList||new Bi(t)}function Bi(t){this._node=t,this._names=Hi(t.getAttribute("class")||"")}Bi.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function qi(t,e){for(var n=pr(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Wi(t,e){for(var n=pr(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function qu(t){return function(){qi(this,t)}}function Wu(t){return function(){Wi(this,t)}}function Vu(t,e){return function(){(e.apply(this,arguments)?qi:Wi)(this,t)}}function Vi(t,e){var n=Hi(t+"");if(arguments.length<2){for(var r=pr(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Vu:e?qu:Wu)(n,e))}a();function Xu(){this.textContent=""}function Gu(t){return function(){this.textContent=t}}function Zu(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Xi(t){return arguments.length?this.each(t==null?Xu:(typeof t=="function"?Zu:Gu)(t)):this.node().textContent}a();function Qu(){this.innerHTML=""}function Ku(t){return function(){this.innerHTML=t}}function Ju(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Gi(t){return arguments.length?this.each(t==null?Qu:(typeof t=="function"?Ju:Ku)(t)):this.node().innerHTML}a();function ju(){this.nextSibling&&this.parentNode.appendChild(this)}function Zi(){return this.each(ju)}a();function tf(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Qi(){return this.each(tf)}a();a();function ef(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===mn&&e.documentElement.namespaceURI===mn?e.createElement(t):e.createElementNS(n,t)}}function nf(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function xn(t){var e=Nt(t);return(e.local?nf:ef)(e)}function Ki(t){var e=typeof t=="function"?t:xn(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}a();function rf(){return null}function Ji(t,e){var n=typeof t=="function"?t:xn(t),r=e==null?rf:typeof e=="function"?e:Xt(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}a();function of(){var t=this.parentNode;t&&t.removeChild(this)}function ji(){return this.each(of)}a();function af(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function sf(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function to(t){return this.select(t?sf:af)}a();function eo(t){return arguments.length?this.property("__data__",t):this.node().__data__}a();function uf(t){return function(e){t.call(this,e,this.__data__)}}function ff(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function lf(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,o;n<i;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++r]=o;++r?e.length=r:delete this.__on}}}function cf(t,e,n){return function(){var r=this.__on,i,o=uf(e);if(r){for(var s=0,u=r.length;s<u;++s)if((i=r[s]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),i.value=e;return}}this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},r?r.push(i):this.__on=[i]}}function no(t,e,n){var r=ff(t+""),i,o=r.length,s;if(arguments.length<2){var u=this.node().__on;if(u){for(var l=0,f=u.length,h;l<f;++l)for(i=0,h=u[l];i<o;++i)if((s=r[i]).type===h.type&&s.name===h.name)return h.value}return}for(u=e?cf:lf,i=0;i<o;++i)this.each(u(r[i],e,n));return this}a();function ro(t,e,n){var r=dn(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function hf(t,e){return function(){return ro(this,t,e)}}function pf(t,e){return function(){return ro(this,t,e.apply(this,arguments))}}function io(t,e){return this.each((typeof e=="function"?pf:hf)(t,e))}a();function*oo(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length,s;i<o;++i)(s=r[i])&&(yield s)}var mr=[null];function Z(t,e){this._groups=t,this._parents=e}function ao(){return new Z([[document.documentElement]],mr)}function mf(){return this}Z.prototype=ao.prototype={constructor:Z,select:vi,selectAll:wi,selectChild:bi,selectChildren:Mi,filter:Ti,data:Ci,enter:ki,exit:Ni,join:Ai,merge:Di,selection:mf,order:$i,sort:Oi,call:Ii,nodes:Ei,node:Ri,size:Yi,empty:Pi,each:Fi,attr:Ui,style:zi,property:Li,classed:Vi,text:Xi,html:Gi,raise:Zi,lower:Qi,append:Ki,insert:Ji,remove:ji,clone:to,datum:eo,on:no,dispatch:io,[Symbol.iterator]:oo};var At=ao;function df(t){return typeof t=="string"?new Z([[document.querySelector(t)]],[document.documentElement]):new Z([[t]],mr)}a();a();a();a();a();function Gt(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function he(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Yt(){}var Ye=.7,yn=1/Ye,pe="\\s*([+-]?\\d+)\\s*",Pe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",wt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",xf=/^#([0-9a-f]{3,8})$/,_f=new RegExp(`^rgb\\(${pe},${pe},${pe}\\)$`),gf=new RegExp(`^rgb\\(${wt},${wt},${wt}\\)$`),yf=new RegExp(`^rgba\\(${pe},${pe},${pe},${Pe}\\)$`),vf=new RegExp(`^rgba\\(${wt},${wt},${wt},${Pe}\\)$`),wf=new RegExp(`^hsl\\(${Pe},${wt},${wt}\\)$`),bf=new RegExp(`^hsla\\(${Pe},${wt},${wt},${Pe}\\)$`),so={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Gt(Yt,gt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:uo,formatHex:uo,formatHex8:Mf,formatHsl:Tf,formatRgb:fo,toString:fo});function uo(){return this.rgb().formatHex()}function Mf(){return this.rgb().formatHex8()}function Tf(){return xo(this).formatHsl()}function fo(){return this.rgb().formatRgb()}function gt(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=xf.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?lo(e):n===3?new nt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?_n(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?_n(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=_f.exec(t))?new nt(e[1],e[2],e[3],1):(e=gf.exec(t))?new nt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=yf.exec(t))?_n(e[1],e[2],e[3],e[4]):(e=vf.exec(t))?_n(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=wf.exec(t))?po(e[1],e[2]/100,e[3]/100,1):(e=bf.exec(t))?po(e[1],e[2]/100,e[3]/100,e[4]):so.hasOwnProperty(t)?lo(so[t]):t==="transparent"?new nt(NaN,NaN,NaN,0):null}function lo(t){return new nt(t>>16&255,t>>8&255,t&255,1)}function _n(t,e,n,r){return r<=0&&(t=e=n=NaN),new nt(t,e,n,r)}function xr(t){return t instanceof Yt||(t=gt(t)),t?(t=t.rgb(),new nt(t.r,t.g,t.b,t.opacity)):new nt}function me(t,e,n,r){return arguments.length===1?xr(t):new nt(t,e,n,r??1)}function nt(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}Gt(nt,me,he(Yt,{brighter(t){return t=t==null?yn:Math.pow(yn,t),new nt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Ye:Math.pow(Ye,t),new nt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new nt(Qt(this.r),Qt(this.g),Qt(this.b),vn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:co,formatHex:co,formatHex8:kf,formatRgb:ho,toString:ho}));function co(){return`#${Zt(this.r)}${Zt(this.g)}${Zt(this.b)}`}function kf(){return`#${Zt(this.r)}${Zt(this.g)}${Zt(this.b)}${Zt((isNaN(this.opacity)?1:this.opacity)*255)}`}function ho(){let t=vn(this.opacity);return`${t===1?"rgb(":"rgba("}${Qt(this.r)}, ${Qt(this.g)}, ${Qt(this.b)}${t===1?")":`, ${t})`}`}function vn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Qt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Zt(t){return t=Qt(t),(t<16?"0":"")+t.toString(16)}function po(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new _t(t,e,n,r)}function xo(t){if(t instanceof _t)return new _t(t.h,t.s,t.l,t.opacity);if(t instanceof Yt||(t=gt(t)),!t)return new _t;if(t instanceof _t)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,u=o-i,l=(o+i)/2;return u?(e===o?s=(n-r)/u+(n<r)*6:n===o?s=(r-e)/u+2:s=(e-n)/u+4,u/=l<.5?o+i:2-o-i,s*=60):u=l>0&&l<1?0:s,new _t(s,u,l,t.opacity)}function _o(t,e,n,r){return arguments.length===1?xo(t):new _t(t,e,n,r??1)}function _t(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Gt(_t,_o,he(Yt,{brighter(t){return t=t==null?yn:Math.pow(yn,t),new _t(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Ye:Math.pow(Ye,t),new _t(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new nt(dr(t>=240?t-240:t+120,i,r),dr(t,i,r),dr(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new _t(mo(this.h),gn(this.s),gn(this.l),vn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=vn(this.opacity);return`${t===1?"hsl(":"hsla("}${mo(this.h)}, ${gn(this.s)*100}%, ${gn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function mo(t){return t=(t||0)%360,t<0?t+360:t}function gn(t){return Math.max(0,Math.min(1,t||0))}function dr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}a();a();var go=Math.PI/180,yo=180/Math.PI;var wn=18,vo=.96422,wo=1,bo=.82521,Mo=4/29,de=6/29,To=3*de*de,Sf=de*de*de;function ko(t){if(t instanceof bt)return new bt(t.l,t.a,t.b,t.opacity);if(t instanceof Dt)return So(t);t instanceof nt||(t=xr(t));var e=vr(t.r),n=vr(t.g),r=vr(t.b),i=_r((.2225045*e+.7168786*n+.0606169*r)/wo),o,s;return e===n&&n===r?o=s=i:(o=_r((.4360747*e+.3850649*n+.1430804*r)/vo),s=_r((.0139322*e+.0971045*n+.7141733*r)/bo)),new bt(116*i-16,500*(o-i),200*(i-s),t.opacity)}function wr(t,e,n,r){return arguments.length===1?ko(t):new bt(t,e,n,r??1)}function bt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Gt(bt,wr,he(Yt,{brighter(t){return new bt(this.l+wn*(t??1),this.a,this.b,this.opacity)},darker(t){return new bt(this.l-wn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=vo*gr(e),t=wo*gr(t),n=bo*gr(n),new nt(yr(3.1338561*e-1.6168667*t-.4906146*n),yr(-.9787684*e+1.9161415*t+.033454*n),yr(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function _r(t){return t>Sf?Math.pow(t,1/3):t/To+Mo}function gr(t){return t>de?t*t*t:To*(t-Mo)}function yr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function vr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Cf(t){if(t instanceof Dt)return new Dt(t.h,t.c,t.l,t.opacity);if(t instanceof bt||(t=ko(t)),t.a===0&&t.b===0)return new Dt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*yo;return new Dt(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Fe(t,e,n,r){return arguments.length===1?Cf(t):new Dt(t,e,n,r??1)}function Dt(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function So(t){if(isNaN(t.h))return new bt(t.l,0,0,t.opacity);var e=t.h*go;return new bt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Gt(Dt,Fe,he(Yt,{brighter(t){return new Dt(this.h,this.c,this.l+wn*(t??1),this.opacity)},darker(t){return new Dt(this.h,this.c,this.l-wn*(t??1),this.opacity)},rgb(){return So(this).rgb()}}));a();a();var xe=t=>()=>t;function Co(t,e){return function(n){return t+n*e}}function Nf(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function No(t,e){var n=e-t;return n?Co(t,n>180||n<-180?n-360*Math.round(n/360):n):xe(isNaN(t)?e:t)}function Ao(t){return(t=+t)==1?$t:function(e,n){return n-e?Nf(e,n,t):xe(isNaN(e)?n:e)}}function $t(t,e){var n=e-t;return n?Co(t,n):xe(isNaN(t)?e:t)}function Do(t){return function(e,n){var r=t((e=Fe(e)).h,(n=Fe(n)).h),i=$t(e.c,n.c),o=$t(e.l,n.l),s=$t(e.opacity,n.opacity);return function(u){return e.h=r(u),e.c=i(u),e.l=o(u),e.opacity=s(u),e+""}}}var Af=Do(No),Df=Do($t);a();a();a();a();function br(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}function $o(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,u=r<e-1?t[r+2]:2*o-i;return br((n-r/e)*e,s,i,o,u)}}a();function Oo(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],s=t[(r+1)%e],u=t[(r+2)%e];return br((n-r/e)*e,i,o,s,u)}}var Kt=(function t(e){var n=Ao(e);function r(i,o){var s=n((i=me(i)).r,(o=me(o)).r),u=n(i.g,o.g),l=n(i.b,o.b),f=$t(i.opacity,o.opacity);return function(h){return i.r=s(h),i.g=u(h),i.b=l(h),i.opacity=f(h),i+""}}return r.gamma=t,r})(1);function Io(t){return function(e){var n=e.length,r=new Array(n),i=new Array(n),o=new Array(n),s,u;for(s=0;s<n;++s)u=me(e[s]),r[s]=u.r||0,i[s]=u.g||0,o[s]=u.b||0;return r=t(r),i=t(i),o=t(o),u.opacity=1,function(l){return u.r=r(l),u.g=i(l),u.b=o(l),u+""}}}var $f=Io($o),Of=Io(Oo);a();a();function Eo(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(o){for(i=0;i<n;++i)r[i]=t[i]*(1-o)+e[i]*o;return r}}function Ro(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Yo(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,i=new Array(r),o=new Array(n),s;for(s=0;s<r;++s)i[s]=Jt(t[s],e[s]);for(;s<n;++s)o[s]=e[s];return function(u){for(s=0;s<r;++s)o[s]=i[s](u);return o}}a();function Po(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}a();function rt(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}a();function Fo(t,e){var n={},r={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?n[i]=Jt(t[i],e[i]):r[i]=e[i];return function(o){for(i in n)r[i]=n[i](o);return r}}a();var Tr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Mr=new RegExp(Tr.source,"g");function If(t){return function(){return t}}function Ef(t){return function(e){return t(e)+""}}function Ue(t,e){var n=Tr.lastIndex=Mr.lastIndex=0,r,i,o,s=-1,u=[],l=[];for(t=t+"",e=e+"";(r=Tr.exec(t))&&(i=Mr.exec(e));)(o=i.index)>n&&(o=e.slice(n,o),u[s]?u[s]+=o:u[++s]=o),(r=r[0])===(i=i[0])?u[s]?u[s]+=i:u[++s]=i:(u[++s]=null,l.push({i:s,x:rt(r,i)})),n=Mr.lastIndex;return n<e.length&&(o=e.slice(n),u[s]?u[s]+=o:u[++s]=o),u.length<2?l[0]?Ef(l[0].x):If(e):(e=l.length,function(f){for(var h=0,m;h<e;++h)u[(m=l[h]).i]=m.x(f);return u.join("")})}function Jt(t,e){var n=typeof e,r;return e==null||n==="boolean"?xe(e):(n==="number"?rt:n==="string"?(r=gt(e))?(e=r,Kt):Ue:e instanceof gt?Kt:e instanceof Date?Po:Ro(e)?Eo:Array.isArray(e)?Yo:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Fo:rt)(t,e)}a();function kr(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}a();a();a();var Uo=180/Math.PI,bn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Sr(t,e,n,r,i,o){var s,u,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,l/=u),t*r<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Uo,skewX:Math.atan(l)*Uo,scaleX:s,scaleY:u}}var Mn;function zo(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?bn:Sr(e.a,e.b,e.c,e.d,e.e,e.f)}function Lo(t){return t==null?bn:(Mn||(Mn=document.createElementNS("http://www.w3.org/2000/svg","g")),Mn.setAttribute("transform",t),(t=Mn.transform.baseVal.consolidate())?(t=t.matrix,Sr(t.a,t.b,t.c,t.d,t.e,t.f)):bn)}function Ho(t,e,n,r){function i(f){return f.length?f.pop()+" ":""}function o(f,h,m,c,d,v){if(f!==m||h!==c){var b=d.push("translate(",null,e,null,n);v.push({i:b-4,x:rt(f,m)},{i:b-2,x:rt(h,c)})}else(m||c)&&d.push("translate("+m+e+c+n)}function s(f,h,m,c){f!==h?(f-h>180?h+=360:h-f>180&&(f+=360),c.push({i:m.push(i(m)+"rotate(",null,r)-2,x:rt(f,h)})):h&&m.push(i(m)+"rotate("+h+r)}function u(f,h,m,c){f!==h?c.push({i:m.push(i(m)+"skewX(",null,r)-2,x:rt(f,h)}):h&&m.push(i(m)+"skewX("+h+r)}function l(f,h,m,c,d,v){if(f!==m||h!==c){var b=d.push(i(d)+"scale(",null,",",null,")");v.push({i:b-4,x:rt(f,m)},{i:b-2,x:rt(h,c)})}else(m!==1||c!==1)&&d.push(i(d)+"scale("+m+","+c+")")}return function(f,h){var m=[],c=[];return f=t(f),h=t(h),o(f.translateX,f.translateY,h.translateX,h.translateY,m,c),s(f.rotate,h.rotate,m,c),u(f.skewX,h.skewX,m,c),l(f.scaleX,f.scaleY,h.scaleX,h.scaleY,m,c),f=h=null,function(d){for(var v=-1,b=c.length,S;++v<b;)m[(S=c[v]).i]=S.x(d);return m.join("")}}}var Cr=Ho(zo,"px, ","px)","deg)"),Nr=Ho(Lo,", ",")",")");a();a();a();a();function Bo(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function jt(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Mt(t){return t=jt(Math.abs(t)),t?t[1]:NaN}a();function qo(t,e){return function(n,r){for(var i=n.length,o=[],s=0,u=t[0],l=0;i>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),o.push(n.substring(i-=u,i+u)),!((l+=u+1)>r));)u=t[s=(s+1)%t.length];return o.reverse().join(e)}}a();function Wo(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}a();var Rf=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Pt(t){if(!(e=Rf.exec(t)))throw new Error("invalid format: "+t);var e;return new Tn({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}Pt.prototype=Tn.prototype;function Tn(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Tn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};a();function Vo(t){t:for(var e=t.length,n=1,r=-1,i;n<e;++n)switch(t[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+t[n])break t;r>0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}a();a();var ze;function Xo(t,e){var n=jt(t,e);if(!n)return ze=void 0,t.toPrecision(e);var r=n[0],i=n[1],o=i-(ze=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+jt(t,Math.max(0,e+o-1))[0]}a();function Ar(t,e){var n=jt(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var Dr={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Bo,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Ar(t*100,e),r:Ar,s:Xo,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};a();function $r(t){return t}var Go=Array.prototype.map,Zo=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Qo(t){var e=t.grouping===void 0||t.thousands===void 0?$r:qo(Go.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?$r:Wo(Go.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"\u2212":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function f(m,c){m=Pt(m);var d=m.fill,v=m.align,b=m.sign,S=m.symbol,C=m.zero,I=m.width,$=m.comma,N=m.precision,R=m.trim,w=m.type;w==="n"?($=!0,w="g"):Dr[w]||(N===void 0&&(N=12),R=!0,w="g"),(C||d==="0"&&v==="=")&&(C=!0,d="0",v="=");var Y=(c&&c.prefix!==void 0?c.prefix:"")+(S==="$"?n:S==="#"&&/[boxX]/.test(w)?"0"+w.toLowerCase():""),F=(S==="$"?r:/[%p]/.test(w)?s:"")+(c&&c.suffix!==void 0?c.suffix:""),O=Dr[w],W=/[defgprs%]/.test(w);N=N===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function B(g){var x=Y,_=F,k,M,A;if(w==="c")_=O(g)+_,g="";else{g=+g;var D=g<0||1/g<0;if(g=isNaN(g)?l:O(Math.abs(g),N),R&&(g=Vo(g)),D&&+g==0&&b!=="+"&&(D=!1),x=(D?b==="("?b:u:b==="-"||b==="("?"":b)+x,_=(w==="s"&&!isNaN(g)&&ze!==void 0?Zo[8+ze/3]:"")+_+(D&&b==="("?")":""),W){for(k=-1,M=g.length;++k<M;)if(A=g.charCodeAt(k),48>A||A>57){_=(A===46?i+g.slice(k+1):g.slice(k))+_,g=g.slice(0,k);break}}}$&&!C&&(g=e(g,1/0));var U=x.length+g.length+_.length,z=U<I?new Array(I-U+1).join(d):"";switch($&&C&&(g=e(z+g,z.length?I-_.length:1/0),z=""),v){case"<":g=x+g+_+z;break;case"=":g=x+z+g+_;break;case"^":g=z.slice(0,U=z.length>>1)+x+g+_+z.slice(U);break;default:g=z+x+g+_;break}return o(g)}return B.toString=function(){return m+""},B}function h(m,c){var d=Math.max(-8,Math.min(8,Math.floor(Mt(c)/3)))*3,v=Math.pow(10,-d),b=f((m=Pt(m),m.type="f",m),{suffix:Zo[8+d/3]});return function(S){return b(v*S)}}return{format:f,formatPrefix:h}}var kn,Sn,Cn;Or({thousands:",",grouping:[3],currency:["$",""]});function Or(t){return kn=Qo(t),Sn=kn.format,Cn=kn.formatPrefix,kn}a();a();function Ir(t){return Math.max(0,-Mt(Math.abs(t)))}a();function Er(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Mt(e)/3)))*3-Mt(Math.abs(t)))}a();function Rr(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Mt(e)-Mt(t))+1}a();a();function Yf(t){var e=0,n=t.children,r=n&&n.length;if(!r)e=1;else for(;--r>=0;)e+=n[r].value;t.value=e}function Ko(){return this.eachAfter(Yf)}a();function Jo(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this}a();function jo(t,e){for(var n=this,r=[n],i,o,s=-1;n=r.pop();)if(t.call(e,n,++s,this),i=n.children)for(o=i.length-1;o>=0;--o)r.push(i[o]);return this}a();function ta(t,e){for(var n=this,r=[n],i=[],o,s,u,l=-1;n=r.pop();)if(i.push(n),o=n.children)for(s=0,u=o.length;s<u;++s)r.push(o[s]);for(;n=i.pop();)t.call(e,n,++l,this);return this}a();function ea(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r}a();function na(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})}a();function ra(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}a();function ia(t){for(var e=this,n=Pf(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r}function Pf(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}a();function oa(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}a();function aa(){return Array.from(this)}a();function sa(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}a();function ua(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}a();function*fa(){var t=this,e,n=[t],r,i,o;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,r=t.children)for(i=0,o=r.length;i<o;++i)n.push(r[i]);while(n.length)}function Nn(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=zf)):e===void 0&&(e=Uf);for(var n=new Le(t),r,i=[n],o,s,u,l;r=i.pop();)if((s=e(r.data))&&(l=(s=Array.from(s)).length))for(r.children=s,u=l-1;u>=0;--u)i.push(o=s[u]=new Le(s[u])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(Hf)}function Ff(){return Nn(this).eachBefore(Lf)}function Uf(t){return t.children}function zf(t){return Array.isArray(t)?t[1]:null}function Lf(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Hf(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function Le(t){this.data=t,this.depth=this.height=0,this.parent=null}Le.prototype=Nn.prototype={constructor:Le,count:Ko,each:Jo,eachAfter:ta,eachBefore:jo,find:ea,sum:na,sort:ra,path:ia,ancestors:oa,descendants:aa,leaves:sa,links:ua,copy:Ff,[Symbol.iterator]:fa};a();a();function la(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}a();a();function ca(t,e,n,r,i){for(var o=t.children,s,u=-1,l=o.length,f=t.value&&(r-e)/t.value;++u<l;)s=o[u],s.y0=n,s.y1=i,s.x0=e,s.x1=e+=s.value*f}a();function ha(t,e,n,r,i){for(var o=t.children,s,u=-1,l=o.length,f=t.value&&(i-n)/t.value;++u<l;)s=o[u],s.x0=e,s.x1=r,s.y0=n,s.y1=n+=s.value*f}var Bf=(1+Math.sqrt(5))/2;function qf(t,e,n,r,i,o){for(var s=[],u=e.children,l,f,h=0,m=0,c=u.length,d,v,b=e.value,S,C,I,$,N,R,w;h<c;){d=i-n,v=o-r;do S=u[m++].value;while(!S&&m<c);for(C=I=S,R=Math.max(v/d,d/v)/(b*t),w=S*S*R,N=Math.max(I/w,w/C);m<c;++m){if(S+=f=u[m].value,f<C&&(C=f),f>I&&(I=f),w=S*S*R,$=Math.max(I/w,w/C),$>N){S-=f;break}N=$}s.push(l={value:S,dice:d<v,children:u.slice(h,m)}),l.dice?ca(l,n,r,i,b?r+=v*S/b:o):ha(l,n,r,b?n+=d*S/b:i,o),b-=S,h=m}return s}var pa=(function t(e){function n(r,i,o,s,u){qf(e,r,i,o,s,u)}return n.ratio=function(r){return t((r=+r)>1?r:1)},n})(Bf);a();function ma(t){if(typeof t!="function")throw new Error;return t}a();function _e(){return 0}function ge(t){return function(){return t}}function Wf(){var t=pa,e=!1,n=1,r=1,i=[0],o=_e,s=_e,u=_e,l=_e,f=_e;function h(c){return c.x0=c.y0=0,c.x1=n,c.y1=r,c.eachBefore(m),i=[0],e&&c.eachBefore(la),c}function m(c){var d=i[c.depth],v=c.x0+d,b=c.y0+d,S=c.x1-d,C=c.y1-d;S<v&&(v=S=(v+S)/2),C<b&&(b=C=(b+C)/2),c.x0=v,c.y0=b,c.x1=S,c.y1=C,c.children&&(d=i[c.depth+1]=o(c)/2,v+=f(c)-d,b+=s(c)-d,S-=u(c)-d,C-=l(c)-d,S<v&&(v=S=(v+S)/2),C<b&&(b=C=(b+C)/2),t(c,v,b,S,C))}return h.round=function(c){return arguments.length?(e=!!c,h):e},h.size=function(c){return arguments.length?(n=+c[0],r=+c[1],h):[n,r]},h.tile=function(c){return arguments.length?(t=ma(c),h):t},h.padding=function(c){return arguments.length?h.paddingInner(c).paddingOuter(c):h.paddingInner()},h.paddingInner=function(c){return arguments.length?(o=typeof c=="function"?c:ge(+c),h):o},h.paddingOuter=function(c){return arguments.length?h.paddingTop(c).paddingRight(c).paddingBottom(c).paddingLeft(c):h.paddingTop()},h.paddingTop=function(c){return arguments.length?(s=typeof c=="function"?c:ge(+c),h):s},h.paddingRight=function(c){return arguments.length?(u=typeof c=="function"?c:ge(+c),h):u},h.paddingBottom=function(c){return arguments.length?(l=typeof c=="function"?c:ge(+c),h):l},h.paddingLeft=function(c){return arguments.length?(f=typeof c=="function"?c:ge(+c),h):f},h}a();a();a();function Ft(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var Yr=Symbol("implicit");function He(){var t=new le,e=[],n=[],r=Yr;function i(o){let s=t.get(o);if(s===void 0){if(r!==Yr)return r;t.set(o,s=e.push(o)-1)}return n[s%n.length]}return i.domain=function(o){if(!arguments.length)return e.slice();e=[],t=new le;for(let s of o)t.has(s)||t.set(s,e.push(s)-1);return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return He(e,n).unknown(r)},Ft.apply(i,arguments),i}a();function Pr(){var t=He().unknown(void 0),e=t.domain,n=t.range,r=0,i=1,o,s,u=!1,l=0,f=0,h=.5;delete t.unknown;function m(){var c=e().length,d=i<r,v=d?i:r,b=d?r:i;o=(b-v)/Math.max(1,c-l+f*2),u&&(o=Math.floor(o)),v+=(b-v-o*(c-l))*h,s=o*(1-l),u&&(v=Math.round(v),s=Math.round(s));var S=fn(c).map(function(C){return v+o*C});return n(d?S.reverse():S)}return t.domain=function(c){return arguments.length?(e(c),m()):e()},t.range=function(c){return arguments.length?([r,i]=c,r=+r,i=+i,m()):[r,i]},t.rangeRound=function(c){return[r,i]=c,r=+r,i=+i,u=!0,m()},t.bandwidth=function(){return s},t.step=function(){return o},t.round=function(c){return arguments.length?(u=!!c,m()):u},t.padding=function(c){return arguments.length?(l=Math.min(1,f=+c),m()):l},t.paddingInner=function(c){return arguments.length?(l=Math.min(1,c),m()):l},t.paddingOuter=function(c){return arguments.length?(f=+c,m()):f},t.align=function(c){return arguments.length?(h=Math.max(0,Math.min(1,c)),m()):h},t.copy=function(){return Pr(e(),[r,i]).round(u).paddingInner(l).paddingOuter(f).align(h)},Ft.apply(m(),arguments)}a();a();a();function Fr(t){return function(){return t}}a();function Ur(t){return+t}var da=[0,1];function ye(t){return t}function zr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Fr(isNaN(e)?NaN:.5)}function Vf(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function Xf(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i<r?(r=zr(i,r),o=n(s,o)):(r=zr(r,i),o=n(o,s)),function(u){return o(r(u))}}function Gf(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<r;)i[s]=zr(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(u){var l=ur(t,u,1,r)-1;return o[l](i[l](u))}}function An(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Zf(){var t=da,e=da,n=Jt,r,i,o,s=ye,u,l,f;function h(){var c=Math.min(t.length,e.length);return s!==ye&&(s=Vf(t[0],t[c-1])),u=c>2?Gf:Xf,l=f=null,m}function m(c){return c==null||isNaN(c=+c)?o:(l||(l=u(t.map(r),e,n)))(r(s(c)))}return m.invert=function(c){return s(i((f||(f=u(e,t.map(r),rt)))(c)))},m.domain=function(c){return arguments.length?(t=Array.from(c,Ur),h()):t.slice()},m.range=function(c){return arguments.length?(e=Array.from(c),h()):e.slice()},m.rangeRound=function(c){return e=Array.from(c),n=kr,h()},m.clamp=function(c){return arguments.length?(s=c?!0:ye,h()):s!==ye},m.interpolate=function(c){return arguments.length?(n=c,h()):n},m.unknown=function(c){return arguments.length?(o=c,m):o},function(c,d){return r=c,i=d,h()}}function Be(){return Zf()(ye,ye)}a();function Lr(t,e,n,r){var i=ce(t,e,n),o;switch(r=Pt(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(o=Er(i,s))&&(r.precision=o),Cn(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Rr(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Ir(i))&&(r.precision=o-(r.type==="%")*2);break}}return Sn(r)}function Qf(t){var e=t.domain;return t.ticks=function(n){var r=e();return un(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return Lr(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,o=r.length-1,s=r[i],u=r[o],l,f,h=10;for(u<s&&(f=s,s=u,u=f,f=i,i=o,o=f);h-- >0;){if(f=Oe(s,u,n),f===l)return r[i]=s,r[o]=u,e(r);if(f>0)s=Math.floor(s/f)*f,u=Math.ceil(u/f)*f;else if(f<0)s=Math.ceil(s*f)/f,u=Math.floor(u*f)/f;else break;l=f}return t},t}function Hr(){var t=Be();return t.copy=function(){return An(t,Hr())},Ft.apply(t,arguments),Qf(t)}a();a();var Br=new Date,qr=new Date;function H(t,e,n,r){function i(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(t(o=new Date(+o)),o),i.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),i.round=o=>{let s=i(o),u=i.ceil(o);return o-s<u-o?s:u},i.offset=(o,s)=>(e(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,u)=>{let l=[];if(o=i.ceil(o),u=u==null?1:Math.floor(u),!(o<s)||!(u>0))return l;let f;do l.push(f=new Date(+o)),e(o,u),t(o);while(f<o&&o<s);return l},i.filter=o=>H(s=>{if(s>=s)for(;t(s),!o(s);)s.setTime(s-1)},(s,u)=>{if(s>=s)if(u<0)for(;++u<=0;)for(;e(s,-1),!o(s););else for(;--u>=0;)for(;e(s,1),!o(s););}),n&&(i.count=(o,s)=>(Br.setTime(+o),qr.setTime(+s),t(Br),t(qr),Math.floor(n(Br,qr))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}var te=H(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);te.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?H(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):te);var xa=te.range;a();var Tt=H(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),_a=Tt.range;a();var ve=H(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),Kf=ve.range,Dn=H(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),Jf=Dn.range;a();var we=H(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getHours()),jf=we.range,$n=H(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),tl=$n.range;a();var Ot=H(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),el=Ot.range,We=H(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),nl=We.range,On=H(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5)),rl=On.range;a();function re(t){return H(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}var It=re(0),be=re(1),ya=re(2),va=re(3),Ut=re(4),wa=re(5),ba=re(6),Ma=It.range,il=be.range,ol=ya.range,al=va.range,sl=Ut.range,ul=wa.range,fl=ba.range;function ie(t){return H(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/6048e5)}var oe=ie(0),Me=ie(1),Ta=ie(2),ka=ie(3),zt=ie(4),Sa=ie(5),Ca=ie(6),Na=oe.range,ll=Me.range,cl=Ta.range,hl=ka.range,pl=zt.range,ml=Sa.range,dl=Ca.range;a();var Te=H(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),xl=Te.range,In=H(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),_l=In.range;a();a();var ct=H(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ct.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:H(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});var gl=ct.range,yt=H(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());yt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:H(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});var yl=yt.range;a();function Da(t,e,n,r,i,o){let s=[[Tt,1,1e3],[Tt,5,5*1e3],[Tt,15,15*1e3],[Tt,30,30*1e3],[o,1,6e4],[o,5,5*6e4],[o,15,15*6e4],[o,30,30*6e4],[i,1,36e5],[i,3,3*36e5],[i,6,6*36e5],[i,12,12*36e5],[r,1,864e5],[r,2,2*864e5],[n,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function u(f,h,m){let c=h<f;c&&([f,h]=[h,f]);let d=m&&typeof m.range=="function"?m:l(f,h,m),v=d?d.range(f,+h+1):[];return c?v.reverse():v}function l(f,h,m){let c=Math.abs(h-f)/m,d=Vt(([,,S])=>S).right(s,c);if(d===s.length)return t.every(ce(f/31536e6,h/31536e6,m));if(d===0)return te.every(Math.max(ce(f,h,m),1));let[v,b]=s[c/s[d-1][2]<s[d][2]/c?d-1:d];return v.every(b)}return[u,l]}var[wl,bl]=Da(yt,In,oe,On,$n,Dn),[Wr,Vr]=Da(ct,Te,It,Ot,we,ve);a();a();function Xr(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Gr(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ve(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Zr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,u=t.months,l=t.shortMonths,f=Xe(i),h=Ge(i),m=Xe(o),c=Ge(o),d=Xe(s),v=Ge(s),b=Xe(u),S=Ge(u),C=Xe(l),I=Ge(l),$={a:A,A:D,b:U,B:z,c:null,d:Ya,e:Ya,f:Wl,g:ec,G:rc,H:Hl,I:Bl,j:ql,L:La,m:Vl,M:Xl,p:V,q:G,Q:Ua,s:za,S:Gl,u:Zl,U:Ql,V:Kl,w:Jl,W:jl,x:null,X:null,y:tc,Y:nc,Z:ic,"%":Fa},N={a:j,A:ht,b:K,B:xt,c:null,d:Pa,e:Pa,f:uc,g:gc,G:vc,H:oc,I:ac,j:sc,L:Ba,m:fc,M:lc,p:ut,q:Q,Q:Ua,s:za,S:cc,u:hc,U:pc,V:mc,w:dc,W:xc,x:null,X:null,y:_c,Y:yc,Z:wc,"%":Fa},R={a:W,A:B,b:g,B:x,c:_,d:Ea,e:Ea,f:Fl,g:Ia,G:Oa,H:Ra,I:Ra,j:El,L:Pl,m:Il,M:Rl,p:O,q:Ol,Q:zl,s:Ll,S:Yl,u:Cl,U:Nl,V:Al,w:Sl,W:Dl,x:k,X:M,y:Ia,Y:Oa,Z:$l,"%":Ul};$.x=w(n,$),$.X=w(r,$),$.c=w(e,$),N.x=w(n,N),N.X=w(r,N),N.c=w(e,N);function w(T,E){return function(P){var y=[],st=-1,q=0,ft=T.length,lt,qt,fi;for(P instanceof Date||(P=new Date(+P));++st<ft;)T.charCodeAt(st)===37&&(y.push(T.slice(q,st)),(qt=$a[lt=T.charAt(++st)])!=null?lt=T.charAt(++st):qt=lt==="e"?" ":"0",(fi=E[lt])&&(lt=fi(P,qt)),y.push(lt),q=st+1);return y.push(T.slice(q,st)),y.join("")}}function Y(T,E){return function(P){var y=Ve(1900,void 0,1),st=F(y,T,P+="",0),q,ft;if(st!=P.length)return null;if("Q"in y)return new Date(y.Q);if("s"in y)return new Date(y.s*1e3+("L"in y?y.L:0));if(E&&!("Z"in y)&&(y.Z=0),"p"in y&&(y.H=y.H%12+y.p*12),y.m===void 0&&(y.m="q"in y?y.q:0),"V"in y){if(y.V<1||y.V>53)return null;"w"in y||(y.w=1),"Z"in y?(q=Gr(Ve(y.y,0,1)),ft=q.getUTCDay(),q=ft>4||ft===0?Me.ceil(q):Me(q),q=We.offset(q,(y.V-1)*7),y.y=q.getUTCFullYear(),y.m=q.getUTCMonth(),y.d=q.getUTCDate()+(y.w+6)%7):(q=Xr(Ve(y.y,0,1)),ft=q.getDay(),q=ft>4||ft===0?be.ceil(q):be(q),q=Ot.offset(q,(y.V-1)*7),y.y=q.getFullYear(),y.m=q.getMonth(),y.d=q.getDate()+(y.w+6)%7)}else("W"in y||"U"in y)&&("w"in y||(y.w="u"in y?y.u%7:"W"in y?1:0),ft="Z"in y?Gr(Ve(y.y,0,1)).getUTCDay():Xr(Ve(y.y,0,1)).getDay(),y.m=0,y.d="W"in y?(y.w+6)%7+y.W*7-(ft+5)%7:y.w+y.U*7-(ft+6)%7);return"Z"in y?(y.H+=y.Z/100|0,y.M+=y.Z%100,Gr(y)):Xr(y)}}function F(T,E,P,y){for(var st=0,q=E.length,ft=P.length,lt,qt;st<q;){if(y>=ft)return-1;if(lt=E.charCodeAt(st++),lt===37){if(lt=E.charAt(st++),qt=R[lt in $a?E.charAt(st++):lt],!qt||(y=qt(T,P,y))<0)return-1}else if(lt!=P.charCodeAt(y++))return-1}return y}function O(T,E,P){var y=f.exec(E.slice(P));return y?(T.p=h.get(y[0].toLowerCase()),P+y[0].length):-1}function W(T,E,P){var y=d.exec(E.slice(P));return y?(T.w=v.get(y[0].toLowerCase()),P+y[0].length):-1}function B(T,E,P){var y=m.exec(E.slice(P));return y?(T.w=c.get(y[0].toLowerCase()),P+y[0].length):-1}function g(T,E,P){var y=C.exec(E.slice(P));return y?(T.m=I.get(y[0].toLowerCase()),P+y[0].length):-1}function x(T,E,P){var y=b.exec(E.slice(P));return y?(T.m=S.get(y[0].toLowerCase()),P+y[0].length):-1}function _(T,E,P){return F(T,e,E,P)}function k(T,E,P){return F(T,n,E,P)}function M(T,E,P){return F(T,r,E,P)}function A(T){return s[T.getDay()]}function D(T){return o[T.getDay()]}function U(T){return l[T.getMonth()]}function z(T){return u[T.getMonth()]}function V(T){return i[+(T.getHours()>=12)]}function G(T){return 1+~~(T.getMonth()/3)}function j(T){return s[T.getUTCDay()]}function ht(T){return o[T.getUTCDay()]}function K(T){return l[T.getUTCMonth()]}function xt(T){return u[T.getUTCMonth()]}function ut(T){return i[+(T.getUTCHours()>=12)]}function Q(T){return 1+~~(T.getUTCMonth()/3)}return{format:function(T){var E=w(T+="",$);return E.toString=function(){return T},E},parse:function(T){var E=Y(T+="",!1);return E.toString=function(){return T},E},utcFormat:function(T){var E=w(T+="",N);return E.toString=function(){return T},E},utcParse:function(T){var E=Y(T+="",!0);return E.toString=function(){return T},E}}}var $a={"-":"",_:" ",0:"0"},tt=/^\s*\d+/,Ml=/^%/,Tl=/[\\^$*+?|[\]().{}]/g;function L(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function kl(t){return t.replace(Tl,"\\$&")}function Xe(t){return new RegExp("^(?:"+t.map(kl).join("|")+")","i")}function Ge(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Sl(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Cl(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Nl(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Al(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Dl(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Oa(t,e,n){var r=tt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ia(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $l(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ol(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Il(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ea(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function El(t,e,n){var r=tt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ra(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Rl(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Yl(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Pl(t,e,n){var r=tt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Fl(t,e,n){var r=tt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ul(t,e,n){var r=Ml.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function zl(t,e,n){var r=tt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Ll(t,e,n){var r=tt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ya(t,e){return L(t.getDate(),e,2)}function Hl(t,e){return L(t.getHours(),e,2)}function Bl(t,e){return L(t.getHours()%12||12,e,2)}function ql(t,e){return L(1+Ot.count(ct(t),t),e,3)}function La(t,e){return L(t.getMilliseconds(),e,3)}function Wl(t,e){return La(t,e)+"000"}function Vl(t,e){return L(t.getMonth()+1,e,2)}function Xl(t,e){return L(t.getMinutes(),e,2)}function Gl(t,e){return L(t.getSeconds(),e,2)}function Zl(t){var e=t.getDay();return e===0?7:e}function Ql(t,e){return L(It.count(ct(t)-1,t),e,2)}function Ha(t){var e=t.getDay();return e>=4||e===0?Ut(t):Ut.ceil(t)}function Kl(t,e){return t=Ha(t),L(Ut.count(ct(t),t)+(ct(t).getDay()===4),e,2)}function Jl(t){return t.getDay()}function jl(t,e){return L(be.count(ct(t)-1,t),e,2)}function tc(t,e){return L(t.getFullYear()%100,e,2)}function ec(t,e){return t=Ha(t),L(t.getFullYear()%100,e,2)}function nc(t,e){return L(t.getFullYear()%1e4,e,4)}function rc(t,e){var n=t.getDay();return t=n>=4||n===0?Ut(t):Ut.ceil(t),L(t.getFullYear()%1e4,e,4)}function ic(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+L(e/60|0,"0",2)+L(e%60,"0",2)}function Pa(t,e){return L(t.getUTCDate(),e,2)}function oc(t,e){return L(t.getUTCHours(),e,2)}function ac(t,e){return L(t.getUTCHours()%12||12,e,2)}function sc(t,e){return L(1+We.count(yt(t),t),e,3)}function Ba(t,e){return L(t.getUTCMilliseconds(),e,3)}function uc(t,e){return Ba(t,e)+"000"}function fc(t,e){return L(t.getUTCMonth()+1,e,2)}function lc(t,e){return L(t.getUTCMinutes(),e,2)}function cc(t,e){return L(t.getUTCSeconds(),e,2)}function hc(t){var e=t.getUTCDay();return e===0?7:e}function pc(t,e){return L(oe.count(yt(t)-1,t),e,2)}function qa(t){var e=t.getUTCDay();return e>=4||e===0?zt(t):zt.ceil(t)}function mc(t,e){return t=qa(t),L(zt.count(yt(t),t)+(yt(t).getUTCDay()===4),e,2)}function dc(t){return t.getUTCDay()}function xc(t,e){return L(Me.count(yt(t)-1,t),e,2)}function _c(t,e){return L(t.getUTCFullYear()%100,e,2)}function gc(t,e){return t=qa(t),L(t.getUTCFullYear()%100,e,2)}function yc(t,e){return L(t.getUTCFullYear()%1e4,e,4)}function vc(t,e){var n=t.getUTCDay();return t=n>=4||n===0?zt(t):zt.ceil(t),L(t.getUTCFullYear()%1e4,e,4)}function wc(){return"+0000"}function Fa(){return"%"}function Ua(t){return+t}function za(t){return Math.floor(+t/1e3)}var ke,En,Wa,Va,Xa;Qr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Qr(t){return ke=Zr(t),En=ke.format,Wa=ke.parse,Va=ke.utcFormat,Xa=ke.utcParse,ke}a();a();a();function Kr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],o=t[r],s;return o<i&&(s=n,n=r,r=s,s=i,i=o,o=s),t[n]=e.floor(i),t[r]=e.ceil(o),t}function bc(t){return new Date(t)}function Mc(t){return t instanceof Date?+t:+new Date(+t)}function Ga(t,e,n,r,i,o,s,u,l,f){var h=Be(),m=h.invert,c=h.domain,d=f(".%L"),v=f(":%S"),b=f("%I:%M"),S=f("%I %p"),C=f("%a %d"),I=f("%b %d"),$=f("%B"),N=f("%Y");function R(w){return(l(w)<w?d:u(w)<w?v:s(w)<w?b:o(w)<w?S:r(w)<w?i(w)<w?C:I:n(w)<w?$:N)(w)}return h.invert=function(w){return new Date(m(w))},h.domain=function(w){return arguments.length?c(Array.from(w,Mc)):c().map(bc)},h.ticks=function(w){var Y=c();return t(Y[0],Y[Y.length-1],w??10)},h.tickFormat=function(w,Y){return Y==null?R:f(Y)},h.nice=function(w){var Y=c();return(!w||typeof w.range!="function")&&(w=e(Y[0],Y[Y.length-1],w??10)),w?c(Kr(Y,w)):h},h.copy=function(){return An(h,Ga(t,e,n,r,i,o,s,u,l,f))},h}function Za(){return Ft.apply(Ga(Wr,Vr,ct,Te,It,Ot,we,ve,Tt,En).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}a();a();a();function Qa(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(r*6,++r*6);return n}var Tc=Qa("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");a();a();a();function X(t){return function(){return t}}a();var Jr=Math.abs,it=Math.atan2,Lt=Math.cos,Ka=Math.max,Rn=Math.min,vt=Math.sin,ae=Math.sqrt,et=1e-12,Se=Math.PI,Ze=Se/2,Ce=2*Se;function Ja(t){return t>1?0:t<-1?Se:Math.acos(t)}function jr(t){return t>=1?Ze:t<=-1?-Ze:Math.asin(t)}a();a();a();var ti=Math.PI,ei=2*ti,se=1e-6,kc=ei-se;function ja(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function Sc(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return ja;let n=10**e;return function(r){this._+=r[0];for(let i=1,o=r.length;i<o;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}var ue=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?ja:Sc(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,r,i){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(e,n,r,i,o,s){this._append`C${+e},${+n},${+r},${+i},${this._x1=+o},${this._y1=+s}`}arcTo(e,n,r,i,o){if(e=+e,n=+n,r=+r,i=+i,o=+o,o<0)throw new Error(`negative radius: ${o}`);let s=this._x1,u=this._y1,l=r-e,f=i-n,h=s-e,m=u-n,c=h*h+m*m;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(c>se)if(!(Math.abs(m*l-f*h)>se)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let d=r-s,v=i-u,b=l*l+f*f,S=d*d+v*v,C=Math.sqrt(b),I=Math.sqrt(c),$=o*Math.tan((ti-Math.acos((b+c-S)/(2*C*I)))/2),N=$/I,R=$/C;Math.abs(N-1)>se&&this._append`L${e+N*h},${n+N*m}`,this._append`A${o},${o},0,0,${+(m*d>h*v)},${this._x1=e+R*l},${this._y1=n+R*f}`}}arc(e,n,r,i,o,s){if(e=+e,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(i),l=r*Math.sin(i),f=e+u,h=n+l,m=1^s,c=s?i-o:o-i;this._x1===null?this._append`M${f},${h}`:(Math.abs(this._x1-f)>se||Math.abs(this._y1-h)>se)&&this._append`L${f},${h}`,r&&(c<0&&(c=c%ei+ei),c>kc?this._append`A${r},${r},0,1,${m},${e-u},${n-l}A${r},${r},0,1,${m},${this._x1=f},${this._y1=h}`:c>se&&this._append`A${r},${r},0,${+(c>=ti)},${m},${this._x1=e+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function ts(){return new ue}ts.prototype=ue.prototype;function Yn(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{let r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new ue(e)}function Cc(t){return t.innerRadius}function Nc(t){return t.outerRadius}function Ac(t){return t.startAngle}function Dc(t){return t.endAngle}function $c(t){return t&&t.padAngle}function Oc(t,e,n,r,i,o,s,u){var l=n-t,f=r-e,h=s-i,m=u-o,c=m*l-h*f;if(!(c*c<et))return c=(h*(e-o)-m*(t-i))/c,[t+c*l,e+c*f]}function Pn(t,e,n,r,i,o,s){var u=t-n,l=e-r,f=(s?o:-o)/ae(u*u+l*l),h=f*l,m=-f*u,c=t+h,d=e+m,v=n+h,b=r+m,S=(c+v)/2,C=(d+b)/2,I=v-c,$=b-d,N=I*I+$*$,R=i-o,w=c*b-v*d,Y=($<0?-1:1)*ae(Ka(0,R*R*N-w*w)),F=(w*$-I*Y)/N,O=(-w*I-$*Y)/N,W=(w*$+I*Y)/N,B=(-w*I+$*Y)/N,g=F-S,x=O-C,_=W-S,k=B-C;return g*g+x*x>_*_+k*k&&(F=W,O=B),{cx:F,cy:O,x01:-h,y01:-m,x11:F*(i/R-1),y11:O*(i/R-1)}}function Ic(){var t=Cc,e=Nc,n=X(0),r=null,i=Ac,o=Dc,s=$c,u=null,l=Yn(f);function f(){var h,m,c=+t.apply(this,arguments),d=+e.apply(this,arguments),v=i.apply(this,arguments)-Ze,b=o.apply(this,arguments)-Ze,S=Jr(b-v),C=b>v;if(u||(u=h=l()),d<c&&(m=d,d=c,c=m),!(d>et))u.moveTo(0,0);else if(S>Ce-et)u.moveTo(d*Lt(v),d*vt(v)),u.arc(0,0,d,v,b,!C),c>et&&(u.moveTo(c*Lt(b),c*vt(b)),u.arc(0,0,c,b,v,C));else{var I=v,$=b,N=v,R=b,w=S,Y=S,F=s.apply(this,arguments)/2,O=F>et&&(r?+r.apply(this,arguments):ae(c*c+d*d)),W=Rn(Jr(d-c)/2,+n.apply(this,arguments)),B=W,g=W,x,_;if(O>et){var k=jr(O/c*vt(F)),M=jr(O/d*vt(F));(w-=k*2)>et?(k*=C?1:-1,N+=k,R-=k):(w=0,N=R=(v+b)/2),(Y-=M*2)>et?(M*=C?1:-1,I+=M,$-=M):(Y=0,I=$=(v+b)/2)}var A=d*Lt(I),D=d*vt(I),U=c*Lt(R),z=c*vt(R);if(W>et){var V=d*Lt($),G=d*vt($),j=c*Lt(N),ht=c*vt(N),K;if(S<Se)if(K=Oc(A,D,j,ht,V,G,U,z)){var xt=A-K[0],ut=D-K[1],Q=V-K[0],T=G-K[1],E=1/vt(Ja((xt*Q+ut*T)/(ae(xt*xt+ut*ut)*ae(Q*Q+T*T)))/2),P=ae(K[0]*K[0]+K[1]*K[1]);B=Rn(W,(c-P)/(E-1)),g=Rn(W,(d-P)/(E+1))}else B=g=0}Y>et?g>et?(x=Pn(j,ht,A,D,d,g,C),_=Pn(V,G,U,z,d,g,C),u.moveTo(x.cx+x.x01,x.cy+x.y01),g<W?u.arc(x.cx,x.cy,g,it(x.y01,x.x01),it(_.y01,_.x01),!C):(u.arc(x.cx,x.cy,g,it(x.y01,x.x01),it(x.y11,x.x11),!C),u.arc(0,0,d,it(x.cy+x.y11,x.cx+x.x11),it(_.cy+_.y11,_.cx+_.x11),!C),u.arc(_.cx,_.cy,g,it(_.y11,_.x11),it(_.y01,_.x01),!C))):(u.moveTo(A,D),u.arc(0,0,d,I,$,!C)):u.moveTo(A,D),!(c>et)||!(w>et)?u.lineTo(U,z):B>et?(x=Pn(U,z,V,G,c,-B,C),_=Pn(A,D,j,ht,c,-B,C),u.lineTo(x.cx+x.x01,x.cy+x.y01),B<W?u.arc(x.cx,x.cy,B,it(x.y01,x.x01),it(_.y01,_.x01),!C):(u.arc(x.cx,x.cy,B,it(x.y01,x.x01),it(x.y11,x.x11),!C),u.arc(0,0,c,it(x.cy+x.y11,x.cx+x.x11),it(_.cy+_.y11,_.cx+_.x11),C),u.arc(_.cx,_.cy,B,it(_.y11,_.x11),it(_.y01,_.x01),!C))):u.arc(0,0,c,R,N,C)}if(u.closePath(),h)return u=null,h+""||null}return f.centroid=function(){var h=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,m=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Se/2;return[Lt(m)*h,vt(m)*h]},f.innerRadius=function(h){return arguments.length?(t=typeof h=="function"?h:X(+h),f):t},f.outerRadius=function(h){return arguments.length?(e=typeof h=="function"?h:X(+h),f):e},f.cornerRadius=function(h){return arguments.length?(n=typeof h=="function"?h:X(+h),f):n},f.padRadius=function(h){return arguments.length?(r=h==null?null:typeof h=="function"?h:X(+h),f):r},f.startAngle=function(h){return arguments.length?(i=typeof h=="function"?h:X(+h),f):i},f.endAngle=function(h){return arguments.length?(o=typeof h=="function"?h:X(+h),f):o},f.padAngle=function(h){return arguments.length?(s=typeof h=="function"?h:X(+h),f):s},f.context=function(h){return arguments.length?(u=h??null,f):u},f}a();a();var jv=Array.prototype.slice;function Fn(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}a();function es(t){this._context=t}es.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function ni(t){return new es(t)}a();function ns(t){return t[0]}function rs(t){return t[1]}function Ec(t,e){var n=X(!0),r=null,i=ni,o=null,s=Yn(u);t=typeof t=="function"?t:t===void 0?ns:X(t),e=typeof e=="function"?e:e===void 0?rs:X(e);function u(l){var f,h=(l=Fn(l)).length,m,c=!1,d;for(r==null&&(o=i(d=s())),f=0;f<=h;++f)!(f<h&&n(m=l[f],f,l))===c&&((c=!c)?o.lineStart():o.lineEnd()),c&&o.point(+t(m,f,l),+e(m,f,l));if(d)return o=null,d+""||null}return u.x=function(l){return arguments.length?(t=typeof l=="function"?l:X(+l),u):t},u.y=function(l){return arguments.length?(e=typeof l=="function"?l:X(+l),u):e},u.defined=function(l){return arguments.length?(n=typeof l=="function"?l:X(!!l),u):n},u.curve=function(l){return arguments.length?(i=l,r!=null&&(o=i(r)),u):i},u.context=function(l){return arguments.length?(l==null?r=o=null:o=i(r=l),u):r},u}a();a();function is(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}a();function os(t){return t}function Rc(){var t=os,e=is,n=null,r=X(0),i=X(Ce),o=X(0);function s(u){var l,f=(u=Fn(u)).length,h,m,c=0,d=new Array(f),v=new Array(f),b=+r.apply(this,arguments),S=Math.min(Ce,Math.max(-Ce,i.apply(this,arguments)-b)),C,I=Math.min(Math.abs(S)/f,o.apply(this,arguments)),$=I*(S<0?-1:1),N;for(l=0;l<f;++l)(N=v[d[l]=l]=+t(u[l],l,u))>0&&(c+=N);for(e!=null?d.sort(function(R,w){return e(v[R],v[w])}):n!=null&&d.sort(function(R,w){return n(u[R],u[w])}),l=0,m=c?(S-f*$)/c:0;l<f;++l,b=C)h=d[l],N=v[h],C=b+(N>0?N*m:0)+$,v[h]={data:u[h],index:l,value:N,startAngle:b,endAngle:C,padAngle:I};return v}return s.value=function(u){return arguments.length?(t=typeof u=="function"?u:X(+u),s):t},s.sortValues=function(u){return arguments.length?(e=u,n=null,s):e},s.sort=function(u){return arguments.length?(n=u,e=null,s):n},s.startAngle=function(u){return arguments.length?(r=typeof u=="function"?u:X(+u),s):r},s.endAngle=function(u){return arguments.length?(i=typeof u=="function"?u:X(+u),s):i},s.padAngle=function(u){return arguments.length?(o=typeof u=="function"?u:X(+u),s):o},s}a();function Ne(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Qe(t){this._context=t}Qe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ne(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ne(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Yc(t){return new Qe(t)}a();a();var Un=class{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}};function Pc(t){return new Un(t,!0)}function Fc(t){return new Un(t,!1)}a();a();function dt(){}function as(t){this._context=t}as.prototype={areaStart:dt,areaEnd:dt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Ne(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Uc(t){return new as(t)}a();function ss(t){this._context=t}ss.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ne(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function zc(t){return new ss(t)}a();function us(t,e){this._basis=new Qe(t),this._beta=e}us.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r=t[0],i=e[0],o=t[n]-r,s=e[n]-i,u=-1,l;++u<=n;)l=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(r+l*o),this._beta*e[u]+(1-this._beta)*(i+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Lc=(function t(e){function n(r){return e===1?new Qe(r):new us(r,e)}return n.beta=function(r){return t(+r)},n})(.85);a();a();function Ae(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function zn(t,e){this._context=t,this._k=(1-e)/6}zn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ae(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ae(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Hc=(function t(e){function n(r){return new zn(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Ln(t,e){this._context=t,this._k=(1-e)/6}Ln.prototype={areaStart:dt,areaEnd:dt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ae(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Bc=(function t(e){function n(r){return new Ln(r,e)}return n.tension=function(r){return t(+r)},n})(0);a();function Hn(t,e){this._context=t,this._k=(1-e)/6}Hn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ae(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var qc=(function t(e){function n(r){return new Hn(r,e)}return n.tension=function(r){return t(+r)},n})(0);a();a();function Ke(t,e,n){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>et){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>et){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-e*t._l12_2a)/h,s=(s*f+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function fs(t,e){this._context=t,this._alpha=e}fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ke(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Wc=(function t(e){function n(r){return e?new fs(r,e):new zn(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function ls(t,e){this._context=t,this._alpha=e}ls.prototype={areaStart:dt,areaEnd:dt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ke(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Vc=(function t(e){function n(r){return e?new ls(r,e):new Ln(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);a();function cs(t,e){this._context=t,this._alpha=e}cs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ke(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Xc=(function t(e){function n(r){return e?new cs(r,e):new Hn(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);a();function hs(t){this._context=t}hs.prototype={areaStart:dt,areaEnd:dt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Gc(t){return new hs(t)}a();function ps(t){return t<0?-1:1}function ms(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(n-t._y1)/(i||r<0&&-0),u=(o*i+s*r)/(r+i);return(ps(o)+ps(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(u))||0}function ds(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ri(t,e,n){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,s-u*n,o,s)}function Bn(t){this._context=t}Bn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ri(this,this._t0,ds(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ri(this,ds(this,n=ms(this,t,e)),n);break;default:ri(this,this._t0,n=ms(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function xs(t){this._context=new _s(t)}(xs.prototype=Object.create(Bn.prototype)).point=function(t,e){Bn.prototype.point.call(this,e,t)};function _s(t){this._context=t}_s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}};function Zc(t){return new Bn(t)}function Qc(t){return new xs(t)}a();function ys(t){this._context=t}ys.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var r=gs(t),i=gs(e),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[s],e[s]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function gs(t){var e,n=t.length-1,r,i=new Array(n),o=new Array(n),s=new Array(n);for(i[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,s[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,s[e]-=r*s[e-1];for(i[n-1]=s[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(s[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function Kc(t){return new ys(t)}a();function qn(t,e){this._context=t,this._t=e}qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function Jc(t){return new qn(t,.5)}function jc(t){return new qn(t,0)}function th(t){return new qn(t,1)}a();a();a();a();a();var eh={value:()=>{}};function ws(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Wn(n)}function Wn(t){this._=t}function nh(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Wn.prototype=ws.prototype={constructor:Wn,on:function(t,e){var n=this._,r=nh(t+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o<s;)if((i=(t=r[o]).type)&&(i=rh(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<s;)if(i=(t=r[o]).type)n[i]=vs(n[i],t.name,e);else if(e==null)for(i in n)n[i]=vs(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Wn(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,o;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],r=0,i=o.length;r<i;++r)o[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};function rh(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function vs(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=eh,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var ii=ws;a();a();a();a();a();a();a();var De=0,je=0,Je=0,Ms=1e3,Vn,tn,Xn=0,fe=0,Gn=0,en=typeof performance=="object"&&performance.now?performance:Date,Ts=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function rn(){return fe||(Ts(ih),fe=en.now()+Gn)}function ih(){fe=0}function nn(){this._call=this._time=this._next=null}nn.prototype=Zn.prototype={constructor:nn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?rn():+n)+(e==null?0:+e),!this._next&&tn!==this&&(tn?tn._next=this:Vn=this,tn=this),this._call=t,this._time=n,oi()},stop:function(){this._call&&(this._call=null,this._time=1/0,oi())}};function Zn(t,e,n){var r=new nn;return r.restart(t,e,n),r}function ks(){rn(),++De;for(var t=Vn,e;t;)(e=fe-t._time)>=0&&t._call.call(void 0,e),t=t._next;--De}function bs(){fe=(Xn=en.now())+Gn,De=je=0;try{ks()}finally{De=0,ah(),fe=0}}function oh(){var t=en.now(),e=t-Xn;e>Ms&&(Gn-=e,Xn=t)}function ah(){for(var t,e=Vn,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Vn=n);tn=t,oi(r)}function oi(t){if(!De){je&&(je=clearTimeout(je));var e=t-fe;e>24?(t<1/0&&(je=setTimeout(bs,t-en.now()-Gn)),Je&&(Je=clearInterval(Je))):(Je||(Xn=en.now(),Je=setInterval(oh,Ms)),De=1,Ts(bs))}}a();function Qn(t,e,n){var r=new nn;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var sh=ii("start","end","cancel","interrupt"),uh=[],Ns=0,Ss=1,Jn=2,Kn=3,Cs=4,jn=5,on=6;function Ht(t,e,n,r,i,o){var s=t.__transition;if(!s)t.__transition={};else if(n in s)return;fh(t,n,{name:e,index:r,group:i,on:sh,tween:uh,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Ns})}function an(t,e){var n=J(t,e);if(n.state>Ns)throw new Error("too late; already scheduled");return n}function ot(t,e){var n=J(t,e);if(n.state>Kn)throw new Error("too late; already running");return n}function J(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function fh(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=Zn(o,0,n.time);function o(f){n.state=Ss,n.timer.restart(s,n.delay,n.time),n.delay<=f&&s(f-n.delay)}function s(f){var h,m,c,d;if(n.state!==Ss)return l();for(h in r)if(d=r[h],d.name===n.name){if(d.state===Kn)return Qn(s);d.state===Cs?(d.state=on,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[h]):+h<e&&(d.state=on,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[h])}if(Qn(function(){n.state===Kn&&(n.state=Cs,n.timer.restart(u,n.delay,n.time),u(f))}),n.state=Jn,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Jn){for(n.state=Kn,i=new Array(c=n.tween.length),h=0,m=-1;h<c;++h)(d=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(i[++m]=d);i.length=m+1}}function u(f){for(var h=f<n.duration?n.ease.call(null,f/n.duration):(n.timer.restart(l),n.state=jn,1),m=-1,c=i.length;++m<c;)i[m].call(t,h);n.state===jn&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){n.state=on,n.timer.stop(),delete r[e];for(var f in r)return;delete t.__transition}}function tr(t,e){var n=t.__transition,r,i,o=!0,s;if(n){e=e==null?null:e+"";for(s in n){if((r=n[s]).name!==e){o=!1;continue}i=r.state>Jn&&r.state<jn,r.state=on,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[s]}o&&delete t.__transition}}function As(t){return this.each(function(){tr(this,t)})}a();a();a();a();function lh(t,e){var n,r;return function(){var i=ot(this,t),o=i.tween;if(o!==n){r=n=o;for(var s=0,u=r.length;s<u;++s)if(r[s].name===e){r=r.slice(),r.splice(s,1);break}}i.tween=r}}function ch(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var o=ot(this,t),s=o.tween;if(s!==r){i=(r=s).slice();for(var u={name:e,value:n},l=0,f=i.length;l<f;++l)if(i[l].name===e){i[l]=u;break}l===f&&i.push(u)}o.tween=i}}function Ds(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=J(this.node(),n).tween,i=0,o=r.length,s;i<o;++i)if((s=r[i]).name===t)return s.value;return null}return this.each((e==null?lh:ch)(n,t,e))}function $e(t,e,n){var r=t._id;return t.each(function(){var i=ot(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return J(i,r).value[e]}}a();function er(t,e){var n;return(typeof e=="number"?rt:e instanceof gt?Kt:(n=gt(e))?(e=n,Kt):Ue)(t,e)}function hh(t){return function(){this.removeAttribute(t)}}function ph(t){return function(){this.removeAttributeNS(t.space,t.local)}}function mh(t,e,n){var r,i=n+"",o;return function(){var s=this.getAttribute(t);return s===i?null:s===r?o:o=e(r=s,n)}}function dh(t,e,n){var r,i=n+"",o;return function(){var s=this.getAttributeNS(t.space,t.local);return s===i?null:s===r?o:o=e(r=s,n)}}function xh(t,e,n){var r,i,o;return function(){var s,u=n(this),l;return u==null?void this.removeAttribute(t):(s=this.getAttribute(t),l=u+"",s===l?null:s===r&&l===i?o:(i=l,o=e(r=s,u)))}}function _h(t,e,n){var r,i,o;return function(){var s,u=n(this),l;return u==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),l=u+"",s===l?null:s===r&&l===i?o:(i=l,o=e(r=s,u)))}}function $s(t,e){var n=Nt(t),r=n==="transform"?Nr:er;return this.attrTween(t,typeof e=="function"?(n.local?_h:xh)(n,r,$e(this,"attr."+t,e)):e==null?(n.local?ph:hh)(n):(n.local?dh:mh)(n,r,e))}a();function gh(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function yh(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function vh(t,e){var n,r;function i(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&yh(t,o)),n}return i._value=e,i}function wh(t,e){var n,r;function i(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&gh(t,o)),n}return i._value=e,i}function Os(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var r=Nt(t);return this.tween(n,(r.local?vh:wh)(r,e))}a();function bh(t,e){return function(){an(this,t).delay=+e.apply(this,arguments)}}function Mh(t,e){return e=+e,function(){an(this,t).delay=e}}function Is(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?bh:Mh)(e,t)):J(this.node(),e).delay}a();function Th(t,e){return function(){ot(this,t).duration=+e.apply(this,arguments)}}function kh(t,e){return e=+e,function(){ot(this,t).duration=e}}function Es(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Th:kh)(e,t)):J(this.node(),e).duration}a();function Sh(t,e){if(typeof e!="function")throw new Error;return function(){ot(this,t).ease=e}}function Rs(t){var e=this._id;return arguments.length?this.each(Sh(e,t)):J(this.node(),e).ease}a();function Ch(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ot(this,t).ease=n}}function Ys(t){if(typeof t!="function")throw new Error;return this.each(Ch(this._id,t))}a();function Ps(t){typeof t!="function"&&(t=Ee(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],s=o.length,u=r[i]=[],l,f=0;f<s;++f)(l=o[f])&&t.call(l,l.__data__,f,o)&&u.push(l);return new at(r,this._parents,this._name,this._id)}a();function Fs(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),s=new Array(r),u=0;u<o;++u)for(var l=e[u],f=n[u],h=l.length,m=s[u]=new Array(h),c,d=0;d<h;++d)(c=l[d]||f[d])&&(m[d]=c);for(;u<r;++u)s[u]=e[u];return new at(s,this._parents,this._name,this._id)}a();function Nh(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function Ah(t,e,n){var r,i,o=Nh(e)?an:ot;return function(){var s=o(this,t),u=s.on;u!==r&&(i=(r=u).copy()).on(e,n),s.on=i}}function Us(t,e){var n=this._id;return arguments.length<2?J(this.node(),n).on.on(t):this.each(Ah(n,t,e))}a();function Dh(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function zs(){return this.on("end.remove",Dh(this._id))}a();function Ls(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Xt(t));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s<i;++s)for(var u=r[s],l=u.length,f=o[s]=new Array(l),h,m,c=0;c<l;++c)(h=u[c])&&(m=t.call(h,h.__data__,c,u))&&("__data__"in h&&(m.__data__=h.__data__),f[c]=m,Ht(f[c],e,n,c,f,J(h,n)));return new at(o,this._parents,e,n)}a();function Hs(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ie(t));for(var r=this._groups,i=r.length,o=[],s=[],u=0;u<i;++u)for(var l=r[u],f=l.length,h,m=0;m<f;++m)if(h=l[m]){for(var c=t.call(h,h.__data__,m,l),d,v=J(h,n),b=0,S=c.length;b<S;++b)(d=c[b])&&Ht(d,e,n,b,c,v);o.push(c),s.push(h)}return new at(o,s,e,n)}a();var $h=At.prototype.constructor;function Bs(){return new $h(this._groups,this._parents)}a();function Oh(t,e){var n,r,i;return function(){var o=Rt(this,t),s=(this.style.removeProperty(t),Rt(this,t));return o===s?null:o===n&&s===r?i:i=e(n=o,r=s)}}function qs(t){return function(){this.style.removeProperty(t)}}function Ih(t,e,n){var r,i=n+"",o;return function(){var s=Rt(this,t);return s===i?null:s===r?o:o=e(r=s,n)}}function Eh(t,e,n){var r,i,o;return function(){var s=Rt(this,t),u=n(this),l=u+"";return u==null&&(l=u=(this.style.removeProperty(t),Rt(this,t))),s===l?null:s===r&&l===i?o:(i=l,o=e(r=s,u))}}function Rh(t,e){var n,r,i,o="style."+e,s="end."+o,u;return function(){var l=ot(this,t),f=l.on,h=l.value[o]==null?u||(u=qs(e)):void 0;(f!==n||i!==h)&&(r=(n=f).copy()).on(s,i=h),l.on=r}}function Ws(t,e,n){var r=(t+="")=="transform"?Cr:er;return e==null?this.styleTween(t,Oh(t,r)).on("end.style."+t,qs(t)):typeof e=="function"?this.styleTween(t,Eh(t,r,$e(this,"style."+t,e))).each(Rh(this._id,t)):this.styleTween(t,Ih(t,r,e),n).on("end.style."+t,null)}a();function Yh(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Ph(t,e,n){var r,i;function o(){var s=e.apply(this,arguments);return s!==i&&(r=(i=s)&&Yh(t,s,n)),r}return o._value=e,o}function Vs(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,Ph(t,e,n??""))}a();function Fh(t){return function(){this.textContent=t}}function Uh(t){return function(){var e=t(this);this.textContent=e??""}}function Xs(t){return this.tween("text",typeof t=="function"?Uh($e(this,"text",t)):Fh(t==null?"":t+""))}a();function zh(t){return function(e){this.textContent=t.call(this,e)}}function Lh(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&zh(i)),e}return r._value=t,r}function Gs(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,Lh(t))}a();function Zs(){for(var t=this._name,e=this._id,n=nr(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s=r[o],u=s.length,l,f=0;f<u;++f)if(l=s[f]){var h=J(l,e);Ht(l,t,n,f,s,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new at(r,this._parents,t,n)}a();function Qs(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,s){var u={value:s},l={value:function(){--i===0&&o()}};n.each(function(){var f=ot(this,r),h=f.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(u),e._.interrupt.push(u),e._.end.push(l)),f.on=e}),i===0&&o()})}var Hh=0;function at(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Ks(t){return At().transition(t)}function nr(){return++Hh}var Et=At.prototype;at.prototype=Ks.prototype={constructor:at,select:Ls,selectAll:Hs,selectChild:Et.selectChild,selectChildren:Et.selectChildren,filter:Ps,merge:Fs,selection:Bs,transition:Zs,call:Et.call,nodes:Et.nodes,node:Et.node,size:Et.size,empty:Et.empty,each:Et.each,on:Us,attr:$s,attrTween:Os,style:Ws,styleTween:Vs,text:Xs,textTween:Gs,remove:zs,tween:Ds,delay:Is,duration:Es,ease:Rs,easeVarying:Ys,end:Qs,[Symbol.iterator]:Et[Symbol.iterator]};a();a();function rr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Bh={time:null,delay:0,duration:250,ease:rr};function qh(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function Js(t){var e,n;t instanceof at?(e=t._id,t=t._name):(e=nr(),(n=Bh).time=rn(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s=r[o],u=s.length,l,f=0;f<u;++f)(l=s[f])&&Ht(l,t,e,f,s,n||qh(l,e));return new at(r,this._parents,t,e)}At.prototype.interrupt=As;At.prototype.transition=Js;a();a();a();var{abs:$T,max:OT,min:IT}=Math;function js(t){return[+t[0],+t[1]]}function Wh(t){return[js(t[0]),js(t[1])]}var ET={name:"x",handles:["w","e"].map(ai),input:function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},RT={name:"y",handles:["n","s"].map(ai),input:function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},YT={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(ai),input:function(t){return t==null?null:Wh(t)},output:function(t){return t}};function ai(t){return{type:t}}a();a();a();a();a();function Bt(t,e,n){this.k=t,this.x=e,this.y=n}Bt.prototype={constructor:Bt,scale:function(t){return t===1?this:new Bt(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Bt(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var si=new Bt(1,0,0);ui.prototype=Bt.prototype;function ui(t){for(;!t.__zoom;)if(!(t=t.parentNode))return si;return t.__zoom}a();export{li as a,pt as b,Gh as c,hi as d,pi as e,xu as f,_u as g,df as h,Af as i,Sn as j,Nn as k,Wf as l,He as m,Pr as n,Hr as o,te as p,Tt as q,ve as r,we as s,Ot as t,It as u,be as v,ya as w,va as x,Ut as y,wa as z,ba as A,Te as B,En as C,Za as D,Tc as E,Ic as F,ni as G,Ec as H,Rc as I,Pc as J,Fc as K,Yc as L,Uc as M,zc as N,Lc as O,Hc as P,Bc as Q,qc as R,Wc as S,Vc as T,Xc as U,Gc as V,Zc as W,Qc as X,Kc as Y,Jc as Z,jc as _,th as $};
2
+ //# sourceMappingURL=chunk-CXXG5KL5.js.map
@@ -0,0 +1,2 @@
1
+ import{a as i}from"./chunk-ITN3D7RJ.js";import{d as t}from"./chunk-SOAWGUAD.js";t();var a=class{constructor(r){this.init=r,this.records=this.init()}static{i(this,"ImperativeState")}reset(){this.records=this.init()}};export{a};
2
+ //# sourceMappingURL=chunk-EFBAEJZJ.js.map
@@ -0,0 +1,2 @@
1
+ import{a as t,b as u,c as n,d as i,e as o,g as l,h as d,w as h,y as m}from"./chunk-WL4ZMLPV.js";import{d as s}from"./chunk-SOAWGUAD.js";s();var A=class extends m{static{t(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},C=class extends h{static{t(this,"ArchitectureValueConverter")}runCustomConverter(c,r,a){if(c.name==="ARCH_ICON")return r.replace(/[()]/g,"").trim();if(c.name==="ARCH_TEXT_ICON")return r.replace(/["()]/g,"");if(c.name==="ARCH_TITLE"){let e=r.replace(/^\[|]$/g,"").trim();return(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,'"').replace(/\\'/g,"'")),e.trim()}}},v={parser:{TokenBuilder:t(()=>new A,"TokenBuilder"),ValueConverter:t(()=>new C,"ValueConverter")}};function p(c=o){let r=i(n(c),l),a=i(u({shared:r}),d,v);return r.ServiceRegistry.register(a),{shared:r,Architecture:a}}t(p,"createArchitectureServices");export{v as a,p as b};
2
+ //# sourceMappingURL=chunk-FKTXB6RJ.js.map